@keystrokehq/neon 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.cjs +24 -0
- package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.d.cts +9 -0
- package/dist/actions/accept-projects-transfer-requests.d.cts.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.d.mts +9 -0
- package/dist/actions/accept-projects-transfer-requests.d.mts.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.mjs +21 -0
- package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -0
- package/dist/actions/access-project-details-by-id.cjs +96 -0
- package/dist/actions/access-project-details-by-id.cjs.map +1 -0
- package/dist/actions/access-project-details-by-id.d.cts +9 -0
- package/dist/actions/access-project-details-by-id.d.cts.map +1 -0
- package/dist/actions/access-project-details-by-id.d.mts +9 -0
- package/dist/actions/access-project-details-by-id.d.mts.map +1 -0
- package/dist/actions/access-project-details-by-id.mjs +95 -0
- package/dist/actions/access-project-details-by-id.mjs.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs +49 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +9 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +9 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs +48 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -0
- package/dist/actions/add-project-email-permission.cjs +24 -0
- package/dist/actions/add-project-email-permission.cjs.map +1 -0
- package/dist/actions/add-project-email-permission.d.cts +9 -0
- package/dist/actions/add-project-email-permission.d.cts.map +1 -0
- package/dist/actions/add-project-email-permission.d.mts +9 -0
- package/dist/actions/add-project-email-permission.d.mts.map +1 -0
- package/dist/actions/add-project-email-permission.mjs +23 -0
- package/dist/actions/add-project-email-permission.mjs.map +1 -0
- package/dist/actions/add-role-to-branch.cjs +44 -0
- package/dist/actions/add-role-to-branch.cjs.map +1 -0
- package/dist/actions/add-role-to-branch.d.cts +9 -0
- package/dist/actions/add-role-to-branch.d.cts.map +1 -0
- package/dist/actions/add-role-to-branch.d.mts +9 -0
- package/dist/actions/add-role-to-branch.d.mts.map +1 -0
- package/dist/actions/add-role-to-branch.mjs +43 -0
- package/dist/actions/add-role-to-branch.mjs.map +1 -0
- package/dist/actions/count-project-branches.cjs +19 -0
- package/dist/actions/count-project-branches.cjs.map +1 -0
- package/dist/actions/count-project-branches.d.cts +9 -0
- package/dist/actions/count-project-branches.d.cts.map +1 -0
- package/dist/actions/count-project-branches.d.mts +9 -0
- package/dist/actions/count-project-branches.d.mts.map +1 -0
- package/dist/actions/count-project-branches.mjs +16 -0
- package/dist/actions/count-project-branches.mjs.map +1 -0
- package/dist/actions/create-api-key-for-organization.cjs +25 -0
- package/dist/actions/create-api-key-for-organization.cjs.map +1 -0
- package/dist/actions/create-api-key-for-organization.d.cts +9 -0
- package/dist/actions/create-api-key-for-organization.d.cts.map +1 -0
- package/dist/actions/create-api-key-for-organization.d.mts +9 -0
- package/dist/actions/create-api-key-for-organization.d.mts.map +1 -0
- package/dist/actions/create-api-key-for-organization.mjs +22 -0
- package/dist/actions/create-api-key-for-organization.mjs.map +1 -0
- package/dist/actions/create-auth-keys.cjs +33 -0
- package/dist/actions/create-auth-keys.cjs.map +1 -0
- package/dist/actions/create-auth-keys.d.cts +9 -0
- package/dist/actions/create-auth-keys.d.cts.map +1 -0
- package/dist/actions/create-auth-keys.d.mts +9 -0
- package/dist/actions/create-auth-keys.d.mts.map +1 -0
- package/dist/actions/create-auth-keys.mjs +30 -0
- package/dist/actions/create-auth-keys.mjs.map +1 -0
- package/dist/actions/create-auth-user.cjs +21 -0
- package/dist/actions/create-auth-user.cjs.map +1 -0
- package/dist/actions/create-auth-user.d.cts +9 -0
- package/dist/actions/create-auth-user.d.cts.map +1 -0
- package/dist/actions/create-auth-user.d.mts +9 -0
- package/dist/actions/create-auth-user.d.mts.map +1 -0
- package/dist/actions/create-auth-user.mjs +18 -0
- package/dist/actions/create-auth-user.mjs.map +1 -0
- package/dist/actions/create-branch-database.cjs +46 -0
- package/dist/actions/create-branch-database.cjs.map +1 -0
- package/dist/actions/create-branch-database.d.cts +9 -0
- package/dist/actions/create-branch-database.d.cts.map +1 -0
- package/dist/actions/create-branch-database.d.mts +9 -0
- package/dist/actions/create-branch-database.d.mts.map +1 -0
- package/dist/actions/create-branch-database.mjs +45 -0
- package/dist/actions/create-branch-database.mjs.map +1 -0
- package/dist/actions/create-branches-auth.cjs +35 -0
- package/dist/actions/create-branches-auth.cjs.map +1 -0
- package/dist/actions/create-branches-auth.d.cts +9 -0
- package/dist/actions/create-branches-auth.d.cts.map +1 -0
- package/dist/actions/create-branches-auth.d.mts +9 -0
- package/dist/actions/create-branches-auth.d.mts.map +1 -0
- package/dist/actions/create-branches-auth.mjs +32 -0
- package/dist/actions/create-branches-auth.mjs.map +1 -0
- package/dist/actions/create-branches-data-api.cjs +38 -0
- package/dist/actions/create-branches-data-api.cjs.map +1 -0
- package/dist/actions/create-branches-data-api.d.cts +9 -0
- package/dist/actions/create-branches-data-api.d.cts.map +1 -0
- package/dist/actions/create-branches-data-api.d.mts +9 -0
- package/dist/actions/create-branches-data-api.d.mts.map +1 -0
- package/dist/actions/create-branches-data-api.mjs +35 -0
- package/dist/actions/create-branches-data-api.mjs.map +1 -0
- package/dist/actions/create-branches-snapshot.cjs +46 -0
- package/dist/actions/create-branches-snapshot.cjs.map +1 -0
- package/dist/actions/create-branches-snapshot.d.cts +9 -0
- package/dist/actions/create-branches-snapshot.d.cts.map +1 -0
- package/dist/actions/create-branches-snapshot.d.mts +9 -0
- package/dist/actions/create-branches-snapshot.d.mts.map +1 -0
- package/dist/actions/create-branches-snapshot.mjs +45 -0
- package/dist/actions/create-branches-snapshot.mjs.map +1 -0
- package/dist/actions/create-compute-endpoint.cjs +87 -0
- package/dist/actions/create-compute-endpoint.cjs.map +1 -0
- package/dist/actions/create-compute-endpoint.d.cts +9 -0
- package/dist/actions/create-compute-endpoint.d.cts.map +1 -0
- package/dist/actions/create-compute-endpoint.d.mts +9 -0
- package/dist/actions/create-compute-endpoint.d.mts.map +1 -0
- package/dist/actions/create-compute-endpoint.mjs +86 -0
- package/dist/actions/create-compute-endpoint.mjs.map +1 -0
- package/dist/actions/create-new-api-key.cjs +23 -0
- package/dist/actions/create-new-api-key.cjs.map +1 -0
- package/dist/actions/create-new-api-key.d.cts +9 -0
- package/dist/actions/create-new-api-key.d.cts.map +1 -0
- package/dist/actions/create-new-api-key.d.mts +9 -0
- package/dist/actions/create-new-api-key.d.mts.map +1 -0
- package/dist/actions/create-new-api-key.mjs +22 -0
- package/dist/actions/create-new-api-key.mjs.map +1 -0
- package/dist/actions/create-new-project-branch.cjs +85 -0
- package/dist/actions/create-new-project-branch.cjs.map +1 -0
- package/dist/actions/create-new-project-branch.d.cts +9 -0
- package/dist/actions/create-new-project-branch.d.cts.map +1 -0
- package/dist/actions/create-new-project-branch.d.mts +9 -0
- package/dist/actions/create-new-project-branch.d.mts.map +1 -0
- package/dist/actions/create-new-project-branch.mjs +84 -0
- package/dist/actions/create-new-project-branch.mjs.map +1 -0
- package/dist/actions/create-project-branch-anonymized.cjs +106 -0
- package/dist/actions/create-project-branch-anonymized.cjs.map +1 -0
- package/dist/actions/create-project-branch-anonymized.d.cts +9 -0
- package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -0
- package/dist/actions/create-project-branch-anonymized.d.mts +9 -0
- package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -0
- package/dist/actions/create-project-branch-anonymized.mjs +105 -0
- package/dist/actions/create-project-branch-anonymized.mjs.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.cjs +207 -0
- package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.d.cts +9 -0
- package/dist/actions/create-project-with-quota-and-settings.d.cts.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.d.mts +9 -0
- package/dist/actions/create-project-with-quota-and-settings.d.mts.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.mjs +206 -0
- package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -0
- package/dist/actions/create-projects-transfer-requests.cjs +24 -0
- package/dist/actions/create-projects-transfer-requests.cjs.map +1 -0
- package/dist/actions/create-projects-transfer-requests.d.cts +9 -0
- package/dist/actions/create-projects-transfer-requests.d.cts.map +1 -0
- package/dist/actions/create-projects-transfer-requests.d.mts +9 -0
- package/dist/actions/create-projects-transfer-requests.d.mts.map +1 -0
- package/dist/actions/create-projects-transfer-requests.mjs +21 -0
- package/dist/actions/create-projects-transfer-requests.mjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.cjs +26 -0
- package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.d.cts +9 -0
- package/dist/actions/create-vpc-endpoint-label.d.cts.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.d.mts +9 -0
- package/dist/actions/create-vpc-endpoint-label.d.mts.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.mjs +23 -0
- package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.cjs +27 -0
- package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.cts +9 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.cts.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.mts +9 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.mts.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.mjs +24 -0
- package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -0
- package/dist/actions/delete-api-key-by-id.cjs +25 -0
- package/dist/actions/delete-api-key-by-id.cjs.map +1 -0
- package/dist/actions/delete-api-key-by-id.d.cts +9 -0
- package/dist/actions/delete-api-key-by-id.d.cts.map +1 -0
- package/dist/actions/delete-api-key-by-id.d.mts +9 -0
- package/dist/actions/delete-api-key-by-id.d.mts.map +1 -0
- package/dist/actions/delete-api-key-by-id.mjs +24 -0
- package/dist/actions/delete-api-key-by-id.mjs.map +1 -0
- package/dist/actions/delete-auth-domains.cjs +30 -0
- package/dist/actions/delete-auth-domains.cjs.map +1 -0
- package/dist/actions/delete-auth-domains.d.cts +9 -0
- package/dist/actions/delete-auth-domains.d.cts.map +1 -0
- package/dist/actions/delete-auth-domains.d.mts +9 -0
- package/dist/actions/delete-auth-domains.d.mts.map +1 -0
- package/dist/actions/delete-auth-domains.mjs +27 -0
- package/dist/actions/delete-auth-domains.mjs.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.cjs +24 -0
- package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.d.cts +9 -0
- package/dist/actions/delete-auth-oauth-provider.d.cts.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.d.mts +9 -0
- package/dist/actions/delete-auth-oauth-provider.d.mts.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.mjs +21 -0
- package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -0
- package/dist/actions/delete-auth-user.cjs +24 -0
- package/dist/actions/delete-auth-user.cjs.map +1 -0
- package/dist/actions/delete-auth-user.d.cts +9 -0
- package/dist/actions/delete-auth-user.d.cts.map +1 -0
- package/dist/actions/delete-auth-user.d.mts +9 -0
- package/dist/actions/delete-auth-user.d.mts.map +1 -0
- package/dist/actions/delete-auth-user.mjs +21 -0
- package/dist/actions/delete-auth-user.mjs.map +1 -0
- package/dist/actions/delete-branch-data-api.cjs +20 -0
- package/dist/actions/delete-branch-data-api.cjs.map +1 -0
- package/dist/actions/delete-branch-data-api.d.cts +9 -0
- package/dist/actions/delete-branch-data-api.d.cts.map +1 -0
- package/dist/actions/delete-branch-data-api.d.mts +9 -0
- package/dist/actions/delete-branch-data-api.d.mts.map +1 -0
- package/dist/actions/delete-branch-data-api.mjs +17 -0
- package/dist/actions/delete-branch-data-api.mjs.map +1 -0
- package/dist/actions/delete-database-from-branch.cjs +54 -0
- package/dist/actions/delete-database-from-branch.cjs.map +1 -0
- package/dist/actions/delete-database-from-branch.d.cts +9 -0
- package/dist/actions/delete-database-from-branch.d.cts.map +1 -0
- package/dist/actions/delete-database-from-branch.d.mts +9 -0
- package/dist/actions/delete-database-from-branch.d.mts.map +1 -0
- package/dist/actions/delete-database-from-branch.mjs +53 -0
- package/dist/actions/delete-database-from-branch.mjs.map +1 -0
- package/dist/actions/delete-organization-api-key.cjs +28 -0
- package/dist/actions/delete-organization-api-key.cjs.map +1 -0
- package/dist/actions/delete-organization-api-key.d.cts +9 -0
- package/dist/actions/delete-organization-api-key.d.cts.map +1 -0
- package/dist/actions/delete-organization-api-key.d.mts +9 -0
- package/dist/actions/delete-organization-api-key.d.mts.map +1 -0
- package/dist/actions/delete-organization-api-key.mjs +27 -0
- package/dist/actions/delete-organization-api-key.mjs.map +1 -0
- package/dist/actions/delete-organization-member.cjs +25 -0
- package/dist/actions/delete-organization-member.cjs.map +1 -0
- package/dist/actions/delete-organization-member.d.cts +9 -0
- package/dist/actions/delete-organization-member.d.cts.map +1 -0
- package/dist/actions/delete-organization-member.d.mts +9 -0
- package/dist/actions/delete-organization-member.d.mts.map +1 -0
- package/dist/actions/delete-organization-member.mjs +22 -0
- package/dist/actions/delete-organization-member.mjs.map +1 -0
- package/dist/actions/delete-project-branch-by-id.cjs +94 -0
- package/dist/actions/delete-project-branch-by-id.cjs.map +1 -0
- package/dist/actions/delete-project-branch-by-id.d.cts +9 -0
- package/dist/actions/delete-project-branch-by-id.d.cts.map +1 -0
- package/dist/actions/delete-project-branch-by-id.d.mts +9 -0
- package/dist/actions/delete-project-branch-by-id.d.mts.map +1 -0
- package/dist/actions/delete-project-branch-by-id.mjs +93 -0
- package/dist/actions/delete-project-branch-by-id.mjs.map +1 -0
- package/dist/actions/delete-project-branch-role.cjs +45 -0
- package/dist/actions/delete-project-branch-role.cjs.map +1 -0
- package/dist/actions/delete-project-branch-role.d.cts +9 -0
- package/dist/actions/delete-project-branch-role.d.cts.map +1 -0
- package/dist/actions/delete-project-branch-role.d.mts +9 -0
- package/dist/actions/delete-project-branch-role.d.mts.map +1 -0
- package/dist/actions/delete-project-branch-role.mjs +44 -0
- package/dist/actions/delete-project-branch-role.mjs.map +1 -0
- package/dist/actions/delete-project-by-id.cjs +27 -0
- package/dist/actions/delete-project-by-id.cjs.map +1 -0
- package/dist/actions/delete-project-by-id.d.cts +9 -0
- package/dist/actions/delete-project-by-id.d.cts.map +1 -0
- package/dist/actions/delete-project-by-id.d.mts +9 -0
- package/dist/actions/delete-project-by-id.d.mts.map +1 -0
- package/dist/actions/delete-project-by-id.mjs +26 -0
- package/dist/actions/delete-project-by-id.mjs.map +1 -0
- package/dist/actions/delete-project-endpoint.cjs +73 -0
- package/dist/actions/delete-project-endpoint.cjs.map +1 -0
- package/dist/actions/delete-project-endpoint.d.cts +9 -0
- package/dist/actions/delete-project-endpoint.d.cts.map +1 -0
- package/dist/actions/delete-project-endpoint.d.mts +9 -0
- package/dist/actions/delete-project-endpoint.d.mts.map +1 -0
- package/dist/actions/delete-project-endpoint.mjs +72 -0
- package/dist/actions/delete-project-endpoint.mjs.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.cjs +27 -0
- package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.d.cts +9 -0
- package/dist/actions/delete-project-jwks-by-id.d.cts.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.d.mts +9 -0
- package/dist/actions/delete-project-jwks-by-id.d.mts.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.mjs +24 -0
- package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -0
- package/dist/actions/delete-project-permission.cjs +25 -0
- package/dist/actions/delete-project-permission.cjs.map +1 -0
- package/dist/actions/delete-project-permission.d.cts +9 -0
- package/dist/actions/delete-project-permission.d.cts.map +1 -0
- package/dist/actions/delete-project-permission.d.mts +9 -0
- package/dist/actions/delete-project-permission.d.mts.map +1 -0
- package/dist/actions/delete-project-permission.mjs +24 -0
- package/dist/actions/delete-project-permission.mjs.map +1 -0
- package/dist/actions/delete-project-snapshot.cjs +32 -0
- package/dist/actions/delete-project-snapshot.cjs.map +1 -0
- package/dist/actions/delete-project-snapshot.d.cts +9 -0
- package/dist/actions/delete-project-snapshot.d.cts.map +1 -0
- package/dist/actions/delete-project-snapshot.d.mts +9 -0
- package/dist/actions/delete-project-snapshot.d.mts.map +1 -0
- package/dist/actions/delete-project-snapshot.mjs +31 -0
- package/dist/actions/delete-project-snapshot.mjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs +30 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs +29 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +23 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +20 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -0
- package/dist/actions/disable-branches-auth.cjs +20 -0
- package/dist/actions/disable-branches-auth.cjs.map +1 -0
- package/dist/actions/disable-branches-auth.d.cts +9 -0
- package/dist/actions/disable-branches-auth.d.cts.map +1 -0
- package/dist/actions/disable-branches-auth.d.mts +9 -0
- package/dist/actions/disable-branches-auth.d.mts.map +1 -0
- package/dist/actions/disable-branches-auth.mjs +17 -0
- package/dist/actions/disable-branches-auth.mjs.map +1 -0
- package/dist/actions/fetch-database-for-branch.cjs +27 -0
- package/dist/actions/fetch-database-for-branch.cjs.map +1 -0
- package/dist/actions/fetch-database-for-branch.d.cts +9 -0
- package/dist/actions/fetch-database-for-branch.d.cts.map +1 -0
- package/dist/actions/fetch-database-for-branch.d.mts +9 -0
- package/dist/actions/fetch-database-for-branch.d.mts.map +1 -0
- package/dist/actions/fetch-database-for-branch.mjs +26 -0
- package/dist/actions/fetch-database-for-branch.mjs.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.cjs +28 -0
- package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.d.cts +9 -0
- package/dist/actions/fetch-organization-members-by-id.d.cts.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.d.mts +9 -0
- package/dist/actions/fetch-organization-members-by-id.d.mts.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.mjs +27 -0
- package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +27 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +9 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +9 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +26 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -0
- package/dist/actions/finalize-branch-restore.cjs +34 -0
- package/dist/actions/finalize-branch-restore.cjs.map +1 -0
- package/dist/actions/finalize-branch-restore.d.cts +9 -0
- package/dist/actions/finalize-branch-restore.d.cts.map +1 -0
- package/dist/actions/finalize-branch-restore.d.mts +9 -0
- package/dist/actions/finalize-branch-restore.d.mts.map +1 -0
- package/dist/actions/finalize-branch-restore.mjs +33 -0
- package/dist/actions/finalize-branch-restore.mjs.map +1 -0
- package/dist/actions/get-auth-allow-localhost.cjs +19 -0
- package/dist/actions/get-auth-allow-localhost.cjs.map +1 -0
- package/dist/actions/get-auth-allow-localhost.d.cts +9 -0
- package/dist/actions/get-auth-allow-localhost.d.cts.map +1 -0
- package/dist/actions/get-auth-allow-localhost.d.mts +9 -0
- package/dist/actions/get-auth-allow-localhost.d.mts.map +1 -0
- package/dist/actions/get-auth-allow-localhost.mjs +16 -0
- package/dist/actions/get-auth-allow-localhost.mjs.map +1 -0
- package/dist/actions/get-auth-email-provider.cjs +26 -0
- package/dist/actions/get-auth-email-provider.cjs.map +1 -0
- package/dist/actions/get-auth-email-provider.d.cts +9 -0
- package/dist/actions/get-auth-email-provider.d.cts.map +1 -0
- package/dist/actions/get-auth-email-provider.d.mts +9 -0
- package/dist/actions/get-auth-email-provider.d.mts.map +1 -0
- package/dist/actions/get-auth-email-provider.mjs +23 -0
- package/dist/actions/get-auth-email-provider.mjs.map +1 -0
- package/dist/actions/get-auth.cjs +27 -0
- package/dist/actions/get-auth.cjs.map +1 -0
- package/dist/actions/get-auth.d.cts +9 -0
- package/dist/actions/get-auth.d.cts.map +1 -0
- package/dist/actions/get-auth.d.mts +9 -0
- package/dist/actions/get-auth.d.mts.map +1 -0
- package/dist/actions/get-auth.mjs +26 -0
- package/dist/actions/get-auth.mjs.map +1 -0
- package/dist/actions/get-available-preload-libraries.cjs +23 -0
- package/dist/actions/get-available-preload-libraries.cjs.map +1 -0
- package/dist/actions/get-available-preload-libraries.d.cts +9 -0
- package/dist/actions/get-available-preload-libraries.d.cts.map +1 -0
- package/dist/actions/get-available-preload-libraries.d.mts +9 -0
- package/dist/actions/get-available-preload-libraries.d.mts.map +1 -0
- package/dist/actions/get-available-preload-libraries.mjs +22 -0
- package/dist/actions/get-available-preload-libraries.mjs.map +1 -0
- package/dist/actions/get-branch-roles-for-project.cjs +26 -0
- package/dist/actions/get-branch-roles-for-project.cjs.map +1 -0
- package/dist/actions/get-branch-roles-for-project.d.cts +9 -0
- package/dist/actions/get-branch-roles-for-project.d.cts.map +1 -0
- package/dist/actions/get-branch-roles-for-project.d.mts +9 -0
- package/dist/actions/get-branch-roles-for-project.d.mts.map +1 -0
- package/dist/actions/get-branch-roles-for-project.mjs +25 -0
- package/dist/actions/get-branch-roles-for-project.mjs.map +1 -0
- package/dist/actions/get-branches-anonymized-status.cjs +35 -0
- package/dist/actions/get-branches-anonymized-status.cjs.map +1 -0
- package/dist/actions/get-branches-anonymized-status.d.cts +9 -0
- package/dist/actions/get-branches-anonymized-status.d.cts.map +1 -0
- package/dist/actions/get-branches-anonymized-status.d.mts +9 -0
- package/dist/actions/get-branches-anonymized-status.d.mts.map +1 -0
- package/dist/actions/get-branches-anonymized-status.mjs +34 -0
- package/dist/actions/get-branches-anonymized-status.mjs.map +1 -0
- package/dist/actions/get-branches-backup-schedule.cjs +26 -0
- package/dist/actions/get-branches-backup-schedule.cjs.map +1 -0
- package/dist/actions/get-branches-backup-schedule.d.cts +9 -0
- package/dist/actions/get-branches-backup-schedule.d.cts.map +1 -0
- package/dist/actions/get-branches-backup-schedule.d.mts +9 -0
- package/dist/actions/get-branches-backup-schedule.d.mts.map +1 -0
- package/dist/actions/get-branches-backup-schedule.mjs +25 -0
- package/dist/actions/get-branches-backup-schedule.mjs.map +1 -0
- package/dist/actions/get-branches-data-api.cjs +37 -0
- package/dist/actions/get-branches-data-api.cjs.map +1 -0
- package/dist/actions/get-branches-data-api.d.cts +9 -0
- package/dist/actions/get-branches-data-api.d.cts.map +1 -0
- package/dist/actions/get-branches-data-api.d.mts +9 -0
- package/dist/actions/get-branches-data-api.d.mts.map +1 -0
- package/dist/actions/get-branches-data-api.mjs +36 -0
- package/dist/actions/get-branches-data-api.mjs.map +1 -0
- package/dist/actions/get-branches-for-project.cjs +56 -0
- package/dist/actions/get-branches-for-project.cjs.map +1 -0
- package/dist/actions/get-branches-for-project.d.cts +9 -0
- package/dist/actions/get-branches-for-project.d.cts.map +1 -0
- package/dist/actions/get-branches-for-project.d.mts +9 -0
- package/dist/actions/get-branches-for-project.d.mts.map +1 -0
- package/dist/actions/get-branches-for-project.mjs +55 -0
- package/dist/actions/get-branches-for-project.mjs.map +1 -0
- package/dist/actions/get-branches-masking-rules.cjs +27 -0
- package/dist/actions/get-branches-masking-rules.cjs.map +1 -0
- package/dist/actions/get-branches-masking-rules.d.cts +9 -0
- package/dist/actions/get-branches-masking-rules.d.cts.map +1 -0
- package/dist/actions/get-branches-masking-rules.d.mts +9 -0
- package/dist/actions/get-branches-masking-rules.d.mts.map +1 -0
- package/dist/actions/get-branches-masking-rules.mjs +26 -0
- package/dist/actions/get-branches-masking-rules.mjs.map +1 -0
- package/dist/actions/get-consumption-history-projects.cjs +48 -0
- package/dist/actions/get-consumption-history-projects.cjs.map +1 -0
- package/dist/actions/get-consumption-history-projects.d.cts +9 -0
- package/dist/actions/get-consumption-history-projects.d.cts.map +1 -0
- package/dist/actions/get-consumption-history-projects.d.mts +9 -0
- package/dist/actions/get-consumption-history-projects.d.mts.map +1 -0
- package/dist/actions/get-consumption-history-projects.mjs +47 -0
- package/dist/actions/get-consumption-history-projects.mjs.map +1 -0
- package/dist/actions/get-current-user-information.cjs +37 -0
- package/dist/actions/get-current-user-information.cjs.map +1 -0
- package/dist/actions/get-current-user-information.d.cts +9 -0
- package/dist/actions/get-current-user-information.d.cts.map +1 -0
- package/dist/actions/get-current-user-information.d.mts +9 -0
- package/dist/actions/get-current-user-information.d.mts.map +1 -0
- package/dist/actions/get-current-user-information.mjs +36 -0
- package/dist/actions/get-current-user-information.mjs.map +1 -0
- package/dist/actions/get-organization-api-keys.cjs +16 -0
- package/dist/actions/get-organization-api-keys.cjs.map +1 -0
- package/dist/actions/get-organization-api-keys.d.cts +9 -0
- package/dist/actions/get-organization-api-keys.d.cts.map +1 -0
- package/dist/actions/get-organization-api-keys.d.mts +9 -0
- package/dist/actions/get-organization-api-keys.d.mts.map +1 -0
- package/dist/actions/get-organization-api-keys.mjs +13 -0
- package/dist/actions/get-organization-api-keys.mjs.map +1 -0
- package/dist/actions/get-project-branch-role.cjs +43 -0
- package/dist/actions/get-project-branch-role.cjs.map +1 -0
- package/dist/actions/get-project-branch-role.d.cts +9 -0
- package/dist/actions/get-project-branch-role.d.cts.map +1 -0
- package/dist/actions/get-project-branch-role.d.mts +9 -0
- package/dist/actions/get-project-branch-role.d.mts.map +1 -0
- package/dist/actions/get-project-branch-role.mjs +42 -0
- package/dist/actions/get-project-branch-role.mjs.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.cjs +25 -0
- package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.d.cts +9 -0
- package/dist/actions/get-project-branch-schema-comparison.d.cts.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.d.mts +9 -0
- package/dist/actions/get-project-branch-schema-comparison.d.mts.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.mjs +22 -0
- package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -0
- package/dist/actions/get-project-branches.cjs +63 -0
- package/dist/actions/get-project-branches.cjs.map +1 -0
- package/dist/actions/get-project-branches.d.cts +9 -0
- package/dist/actions/get-project-branches.d.cts.map +1 -0
- package/dist/actions/get-project-branches.d.mts +9 -0
- package/dist/actions/get-project-branches.d.mts.map +1 -0
- package/dist/actions/get-project-branches.mjs +62 -0
- package/dist/actions/get-project-branches.mjs.map +1 -0
- package/dist/actions/get-project-connection-uri.cjs +23 -0
- package/dist/actions/get-project-connection-uri.cjs.map +1 -0
- package/dist/actions/get-project-connection-uri.d.cts +9 -0
- package/dist/actions/get-project-connection-uri.d.cts.map +1 -0
- package/dist/actions/get-project-connection-uri.d.mts +9 -0
- package/dist/actions/get-project-connection-uri.d.mts.map +1 -0
- package/dist/actions/get-project-connection-uri.mjs +20 -0
- package/dist/actions/get-project-connection-uri.mjs.map +1 -0
- package/dist/actions/get-project-endpoint-information.cjs +38 -0
- package/dist/actions/get-project-endpoint-information.cjs.map +1 -0
- package/dist/actions/get-project-endpoint-information.d.cts +9 -0
- package/dist/actions/get-project-endpoint-information.d.cts.map +1 -0
- package/dist/actions/get-project-endpoint-information.d.mts +9 -0
- package/dist/actions/get-project-endpoint-information.d.mts.map +1 -0
- package/dist/actions/get-project-endpoint-information.mjs +37 -0
- package/dist/actions/get-project-endpoint-information.mjs.map +1 -0
- package/dist/actions/get-project-operation-by-id.cjs +33 -0
- package/dist/actions/get-project-operation-by-id.cjs.map +1 -0
- package/dist/actions/get-project-operation-by-id.d.cts +9 -0
- package/dist/actions/get-project-operation-by-id.d.cts.map +1 -0
- package/dist/actions/get-project-operation-by-id.d.mts +9 -0
- package/dist/actions/get-project-operation-by-id.d.mts.map +1 -0
- package/dist/actions/get-project-operation-by-id.mjs +32 -0
- package/dist/actions/get-project-operation-by-id.mjs.map +1 -0
- package/dist/actions/get-schema-for-project-branch.cjs +22 -0
- package/dist/actions/get-schema-for-project-branch.cjs.map +1 -0
- package/dist/actions/get-schema-for-project-branch.d.cts +9 -0
- package/dist/actions/get-schema-for-project-branch.d.cts.map +1 -0
- package/dist/actions/get-schema-for-project-branch.d.mts +9 -0
- package/dist/actions/get-schema-for-project-branch.d.mts.map +1 -0
- package/dist/actions/get-schema-for-project-branch.mjs +19 -0
- package/dist/actions/get-schema-for-project-branch.mjs.map +1 -0
- package/dist/actions/get-user-organizations.cjs +25 -0
- package/dist/actions/get-user-organizations.cjs.map +1 -0
- package/dist/actions/get-user-organizations.d.cts +9 -0
- package/dist/actions/get-user-organizations.d.cts.map +1 -0
- package/dist/actions/get-user-organizations.d.mts +9 -0
- package/dist/actions/get-user-organizations.d.mts.map +1 -0
- package/dist/actions/get-user-organizations.mjs +24 -0
- package/dist/actions/get-user-organizations.mjs.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.cjs +29 -0
- package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.d.cts +9 -0
- package/dist/actions/get-vpc-region-endpoints.d.cts.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.d.mts +9 -0
- package/dist/actions/get-vpc-region-endpoints.d.mts.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.mjs +28 -0
- package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -0
- package/dist/actions/index.cjs +215 -0
- package/dist/actions/index.d.cts +108 -0
- package/dist/actions/index.d.mts +108 -0
- package/dist/actions/index.mjs +108 -0
- package/dist/actions/list-api-keys.cjs +16 -0
- package/dist/actions/list-api-keys.cjs.map +1 -0
- package/dist/actions/list-api-keys.d.cts +9 -0
- package/dist/actions/list-api-keys.d.cts.map +1 -0
- package/dist/actions/list-api-keys.d.mts +9 -0
- package/dist/actions/list-api-keys.d.mts.map +1 -0
- package/dist/actions/list-api-keys.mjs +13 -0
- package/dist/actions/list-api-keys.mjs.map +1 -0
- package/dist/actions/list-auth-domains.cjs +23 -0
- package/dist/actions/list-auth-domains.cjs.map +1 -0
- package/dist/actions/list-auth-domains.d.cts +9 -0
- package/dist/actions/list-auth-domains.d.cts.map +1 -0
- package/dist/actions/list-auth-domains.d.mts +9 -0
- package/dist/actions/list-auth-domains.d.mts.map +1 -0
- package/dist/actions/list-auth-domains.mjs +22 -0
- package/dist/actions/list-auth-domains.mjs.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.cjs +25 -0
- package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.d.cts +9 -0
- package/dist/actions/list-auth-oauth-providers2.d.cts.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.d.mts +9 -0
- package/dist/actions/list-auth-oauth-providers2.d.mts.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.mjs +24 -0
- package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -0
- package/dist/actions/list-projects-snapshots.cjs +26 -0
- package/dist/actions/list-projects-snapshots.cjs.map +1 -0
- package/dist/actions/list-projects-snapshots.d.cts +9 -0
- package/dist/actions/list-projects-snapshots.d.cts.map +1 -0
- package/dist/actions/list-projects-snapshots.d.mts +9 -0
- package/dist/actions/list-projects-snapshots.d.mts.map +1 -0
- package/dist/actions/list-projects-snapshots.mjs +25 -0
- package/dist/actions/list-projects-snapshots.mjs.map +1 -0
- package/dist/actions/list-shared-projects.cjs +38 -0
- package/dist/actions/list-shared-projects.cjs.map +1 -0
- package/dist/actions/list-shared-projects.d.cts +9 -0
- package/dist/actions/list-shared-projects.d.cts.map +1 -0
- package/dist/actions/list-shared-projects.d.mts +9 -0
- package/dist/actions/list-shared-projects.d.mts.map +1 -0
- package/dist/actions/list-shared-projects.mjs +37 -0
- package/dist/actions/list-shared-projects.mjs.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.cjs +21 -0
- package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.cts +9 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.cts.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.mts +9 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.mts.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.mjs +20 -0
- package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -0
- package/dist/actions/modify-branch-details-in-project.cjs +85 -0
- package/dist/actions/modify-branch-details-in-project.cjs.map +1 -0
- package/dist/actions/modify-branch-details-in-project.d.cts +9 -0
- package/dist/actions/modify-branch-details-in-project.d.cts.map +1 -0
- package/dist/actions/modify-branch-details-in-project.d.mts +9 -0
- package/dist/actions/modify-branch-details-in-project.d.mts.map +1 -0
- package/dist/actions/modify-branch-details-in-project.mjs +84 -0
- package/dist/actions/modify-branch-details-in-project.mjs.map +1 -0
- package/dist/actions/patch-branch-database-information.cjs +47 -0
- package/dist/actions/patch-branch-database-information.cjs.map +1 -0
- package/dist/actions/patch-branch-database-information.d.cts +9 -0
- package/dist/actions/patch-branch-database-information.d.cts.map +1 -0
- package/dist/actions/patch-branch-database-information.d.mts +9 -0
- package/dist/actions/patch-branch-database-information.d.mts.map +1 -0
- package/dist/actions/patch-branch-database-information.mjs +46 -0
- package/dist/actions/patch-branch-database-information.mjs.map +1 -0
- package/dist/actions/reset-role-password-for-branch.cjs +45 -0
- package/dist/actions/reset-role-password-for-branch.cjs.map +1 -0
- package/dist/actions/reset-role-password-for-branch.d.cts +9 -0
- package/dist/actions/reset-role-password-for-branch.d.cts.map +1 -0
- package/dist/actions/reset-role-password-for-branch.d.mts +9 -0
- package/dist/actions/reset-role-password-for-branch.d.mts.map +1 -0
- package/dist/actions/reset-role-password-for-branch.mjs +44 -0
- package/dist/actions/reset-role-password-for-branch.mjs.map +1 -0
- package/dist/actions/restart-project-endpoint.cjs +51 -0
- package/dist/actions/restart-project-endpoint.cjs.map +1 -0
- package/dist/actions/restart-project-endpoint.d.cts +9 -0
- package/dist/actions/restart-project-endpoint.d.cts.map +1 -0
- package/dist/actions/restart-project-endpoint.d.mts +9 -0
- package/dist/actions/restart-project-endpoint.d.mts.map +1 -0
- package/dist/actions/restart-project-endpoint.mjs +50 -0
- package/dist/actions/restart-project-endpoint.mjs.map +1 -0
- package/dist/actions/restore-project-branch.cjs +63 -0
- package/dist/actions/restore-project-branch.cjs.map +1 -0
- package/dist/actions/restore-project-branch.d.cts +9 -0
- package/dist/actions/restore-project-branch.d.cts.map +1 -0
- package/dist/actions/restore-project-branch.d.mts +9 -0
- package/dist/actions/restore-project-branch.d.mts.map +1 -0
- package/dist/actions/restore-project-branch.mjs +62 -0
- package/dist/actions/restore-project-branch.mjs.map +1 -0
- package/dist/actions/restore-snapshot.cjs +74 -0
- package/dist/actions/restore-snapshot.cjs.map +1 -0
- package/dist/actions/restore-snapshot.d.cts +9 -0
- package/dist/actions/restore-snapshot.d.cts.map +1 -0
- package/dist/actions/restore-snapshot.d.mts +9 -0
- package/dist/actions/restore-snapshot.d.mts.map +1 -0
- package/dist/actions/restore-snapshot.mjs +73 -0
- package/dist/actions/restore-snapshot.mjs.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.cjs +43 -0
- package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.d.cts +9 -0
- package/dist/actions/retrieve-account-consumption-history.d.cts.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.d.mts +9 -0
- package/dist/actions/retrieve-account-consumption-history.d.mts.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.mjs +42 -0
- package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -0
- package/dist/actions/retrieve-all-regions.cjs +23 -0
- package/dist/actions/retrieve-all-regions.cjs.map +1 -0
- package/dist/actions/retrieve-all-regions.d.cts +9 -0
- package/dist/actions/retrieve-all-regions.d.cts.map +1 -0
- package/dist/actions/retrieve-all-regions.d.mts +9 -0
- package/dist/actions/retrieve-all-regions.d.mts.map +1 -0
- package/dist/actions/retrieve-all-regions.mjs +22 -0
- package/dist/actions/retrieve-all-regions.mjs.map +1 -0
- package/dist/actions/retrieve-branch-database-details.cjs +28 -0
- package/dist/actions/retrieve-branch-database-details.cjs.map +1 -0
- package/dist/actions/retrieve-branch-database-details.d.cts +9 -0
- package/dist/actions/retrieve-branch-database-details.d.cts.map +1 -0
- package/dist/actions/retrieve-branch-database-details.d.mts +9 -0
- package/dist/actions/retrieve-branch-database-details.d.mts.map +1 -0
- package/dist/actions/retrieve-branch-database-details.mjs +27 -0
- package/dist/actions/retrieve-branch-database-details.mjs.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.cjs +41 -0
- package/dist/actions/retrieve-branch-endpoints.cjs.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.d.cts +9 -0
- package/dist/actions/retrieve-branch-endpoints.d.cts.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.d.mts +9 -0
- package/dist/actions/retrieve-branch-endpoints.d.mts.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.mjs +40 -0
- package/dist/actions/retrieve-branch-endpoints.mjs.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.cjs +26 -0
- package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.d.cts +9 -0
- package/dist/actions/retrieve-jwks-for-project.d.cts.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.d.mts +9 -0
- package/dist/actions/retrieve-jwks-for-project.d.mts.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.mjs +25 -0
- package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -0
- package/dist/actions/retrieve-organization-by-id.cjs +25 -0
- package/dist/actions/retrieve-organization-by-id.cjs.map +1 -0
- package/dist/actions/retrieve-organization-by-id.d.cts +9 -0
- package/dist/actions/retrieve-organization-by-id.d.cts.map +1 -0
- package/dist/actions/retrieve-organization-by-id.d.mts +9 -0
- package/dist/actions/retrieve-organization-by-id.d.mts.map +1 -0
- package/dist/actions/retrieve-organization-by-id.mjs +24 -0
- package/dist/actions/retrieve-organization-by-id.mjs.map +1 -0
- package/dist/actions/retrieve-organization-invitations.cjs +28 -0
- package/dist/actions/retrieve-organization-invitations.cjs.map +1 -0
- package/dist/actions/retrieve-organization-invitations.d.cts +9 -0
- package/dist/actions/retrieve-organization-invitations.d.cts.map +1 -0
- package/dist/actions/retrieve-organization-invitations.d.mts +9 -0
- package/dist/actions/retrieve-organization-invitations.d.mts.map +1 -0
- package/dist/actions/retrieve-organization-invitations.mjs +27 -0
- package/dist/actions/retrieve-organization-invitations.mjs.map +1 -0
- package/dist/actions/retrieve-organization-member-info.cjs +26 -0
- package/dist/actions/retrieve-organization-member-info.cjs.map +1 -0
- package/dist/actions/retrieve-organization-member-info.d.cts +9 -0
- package/dist/actions/retrieve-organization-member-info.d.cts.map +1 -0
- package/dist/actions/retrieve-organization-member-info.d.mts +9 -0
- package/dist/actions/retrieve-organization-member-info.d.mts.map +1 -0
- package/dist/actions/retrieve-organization-member-info.mjs +25 -0
- package/dist/actions/retrieve-organization-member-info.mjs.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.cjs +46 -0
- package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.d.cts +9 -0
- package/dist/actions/retrieve-project-endpoint-details.d.cts.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.d.mts +9 -0
- package/dist/actions/retrieve-project-endpoint-details.d.mts.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.mjs +45 -0
- package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -0
- package/dist/actions/retrieve-project-operations.cjs +76 -0
- package/dist/actions/retrieve-project-operations.cjs.map +1 -0
- package/dist/actions/retrieve-project-operations.d.cts +9 -0
- package/dist/actions/retrieve-project-operations.d.cts.map +1 -0
- package/dist/actions/retrieve-project-operations.d.mts +9 -0
- package/dist/actions/retrieve-project-operations.d.mts.map +1 -0
- package/dist/actions/retrieve-project-operations.mjs +75 -0
- package/dist/actions/retrieve-project-operations.mjs.map +1 -0
- package/dist/actions/retrieve-project-permissions.cjs +16 -0
- package/dist/actions/retrieve-project-permissions.cjs.map +1 -0
- package/dist/actions/retrieve-project-permissions.d.cts +9 -0
- package/dist/actions/retrieve-project-permissions.d.cts.map +1 -0
- package/dist/actions/retrieve-project-permissions.d.mts +9 -0
- package/dist/actions/retrieve-project-permissions.d.mts.map +1 -0
- package/dist/actions/retrieve-project-permissions.mjs +13 -0
- package/dist/actions/retrieve-project-permissions.mjs.map +1 -0
- package/dist/actions/retrieve-projects-list.cjs +100 -0
- package/dist/actions/retrieve-projects-list.cjs.map +1 -0
- package/dist/actions/retrieve-projects-list.d.cts +9 -0
- package/dist/actions/retrieve-projects-list.d.cts.map +1 -0
- package/dist/actions/retrieve-projects-list.d.mts +9 -0
- package/dist/actions/retrieve-projects-list.d.mts.map +1 -0
- package/dist/actions/retrieve-projects-list.mjs +99 -0
- package/dist/actions/retrieve-projects-list.mjs.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +23 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +9 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +9 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +22 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.cjs +20 -0
- package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.d.cts +9 -0
- package/dist/actions/reveal-role-password-in-branch.d.cts.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.d.mts +9 -0
- package/dist/actions/reveal-role-password-in-branch.d.mts.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.mjs +17 -0
- package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -0
- package/dist/actions/send-auth-test-email.cjs +29 -0
- package/dist/actions/send-auth-test-email.cjs.map +1 -0
- package/dist/actions/send-auth-test-email.d.cts +9 -0
- package/dist/actions/send-auth-test-email.d.cts.map +1 -0
- package/dist/actions/send-auth-test-email.d.mts +9 -0
- package/dist/actions/send-auth-test-email.d.mts.map +1 -0
- package/dist/actions/send-auth-test-email.mjs +26 -0
- package/dist/actions/send-auth-test-email.mjs.map +1 -0
- package/dist/actions/send-organization-invitations.cjs +30 -0
- package/dist/actions/send-organization-invitations.cjs.map +1 -0
- package/dist/actions/send-organization-invitations.d.cts +9 -0
- package/dist/actions/send-organization-invitations.d.cts.map +1 -0
- package/dist/actions/send-organization-invitations.d.mts +9 -0
- package/dist/actions/send-organization-invitations.d.mts.map +1 -0
- package/dist/actions/send-organization-invitations.mjs +29 -0
- package/dist/actions/send-organization-invitations.mjs.map +1 -0
- package/dist/actions/set-branch-as-default.cjs +58 -0
- package/dist/actions/set-branch-as-default.cjs.map +1 -0
- package/dist/actions/set-branch-as-default.d.cts +9 -0
- package/dist/actions/set-branch-as-default.d.cts.map +1 -0
- package/dist/actions/set-branch-as-default.d.mts +9 -0
- package/dist/actions/set-branch-as-default.d.mts.map +1 -0
- package/dist/actions/set-branch-as-default.mjs +57 -0
- package/dist/actions/set-branch-as-default.mjs.map +1 -0
- package/dist/actions/start-branch-anonymization.cjs +35 -0
- package/dist/actions/start-branch-anonymization.cjs.map +1 -0
- package/dist/actions/start-branch-anonymization.d.cts +9 -0
- package/dist/actions/start-branch-anonymization.d.cts.map +1 -0
- package/dist/actions/start-branch-anonymization.d.mts +9 -0
- package/dist/actions/start-branch-anonymization.d.mts.map +1 -0
- package/dist/actions/start-branch-anonymization.mjs +34 -0
- package/dist/actions/start-branch-anonymization.mjs.map +1 -0
- package/dist/actions/start-endpoint-for-project.cjs +60 -0
- package/dist/actions/start-endpoint-for-project.cjs.map +1 -0
- package/dist/actions/start-endpoint-for-project.d.cts +9 -0
- package/dist/actions/start-endpoint-for-project.d.cts.map +1 -0
- package/dist/actions/start-endpoint-for-project.d.mts +9 -0
- package/dist/actions/start-endpoint-for-project.d.mts.map +1 -0
- package/dist/actions/start-endpoint-for-project.mjs +59 -0
- package/dist/actions/start-endpoint-for-project.mjs.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.cjs +60 -0
- package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.cts +9 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.cts.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.mts +9 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.mts.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.mjs +59 -0
- package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.cjs +20 -0
- package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.d.cts +9 -0
- package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.d.mts +9 -0
- package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.mjs +17 -0
- package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.cjs +28 -0
- package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.d.cts +9 -0
- package/dist/actions/transfer-user-projects-to-organization.d.cts.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.d.mts +9 -0
- package/dist/actions/transfer-user-projects-to-organization.d.mts.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.mjs +27 -0
- package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -0
- package/dist/actions/update-auth-allow-localhost.cjs +20 -0
- package/dist/actions/update-auth-allow-localhost.cjs.map +1 -0
- package/dist/actions/update-auth-allow-localhost.d.cts +9 -0
- package/dist/actions/update-auth-allow-localhost.d.cts.map +1 -0
- package/dist/actions/update-auth-allow-localhost.d.mts +9 -0
- package/dist/actions/update-auth-allow-localhost.d.mts.map +1 -0
- package/dist/actions/update-auth-allow-localhost.mjs +17 -0
- package/dist/actions/update-auth-allow-localhost.mjs.map +1 -0
- package/dist/actions/update-auth-email-provider.cjs +32 -0
- package/dist/actions/update-auth-email-provider.cjs.map +1 -0
- package/dist/actions/update-auth-email-provider.d.cts +9 -0
- package/dist/actions/update-auth-email-provider.d.cts.map +1 -0
- package/dist/actions/update-auth-email-provider.d.mts +9 -0
- package/dist/actions/update-auth-email-provider.d.mts.map +1 -0
- package/dist/actions/update-auth-email-provider.mjs +29 -0
- package/dist/actions/update-auth-email-provider.mjs.map +1 -0
- package/dist/actions/update-branches-data-api.cjs +30 -0
- package/dist/actions/update-branches-data-api.cjs.map +1 -0
- package/dist/actions/update-branches-data-api.d.cts +9 -0
- package/dist/actions/update-branches-data-api.d.cts.map +1 -0
- package/dist/actions/update-branches-data-api.d.mts +9 -0
- package/dist/actions/update-branches-data-api.d.mts.map +1 -0
- package/dist/actions/update-branches-data-api.mjs +27 -0
- package/dist/actions/update-branches-data-api.mjs.map +1 -0
- package/dist/actions/update-branches-masking-rules.cjs +35 -0
- package/dist/actions/update-branches-masking-rules.cjs.map +1 -0
- package/dist/actions/update-branches-masking-rules.d.cts +9 -0
- package/dist/actions/update-branches-masking-rules.d.cts.map +1 -0
- package/dist/actions/update-branches-masking-rules.d.mts +9 -0
- package/dist/actions/update-branches-masking-rules.d.mts.map +1 -0
- package/dist/actions/update-branches-masking-rules.mjs +34 -0
- package/dist/actions/update-branches-masking-rules.mjs.map +1 -0
- package/dist/actions/update-organization-member-role.cjs +26 -0
- package/dist/actions/update-organization-member-role.cjs.map +1 -0
- package/dist/actions/update-organization-member-role.d.cts +9 -0
- package/dist/actions/update-organization-member-role.d.cts.map +1 -0
- package/dist/actions/update-organization-member-role.d.mts +9 -0
- package/dist/actions/update-organization-member-role.d.mts.map +1 -0
- package/dist/actions/update-organization-member-role.mjs +23 -0
- package/dist/actions/update-organization-member-role.mjs.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.cjs +71 -0
- package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.cts +9 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.cts.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.mts +9 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.mts.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.mjs +70 -0
- package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -0
- package/dist/actions/update-project-settings-by-id.cjs +104 -0
- package/dist/actions/update-project-settings-by-id.cjs.map +1 -0
- package/dist/actions/update-project-settings-by-id.d.cts +9 -0
- package/dist/actions/update-project-settings-by-id.d.cts.map +1 -0
- package/dist/actions/update-project-settings-by-id.d.mts +9 -0
- package/dist/actions/update-project-settings-by-id.d.mts.map +1 -0
- package/dist/actions/update-project-settings-by-id.mjs +103 -0
- package/dist/actions/update-project-settings-by-id.mjs.map +1 -0
- package/dist/actions/update-projects-snapshots.cjs +30 -0
- package/dist/actions/update-projects-snapshots.cjs.map +1 -0
- package/dist/actions/update-projects-snapshots.d.cts +9 -0
- package/dist/actions/update-projects-snapshots.d.cts.map +1 -0
- package/dist/actions/update-projects-snapshots.d.mts +9 -0
- package/dist/actions/update-projects-snapshots.d.mts.map +1 -0
- package/dist/actions/update-projects-snapshots.mjs +29 -0
- package/dist/actions/update-projects-snapshots.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +220 -0
- package/dist/index.d.cts +110 -0
- package/dist/index.d.mts +110 -0
- package/dist/index.mjs +111 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-organization-api-key.mjs","names":[],"sources":["../../src/actions/delete-organization-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteOrganizationApiKeyInput: z.ZodTypeAny = z.object({\n key_id: z.number().int().describe(\"The unique integer identifier of the API key to delete. This ID is returned when creating an API key or can be obtained from the list organization API keys endpoint.\"),\n org_id: z.string().describe(\"The Neon organization ID. Format: 'org-<adjective>-<noun>-<number>' (e.g., 'org-cool-breeze-12345678'). Can be obtained from the get user organizations endpoint.\"),\n}).describe(\"Request schema for `DeleteOrganizationApiKey`\");\nconst NeonDeleteOrganizationApiKey_RevokedApiKeyDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique integer identifier of the revoked API key.\"),\n name: z.string().describe(\"The user-specified name of the revoked API key.\"),\n revoked: z.boolean().describe(\"Boolean indicating if the key has been revoked. Always true on successful deletion.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the API key was created.\"),\n created_by: z.string().describe(\"UUID of the user who created the API key.\"),\n last_used_at: z.string().describe(\"ISO 8601 timestamp when the API key was last used, or null if never used.\").nullable().optional(),\n last_used_from_addr: z.string().describe(\"IP address from which the API key was last used, or empty string if never used.\").nullable().optional(),\n}).describe(\"Details of the revoked API key.\");\nexport const NeonDeleteOrganizationApiKeyOutput: z.ZodTypeAny = z.object({\n data: z.union([NeonDeleteOrganizationApiKey_RevokedApiKeyDetailsSchema, z.record(z.string(), z.unknown())]),\n}).describe(\"Response schema for `DeleteOrganizationApiKey`\");\n\nexport const neonDeleteOrganizationApiKey = action(\"NEON_DELETE_ORGANIZATION_API_KEY\", {\n slug: \"neon-delete-organization-api-key\",\n name: \"Delete organization api key\",\n description: \"Deletes a specific API key associated with an organization in the Neon platform. This endpoint is used to revoke access for a particular API key, enhancing security by removing unused or compromised keys. It should be used when an API key is no longer needed, when rotating keys for security purposes, or when an API key may have been exposed. Once deleted, the API key cannot be recovered, and any systems using this key will lose access to the Neon API. Ensure you have a backup or replacement key in place before deletion to avoid service interruptions.\",\n input: NeonDeleteOrganizationApiKeyInput,\n output: NeonDeleteOrganizationApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uKAAuK;CACzM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;AACjM,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,0DAAwE,EAAE,OAAO;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,EAAE,MAAM,CAAC,yDAAyD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,EAC5G,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-organization-member.ts
|
|
4
|
+
const NeonDeleteOrganizationMemberInput = zod.z.object({
|
|
5
|
+
org_id: zod.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."),
|
|
6
|
+
member_id: zod.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.")
|
|
7
|
+
}).describe("Request schema for `DeleteOrganizationMember`");
|
|
8
|
+
const NeonDeleteOrganizationMemberOutput = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("The unique identifier of the organization member."),
|
|
10
|
+
role: zod.z.string().describe("The role that the member had in the organization."),
|
|
11
|
+
org_id: zod.z.string().describe("The organization ID from which the member was removed."),
|
|
12
|
+
user_id: zod.z.string().describe("The user ID of the removed member."),
|
|
13
|
+
joined_at: zod.z.string().describe("The timestamp when the member joined the organization.")
|
|
14
|
+
}).describe("Response schema for `DeleteOrganizationMember`\n\nOn successful deletion, the API returns details of the removed organization member.");
|
|
15
|
+
const neonDeleteOrganizationMember = require_action.action("NEON_DELETE_ORGANIZATION_MEMBER", {
|
|
16
|
+
slug: "neon-delete-organization-member",
|
|
17
|
+
name: "Delete organization member",
|
|
18
|
+
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.",
|
|
19
|
+
input: NeonDeleteOrganizationMemberInput,
|
|
20
|
+
output: NeonDeleteOrganizationMemberOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.neonDeleteOrganizationMember = neonDeleteOrganizationMember;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=delete-organization-member.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-organization-member.cjs","names":["z","action"],"sources":["../../src/actions/delete-organization-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonDeleteOrganizationMemberInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the organization member.\"),\n role: z.string().describe(\"The role that the member had in the organization.\"),\n org_id: z.string().describe(\"The organization ID from which the member was removed.\"),\n user_id: z.string().describe(\"The user ID of the removed member.\"),\n joined_at: z.string().describe(\"The timestamp when the member joined the organization.\"),\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":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M;AAC9O,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,uIAAuI;AAEnJ,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-organization-member.d.ts
|
|
4
|
+
declare const NeonDeleteOrganizationMemberInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteOrganizationMemberOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteOrganizationMember: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteOrganizationMember };
|
|
9
|
+
//# sourceMappingURL=delete-organization-member.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-organization-member.d.cts","names":[],"sources":["../../src/actions/delete-organization-member.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGU;AAAA,cAC/C,kCAAA,EAAoC,CAAA,CAAE,UAMiG;AAAA,cAEvI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-organization-member.d.ts
|
|
4
|
+
declare const NeonDeleteOrganizationMemberInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteOrganizationMemberOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteOrganizationMember: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteOrganizationMember };
|
|
9
|
+
//# sourceMappingURL=delete-organization-member.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-organization-member.d.mts","names":[],"sources":["../../src/actions/delete-organization-member.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGU;AAAA,cAC/C,kCAAA,EAAoC,CAAA,CAAE,UAMiG;AAAA,cAEvI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neonDeleteOrganizationMember = action("NEON_DELETE_ORGANIZATION_MEMBER", {
|
|
4
|
+
slug: "neon-delete-organization-member",
|
|
5
|
+
name: "Delete organization member",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
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."),
|
|
9
|
+
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.")
|
|
10
|
+
}).describe("Request schema for `DeleteOrganizationMember`"),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("The unique identifier of the organization member."),
|
|
13
|
+
role: z.string().describe("The role that the member had in the organization."),
|
|
14
|
+
org_id: z.string().describe("The organization ID from which the member was removed."),
|
|
15
|
+
user_id: z.string().describe("The user ID of the removed member."),
|
|
16
|
+
joined_at: z.string().describe("The timestamp when the member joined the organization.")
|
|
17
|
+
}).describe("Response schema for `DeleteOrganizationMember`\n\nOn successful deletion, the API returns details of the removed organization member.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { neonDeleteOrganizationMember };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=delete-organization-member.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the organization member.\"),\n role: z.string().describe(\"The role that the member had in the organization.\"),\n org_id: z.string().describe(\"The organization ID from which the member was removed.\"),\n user_id: z.string().describe(\"The user ID of the removed member.\"),\n joined_at: z.string().describe(\"The timestamp when the member joined the organization.\"),\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,OAhB6D,EAAE,OAAO;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M;CAC9O,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAb8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACzF,CAAC,CAAC,CAAC,SAAS,uIAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-project-branch-by-id.ts
|
|
4
|
+
const NeonDeleteProjectBranchByIdInput = zod.z.object({
|
|
5
|
+
branch_id: zod.z.string().describe("The branch ID"),
|
|
6
|
+
project_id: zod.z.string().describe("The Neon project ID")
|
|
7
|
+
}).describe("Request schema for `DeleteProjectBranchById`");
|
|
8
|
+
const NeonDeleteProjectBranchById_BranchSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("The branch identifier with br- prefix."),
|
|
10
|
+
name: zod.z.string().describe("The branch name."),
|
|
11
|
+
"default": zod.z.boolean().describe("Whether this is the default branch for the project.").nullable().optional(),
|
|
12
|
+
primary: zod.z.boolean().describe("Deprecated. Use default instead.").nullable().optional(),
|
|
13
|
+
parentId: zod.z.string().describe("The parent branch identifier.").nullable().optional(),
|
|
14
|
+
createdAt: zod.z.string().describe("Timestamp of when the branch was created."),
|
|
15
|
+
parentLsn: zod.z.string().describe("The Log Sequence Number (LSN) on the parent branch from which this branch was created.").nullable().optional(),
|
|
16
|
+
projectId: zod.z.string().describe("The project identifier."),
|
|
17
|
+
protected: zod.z.boolean().describe("Whether the branch is protected from deletion.").nullable().optional(),
|
|
18
|
+
updatedAt: zod.z.string().describe("Timestamp of when the branch was last updated."),
|
|
19
|
+
cpuUsedSec: zod.z.number().int().describe("CPU seconds used by the branch.").nullable().optional(),
|
|
20
|
+
logicalSize: zod.z.number().int().describe("The logical size of the branch in bytes.").nullable().optional(),
|
|
21
|
+
currentState: zod.z.string().describe("The current state of the branch (e.g., init, ready)."),
|
|
22
|
+
pendingState: zod.z.string().describe("The state the branch is transitioning to.").nullable().optional(),
|
|
23
|
+
physicalSize: zod.z.number().int().describe("The physical size of the branch in bytes.").nullable().optional(),
|
|
24
|
+
writtenDataBytes: zod.z.number().int().describe("Number of bytes written.").nullable().optional(),
|
|
25
|
+
activeTimeSeconds: zod.z.number().int().describe("Active time in seconds.").nullable().optional(),
|
|
26
|
+
dataTransferBytes: zod.z.number().int().describe("Number of bytes transferred.").nullable().optional(),
|
|
27
|
+
computeTimeSeconds: zod.z.number().int().describe("Compute time in seconds.").nullable().optional()
|
|
28
|
+
}).describe("The deleted branch object.");
|
|
29
|
+
const NeonDeleteProjectBranchById_OperationSchema = zod.z.object({
|
|
30
|
+
id: zod.z.string().describe("The operation identifier (UUID)."),
|
|
31
|
+
error: zod.z.string().describe("The error that occurred.").nullable().optional(),
|
|
32
|
+
action: zod.z.enum([
|
|
33
|
+
"create_compute",
|
|
34
|
+
"create_timeline",
|
|
35
|
+
"start_compute",
|
|
36
|
+
"suspend_compute",
|
|
37
|
+
"apply_config",
|
|
38
|
+
"check_availability",
|
|
39
|
+
"delete_timeline",
|
|
40
|
+
"create_branch",
|
|
41
|
+
"import_data",
|
|
42
|
+
"tenant_ignore",
|
|
43
|
+
"tenant_attach",
|
|
44
|
+
"tenant_detach",
|
|
45
|
+
"tenant_reattach",
|
|
46
|
+
"replace_safekeeper",
|
|
47
|
+
"disable_maintenance",
|
|
48
|
+
"apply_storage_config",
|
|
49
|
+
"prepare_secondary_pageserver",
|
|
50
|
+
"switch_pageserver",
|
|
51
|
+
"detach_parent_branch",
|
|
52
|
+
"timeline_archive",
|
|
53
|
+
"timeline_unarchive",
|
|
54
|
+
"start_reserved_compute",
|
|
55
|
+
"sync_dbs_and_roles_from_compute",
|
|
56
|
+
"apply_schema_from_branch",
|
|
57
|
+
"timeline_mark_invisible",
|
|
58
|
+
"prewarm_replica",
|
|
59
|
+
"promote_replica",
|
|
60
|
+
"set_storage_non_dirty"
|
|
61
|
+
]).describe("The action performed by the operation."),
|
|
62
|
+
status: zod.z.enum([
|
|
63
|
+
"scheduling",
|
|
64
|
+
"running",
|
|
65
|
+
"finished",
|
|
66
|
+
"failed",
|
|
67
|
+
"error",
|
|
68
|
+
"cancelled",
|
|
69
|
+
"skipped"
|
|
70
|
+
]).describe("The status of the operation."),
|
|
71
|
+
retryAt: zod.z.string().describe("A timestamp indicating when the operation was last retried.").nullable().optional(),
|
|
72
|
+
branchId: zod.z.string().describe("The branch identifier.").nullable().optional(),
|
|
73
|
+
createdAt: zod.z.string().describe("A timestamp indicating when the operation was created."),
|
|
74
|
+
projectId: zod.z.string().describe("The Neon project identifier."),
|
|
75
|
+
updatedAt: zod.z.string().describe("A timestamp indicating when the operation status was last updated."),
|
|
76
|
+
endpointId: zod.z.string().describe("The compute endpoint identifier.").nullable().optional(),
|
|
77
|
+
failuresCount: zod.z.number().int().describe("The number of times the operation failed."),
|
|
78
|
+
totalDurationMs: zod.z.number().int().describe("The total duration of the operation in milliseconds.")
|
|
79
|
+
}).describe("Operation object.");
|
|
80
|
+
const NeonDeleteProjectBranchByIdOutput = zod.z.object({
|
|
81
|
+
branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),
|
|
82
|
+
operations: zod.z.array(NeonDeleteProjectBranchById_OperationSchema).describe("Array of operations initiated by the branch deletion request.")
|
|
83
|
+
}).describe("Response schema for `DeleteProjectBranchById`");
|
|
84
|
+
const neonDeleteProjectBranchById = require_action.action("NEON_DELETE_PROJECT_BRANCH_BY_ID", {
|
|
85
|
+
slug: "neon-delete-project-branch-by-id",
|
|
86
|
+
name: "Delete project branch by id",
|
|
87
|
+
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.",
|
|
88
|
+
input: NeonDeleteProjectBranchByIdInput,
|
|
89
|
+
output: NeonDeleteProjectBranchByIdOutput
|
|
90
|
+
});
|
|
91
|
+
//#endregion
|
|
92
|
+
exports.neonDeleteProjectBranchById = neonDeleteProjectBranchById;
|
|
93
|
+
|
|
94
|
+
//# sourceMappingURL=delete-project-branch-by-id.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\"),\n name: z.string().describe(\"The branch name.\"),\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.\"),\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.\"),\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.\"),\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).\"),\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.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\"),\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.\"),\n status: z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"error\", \"cancelled\", \"skipped\"]).describe(\"The status of the operation.\"),\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.\"),\n projectId: z.string().describe(\"The Neon project identifier.\"),\n updatedAt: z.string().describe(\"A timestamp indicating when the operation status was last updated.\"),\n endpointId: z.string().describe(\"The compute endpoint identifier.\").nullable().optional(),\n failuresCount: z.number().int().describe(\"The number of times the operation failed.\"),\n totalDurationMs: z.number().int().describe(\"The total duration of the operation in milliseconds.\"),\n}).describe(\"Operation object.\");\nexport const NeonDeleteProjectBranchByIdOutput: z.ZodTypeAny = 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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;C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CAC1D,YAAYA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D;AAC3I,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-project-branch-by-id.d.ts
|
|
4
|
+
declare const NeonDeleteProjectBranchByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteProjectBranchByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteProjectBranchById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteProjectBranchById };
|
|
9
|
+
//# sourceMappingURL=delete-project-branch-by-id.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-project-branch-by-id.d.cts","names":[],"sources":["../../src/actions/delete-project-branch-by-id.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cAoC9C,iCAAA,EAAmC,CAAA,CAAE,UAGU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-project-branch-by-id.d.ts
|
|
4
|
+
declare const NeonDeleteProjectBranchByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteProjectBranchByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteProjectBranchById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteProjectBranchById };
|
|
9
|
+
//# sourceMappingURL=delete-project-branch-by-id.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-project-branch-by-id.d.mts","names":[],"sources":["../../src/actions/delete-project-branch-by-id.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cAoC9C,iCAAA,EAAmC,CAAA,CAAE,UAGU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-project-branch-by-id.ts
|
|
4
|
+
const NeonDeleteProjectBranchByIdInput = z.object({
|
|
5
|
+
branch_id: z.string().describe("The branch ID"),
|
|
6
|
+
project_id: z.string().describe("The Neon project ID")
|
|
7
|
+
}).describe("Request schema for `DeleteProjectBranchById`");
|
|
8
|
+
const NeonDeleteProjectBranchById_BranchSchema = z.object({
|
|
9
|
+
id: z.string().describe("The branch identifier with br- prefix."),
|
|
10
|
+
name: z.string().describe("The branch name."),
|
|
11
|
+
"default": z.boolean().describe("Whether this is the default branch for the project.").nullable().optional(),
|
|
12
|
+
primary: z.boolean().describe("Deprecated. Use default instead.").nullable().optional(),
|
|
13
|
+
parentId: z.string().describe("The parent branch identifier.").nullable().optional(),
|
|
14
|
+
createdAt: z.string().describe("Timestamp of when the branch was created."),
|
|
15
|
+
parentLsn: z.string().describe("The Log Sequence Number (LSN) on the parent branch from which this branch was created.").nullable().optional(),
|
|
16
|
+
projectId: z.string().describe("The project identifier."),
|
|
17
|
+
protected: z.boolean().describe("Whether the branch is protected from deletion.").nullable().optional(),
|
|
18
|
+
updatedAt: z.string().describe("Timestamp of when the branch was last updated."),
|
|
19
|
+
cpuUsedSec: z.number().int().describe("CPU seconds used by the branch.").nullable().optional(),
|
|
20
|
+
logicalSize: z.number().int().describe("The logical size of the branch in bytes.").nullable().optional(),
|
|
21
|
+
currentState: z.string().describe("The current state of the branch (e.g., init, ready)."),
|
|
22
|
+
pendingState: z.string().describe("The state the branch is transitioning to.").nullable().optional(),
|
|
23
|
+
physicalSize: z.number().int().describe("The physical size of the branch in bytes.").nullable().optional(),
|
|
24
|
+
writtenDataBytes: z.number().int().describe("Number of bytes written.").nullable().optional(),
|
|
25
|
+
activeTimeSeconds: z.number().int().describe("Active time in seconds.").nullable().optional(),
|
|
26
|
+
dataTransferBytes: z.number().int().describe("Number of bytes transferred.").nullable().optional(),
|
|
27
|
+
computeTimeSeconds: z.number().int().describe("Compute time in seconds.").nullable().optional()
|
|
28
|
+
}).describe("The deleted branch object.");
|
|
29
|
+
const NeonDeleteProjectBranchById_OperationSchema = z.object({
|
|
30
|
+
id: z.string().describe("The operation identifier (UUID)."),
|
|
31
|
+
error: z.string().describe("The error that occurred.").nullable().optional(),
|
|
32
|
+
action: z.enum([
|
|
33
|
+
"create_compute",
|
|
34
|
+
"create_timeline",
|
|
35
|
+
"start_compute",
|
|
36
|
+
"suspend_compute",
|
|
37
|
+
"apply_config",
|
|
38
|
+
"check_availability",
|
|
39
|
+
"delete_timeline",
|
|
40
|
+
"create_branch",
|
|
41
|
+
"import_data",
|
|
42
|
+
"tenant_ignore",
|
|
43
|
+
"tenant_attach",
|
|
44
|
+
"tenant_detach",
|
|
45
|
+
"tenant_reattach",
|
|
46
|
+
"replace_safekeeper",
|
|
47
|
+
"disable_maintenance",
|
|
48
|
+
"apply_storage_config",
|
|
49
|
+
"prepare_secondary_pageserver",
|
|
50
|
+
"switch_pageserver",
|
|
51
|
+
"detach_parent_branch",
|
|
52
|
+
"timeline_archive",
|
|
53
|
+
"timeline_unarchive",
|
|
54
|
+
"start_reserved_compute",
|
|
55
|
+
"sync_dbs_and_roles_from_compute",
|
|
56
|
+
"apply_schema_from_branch",
|
|
57
|
+
"timeline_mark_invisible",
|
|
58
|
+
"prewarm_replica",
|
|
59
|
+
"promote_replica",
|
|
60
|
+
"set_storage_non_dirty"
|
|
61
|
+
]).describe("The action performed by the operation."),
|
|
62
|
+
status: z.enum([
|
|
63
|
+
"scheduling",
|
|
64
|
+
"running",
|
|
65
|
+
"finished",
|
|
66
|
+
"failed",
|
|
67
|
+
"error",
|
|
68
|
+
"cancelled",
|
|
69
|
+
"skipped"
|
|
70
|
+
]).describe("The status of the operation."),
|
|
71
|
+
retryAt: z.string().describe("A timestamp indicating when the operation was last retried.").nullable().optional(),
|
|
72
|
+
branchId: z.string().describe("The branch identifier.").nullable().optional(),
|
|
73
|
+
createdAt: z.string().describe("A timestamp indicating when the operation was created."),
|
|
74
|
+
projectId: z.string().describe("The Neon project identifier."),
|
|
75
|
+
updatedAt: z.string().describe("A timestamp indicating when the operation status was last updated."),
|
|
76
|
+
endpointId: z.string().describe("The compute endpoint identifier.").nullable().optional(),
|
|
77
|
+
failuresCount: z.number().int().describe("The number of times the operation failed."),
|
|
78
|
+
totalDurationMs: z.number().int().describe("The total duration of the operation in milliseconds.")
|
|
79
|
+
}).describe("Operation object.");
|
|
80
|
+
const neonDeleteProjectBranchById = action("NEON_DELETE_PROJECT_BRANCH_BY_ID", {
|
|
81
|
+
slug: "neon-delete-project-branch-by-id",
|
|
82
|
+
name: "Delete project branch by id",
|
|
83
|
+
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.",
|
|
84
|
+
input: NeonDeleteProjectBranchByIdInput,
|
|
85
|
+
output: z.object({
|
|
86
|
+
branch: NeonDeleteProjectBranchById_BranchSchema.nullable(),
|
|
87
|
+
operations: z.array(NeonDeleteProjectBranchById_OperationSchema).describe("Array of operations initiated by the branch deletion request.")
|
|
88
|
+
}).describe("Response schema for `DeleteProjectBranchById`")
|
|
89
|
+
});
|
|
90
|
+
//#endregion
|
|
91
|
+
export { neonDeleteProjectBranchById };
|
|
92
|
+
|
|
93
|
+
//# sourceMappingURL=delete-project-branch-by-id.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\"),\n name: z.string().describe(\"The branch name.\"),\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.\"),\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.\"),\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.\"),\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).\"),\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.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\"),\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.\"),\n status: z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"error\", \"cancelled\", \"skipped\"]).describe(\"The status of the operation.\"),\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.\"),\n projectId: z.string().describe(\"The Neon project identifier.\"),\n updatedAt: z.string().describe(\"A timestamp indicating when the operation status was last updated.\"),\n endpointId: z.string().describe(\"The compute endpoint identifier.\").nullable().optional(),\n failuresCount: z.number().int().describe(\"The number of times the operation failed.\"),\n totalDurationMs: z.number().int().describe(\"The total duration of the operation in milliseconds.\"),\n}).describe(\"Operation object.\");\nexport const NeonDeleteProjectBranchByIdOutput: z.ZodTypeAny = 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,mCAAiD,EAAE,OAAO;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,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,OA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,OAAO;EACtE,QAAQ,yCAAyC,SAAS;EAC1D,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D;CAC3I,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-project-branch-role.ts
|
|
4
|
+
const NeonDeleteProjectBranchRoleInput = zod.z.object({
|
|
5
|
+
branch_id: zod.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."),
|
|
6
|
+
role_name: zod.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."),
|
|
7
|
+
project_id: zod.z.string().describe("The unique Neon project identifier (e.g., 'proud-meadow-87189985'). Can be retrieved using the list projects endpoint.")
|
|
8
|
+
}).describe("Request schema for `DeleteProjectBranchRole`");
|
|
9
|
+
const NeonDeleteProjectBranchRole_RoleInfoSchema = zod.z.object({
|
|
10
|
+
name: zod.z.string().describe("The name of the deleted role.").nullable().optional(),
|
|
11
|
+
branch_id: zod.z.string().describe("The branch ID where the role was deleted from.").nullable().optional(),
|
|
12
|
+
protected: zod.z.boolean().describe("Whether the role was protected.").nullable().optional(),
|
|
13
|
+
created_at: zod.z.string().describe("Timestamp when the role was originally created (ISO 8601 format).").nullable().optional(),
|
|
14
|
+
updated_at: zod.z.string().describe("Timestamp when the role was last updated (ISO 8601 format).").nullable().optional(),
|
|
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.");
|
|
17
|
+
const NeonDeleteProjectBranchRole_OperationInfoSchema = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("Unique identifier for the operation.").nullable().optional(),
|
|
19
|
+
action: zod.z.string().describe("The type of action being performed (e.g., 'apply_config').").nullable().optional(),
|
|
20
|
+
status: zod.z.string().describe("Current status of the operation (e.g., 'running', 'finished').").nullable().optional(),
|
|
21
|
+
branch_id: zod.z.string().describe("The branch ID this operation belongs to.").nullable().optional(),
|
|
22
|
+
created_at: zod.z.string().describe("Timestamp when the operation was created (ISO 8601 format).").nullable().optional(),
|
|
23
|
+
project_id: zod.z.string().describe("The project ID this operation belongs to.").nullable().optional(),
|
|
24
|
+
updated_at: zod.z.string().describe("Timestamp when the operation was last updated (ISO 8601 format).").nullable().optional(),
|
|
25
|
+
endpoint_id: zod.z.string().describe("The compute endpoint ID affected by this operation.").nullable().optional(),
|
|
26
|
+
failures_count: zod.z.number().int().describe("Number of failures encountered during the operation.").nullable().optional(),
|
|
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.");
|
|
29
|
+
const NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = zod.z.object({
|
|
30
|
+
role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),
|
|
31
|
+
details: zod.z.string().describe("Status message when role did not exist (204 No Content response).").nullable().optional(),
|
|
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`");
|
|
35
|
+
const neonDeleteProjectBranchRole = require_action.action("NEON_DELETE_PROJECT_BRANCH_ROLE", {
|
|
36
|
+
slug: "neon-delete-project-branch-role",
|
|
37
|
+
name: "Delete project branch role",
|
|
38
|
+
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",
|
|
39
|
+
input: NeonDeleteProjectBranchRoleInput,
|
|
40
|
+
output: NeonDeleteProjectBranchRoleOutput
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
exports.neonDeleteProjectBranchRole = neonDeleteProjectBranchRole;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=delete-project-branch-role.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,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;AACjD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,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,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAM,sEAAsE,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-project-branch-role.d.ts
|
|
4
|
+
declare const NeonDeleteProjectBranchRoleInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteProjectBranchRoleOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteProjectBranchRole: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteProjectBranchRole };
|
|
9
|
+
//# sourceMappingURL=delete-project-branch-role.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-project-branch-role.d.cts","names":[],"sources":["../../src/actions/delete-project-branch-role.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIU;AAAA,cA0B9C,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-project-branch-role.d.ts
|
|
4
|
+
declare const NeonDeleteProjectBranchRoleInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteProjectBranchRoleOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteProjectBranchRole: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteProjectBranchRole };
|
|
9
|
+
//# sourceMappingURL=delete-project-branch-role.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-project-branch-role.d.mts","names":[],"sources":["../../src/actions/delete-project-branch-role.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIU;AAAA,cA0B9C,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-project-branch-role.ts
|
|
4
|
+
const NeonDeleteProjectBranchRoleInput = z.object({
|
|
5
|
+
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."),
|
|
6
|
+
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."),
|
|
7
|
+
project_id: z.string().describe("The unique Neon project identifier (e.g., 'proud-meadow-87189985'). Can be retrieved using the list projects endpoint.")
|
|
8
|
+
}).describe("Request schema for `DeleteProjectBranchRole`");
|
|
9
|
+
const NeonDeleteProjectBranchRole_RoleInfoSchema = z.object({
|
|
10
|
+
name: z.string().describe("The name of the deleted role.").nullable().optional(),
|
|
11
|
+
branch_id: z.string().describe("The branch ID where the role was deleted from.").nullable().optional(),
|
|
12
|
+
protected: z.boolean().describe("Whether the role was protected.").nullable().optional(),
|
|
13
|
+
created_at: z.string().describe("Timestamp when the role was originally created (ISO 8601 format).").nullable().optional(),
|
|
14
|
+
updated_at: z.string().describe("Timestamp when the role was last updated (ISO 8601 format).").nullable().optional(),
|
|
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.");
|
|
17
|
+
const NeonDeleteProjectBranchRole_OperationInfoSchema = z.object({
|
|
18
|
+
id: z.string().describe("Unique identifier for the operation.").nullable().optional(),
|
|
19
|
+
action: z.string().describe("The type of action being performed (e.g., 'apply_config').").nullable().optional(),
|
|
20
|
+
status: z.string().describe("Current status of the operation (e.g., 'running', 'finished').").nullable().optional(),
|
|
21
|
+
branch_id: z.string().describe("The branch ID this operation belongs to.").nullable().optional(),
|
|
22
|
+
created_at: z.string().describe("Timestamp when the operation was created (ISO 8601 format).").nullable().optional(),
|
|
23
|
+
project_id: z.string().describe("The project ID this operation belongs to.").nullable().optional(),
|
|
24
|
+
updated_at: z.string().describe("Timestamp when the operation was last updated (ISO 8601 format).").nullable().optional(),
|
|
25
|
+
endpoint_id: z.string().describe("The compute endpoint ID affected by this operation.").nullable().optional(),
|
|
26
|
+
failures_count: z.number().int().describe("Number of failures encountered during the operation.").nullable().optional(),
|
|
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.");
|
|
29
|
+
const NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema = z.object({
|
|
30
|
+
role: NeonDeleteProjectBranchRole_RoleInfoSchema.nullable().optional(),
|
|
31
|
+
details: z.string().describe("Status message when role did not exist (204 No Content response).").nullable().optional(),
|
|
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.");
|
|
34
|
+
const neonDeleteProjectBranchRole = action("NEON_DELETE_PROJECT_BRANCH_ROLE", {
|
|
35
|
+
slug: "neon-delete-project-branch-role",
|
|
36
|
+
name: "Delete project branch role",
|
|
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
|
+
input: NeonDeleteProjectBranchRoleInput,
|
|
39
|
+
output: z.object({ data: NeonDeleteProjectBranchRole_DeleteProjectBranchRoleResponseDataSchema.nullable() }).describe("Response schema for `DeleteProjectBranchRole`")
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { neonDeleteProjectBranchRole };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=delete-project-branch-role.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,mCAAiD,EAAE,OAAO;CACrE,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,6CAA2D,EAAE,OAAO;CACxE,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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S,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,sEAAsE,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-project-by-id.ts
|
|
4
|
+
const NeonDeleteProjectByIdInput = zod.z.object({ project_id: zod.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.") }).describe("Request schema for `DeleteProjectById`");
|
|
5
|
+
const NeonDeleteProjectById_DeletedProjectInfoSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the deleted project").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("The name of the deleted project").nullable().optional(),
|
|
8
|
+
org_id: zod.z.string().describe("Organization ID that owned the project").nullable().optional(),
|
|
9
|
+
region_id: zod.z.string().describe("The region where the project was located (e.g., 'aws-us-east-1')").nullable().optional(),
|
|
10
|
+
created_at: zod.z.string().describe("Timestamp when the project was created").nullable().optional(),
|
|
11
|
+
pg_version: zod.z.number().int().describe("PostgreSQL version of the deleted project").nullable().optional(),
|
|
12
|
+
updated_at: zod.z.string().describe("Timestamp when the project was last updated").nullable().optional(),
|
|
13
|
+
platform_id: zod.z.string().describe("The cloud platform (e.g., 'aws')").nullable().optional()
|
|
14
|
+
}).passthrough().describe("Details of the deleted project");
|
|
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`");
|
|
17
|
+
const neonDeleteProjectById = require_action.action("NEON_DELETE_PROJECT_BY_ID", {
|
|
18
|
+
slug: "neon-delete-project-by-id",
|
|
19
|
+
name: "Delete project by id",
|
|
20
|
+
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.",
|
|
21
|
+
input: NeonDeleteProjectByIdInput,
|
|
22
|
+
output: NeonDeleteProjectByIdOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.neonDeleteProjectById = neonDeleteProjectById;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=delete-project-by-id.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n project: NeonDeleteProjectById_DeletedProjectInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response data containing the deleted project details\");\nexport const NeonDeleteProjectByIdOutput: z.ZodTypeAny = 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,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,EACvO,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,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C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-project-by-id.d.ts
|
|
4
|
+
declare const NeonDeleteProjectByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonDeleteProjectByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonDeleteProjectById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonDeleteProjectById };
|
|
9
|
+
//# sourceMappingURL=delete-project-by-id.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-project-by-id.d.cts","names":[],"sources":["../../src/actions/delete-project-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEU;AAAA,cAcxC,2BAAA,EAA6B,CAAA,CAAE,UAEU;AAAA,cAEzC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|