@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
|
@@ -14,7 +14,7 @@ const neonDeleteOrganizationMember = action("NEON_DELETE_ORGANIZATION_MEMBER", {
|
|
|
14
14
|
org_id: z.string().describe("The organization ID from which the member was removed.").nullable(),
|
|
15
15
|
user_id: z.string().describe("The user ID of the removed member.").nullable(),
|
|
16
16
|
joined_at: z.string().describe("The timestamp when the member joined the organization.").nullable()
|
|
17
|
-
}).describe("Response schema for `DeleteOrganizationMember`\n\nOn successful deletion, the API returns details of the removed organization member.")
|
|
17
|
+
}).passthrough().describe("Response schema for `DeleteOrganizationMember`\n\nOn successful deletion, the API returns details of the removed organization member.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { neonDeleteOrganizationMember };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-organization-member.mjs","names":[],"sources":["../../src/actions/delete-organization-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteOrganizationMemberInput = z.object({\n org_id: z.string().describe(\"The Neon organization ID. Format: 'org-<name>-<id>' (e.g., 'org-my-company-12345678'). Can be retrieved using the get_user_organizations action.\"),\n member_id: z.string().describe(\"The unique identifier of the organization member to remove. Must be a valid UUID format (e.g., '46bbb36a-8e45-4f4a-93c0-03e39ca4204e'). Can be retrieved using the fetch_organization_members_by_id action.\"),\n}).describe(\"Request schema for `DeleteOrganizationMember`\");\nexport const NeonDeleteOrganizationMemberOutput = z.object({\n id: z.string().describe(\"The unique identifier of the organization member.\").nullable(),\n role: z.string().describe(\"The role that the member had in the organization.\").nullable(),\n org_id: z.string().describe(\"The organization ID from which the member was removed.\").nullable(),\n user_id: z.string().describe(\"The user ID of the removed member.\").nullable(),\n joined_at: z.string().describe(\"The timestamp when the member joined the organization.\").nullable(),\n}).describe(\"Response schema for `DeleteOrganizationMember`\\n\\nOn successful deletion, the API returns details of the removed organization member.\");\n\nexport const neonDeleteOrganizationMember = action(\"NEON_DELETE_ORGANIZATION_MEMBER\", {\n slug: \"neon-delete-organization-member\",\n name: \"Delete organization member\",\n description: \"Removes a specific member from a Neon organization. This action permanently revokes the member's access to all organization resources. Use this when an employee leaves the company, changes roles, or their access needs to be revoked. Important notes: - This action cannot be undone; re-adding requires a new invitation - You cannot delete the last admin member of an organization - The member_id must be a valid UUID (not the user's email) - Requires admin permissions on the organization Use fetch_organization_members_by_id first to get valid member IDs.\",\n input: NeonDeleteOrganizationMemberInput,\n output: NeonDeleteOrganizationMemberOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M;CAC9O,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAbgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-organization-member.mjs","names":[],"sources":["../../src/actions/delete-organization-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteOrganizationMemberInput = z.object({\n org_id: z.string().describe(\"The Neon organization ID. Format: 'org-<name>-<id>' (e.g., 'org-my-company-12345678'). Can be retrieved using the get_user_organizations action.\"),\n member_id: z.string().describe(\"The unique identifier of the organization member to remove. Must be a valid UUID format (e.g., '46bbb36a-8e45-4f4a-93c0-03e39ca4204e'). Can be retrieved using the fetch_organization_members_by_id action.\"),\n}).describe(\"Request schema for `DeleteOrganizationMember`\");\nexport const NeonDeleteOrganizationMemberOutput = z.object({\n id: z.string().describe(\"The unique identifier of the organization member.\").nullable(),\n role: z.string().describe(\"The role that the member had in the organization.\").nullable(),\n org_id: z.string().describe(\"The organization ID from which the member was removed.\").nullable(),\n user_id: z.string().describe(\"The user ID of the removed member.\").nullable(),\n joined_at: z.string().describe(\"The timestamp when the member joined the organization.\").nullable(),\n}).passthrough().describe(\"Response schema for `DeleteOrganizationMember`\\n\\nOn successful deletion, the API returns details of the removed organization member.\");\n\nexport const neonDeleteOrganizationMember = action(\"NEON_DELETE_ORGANIZATION_MEMBER\", {\n slug: \"neon-delete-organization-member\",\n name: \"Delete organization member\",\n description: \"Removes a specific member from a Neon organization. This action permanently revokes the member's access to all organization resources. Use this when an employee leaves the company, changes roles, or their access needs to be revoked. Important notes: - This action cannot be undone; re-adding requires a new invitation - You cannot delete the last admin member of an organization - The member_id must be a valid UUID (not the user's email) - Requires admin permissions on the organization Use fetch_organization_members_by_id first to get valid member IDs.\",\n input: NeonDeleteOrganizationMemberInput,\n output: NeonDeleteOrganizationMemberOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M;CAC9O,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAbgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uIAOhB;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ const NeonDeleteProjectBranchById_BranchSchema = zod.z.object({
|
|
|
25
25
|
activeTimeSeconds: zod.z.number().int().describe("Active time in seconds.").nullable().optional(),
|
|
26
26
|
dataTransferBytes: zod.z.number().int().describe("Number of bytes transferred.").nullable().optional(),
|
|
27
27
|
computeTimeSeconds: zod.z.number().int().describe("Compute time in seconds.").nullable().optional()
|
|
28
|
-
}).describe("The deleted branch object.");
|
|
28
|
+
}).passthrough().describe("The deleted branch object.");
|
|
29
29
|
const NeonDeleteProjectBranchById_OperationSchema = zod.z.object({
|
|
30
30
|
id: zod.z.string().describe("The operation identifier (UUID).").nullable(),
|
|
31
31
|
error: zod.z.string().describe("The error that occurred.").nullable().optional(),
|
|
@@ -76,11 +76,11 @@ const NeonDeleteProjectBranchById_OperationSchema = zod.z.object({
|
|
|
76
76
|
endpointId: zod.z.string().describe("The compute endpoint identifier.").nullable().optional(),
|
|
77
77
|
failuresCount: zod.z.number().int().describe("The number of times the operation failed.").nullable(),
|
|
78
78
|
totalDurationMs: zod.z.number().int().describe("The total duration of the operation in milliseconds.").nullable()
|
|
79
|
-
}).describe("Operation object.");
|
|
79
|
+
}).passthrough().describe("Operation object.");
|
|
80
80
|
const NeonDeleteProjectBranchByIdOutput = zod.z.object({
|
|
81
81
|
branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),
|
|
82
82
|
operations: zod.z.array(NeonDeleteProjectBranchById_OperationSchema).describe("Array of operations initiated by the branch deletion request.")
|
|
83
|
-
}).describe("Response schema for `DeleteProjectBranchById`");
|
|
83
|
+
}).passthrough().describe("Response schema for `DeleteProjectBranchById`");
|
|
84
84
|
const neonDeleteProjectBranchById = require_action.action("NEON_DELETE_PROJECT_BRANCH_BY_ID", {
|
|
85
85
|
slug: "neon-delete-project-branch-by-id",
|
|
86
86
|
name: "Delete project branch by id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-branch-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-branch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchByIdInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `DeleteProjectBranchById`\");\nconst NeonDeleteProjectBranchById_BranchSchema = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name.\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project.\").nullable().optional(),\n primary: z.boolean().describe(\"Deprecated. Use default instead.\").nullable().optional(),\n parentId: z.string().describe(\"The parent branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp of when the branch was created.\").nullable(),\n parentLsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created.\").nullable().optional(),\n projectId: z.string().describe(\"The project identifier.\").nullable(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\n cpuUsedSec: z.number().int().describe(\"CPU seconds used by the branch.\").nullable().optional(),\n logicalSize: z.number().int().describe(\"The logical size of the branch in bytes.\").nullable().optional(),\n currentState: z.string().describe(\"The current state of the branch (e.g., init, ready).\").nullable(),\n pendingState: z.string().describe(\"The state the branch is transitioning to.\").nullable().optional(),\n physicalSize: z.number().int().describe(\"The physical size of the branch in bytes.\").nullable().optional(),\n writtenDataBytes: z.number().int().describe(\"Number of bytes written.\").nullable().optional(),\n activeTimeSeconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n dataTransferBytes: z.number().int().describe(\"Number of bytes transferred.\").nullable().optional(),\n computeTimeSeconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).describe(\"The deleted branch object.\");\nconst NeonDeleteProjectBranchById_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\n error: z.string().describe(\"The error that occurred.\").nullable().optional(),\n action: z.enum([\"create_compute\", \"create_timeline\", \"start_compute\", \"suspend_compute\", \"apply_config\", \"check_availability\", \"delete_timeline\", \"create_branch\", \"import_data\", \"tenant_ignore\", \"tenant_attach\", \"tenant_detach\", \"tenant_reattach\", \"replace_safekeeper\", \"disable_maintenance\", \"apply_storage_config\", \"prepare_secondary_pageserver\", \"switch_pageserver\", \"detach_parent_branch\", \"timeline_archive\", \"timeline_unarchive\", \"start_reserved_compute\", \"sync_dbs_and_roles_from_compute\", \"apply_schema_from_branch\", \"timeline_mark_invisible\", \"prewarm_replica\", \"promote_replica\", \"set_storage_non_dirty\"]).describe(\"The action performed by the operation.\").nullable(),\n status: z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"error\", \"cancelled\", \"skipped\"]).describe(\"The status of the operation.\").nullable(),\n retryAt: z.string().describe(\"A timestamp indicating when the operation was last retried.\").nullable().optional(),\n branchId: z.string().describe(\"The branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the operation was created.\").nullable(),\n projectId: z.string().describe(\"The Neon project identifier.\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the operation status was last updated.\").nullable(),\n endpointId: z.string().describe(\"The compute endpoint identifier.\").nullable().optional(),\n failuresCount: z.number().int().describe(\"The number of times the operation failed.\").nullable(),\n totalDurationMs: z.number().int().describe(\"The total duration of the operation in milliseconds.\").nullable(),\n}).describe(\"Operation object.\");\nexport const NeonDeleteProjectBranchByIdOutput = z.object({\n branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),\n operations: z.array(NeonDeleteProjectBranchById_OperationSchema).describe(\"Array of operations initiated by the branch deletion request.\"),\n}).describe(\"Response schema for `DeleteProjectBranchById`\");\n\nexport const neonDeleteProjectBranchById = action(\"NEON_DELETE_PROJECT_BRANCH_BY_ID\", {\n slug: \"neon-delete-project-branch-by-id\",\n name: \"Delete project branch by id\",\n description: \"Deletes a specific branch within a project in the Neon B2B SaaS integration platform. This endpoint permanently removes the specified branch and all associated data from the project. It should be used when a branch is no longer needed, such as after merging changes or abandoning a development path. Caution should be exercised when using this endpoint, as the deletion is irreversible. It's important to ensure that any valuable data or configurations in the branch have been backed up or merged before deletion. This operation cannot be undone, so double-checking the project_id and branch_id before execution is crucial to avoid accidental deletions.\",\n input: NeonDeleteProjectBranchByIdInput,\n output: NeonDeleteProjectBranchByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,C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E,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"delete-project-branch-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-branch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchByIdInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `DeleteProjectBranchById`\");\nconst NeonDeleteProjectBranchById_BranchSchema = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name.\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project.\").nullable().optional(),\n primary: z.boolean().describe(\"Deprecated. Use default instead.\").nullable().optional(),\n parentId: z.string().describe(\"The parent branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp of when the branch was created.\").nullable(),\n parentLsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created.\").nullable().optional(),\n projectId: z.string().describe(\"The project identifier.\").nullable(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\n cpuUsedSec: z.number().int().describe(\"CPU seconds used by the branch.\").nullable().optional(),\n logicalSize: z.number().int().describe(\"The logical size of the branch in bytes.\").nullable().optional(),\n currentState: z.string().describe(\"The current state of the branch (e.g., init, ready).\").nullable(),\n pendingState: z.string().describe(\"The state the branch is transitioning to.\").nullable().optional(),\n physicalSize: z.number().int().describe(\"The physical size of the branch in bytes.\").nullable().optional(),\n writtenDataBytes: z.number().int().describe(\"Number of bytes written.\").nullable().optional(),\n activeTimeSeconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n dataTransferBytes: z.number().int().describe(\"Number of bytes transferred.\").nullable().optional(),\n computeTimeSeconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).passthrough().describe(\"The deleted branch object.\");\nconst NeonDeleteProjectBranchById_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\n error: z.string().describe(\"The error that occurred.\").nullable().optional(),\n action: z.enum([\"create_compute\", \"create_timeline\", \"start_compute\", \"suspend_compute\", \"apply_config\", \"check_availability\", \"delete_timeline\", \"create_branch\", \"import_data\", \"tenant_ignore\", \"tenant_attach\", \"tenant_detach\", \"tenant_reattach\", \"replace_safekeeper\", \"disable_maintenance\", \"apply_storage_config\", \"prepare_secondary_pageserver\", \"switch_pageserver\", \"detach_parent_branch\", \"timeline_archive\", \"timeline_unarchive\", \"start_reserved_compute\", \"sync_dbs_and_roles_from_compute\", \"apply_schema_from_branch\", \"timeline_mark_invisible\", \"prewarm_replica\", \"promote_replica\", \"set_storage_non_dirty\"]).describe(\"The action performed by the operation.\").nullable(),\n status: z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"error\", \"cancelled\", \"skipped\"]).describe(\"The status of the operation.\").nullable(),\n retryAt: z.string().describe(\"A timestamp indicating when the operation was last retried.\").nullable().optional(),\n branchId: z.string().describe(\"The branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the operation was created.\").nullable(),\n projectId: z.string().describe(\"The Neon project identifier.\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the operation status was last updated.\").nullable(),\n endpointId: z.string().describe(\"The compute endpoint identifier.\").nullable().optional(),\n failuresCount: z.number().int().describe(\"The number of times the operation failed.\").nullable(),\n totalDurationMs: z.number().int().describe(\"The total duration of the operation in milliseconds.\").nullable(),\n}).passthrough().describe(\"Operation object.\");\nexport const NeonDeleteProjectBranchByIdOutput = z.object({\n branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),\n operations: z.array(NeonDeleteProjectBranchById_OperationSchema).describe(\"Array of operations initiated by the branch deletion request.\"),\n}).passthrough().describe(\"Response schema for `DeleteProjectBranchById`\");\n\nexport const neonDeleteProjectBranchById = action(\"NEON_DELETE_PROJECT_BRANCH_BY_ID\", {\n slug: \"neon-delete-project-branch-by-id\",\n name: \"Delete project branch by id\",\n description: \"Deletes a specific branch within a project in the Neon B2B SaaS integration platform. This endpoint permanently removes the specified branch and all associated data from the project. It should be used when a branch is no longer needed, such as after merging changes or abandoning a development path. Caution should be exercised when using this endpoint, as the deletion is irreversible. It's important to ensure that any valuable data or configurations in the branch have been backed up or merged before deletion. This operation cannot be undone, so double-checking the project_id and branch_id before execution is crucial to avoid accidental deletions.\",\n input: NeonDeleteProjectBranchByIdInput,\n output: NeonDeleteProjectBranchByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+B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,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mBAAmB;AAC7C,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQ,yCAAyC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,7 +26,7 @@ declare const NeonDeleteProjectBranchByIdOutput: z.ZodObject<{
|
|
|
26
26
|
activeTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
dataTransferBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
computeTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
operations: z.ZodArray<z.ZodObject<{
|
|
31
31
|
id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -77,8 +77,8 @@ declare const NeonDeleteProjectBranchByIdOutput: z.ZodObject<{
|
|
|
77
77
|
endpointId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
failuresCount: z.ZodNullable<z.ZodNumber>;
|
|
79
79
|
totalDurationMs: z.ZodNullable<z.ZodNumber>;
|
|
80
|
-
}, z.core.$
|
|
81
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$loose>>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
82
|
declare const neonDeleteProjectBranchById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
83
83
|
branch_id: string;
|
|
84
84
|
project_id: string;
|
|
@@ -26,7 +26,7 @@ declare const NeonDeleteProjectBranchByIdOutput: z.ZodObject<{
|
|
|
26
26
|
activeTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
dataTransferBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
computeTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
operations: z.ZodArray<z.ZodObject<{
|
|
31
31
|
id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -77,8 +77,8 @@ declare const NeonDeleteProjectBranchByIdOutput: z.ZodObject<{
|
|
|
77
77
|
endpointId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
failuresCount: z.ZodNullable<z.ZodNumber>;
|
|
79
79
|
totalDurationMs: z.ZodNullable<z.ZodNumber>;
|
|
80
|
-
}, z.core.$
|
|
81
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$loose>>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
82
|
declare const neonDeleteProjectBranchById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
83
83
|
branch_id: string;
|
|
84
84
|
project_id: string;
|
|
@@ -25,7 +25,7 @@ const NeonDeleteProjectBranchById_BranchSchema = z.object({
|
|
|
25
25
|
activeTimeSeconds: z.number().int().describe("Active time in seconds.").nullable().optional(),
|
|
26
26
|
dataTransferBytes: z.number().int().describe("Number of bytes transferred.").nullable().optional(),
|
|
27
27
|
computeTimeSeconds: z.number().int().describe("Compute time in seconds.").nullable().optional()
|
|
28
|
-
}).describe("The deleted branch object.");
|
|
28
|
+
}).passthrough().describe("The deleted branch object.");
|
|
29
29
|
const NeonDeleteProjectBranchById_OperationSchema = z.object({
|
|
30
30
|
id: z.string().describe("The operation identifier (UUID).").nullable(),
|
|
31
31
|
error: z.string().describe("The error that occurred.").nullable().optional(),
|
|
@@ -76,7 +76,7 @@ const NeonDeleteProjectBranchById_OperationSchema = z.object({
|
|
|
76
76
|
endpointId: z.string().describe("The compute endpoint identifier.").nullable().optional(),
|
|
77
77
|
failuresCount: z.number().int().describe("The number of times the operation failed.").nullable(),
|
|
78
78
|
totalDurationMs: z.number().int().describe("The total duration of the operation in milliseconds.").nullable()
|
|
79
|
-
}).describe("Operation object.");
|
|
79
|
+
}).passthrough().describe("Operation object.");
|
|
80
80
|
const neonDeleteProjectBranchById = action("NEON_DELETE_PROJECT_BRANCH_BY_ID", {
|
|
81
81
|
slug: "neon-delete-project-branch-by-id",
|
|
82
82
|
name: "Delete project branch by id",
|
|
@@ -85,7 +85,7 @@ const neonDeleteProjectBranchById = action("NEON_DELETE_PROJECT_BRANCH_BY_ID", {
|
|
|
85
85
|
output: z.object({
|
|
86
86
|
branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),
|
|
87
87
|
operations: z.array(NeonDeleteProjectBranchById_OperationSchema).describe("Array of operations initiated by the branch deletion request.")
|
|
88
|
-
}).describe("Response schema for `DeleteProjectBranchById`")
|
|
88
|
+
}).passthrough().describe("Response schema for `DeleteProjectBranchById`")
|
|
89
89
|
});
|
|
90
90
|
//#endregion
|
|
91
91
|
export { neonDeleteProjectBranchById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-branch-by-id.mjs","names":[],"sources":["../../src/actions/delete-project-branch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchByIdInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `DeleteProjectBranchById`\");\nconst NeonDeleteProjectBranchById_BranchSchema = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name.\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project.\").nullable().optional(),\n primary: z.boolean().describe(\"Deprecated. Use default instead.\").nullable().optional(),\n parentId: z.string().describe(\"The parent branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp of when the branch was created.\").nullable(),\n parentLsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created.\").nullable().optional(),\n projectId: z.string().describe(\"The project identifier.\").nullable(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\n cpuUsedSec: z.number().int().describe(\"CPU seconds used by the branch.\").nullable().optional(),\n logicalSize: z.number().int().describe(\"The logical size of the branch in bytes.\").nullable().optional(),\n currentState: z.string().describe(\"The current state of the branch (e.g., init, ready).\").nullable(),\n pendingState: z.string().describe(\"The state the branch is transitioning to.\").nullable().optional(),\n physicalSize: z.number().int().describe(\"The physical size of the branch in bytes.\").nullable().optional(),\n writtenDataBytes: z.number().int().describe(\"Number of bytes written.\").nullable().optional(),\n activeTimeSeconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n dataTransferBytes: z.number().int().describe(\"Number of bytes transferred.\").nullable().optional(),\n computeTimeSeconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).describe(\"The deleted branch object.\");\nconst NeonDeleteProjectBranchById_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\n error: z.string().describe(\"The error that occurred.\").nullable().optional(),\n action: z.enum([\"create_compute\", \"create_timeline\", \"start_compute\", \"suspend_compute\", \"apply_config\", \"check_availability\", \"delete_timeline\", \"create_branch\", \"import_data\", \"tenant_ignore\", \"tenant_attach\", \"tenant_detach\", \"tenant_reattach\", \"replace_safekeeper\", \"disable_maintenance\", \"apply_storage_config\", \"prepare_secondary_pageserver\", \"switch_pageserver\", \"detach_parent_branch\", \"timeline_archive\", \"timeline_unarchive\", \"start_reserved_compute\", \"sync_dbs_and_roles_from_compute\", \"apply_schema_from_branch\", \"timeline_mark_invisible\", \"prewarm_replica\", \"promote_replica\", \"set_storage_non_dirty\"]).describe(\"The action performed by the operation.\").nullable(),\n status: z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"error\", \"cancelled\", \"skipped\"]).describe(\"The status of the operation.\").nullable(),\n retryAt: z.string().describe(\"A timestamp indicating when the operation was last retried.\").nullable().optional(),\n branchId: z.string().describe(\"The branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the operation was created.\").nullable(),\n projectId: z.string().describe(\"The Neon project identifier.\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the operation status was last updated.\").nullable(),\n endpointId: z.string().describe(\"The compute endpoint identifier.\").nullable().optional(),\n failuresCount: z.number().int().describe(\"The number of times the operation failed.\").nullable(),\n totalDurationMs: z.number().int().describe(\"The total duration of the operation in milliseconds.\").nullable(),\n}).describe(\"Operation object.\");\nexport const NeonDeleteProjectBranchByIdOutput = z.object({\n branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),\n operations: z.array(NeonDeleteProjectBranchById_OperationSchema).describe(\"Array of operations initiated by the branch deletion request.\"),\n}).describe(\"Response schema for `DeleteProjectBranchById`\");\n\nexport const neonDeleteProjectBranchById = action(\"NEON_DELETE_PROJECT_BRANCH_BY_ID\", {\n slug: \"neon-delete-project-branch-by-id\",\n name: \"Delete project branch by id\",\n description: \"Deletes a specific branch within a project in the Neon B2B SaaS integration platform. This endpoint permanently removes the specified branch and all associated data from the project. It should be used when a branch is no longer needed, such as after merging changes or abandoning a development path. Caution should be exercised when using this endpoint, as the deletion is irreversible. It's important to ensure that any valuable data or configurations in the branch have been backed up or merged before deletion. This operation cannot be undone, so double-checking the project_id and branch_id before execution is crucial to avoid accidental deletions.\",\n input: NeonDeleteProjectBranchByIdInput,\n output: NeonDeleteProjectBranchByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"delete-project-branch-by-id.mjs","names":[],"sources":["../../src/actions/delete-project-branch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchByIdInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `DeleteProjectBranchById`\");\nconst NeonDeleteProjectBranchById_BranchSchema = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name.\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project.\").nullable().optional(),\n primary: z.boolean().describe(\"Deprecated. Use default instead.\").nullable().optional(),\n parentId: z.string().describe(\"The parent branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp of when the branch was created.\").nullable(),\n parentLsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created.\").nullable().optional(),\n projectId: z.string().describe(\"The project identifier.\").nullable(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\n cpuUsedSec: z.number().int().describe(\"CPU seconds used by the branch.\").nullable().optional(),\n logicalSize: z.number().int().describe(\"The logical size of the branch in bytes.\").nullable().optional(),\n currentState: z.string().describe(\"The current state of the branch (e.g., init, ready).\").nullable(),\n pendingState: z.string().describe(\"The state the branch is transitioning to.\").nullable().optional(),\n physicalSize: z.number().int().describe(\"The physical size of the branch in bytes.\").nullable().optional(),\n writtenDataBytes: z.number().int().describe(\"Number of bytes written.\").nullable().optional(),\n activeTimeSeconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n dataTransferBytes: z.number().int().describe(\"Number of bytes transferred.\").nullable().optional(),\n computeTimeSeconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).passthrough().describe(\"The deleted branch object.\");\nconst NeonDeleteProjectBranchById_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\n error: z.string().describe(\"The error that occurred.\").nullable().optional(),\n action: z.enum([\"create_compute\", \"create_timeline\", \"start_compute\", \"suspend_compute\", \"apply_config\", \"check_availability\", \"delete_timeline\", \"create_branch\", \"import_data\", \"tenant_ignore\", \"tenant_attach\", \"tenant_detach\", \"tenant_reattach\", \"replace_safekeeper\", \"disable_maintenance\", \"apply_storage_config\", \"prepare_secondary_pageserver\", \"switch_pageserver\", \"detach_parent_branch\", \"timeline_archive\", \"timeline_unarchive\", \"start_reserved_compute\", \"sync_dbs_and_roles_from_compute\", \"apply_schema_from_branch\", \"timeline_mark_invisible\", \"prewarm_replica\", \"promote_replica\", \"set_storage_non_dirty\"]).describe(\"The action performed by the operation.\").nullable(),\n status: z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"error\", \"cancelled\", \"skipped\"]).describe(\"The status of the operation.\").nullable(),\n retryAt: z.string().describe(\"A timestamp indicating when the operation was last retried.\").nullable().optional(),\n branchId: z.string().describe(\"The branch identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the operation was created.\").nullable(),\n projectId: z.string().describe(\"The Neon project identifier.\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the operation status was last updated.\").nullable(),\n endpointId: z.string().describe(\"The compute endpoint identifier.\").nullable().optional(),\n failuresCount: z.number().int().describe(\"The number of times the operation failed.\").nullable(),\n totalDurationMs: z.number().int().describe(\"The total duration of the operation in milliseconds.\").nullable(),\n}).passthrough().describe(\"Operation object.\");\nexport const NeonDeleteProjectBranchByIdOutput = z.object({\n branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),\n operations: z.array(NeonDeleteProjectBranchById_OperationSchema).describe(\"Array of operations initiated by the branch deletion request.\"),\n}).passthrough().describe(\"Response schema for `DeleteProjectBranchById`\");\n\nexport const neonDeleteProjectBranchById = action(\"NEON_DELETE_PROJECT_BRANCH_BY_ID\", {\n slug: \"neon-delete-project-branch-by-id\",\n name: \"Delete project branch by id\",\n description: \"Deletes a specific branch within a project in the Neon B2B SaaS integration platform. This endpoint permanently removes the specified branch and all associated data from the project. It should be used when a branch is no longer needed, such as after merging changes or abandoning a development path. Caution should be exercised when using this endpoint, as the deletion is irreversible. It's important to ensure that any valuable data or configurations in the branch have been backed up or merged before deletion. This operation cannot be undone, so double-checking the project_id and branch_id before execution is cruc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().describe("Timestamp when the role was originally created (ISO 8601 format).").nullable().optional(),
|
|
14
14
|
updated_at: zod.z.string().describe("Timestamp when the role was last updated (ISO 8601 format).").nullable().optional(),
|
|
15
15
|
authentication_method: zod.z.string().describe("The authentication method used by the role (e.g., 'password').").nullable().optional()
|
|
16
|
-
}).describe("Information about the deleted role.");
|
|
16
|
+
}).passthrough().describe("Information about the deleted role.");
|
|
17
17
|
const NeonDeleteProjectBranchRole_OperationInfoSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("Unique identifier for the operation.").nullable().optional(),
|
|
19
19
|
action: zod.z.string().describe("The type of action being performed (e.g., 'apply_config').").nullable().optional(),
|
|
@@ -25,13 +25,13 @@ const NeonDeleteProjectBranchRole_OperationInfoSchema = zod.z.object({
|
|
|
25
25
|
endpoint_id: zod.z.string().describe("The compute endpoint ID affected by this operation.").nullable().optional(),
|
|
26
26
|
failures_count: zod.z.number().int().describe("Number of failures encountered during the operation.").nullable().optional(),
|
|
27
27
|
total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
|
|
28
|
-
}).describe("Information about an async operation triggered by the deletion.");
|
|
28
|
+
}).passthrough().describe("Information about an async operation triggered by the deletion.");
|
|
29
29
|
const NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = zod.z.object({
|
|
30
30
|
role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),
|
|
31
31
|
details: zod.z.string().describe("Status message when role did not exist (204 No Content response).").nullable().optional(),
|
|
32
32
|
operations: zod.z.array(NeonDeleteProjectBranchRole_OperationInfoSchema).describe("List of async operations triggered by the deletion.").nullable().optional()
|
|
33
|
-
}).describe("Data returned from deleting a role.");
|
|
34
|
-
const NeonDeleteProjectBranchRoleOutput = zod.z.object({ data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable() }).describe("Response schema for `DeleteProjectBranchRole`");
|
|
33
|
+
}).passthrough().describe("Data returned from deleting a role.");
|
|
34
|
+
const NeonDeleteProjectBranchRoleOutput = zod.z.object({ data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable() }).passthrough().describe("Response schema for `DeleteProjectBranchRole`");
|
|
35
35
|
const neonDeleteProjectBranchRole = require_action.action("NEON_DELETE_PROJECT_BRANCH_ROLE", {
|
|
36
36
|
slug: "neon-delete-project-branch-role",
|
|
37
37
|
name: "Delete project branch role",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-branch-role.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique branch identifier within the project (e.g., 'br-rough-voice-ah2lazzk'). Can be retrieved using the list project branches endpoint.\"),\n role_name: z.string().describe(\"The name of the PostgreSQL role to delete from the branch (e.g., 'my_app_user'). Cannot exceed 63 bytes in length. Note: Deleting a role is permanent and cannot be undone.\"),\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'proud-meadow-87189985'). Can be retrieved using the list projects endpoint.\"),\n}).describe(\"Request schema for `DeleteProjectBranchRole`\");\nconst NeonDeleteProjectBranchRole_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the deleted role.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role was deleted from.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role was protected.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the role was originally created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the role was last updated (ISO 8601 format).\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used by the role (e.g., 'password').\").nullable().optional(),\n}).describe(\"Information about the deleted role.\");\nconst NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation.\").nullable().optional(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable().optional(),\n status: z.string().describe(\"Current status of the operation (e.g., 'running', 'finished').\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this operation belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format).\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format).\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by this operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures encountered during the operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).describe(\"Information about an async operation triggered by the deletion.\");\nconst NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = z.object({\n role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),\n details: z.string().describe(\"Status message when role did not exist (204 No Content response).\").nullable().optional(),\n operations: z.array(NeonDeleteProjectBranchRole_OperationInfoSchema).describe(\"List of async operations triggered by the deletion.\").nullable().optional(),\n}).describe(\"Data returned from deleting a role.\");\nexport const NeonDeleteProjectBranchRoleOutput = z.object({\n data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable(),\n}).describe(\"Response schema for `DeleteProjectBranchRole`\");\n\nexport const neonDeleteProjectBranchRole = action(\"NEON_DELETE_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-delete-project-branch-role\",\n name: \"Delete project branch role\",\n description: \"Deletes a PostgreSQL role from a specific branch within a Neon project. This permanently removes the role and its associated database permissions. Use this endpoint to: - Remove obsolete user accounts from a database branch - Clean up roles after application decommissioning - Revoke access for former team members Important notes: - This operation is permanent and cannot be undone - The deletion triggers an async 'apply_config' operation on the compute endpoint - If the role doesn't exist, returns 204 No Content (idempotent behavior) - If the role exists and is deleted, returns 200 OK with role and operation details - You cannot delete the default owner role created with the database\",\n input: NeonDeleteProjectBranchRoleInput,\n output: NeonDeleteProjectBranchRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CAC5M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;AAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"delete-project-branch-role.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique branch identifier within the project (e.g., 'br-rough-voice-ah2lazzk'). Can be retrieved using the list project branches endpoint.\"),\n role_name: z.string().describe(\"The name of the PostgreSQL role to delete from the branch (e.g., 'my_app_user'). Cannot exceed 63 bytes in length. Note: Deleting a role is permanent and cannot be undone.\"),\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'proud-meadow-87189985'). Can be retrieved using the list projects endpoint.\"),\n}).describe(\"Request schema for `DeleteProjectBranchRole`\");\nconst NeonDeleteProjectBranchRole_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the deleted role.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role was deleted from.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role was protected.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the role was originally created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the role was last updated (ISO 8601 format).\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used by the role (e.g., 'password').\").nullable().optional(),\n}).passthrough().describe(\"Information about the deleted role.\");\nconst NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation.\").nullable().optional(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable().optional(),\n status: z.string().describe(\"Current status of the operation (e.g., 'running', 'finished').\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this operation belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format).\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format).\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by this operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures encountered during the operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an async operation triggered by the deletion.\");\nconst NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = z.object({\n role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),\n details: z.string().describe(\"Status message when role did not exist (204 No Content response).\").nullable().optional(),\n operations: z.array(NeonDeleteProjectBranchRole_OperationInfoSchema).describe(\"List of async operations triggered by the deletion.\").nullable().optional(),\n}).passthrough().describe(\"Data returned from deleting a role.\");\nexport const NeonDeleteProjectBranchRoleOutput = z.object({\n data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DeleteProjectBranchRole`\");\n\nexport const neonDeleteProjectBranchRole = action(\"NEON_DELETE_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-delete-project-branch-role\",\n name: \"Delete project branch role\",\n description: \"Deletes a PostgreSQL role from a specific branch within a Neon project. This permanently removes the role and its associated database permissions. Use this endpoint to: - Remove obsolete user accounts from a database branch - Clean up roles after application decommissioning - Revoke access for former team members Important notes: - This operation is permanent and cannot be undone - The deletion triggers an async 'apply_config' operation on the compute endpoint - If the role doesn't exist, returns 204 No Content (idempotent behavior) - If the role exists and is deleted, returns 200 OK with role and operation details - You cannot delete the default owner role created with the database\",\n input: NeonDeleteProjectBranchRoleInput,\n output: NeonDeleteProjectBranchRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CAC5M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;AAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CA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AS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAM,wEAAwEA,IAAAA,EAAE,OAAO;CACrF,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,sEAAsE,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const NeonDeleteProjectBranchRoleOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
authentication_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
21
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -28,9 +28,9 @@ declare const NeonDeleteProjectBranchRoleOutput: z.ZodObject<{
|
|
|
28
28
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
failures_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const neonDeleteProjectBranchRole: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
branch_id: string;
|
|
36
36
|
role_name: string;
|
|
@@ -15,7 +15,7 @@ declare const NeonDeleteProjectBranchRoleOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
authentication_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
21
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -28,9 +28,9 @@ declare const NeonDeleteProjectBranchRoleOutput: z.ZodObject<{
|
|
|
28
28
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
failures_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const neonDeleteProjectBranchRole: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
branch_id: string;
|
|
36
36
|
role_name: string;
|
|
@@ -13,7 +13,7 @@ const NeonDeleteProjectBranchRole_RoleInfoSchema = z.object({
|
|
|
13
13
|
created_at: z.string().describe("Timestamp when the role was originally created (ISO 8601 format).").nullable().optional(),
|
|
14
14
|
updated_at: z.string().describe("Timestamp when the role was last updated (ISO 8601 format).").nullable().optional(),
|
|
15
15
|
authentication_method: z.string().describe("The authentication method used by the role (e.g., 'password').").nullable().optional()
|
|
16
|
-
}).describe("Information about the deleted role.");
|
|
16
|
+
}).passthrough().describe("Information about the deleted role.");
|
|
17
17
|
const NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({
|
|
18
18
|
id: z.string().describe("Unique identifier for the operation.").nullable().optional(),
|
|
19
19
|
action: z.string().describe("The type of action being performed (e.g., 'apply_config').").nullable().optional(),
|
|
@@ -25,18 +25,18 @@ const NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({
|
|
|
25
25
|
endpoint_id: z.string().describe("The compute endpoint ID affected by this operation.").nullable().optional(),
|
|
26
26
|
failures_count: z.number().int().describe("Number of failures encountered during the operation.").nullable().optional(),
|
|
27
27
|
total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
|
|
28
|
-
}).describe("Information about an async operation triggered by the deletion.");
|
|
28
|
+
}).passthrough().describe("Information about an async operation triggered by the deletion.");
|
|
29
29
|
const NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = z.object({
|
|
30
30
|
role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),
|
|
31
31
|
details: z.string().describe("Status message when role did not exist (204 No Content response).").nullable().optional(),
|
|
32
32
|
operations: z.array(NeonDeleteProjectBranchRole_OperationInfoSchema).describe("List of async operations triggered by the deletion.").nullable().optional()
|
|
33
|
-
}).describe("Data returned from deleting a role.");
|
|
33
|
+
}).passthrough().describe("Data returned from deleting a role.");
|
|
34
34
|
const neonDeleteProjectBranchRole = action("NEON_DELETE_PROJECT_BRANCH_ROLE", {
|
|
35
35
|
slug: "neon-delete-project-branch-role",
|
|
36
36
|
name: "Delete project branch role",
|
|
37
37
|
description: "Deletes a PostgreSQL role from a specific branch within a Neon project. This permanently removes the role and its associated database permissions. Use this endpoint to: - Remove obsolete user accounts from a database branch - Clean up roles after application decommissioning - Revoke access for former team members Important notes: - This operation is permanent and cannot be undone - The deletion triggers an async 'apply_config' operation on the compute endpoint - If the role doesn't exist, returns 204 No Content (idempotent behavior) - If the role exists and is deleted, returns 200 OK with role and operation details - You cannot delete the default owner role created with the database",
|
|
38
38
|
input: NeonDeleteProjectBranchRoleInput,
|
|
39
|
-
output: z.object({ data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable() }).describe("Response schema for `DeleteProjectBranchRole`")
|
|
39
|
+
output: z.object({ data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable() }).passthrough().describe("Response schema for `DeleteProjectBranchRole`")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { neonDeleteProjectBranchRole };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-branch-role.mjs","names":[],"sources":["../../src/actions/delete-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique branch identifier within the project (e.g., 'br-rough-voice-ah2lazzk'). Can be retrieved using the list project branches endpoint.\"),\n role_name: z.string().describe(\"The name of the PostgreSQL role to delete from the branch (e.g., 'my_app_user'). Cannot exceed 63 bytes in length. Note: Deleting a role is permanent and cannot be undone.\"),\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'proud-meadow-87189985'). Can be retrieved using the list projects endpoint.\"),\n}).describe(\"Request schema for `DeleteProjectBranchRole`\");\nconst NeonDeleteProjectBranchRole_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the deleted role.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role was deleted from.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role was protected.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the role was originally created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the role was last updated (ISO 8601 format).\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used by the role (e.g., 'password').\").nullable().optional(),\n}).describe(\"Information about the deleted role.\");\nconst NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation.\").nullable().optional(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable().optional(),\n status: z.string().describe(\"Current status of the operation (e.g., 'running', 'finished').\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this operation belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format).\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format).\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by this operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures encountered during the operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).describe(\"Information about an async operation triggered by the deletion.\");\nconst NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = z.object({\n role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),\n details: z.string().describe(\"Status message when role did not exist (204 No Content response).\").nullable().optional(),\n operations: z.array(NeonDeleteProjectBranchRole_OperationInfoSchema).describe(\"List of async operations triggered by the deletion.\").nullable().optional(),\n}).describe(\"Data returned from deleting a role.\");\nexport const NeonDeleteProjectBranchRoleOutput = z.object({\n data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable(),\n}).describe(\"Response schema for `DeleteProjectBranchRole`\");\n\nexport const neonDeleteProjectBranchRole = action(\"NEON_DELETE_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-delete-project-branch-role\",\n name: \"Delete project branch role\",\n description: \"Deletes a PostgreSQL role from a specific branch within a Neon project. This permanently removes the role and its associated database permissions. Use this endpoint to: - Remove obsolete user accounts from a database branch - Clean up roles after application decommissioning - Revoke access for former team members Important notes: - This operation is permanent and cannot be undone - The deletion triggers an async 'apply_config' operation on the compute endpoint - If the role doesn't exist, returns 204 No Content (idempotent behavior) - If the role exists and is deleted, returns 200 OK with role and operation details - You cannot delete the default owner role created with the database\",\n input: NeonDeleteProjectBranchRoleInput,\n output: NeonDeleteProjectBranchRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CAC5M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;AAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"delete-project-branch-role.mjs","names":[],"sources":["../../src/actions/delete-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique branch identifier within the project (e.g., 'br-rough-voice-ah2lazzk'). Can be retrieved using the list project branches endpoint.\"),\n role_name: z.string().describe(\"The name of the PostgreSQL role to delete from the branch (e.g., 'my_app_user'). Cannot exceed 63 bytes in length. Note: Deleting a role is permanent and cannot be undone.\"),\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'proud-meadow-87189985'). Can be retrieved using the list projects endpoint.\"),\n}).describe(\"Request schema for `DeleteProjectBranchRole`\");\nconst NeonDeleteProjectBranchRole_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the deleted role.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role was deleted from.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role was protected.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the role was originally created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the role was last updated (ISO 8601 format).\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used by the role (e.g., 'password').\").nullable().optional(),\n}).passthrough().describe(\"Information about the deleted role.\");\nconst NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation.\").nullable().optional(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable().optional(),\n status: z.string().describe(\"Current status of the operation (e.g., 'running', 'finished').\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this operation belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format).\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format).\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by this operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures encountered during the operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an async operation triggered by the deletion.\");\nconst NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = z.object({\n role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),\n details: z.string().describe(\"Status message when role did not exist (204 No Content response).\").nullable().optional(),\n operations: z.array(NeonDeleteProjectBranchRole_OperationInfoSchema).describe(\"List of async operations triggered by the deletion.\").nullable().optional(),\n}).passthrough().describe(\"Data returned from deleting a role.\");\nexport const NeonDeleteProjectBranchRoleOutput = z.object({\n data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DeleteProjectBranchRole`\");\n\nexport const neonDeleteProjectBranchRole = action(\"NEON_DELETE_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-delete-project-branch-role\",\n name: \"Delete project branch role\",\n description: \"Deletes a PostgreSQL role from a specific branch within a Neon project. This permanently removes the role and its associated database permissions. Use this endpoint to: - Remove obsolete user accounts from a database branch - Clean up roles after application decommissioning - Revoke access for former team members Important notes: - This operation is permanent and cannot be undone - The deletion triggers an async 'apply_config' operation on the compute endpoint - If the role doesn't exist, returns 204 No Content (idempotent behavior) - If the role exists and is deleted, returns 200 OK with role and operation details - You cannot delete the default owner role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,7 @@ const NeonDeleteProjectById_DeletedProjectInfoSchema = zod.z.object({
|
|
|
13
13
|
platform_id: zod.z.string().describe("The cloud platform (e.g., 'aws')").nullable().optional()
|
|
14
14
|
}).passthrough().describe("Details of the deleted project");
|
|
15
15
|
const NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema = zod.z.object({ project: NeonDeleteProjectById_DeletedProjectInfoSchema.nullable().optional() }).passthrough().describe("Response data containing the deleted project details");
|
|
16
|
-
const NeonDeleteProjectByIdOutput = zod.z.object({ data: zod.z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional() }).describe("Response schema for `DeleteProjectById`");
|
|
16
|
+
const NeonDeleteProjectByIdOutput = zod.z.object({ data: zod.z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional() }).passthrough().describe("Response schema for `DeleteProjectById`");
|
|
17
17
|
const neonDeleteProjectById = require_action.action("NEON_DELETE_PROJECT_BY_ID", {
|
|
18
18
|
slug: "neon-delete-project-by-id",
|
|
19
19
|
name: "Delete project by id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectByIdInput = z.object({\n project_id: z.string().describe(\"The unique Neon project ID to delete. This is a string identifier in the format 'adjective-noun-number' (e.g., 'cool-breeze-12345678'). Can be obtained from project creation or list projects API.\"),\n}).describe(\"Request schema for `DeleteProjectById`\");\nconst NeonDeleteProjectById_DeletedProjectInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the deleted project\").nullable().optional(),\n name: z.string().describe(\"The name of the deleted project\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owned the project\").nullable().optional(),\n region_id: z.string().describe(\"The region where the project was located (e.g., 'aws-us-east-1')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL version of the deleted project\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated\").nullable().optional(),\n platform_id: z.string().describe(\"The cloud platform (e.g., 'aws')\").nullable().optional(),\n}).passthrough().describe(\"Details of the deleted project\");\nconst NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema = z.object({\n project: NeonDeleteProjectById_DeletedProjectInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response data containing the deleted project details\");\nexport const NeonDeleteProjectByIdOutput = z.object({\n data: z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).describe(\"Response schema for `DeleteProjectById`\");\n\nexport const neonDeleteProjectById = action(\"NEON_DELETE_PROJECT_BY_ID\", {\n slug: \"neon-delete-project-by-id\",\n name: \"Delete project by id\",\n description: \"Permanently deletes a Neon PostgreSQL project and all its associated resources. WARNING: This is a destructive operation that cannot be undone. All data, branches, endpoints, databases, and configurations will be permanently removed. Use this action when: - A project is no longer needed - Cleaning up test/development resources - Removing unused projects to free up quota Returns the details of the deleted project upon successful deletion. Returns 404 if the project does not exist or is not accessible.\",\n input: NeonDeleteProjectByIdInput,\n output: NeonDeleteProjectByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,EACvO,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,CAAC,2DAA2DA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"delete-project-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectByIdInput = z.object({\n project_id: z.string().describe(\"The unique Neon project ID to delete. This is a string identifier in the format 'adjective-noun-number' (e.g., 'cool-breeze-12345678'). Can be obtained from project creation or list projects API.\"),\n}).describe(\"Request schema for `DeleteProjectById`\");\nconst NeonDeleteProjectById_DeletedProjectInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the deleted project\").nullable().optional(),\n name: z.string().describe(\"The name of the deleted project\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owned the project\").nullable().optional(),\n region_id: z.string().describe(\"The region where the project was located (e.g., 'aws-us-east-1')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL version of the deleted project\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated\").nullable().optional(),\n platform_id: z.string().describe(\"The cloud platform (e.g., 'aws')\").nullable().optional(),\n}).passthrough().describe(\"Details of the deleted project\");\nconst NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema = z.object({\n project: NeonDeleteProjectById_DeletedProjectInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response data containing the deleted project details\");\nexport const NeonDeleteProjectByIdOutput = z.object({\n data: z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `DeleteProjectById`\");\n\nexport const neonDeleteProjectById = action(\"NEON_DELETE_PROJECT_BY_ID\", {\n slug: \"neon-delete-project-by-id\",\n name: \"Delete project by id\",\n description: \"Permanently deletes a Neon PostgreSQL project and all its associated resources. WARNING: This is a destructive operation that cannot be undone. All data, branches, endpoints, databases, and configurations will be permanently removed. Use this action when: - A project is no longer needed - Cleaning up test/development resources - Removing unused projects to free up quota Returns the details of the deleted project upon successful deletion. Returns 404 if the project does not exist or is not accessible.\",\n input: NeonDeleteProjectByIdInput,\n output: NeonDeleteProjectByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,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,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const NeonDeleteProjectByIdOutput: z.ZodObject<{
|
|
|
17
17
|
platform_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
}, z.core.$loose>>>;
|
|
19
19
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const neonDeleteProjectById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
project_id: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,7 +17,7 @@ declare const NeonDeleteProjectByIdOutput: z.ZodObject<{
|
|
|
17
17
|
platform_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
}, z.core.$loose>>>;
|
|
19
19
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const neonDeleteProjectById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
project_id: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -18,7 +18,7 @@ const neonDeleteProjectById = action("NEON_DELETE_PROJECT_BY_ID", {
|
|
|
18
18
|
name: "Delete project by id",
|
|
19
19
|
description: "Permanently deletes a Neon PostgreSQL project and all its associated resources. WARNING: This is a destructive operation that cannot be undone. All data, branches, endpoints, databases, and configurations will be permanently removed. Use this action when: - A project is no longer needed - Cleaning up test/development resources - Removing unused projects to free up quota Returns the details of the deleted project upon successful deletion. Returns 404 if the project does not exist or is not accessible.",
|
|
20
20
|
input: NeonDeleteProjectByIdInput,
|
|
21
|
-
output: z.object({ data: z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, z.record(z.string(), z.unknown())]).nullable().optional() }).describe("Response schema for `DeleteProjectById`")
|
|
21
|
+
output: z.object({ data: z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, z.record(z.string(), z.unknown())]).nullable().optional() }).passthrough().describe("Response schema for `DeleteProjectById`")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { neonDeleteProjectById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-by-id.mjs","names":[],"sources":["../../src/actions/delete-project-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectByIdInput = z.object({\n project_id: z.string().describe(\"The unique Neon project ID to delete. This is a string identifier in the format 'adjective-noun-number' (e.g., 'cool-breeze-12345678'). Can be obtained from project creation or list projects API.\"),\n}).describe(\"Request schema for `DeleteProjectById`\");\nconst NeonDeleteProjectById_DeletedProjectInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the deleted project\").nullable().optional(),\n name: z.string().describe(\"The name of the deleted project\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owned the project\").nullable().optional(),\n region_id: z.string().describe(\"The region where the project was located (e.g., 'aws-us-east-1')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL version of the deleted project\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated\").nullable().optional(),\n platform_id: z.string().describe(\"The cloud platform (e.g., 'aws')\").nullable().optional(),\n}).passthrough().describe(\"Details of the deleted project\");\nconst NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema = z.object({\n project: NeonDeleteProjectById_DeletedProjectInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response data containing the deleted project details\");\nexport const NeonDeleteProjectByIdOutput = z.object({\n data: z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).describe(\"Response schema for `DeleteProjectById`\");\n\nexport const neonDeleteProjectById = action(\"NEON_DELETE_PROJECT_BY_ID\", {\n slug: \"neon-delete-project-by-id\",\n name: \"Delete project by id\",\n description: \"Permanently deletes a Neon PostgreSQL project and all its associated resources. WARNING: This is a destructive operation that cannot be undone. All data, branches, endpoints, databases, and configurations will be permanently removed. Use this action when: - A project is no longer needed - Cleaning up test/development resources - Removing unused projects to free up quota Returns the details of the deleted project upon successful deletion. Returns 404 if the project does not exist or is not accessible.\",\n input: NeonDeleteProjectByIdInput,\n output: NeonDeleteProjectByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,EACvO,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,4DAA4D,EAAE,OAAO,EACzE,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,CAAC,2DAA2D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-project-by-id.mjs","names":[],"sources":["../../src/actions/delete-project-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectByIdInput = z.object({\n project_id: z.string().describe(\"The unique Neon project ID to delete. This is a string identifier in the format 'adjective-noun-number' (e.g., 'cool-breeze-12345678'). Can be obtained from project creation or list projects API.\"),\n}).describe(\"Request schema for `DeleteProjectById`\");\nconst NeonDeleteProjectById_DeletedProjectInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the deleted project\").nullable().optional(),\n name: z.string().describe(\"The name of the deleted project\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owned the project\").nullable().optional(),\n region_id: z.string().describe(\"The region where the project was located (e.g., 'aws-us-east-1')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL version of the deleted project\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated\").nullable().optional(),\n platform_id: z.string().describe(\"The cloud platform (e.g., 'aws')\").nullable().optional(),\n}).passthrough().describe(\"Details of the deleted project\");\nconst NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema = z.object({\n project: NeonDeleteProjectById_DeletedProjectInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response data containing the deleted project details\");\nexport const NeonDeleteProjectByIdOutput = z.object({\n data: z.union([NeonDeleteProjectById_DeleteProjectByIdResponseDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `DeleteProjectById`\");\n\nexport const neonDeleteProjectById = action(\"NEON_DELETE_PROJECT_BY_ID\", {\n slug: \"neon-delete-project-by-id\",\n name: \"Delete project by id\",\n description: \"Permanently deletes a Neon PostgreSQL project and all its associated resources. WARNING: This is a destructive operation that cannot be undone. All data, branches, endpoints, databases, and configurations will be permanently removed. Use this action when: - A project is no longer needed - Cleaning up test/development resources - Removing unused projects to free up quota Returns the details of the deleted project upon successful deletion. Returns 404 if the project does not exist or is not accessible.\",\n input: NeonDeleteProjectByIdInput,\n output: NeonDeleteProjectByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,EACvO,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,4DAA4D,EAAE,OAAO,EACzE,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,CAAC,2DAA2D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -11,12 +11,12 @@ const NeonDeleteProjectEndpoint_ProjectQuotaSchema = zod.z.object({
|
|
|
11
11
|
active_time_seconds: zod.z.number().int().describe("Active time quota in seconds").nullable().optional(),
|
|
12
12
|
data_transfer_bytes: zod.z.number().int().describe("Data transfer quota in bytes").nullable().optional(),
|
|
13
13
|
compute_time_seconds: zod.z.number().int().describe("Compute time quota in seconds").nullable().optional()
|
|
14
|
-
}).describe("Resource quota limits for the project");
|
|
14
|
+
}).passthrough().describe("Resource quota limits for the project");
|
|
15
15
|
const NeonDeleteProjectEndpoint_MaintenanceWindowSchema = zod.z.object({
|
|
16
16
|
end_time: zod.z.string().describe("End time in HH:MM format (UTC)").nullable().optional(),
|
|
17
17
|
weekdays: zod.z.array(zod.z.number().int()).describe("Days of the week (1=Monday through 7=Sunday)").nullable().optional(),
|
|
18
18
|
start_time: zod.z.string().describe("Start time in HH:MM format (UTC)").nullable().optional()
|
|
19
|
-
}).describe("Scheduled maintenance window configuration");
|
|
19
|
+
}).passthrough().describe("Scheduled maintenance window configuration");
|
|
20
20
|
const NeonDeleteProjectEndpoint_ProjectSettingsSchema = zod.z.object({
|
|
21
21
|
hipaa: zod.z.boolean().describe("Whether HIPAA compliance is enabled").nullable().optional(),
|
|
22
22
|
quota: NeonDeleteProjectEndpoint_ProjectQuotaSchema.nullable().optional(),
|
|
@@ -27,14 +27,14 @@ const NeonDeleteProjectEndpoint_ProjectSettingsSchema = zod.z.object({
|
|
|
27
27
|
block_vpc_connections: zod.z.boolean().describe("Whether VPC connections are blocked").nullable().optional(),
|
|
28
28
|
block_public_connections: zod.z.boolean().describe("Whether public connections are blocked").nullable().optional(),
|
|
29
29
|
enable_logical_replication: zod.z.boolean().describe("Whether logical replication is enabled").nullable().optional()
|
|
30
|
-
}).describe("Project-level settings and configurations");
|
|
30
|
+
}).passthrough().describe("Project-level settings and configurations");
|
|
31
31
|
const NeonDeleteProjectEndpoint_DefaultEndpointSettingsSchema = zod.z.object({
|
|
32
32
|
pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration parameters").nullable().optional(),
|
|
33
33
|
pgbouncer_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PgBouncer connection pooler settings").nullable().optional(),
|
|
34
34
|
suspend_timeout_seconds: zod.z.number().int().describe("Time in seconds before auto-suspending inactive compute").nullable().optional(),
|
|
35
35
|
autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling").nullable().optional(),
|
|
36
36
|
autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling (≥0.25)").nullable().optional()
|
|
37
|
-
}).describe("Default configuration settings for compute endpoints");
|
|
37
|
+
}).passthrough().describe("Default configuration settings for compute endpoints");
|
|
38
38
|
const NeonDeleteProjectEndpoint_DeletedProjectSchema = zod.z.object({
|
|
39
39
|
id: zod.z.string().describe("The project identifier").nullable(),
|
|
40
40
|
name: zod.z.string().describe("The project name").nullable(),
|
|
@@ -58,8 +58,8 @@ const NeonDeleteProjectEndpoint_DeletedProjectSchema = zod.z.object({
|
|
|
58
58
|
branch_logical_size_limit: zod.z.number().int().describe("The logical size limit for branches in MiB").nullable(),
|
|
59
59
|
default_endpoint_settings: NeonDeleteProjectEndpoint_DefaultEndpointSettingsSchema.nullable().optional(),
|
|
60
60
|
branch_logical_size_limit_bytes: zod.z.number().int().describe("The logical size limit for branches in bytes").nullable()
|
|
61
|
-
}).describe("The deleted project object");
|
|
62
|
-
const NeonDeleteProjectEndpointOutput = zod.z.object({ project: NeonDeleteProjectEndpoint_DeletedProjectSchema.nullable() }).describe("Response schema for `DeleteProjectEndpoint`");
|
|
61
|
+
}).passthrough().describe("The deleted project object");
|
|
62
|
+
const NeonDeleteProjectEndpointOutput = zod.z.object({ project: NeonDeleteProjectEndpoint_DeletedProjectSchema.nullable() }).passthrough().describe("Response schema for `DeleteProjectEndpoint`");
|
|
63
63
|
const neonDeleteProjectEndpoint = require_action.action("NEON_DELETE_PROJECT_ENDPOINT", {
|
|
64
64
|
slug: "neon-delete-project-endpoint",
|
|
65
65
|
name: "Delete project endpoint",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID. Format: {adjective}-{noun}-{number} (e.g., 'dry-smoke-26258271'). Obtain from NEON_RETRIEVE_PROJECTS_LIST.\"),\n endpoint_id: z.string().describe(\"The compute endpoint ID to delete. Format: ep-{name}-{id} (e.g., 'ep-flat-mud-af9isowb'). Obtain from NEON_GET_PROJECT_ENDPOINT_INFORMATION.\"),\n}).describe(\"Request schema for `DeleteProjectEndpoint`\");\nconst NeonDeleteProjectEndpoint_ProjectQuotaSchema = z.object({\n logical_size_bytes: z.number().int().describe(\"Logical size quota in bytes\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Written data quota in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time quota in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transfer quota in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time quota in seconds\").nullable().optional(),\n}).describe(\"Resource quota limits for the project\");\nconst NeonDeleteProjectEndpoint_MaintenanceWindowSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (UTC)\").nullable().optional(),\n weekdays: z.array(z.number().int()).describe(\"Days of the week (1=Monday through 7=Sunday)\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (UTC)\").nullable().optional(),\n}).describe(\"Scheduled maintenance window configuration\");\nconst NeonDeleteProjectEndpoint_ProjectSettingsSchema = z.object({\n hipaa: z.boolean().describe(\"Whether HIPAA compliance is enabled\").nullable().optional(),\n quota: NeonDeleteProjectEndpoint_ProjectQuotaSchema.nullable().optional(),\n allowed_ips: z.record(z.string(), z.unknown()).describe(\"IP allowlist configuration\").nullable().optional(),\n audit_log_level: z.string().describe(\"Audit log level (base, extended, or full)\").nullable().optional(),\n preload_libraries: z.record(z.string(), z.unknown()).describe(\"Preloaded PostgreSQL libraries configuration\").nullable().optional(),\n maintenance_window: NeonDeleteProjectEndpoint_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 connections are blocked\").nullable().optional(),\n enable_logical_replication: z.boolean().describe(\"Whether logical replication is enabled\").nullable().optional(),\n}).describe(\"Project-level settings and configurations\");\nconst NeonDeleteProjectEndpoint_DefaultEndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer connection pooler settings\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Time in seconds before auto-suspending inactive compute\").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 (≥0.25)\").nullable().optional(),\n}).describe(\"Default configuration settings for compute endpoints\");\nconst NeonDeleteProjectEndpoint_DeletedProjectSchema = z.object({\n id: z.string().describe(\"The project identifier\").nullable(),\n name: z.string().describe(\"The project name\").nullable(),\n org_id: z.string().describe(\"The organization identifier if the project belongs to an organization\").nullable().optional(),\n org_name: z.string().describe(\"The organization name if the project belongs to an organization\").nullable().optional(),\n owner_id: z.string().describe(\"The project owner identifier\").nullable(),\n settings: NeonDeleteProjectEndpoint_ProjectSettingsSchema.nullable().optional(),\n region_id: z.string().describe(\"The region identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the project was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp of when the project was deleted (for deleted projects)\").nullable().optional(),\n pg_version: z.number().int().describe(\"The PostgreSQL major version number (14-18)\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname combining region, platform, and domain\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the project was last updated\").nullable(),\n active_time: z.number().int().describe(\"The total amount of wall-clock time that compute endpoints were active\").nullable(),\n platform_id: z.string().describe(\"The cloud platform identifier (currently 'aws')\").nullable(),\n provisioner: z.string().describe(\"The compute provisioner type (k8s-pod or k8s-neonvm)\").nullable(),\n creation_source: z.string().describe(\"The source from which the project was created\").nullable(),\n store_passwords: z.boolean().describe(\"Whether passwords are stored for roles in the project\").nullable(),\n recoverable_until: z.string().describe(\"Timestamp until which the deleted project can be recovered\").nullable().optional(),\n synthetic_storage_size: z.number().int().describe(\"The current storage size in bytes\").nullable().optional(),\n branch_logical_size_limit: z.number().int().describe(\"The logical size limit for branches in MiB\").nullable(),\n default_endpoint_settings: NeonDeleteProjectEndpoint_DefaultEndpointSettingsSchema.nullable().optional(),\n branch_logical_size_limit_bytes: z.number().int().describe(\"The logical size limit for branches in bytes\").nullable(),\n}).describe(\"The deleted project object\");\nexport const NeonDeleteProjectEndpointOutput = z.object({\n project: NeonDeleteProjectEndpoint_DeletedProjectSchema.nullable(),\n}).describe(\"Response schema for `DeleteProjectEndpoint`\");\n\nexport const neonDeleteProjectEndpoint = action(\"NEON_DELETE_PROJECT_ENDPOINT\", {\n slug: \"neon-delete-project-endpoint\",\n name: \"Delete project endpoint\",\n description: \"Deletes a specific endpoint within a Neon project. This operation permanently removes the endpoint and all associated resources, such as configurations and access points. Use this endpoint when you need to decommission or clean up unused endpoints in your project. It's important to note that this action is irreversible, so ensure you have backed up any necessary data or configurations before proceeding. This endpoint should be used with caution, as it will immediately terminate access to the specified endpoint and may impact any systems or applications relying on it.\",\n input: NeonDeleteProjectEndpointInput,\n output: NeonDeleteProjectEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACjK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;AACjL,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,2BAA2B,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACvG,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,+CAA+C,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"delete-project-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/delete-project-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteProjectEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID. Format: {adjective}-{noun}-{number} (e.g., 'dry-smoke-26258271'). Obtain from NEON_RETRIEVE_PROJECTS_LIST.\"),\n endpoint_id: z.string().describe(\"The compute endpoint ID to delete. Format: ep-{name}-{id} (e.g., 'ep-flat-mud-af9isowb'). Obtain from NEON_GET_PROJECT_ENDPOINT_INFORMATION.\"),\n}).describe(\"Request schema for `DeleteProjectEndpoint`\");\nconst NeonDeleteProjectEndpoint_ProjectQuotaSchema = z.object({\n logical_size_bytes: z.number().int().describe(\"Logical size quota in bytes\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Written data quota in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time quota in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transfer quota in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time quota in seconds\").nullable().optional(),\n}).passthrough().describe(\"Resource quota limits for the project\");\nconst NeonDeleteProjectEndpoint_MaintenanceWindowSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (UTC)\").nullable().optional(),\n weekdays: z.array(z.number().int()).describe(\"Days of the week (1=Monday through 7=Sunday)\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (UTC)\").nullable().optional(),\n}).passthrough().describe(\"Scheduled maintenance window configuration\");\nconst NeonDeleteProjectEndpoint_ProjectSettingsSchema = z.object({\n hipaa: z.boolean().describe(\"Whether HIPAA compliance is enabled\").nullable().optional(),\n quota: NeonDeleteProjectEndpoint_ProjectQuotaSchema.nullable().optional(),\n allowed_ips: z.record(z.string(), z.unknown()).describe(\"IP allowlist configuration\").nullable().optional(),\n audit_log_level: z.string().describe(\"Audit log level (base, extended, or full)\").nullable().optional(),\n preload_libraries: z.record(z.string(), z.unknown()).describe(\"Preloaded PostgreSQL libraries configuration\").nullable().optional(),\n maintenance_window: NeonDeleteProjectEndpoint_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 connections are blocked\").nullable().optional(),\n enable_logical_replication: z.boolean().describe(\"Whether logical replication is enabled\").nullable().optional(),\n}).passthrough().describe(\"Project-level settings and configurations\");\nconst NeonDeleteProjectEndpoint_DefaultEndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer connection pooler settings\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Time in seconds before auto-suspending inactive compute\").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 (≥0.25)\").nullable().optional(),\n}).passthrough().describe(\"Default configuration settings for compute endpoints\");\nconst NeonDeleteProjectEndpoint_DeletedProjectSchema = z.object({\n id: z.string().describe(\"The project identifier\").nullable(),\n name: z.string().describe(\"The project name\").nullable(),\n org_id: z.string().describe(\"The organization identifier if the project belongs to an organization\").nullable().optional(),\n org_name: z.string().describe(\"The organization name if the project belongs to an organization\").nullable().optional(),\n owner_id: z.string().describe(\"The project owner identifier\").nullable(),\n settings: NeonDeleteProjectEndpoint_ProjectSettingsSchema.nullable().optional(),\n region_id: z.string().describe(\"The region identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the project was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp of when the project was deleted (for deleted projects)\").nullable().optional(),\n pg_version: z.number().int().describe(\"The PostgreSQL major version number (14-18)\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname combining region, platform, and domain\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the project was last updated\").nullable(),\n active_time: z.number().int().describe(\"The total amount of wall-clock time that compute endpoints were active\").nullable(),\n platform_id: z.string().describe(\"The cloud platform identifier (currently 'aws')\").nullable(),\n provisioner: z.string().describe(\"The compute provisioner type (k8s-pod or k8s-neonvm)\").nullable(),\n creation_source: z.string().describe(\"The source from which the project was created\").nullable(),\n store_passwords: z.boolean().describe(\"Whether passwords are stored for roles in the project\").nullable(),\n recoverable_until: z.string().describe(\"Timestamp until which the deleted project can be recovered\").nullable().optional(),\n synthetic_storage_size: z.number().int().describe(\"The current storage size in bytes\").nullable().optional(),\n branch_logical_size_limit: z.number().int().describe(\"The logical size limit for branches in MiB\").nullable(),\n default_endpoint_settings: NeonDeleteProjectEndpoint_DefaultEndpointSettingsSchema.nullable().optional(),\n branch_logical_size_limit_bytes: z.number().int().describe(\"The logical size limit for branches in bytes\").nullable(),\n}).passthrough().describe(\"The deleted project object\");\nexport const NeonDeleteProjectEndpointOutput = z.object({\n project: NeonDeleteProjectEndpoint_DeletedProjectSchema.nullable(),\n}).passthrough().describe(\"Response schema for `DeleteProjectEndpoint`\");\n\nexport const neonDeleteProjectEndpoint = action(\"NEON_DELETE_PROJECT_ENDPOINT\", {\n slug: \"neon-delete-project-endpoint\",\n name: \"Delete project endpoint\",\n description: \"Deletes a specific endpoint within a Neon project. This operation permanently removes the endpoint and all associated resources, such as configurations and access points. Use this endpoint when you need to decommission or clean up unused endpoints in your project. It's important to note that this action is irreversible, so ensure you have backed up any necessary data or configurations before proceeding. This endpoint should be used with caution, as it will immediately terminate access to the specified endpoint and may impact any systems or applications relying on it.\",\n input: NeonDeleteProjectEndpointInput,\n output: NeonDeleteProjectEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACjK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;AACjL,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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