@keystrokehq/neon 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/accept-projects-transfer-requests.cjs +1 -0
- package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -1
- package/dist/actions/accept-projects-transfer-requests.d.cts +3 -5
- package/dist/actions/accept-projects-transfer-requests.d.cts.map +1 -1
- package/dist/actions/accept-projects-transfer-requests.d.mts +3 -5
- package/dist/actions/accept-projects-transfer-requests.d.mts.map +1 -1
- package/dist/actions/accept-projects-transfer-requests.mjs +1 -0
- package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -1
- package/dist/actions/access-project-details-by-id.cjs +1 -0
- package/dist/actions/access-project-details-by-id.cjs.map +1 -1
- package/dist/actions/access-project-details-by-id.d.cts +3 -3
- package/dist/actions/access-project-details-by-id.d.cts.map +1 -1
- package/dist/actions/access-project-details-by-id.d.mts +3 -3
- package/dist/actions/access-project-details-by-id.d.mts.map +1 -1
- package/dist/actions/access-project-details-by-id.mjs +1 -0
- package/dist/actions/access-project-details-by-id.mjs.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +3 -8
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +3 -8
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -1
- package/dist/actions/add-project-email-permission.cjs +1 -0
- package/dist/actions/add-project-email-permission.cjs.map +1 -1
- package/dist/actions/add-project-email-permission.d.cts +3 -4
- package/dist/actions/add-project-email-permission.d.cts.map +1 -1
- package/dist/actions/add-project-email-permission.d.mts +3 -4
- package/dist/actions/add-project-email-permission.d.mts.map +1 -1
- package/dist/actions/add-project-email-permission.mjs +1 -0
- package/dist/actions/add-project-email-permission.mjs.map +1 -1
- package/dist/actions/add-role-to-branch.cjs +1 -0
- package/dist/actions/add-role-to-branch.cjs.map +1 -1
- package/dist/actions/add-role-to-branch.d.cts +3 -5
- package/dist/actions/add-role-to-branch.d.cts.map +1 -1
- package/dist/actions/add-role-to-branch.d.mts +3 -5
- package/dist/actions/add-role-to-branch.d.mts.map +1 -1
- package/dist/actions/add-role-to-branch.mjs +1 -0
- package/dist/actions/add-role-to-branch.mjs.map +1 -1
- package/dist/actions/count-project-branches.cjs +1 -0
- package/dist/actions/count-project-branches.cjs.map +1 -1
- package/dist/actions/count-project-branches.d.cts +3 -4
- package/dist/actions/count-project-branches.d.cts.map +1 -1
- package/dist/actions/count-project-branches.d.mts +3 -4
- package/dist/actions/count-project-branches.d.mts.map +1 -1
- package/dist/actions/count-project-branches.mjs +1 -0
- package/dist/actions/count-project-branches.mjs.map +1 -1
- package/dist/actions/create-api-key-for-organization.cjs +1 -0
- package/dist/actions/create-api-key-for-organization.cjs.map +1 -1
- package/dist/actions/create-api-key-for-organization.d.cts +3 -4
- package/dist/actions/create-api-key-for-organization.d.cts.map +1 -1
- package/dist/actions/create-api-key-for-organization.d.mts +3 -4
- package/dist/actions/create-api-key-for-organization.d.mts.map +1 -1
- package/dist/actions/create-api-key-for-organization.mjs +1 -0
- package/dist/actions/create-api-key-for-organization.mjs.map +1 -1
- package/dist/actions/create-auth-keys.cjs +1 -0
- package/dist/actions/create-auth-keys.cjs.map +1 -1
- package/dist/actions/create-auth-keys.d.cts +3 -4
- package/dist/actions/create-auth-keys.d.cts.map +1 -1
- package/dist/actions/create-auth-keys.d.mts +3 -4
- package/dist/actions/create-auth-keys.d.mts.map +1 -1
- package/dist/actions/create-auth-keys.mjs +1 -0
- package/dist/actions/create-auth-keys.mjs.map +1 -1
- package/dist/actions/create-auth-user.cjs +1 -0
- package/dist/actions/create-auth-user.cjs.map +1 -1
- package/dist/actions/create-auth-user.d.cts +3 -6
- package/dist/actions/create-auth-user.d.cts.map +1 -1
- package/dist/actions/create-auth-user.d.mts +3 -6
- package/dist/actions/create-auth-user.d.mts.map +1 -1
- package/dist/actions/create-auth-user.mjs +1 -0
- package/dist/actions/create-auth-user.mjs.map +1 -1
- package/dist/actions/create-branch-database.cjs +1 -0
- package/dist/actions/create-branch-database.cjs.map +1 -1
- package/dist/actions/create-branch-database.d.cts +3 -6
- package/dist/actions/create-branch-database.d.cts.map +1 -1
- package/dist/actions/create-branch-database.d.mts +3 -6
- package/dist/actions/create-branch-database.d.mts.map +1 -1
- package/dist/actions/create-branch-database.mjs +1 -0
- package/dist/actions/create-branch-database.mjs.map +1 -1
- package/dist/actions/create-branches-auth.cjs +1 -0
- package/dist/actions/create-branches-auth.cjs.map +1 -1
- package/dist/actions/create-branches-auth.d.cts +3 -6
- package/dist/actions/create-branches-auth.d.cts.map +1 -1
- package/dist/actions/create-branches-auth.d.mts +3 -6
- package/dist/actions/create-branches-auth.d.mts.map +1 -1
- package/dist/actions/create-branches-auth.mjs +1 -0
- package/dist/actions/create-branches-auth.mjs.map +1 -1
- package/dist/actions/create-branches-data-api.cjs +1 -0
- package/dist/actions/create-branches-data-api.cjs.map +1 -1
- package/dist/actions/create-branches-data-api.d.cts +3 -23
- package/dist/actions/create-branches-data-api.d.cts.map +1 -1
- package/dist/actions/create-branches-data-api.d.mts +3 -23
- package/dist/actions/create-branches-data-api.d.mts.map +1 -1
- package/dist/actions/create-branches-data-api.mjs +1 -0
- package/dist/actions/create-branches-data-api.mjs.map +1 -1
- package/dist/actions/create-branches-snapshot.cjs +1 -0
- package/dist/actions/create-branches-snapshot.cjs.map +1 -1
- package/dist/actions/create-branches-snapshot.d.cts +3 -8
- package/dist/actions/create-branches-snapshot.d.cts.map +1 -1
- package/dist/actions/create-branches-snapshot.d.mts +3 -8
- package/dist/actions/create-branches-snapshot.d.mts.map +1 -1
- package/dist/actions/create-branches-snapshot.mjs +1 -0
- package/dist/actions/create-branches-snapshot.mjs.map +1 -1
- package/dist/actions/create-compute-endpoint.cjs +1 -0
- package/dist/actions/create-compute-endpoint.cjs.map +1 -1
- package/dist/actions/create-compute-endpoint.d.cts +3 -16
- package/dist/actions/create-compute-endpoint.d.cts.map +1 -1
- package/dist/actions/create-compute-endpoint.d.mts +3 -16
- package/dist/actions/create-compute-endpoint.d.mts.map +1 -1
- package/dist/actions/create-compute-endpoint.mjs +1 -0
- package/dist/actions/create-compute-endpoint.mjs.map +1 -1
- package/dist/actions/create-new-api-key.cjs +1 -0
- package/dist/actions/create-new-api-key.cjs.map +1 -1
- package/dist/actions/create-new-api-key.d.cts +3 -3
- package/dist/actions/create-new-api-key.d.cts.map +1 -1
- package/dist/actions/create-new-api-key.d.mts +3 -3
- package/dist/actions/create-new-api-key.d.mts.map +1 -1
- package/dist/actions/create-new-api-key.mjs +1 -0
- package/dist/actions/create-new-api-key.mjs.map +1 -1
- package/dist/actions/create-new-project-branch.cjs +1 -0
- package/dist/actions/create-new-project-branch.cjs.map +1 -1
- package/dist/actions/create-new-project-branch.d.cts +3 -6
- package/dist/actions/create-new-project-branch.d.cts.map +1 -1
- package/dist/actions/create-new-project-branch.d.mts +3 -6
- package/dist/actions/create-new-project-branch.d.mts.map +1 -1
- package/dist/actions/create-new-project-branch.mjs +1 -0
- package/dist/actions/create-new-project-branch.mjs.map +1 -1
- package/dist/actions/create-project-branch-anonymized.cjs +1 -0
- package/dist/actions/create-project-branch-anonymized.cjs.map +1 -1
- package/dist/actions/create-project-branch-anonymized.d.cts +3 -17
- package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -1
- package/dist/actions/create-project-branch-anonymized.d.mts +3 -17
- package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -1
- package/dist/actions/create-project-branch-anonymized.mjs +1 -0
- package/dist/actions/create-project-branch-anonymized.mjs.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.cjs +1 -0
- package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.d.cts +3 -32
- package/dist/actions/create-project-with-quota-and-settings.d.cts.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.d.mts +3 -32
- package/dist/actions/create-project-with-quota-and-settings.d.mts.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.mjs +1 -0
- package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -1
- package/dist/actions/create-projects-transfer-requests.cjs +1 -0
- package/dist/actions/create-projects-transfer-requests.cjs.map +1 -1
- package/dist/actions/create-projects-transfer-requests.d.cts +3 -4
- package/dist/actions/create-projects-transfer-requests.d.cts.map +1 -1
- package/dist/actions/create-projects-transfer-requests.d.mts +3 -4
- package/dist/actions/create-projects-transfer-requests.d.mts.map +1 -1
- package/dist/actions/create-projects-transfer-requests.mjs +1 -0
- package/dist/actions/create-projects-transfer-requests.mjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.cjs +1 -0
- package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.d.cts +3 -5
- package/dist/actions/create-vpc-endpoint-label.d.cts.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.d.mts +3 -5
- package/dist/actions/create-vpc-endpoint-label.d.mts.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.mjs +1 -0
- package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.cjs +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.d.cts +3 -6
- package/dist/actions/create-vpc-endpoint-with-label.d.cts.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.d.mts +3 -6
- package/dist/actions/create-vpc-endpoint-with-label.d.mts.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.mjs +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -1
- package/dist/actions/delete-api-key-by-id.cjs +1 -0
- package/dist/actions/delete-api-key-by-id.cjs.map +1 -1
- package/dist/actions/delete-api-key-by-id.d.cts +3 -3
- package/dist/actions/delete-api-key-by-id.d.cts.map +1 -1
- package/dist/actions/delete-api-key-by-id.d.mts +3 -3
- package/dist/actions/delete-api-key-by-id.d.mts.map +1 -1
- package/dist/actions/delete-api-key-by-id.mjs +1 -0
- package/dist/actions/delete-api-key-by-id.mjs.map +1 -1
- package/dist/actions/delete-auth-domains.cjs +1 -0
- package/dist/actions/delete-auth-domains.cjs.map +1 -1
- package/dist/actions/delete-auth-domains.d.cts +3 -9
- package/dist/actions/delete-auth-domains.d.cts.map +1 -1
- package/dist/actions/delete-auth-domains.d.mts +3 -9
- package/dist/actions/delete-auth-domains.d.mts.map +1 -1
- package/dist/actions/delete-auth-domains.mjs +1 -0
- package/dist/actions/delete-auth-domains.mjs.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.cjs +1 -0
- package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.d.cts +3 -5
- package/dist/actions/delete-auth-oauth-provider.d.cts.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.d.mts +3 -5
- package/dist/actions/delete-auth-oauth-provider.d.mts.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.mjs +1 -0
- package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -1
- package/dist/actions/delete-auth-user.cjs +1 -0
- package/dist/actions/delete-auth-user.cjs.map +1 -1
- package/dist/actions/delete-auth-user.d.cts +3 -5
- package/dist/actions/delete-auth-user.d.cts.map +1 -1
- package/dist/actions/delete-auth-user.d.mts +3 -5
- package/dist/actions/delete-auth-user.d.mts.map +1 -1
- package/dist/actions/delete-auth-user.mjs +1 -0
- package/dist/actions/delete-auth-user.mjs.map +1 -1
- package/dist/actions/delete-branch-data-api.cjs +1 -0
- package/dist/actions/delete-branch-data-api.cjs.map +1 -1
- package/dist/actions/delete-branch-data-api.d.cts +3 -5
- package/dist/actions/delete-branch-data-api.d.cts.map +1 -1
- package/dist/actions/delete-branch-data-api.d.mts +3 -5
- package/dist/actions/delete-branch-data-api.d.mts.map +1 -1
- package/dist/actions/delete-branch-data-api.mjs +1 -0
- package/dist/actions/delete-branch-data-api.mjs.map +1 -1
- package/dist/actions/delete-database-from-branch.cjs +1 -0
- package/dist/actions/delete-database-from-branch.cjs.map +1 -1
- package/dist/actions/delete-database-from-branch.d.cts +3 -5
- package/dist/actions/delete-database-from-branch.d.cts.map +1 -1
- package/dist/actions/delete-database-from-branch.d.mts +3 -5
- package/dist/actions/delete-database-from-branch.d.mts.map +1 -1
- package/dist/actions/delete-database-from-branch.mjs +1 -0
- package/dist/actions/delete-database-from-branch.mjs.map +1 -1
- package/dist/actions/delete-organization-api-key.cjs +1 -0
- package/dist/actions/delete-organization-api-key.cjs.map +1 -1
- package/dist/actions/delete-organization-api-key.d.cts +3 -4
- package/dist/actions/delete-organization-api-key.d.cts.map +1 -1
- package/dist/actions/delete-organization-api-key.d.mts +3 -4
- package/dist/actions/delete-organization-api-key.d.mts.map +1 -1
- package/dist/actions/delete-organization-api-key.mjs +1 -0
- package/dist/actions/delete-organization-api-key.mjs.map +1 -1
- package/dist/actions/delete-organization-member.cjs +1 -0
- package/dist/actions/delete-organization-member.cjs.map +1 -1
- package/dist/actions/delete-organization-member.d.cts +3 -4
- package/dist/actions/delete-organization-member.d.cts.map +1 -1
- package/dist/actions/delete-organization-member.d.mts +3 -4
- package/dist/actions/delete-organization-member.d.mts.map +1 -1
- package/dist/actions/delete-organization-member.mjs +1 -0
- package/dist/actions/delete-organization-member.mjs.map +1 -1
- package/dist/actions/delete-project-branch-by-id.cjs +1 -0
- package/dist/actions/delete-project-branch-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-branch-by-id.d.cts +3 -4
- package/dist/actions/delete-project-branch-by-id.d.cts.map +1 -1
- package/dist/actions/delete-project-branch-by-id.d.mts +3 -4
- package/dist/actions/delete-project-branch-by-id.d.mts.map +1 -1
- package/dist/actions/delete-project-branch-by-id.mjs +1 -0
- package/dist/actions/delete-project-branch-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-branch-role.cjs +1 -0
- package/dist/actions/delete-project-branch-role.cjs.map +1 -1
- package/dist/actions/delete-project-branch-role.d.cts +3 -5
- package/dist/actions/delete-project-branch-role.d.cts.map +1 -1
- package/dist/actions/delete-project-branch-role.d.mts +3 -5
- package/dist/actions/delete-project-branch-role.d.mts.map +1 -1
- package/dist/actions/delete-project-branch-role.mjs +1 -0
- package/dist/actions/delete-project-branch-role.mjs.map +1 -1
- package/dist/actions/delete-project-by-id.cjs +1 -0
- package/dist/actions/delete-project-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-by-id.d.cts +3 -3
- package/dist/actions/delete-project-by-id.d.cts.map +1 -1
- package/dist/actions/delete-project-by-id.d.mts +3 -3
- package/dist/actions/delete-project-by-id.d.mts.map +1 -1
- package/dist/actions/delete-project-by-id.mjs +1 -0
- package/dist/actions/delete-project-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-endpoint.cjs +1 -0
- package/dist/actions/delete-project-endpoint.cjs.map +1 -1
- package/dist/actions/delete-project-endpoint.d.cts +3 -4
- package/dist/actions/delete-project-endpoint.d.cts.map +1 -1
- package/dist/actions/delete-project-endpoint.d.mts +3 -4
- package/dist/actions/delete-project-endpoint.d.mts.map +1 -1
- package/dist/actions/delete-project-endpoint.mjs +1 -0
- package/dist/actions/delete-project-endpoint.mjs.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.cjs +1 -0
- package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.d.cts +3 -4
- package/dist/actions/delete-project-jwks-by-id.d.cts.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.d.mts +3 -4
- package/dist/actions/delete-project-jwks-by-id.d.mts.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.mjs +1 -0
- package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-permission.cjs +1 -0
- package/dist/actions/delete-project-permission.cjs.map +1 -1
- package/dist/actions/delete-project-permission.d.cts +3 -4
- package/dist/actions/delete-project-permission.d.cts.map +1 -1
- package/dist/actions/delete-project-permission.d.mts +3 -4
- package/dist/actions/delete-project-permission.d.mts.map +1 -1
- package/dist/actions/delete-project-permission.mjs +1 -0
- package/dist/actions/delete-project-permission.mjs.map +1 -1
- package/dist/actions/delete-project-snapshot.cjs +1 -0
- package/dist/actions/delete-project-snapshot.cjs.map +1 -1
- package/dist/actions/delete-project-snapshot.d.cts +3 -4
- package/dist/actions/delete-project-snapshot.d.cts.map +1 -1
- package/dist/actions/delete-project-snapshot.d.mts +3 -4
- package/dist/actions/delete-project-snapshot.d.mts.map +1 -1
- package/dist/actions/delete-project-snapshot.mjs +1 -0
- package/dist/actions/delete-project-snapshot.mjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +3 -5
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +3 -5
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +3 -4
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +3 -4
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -1
- package/dist/actions/disable-branches-auth.cjs +1 -0
- package/dist/actions/disable-branches-auth.cjs.map +1 -1
- package/dist/actions/disable-branches-auth.d.cts +3 -5
- package/dist/actions/disable-branches-auth.d.cts.map +1 -1
- package/dist/actions/disable-branches-auth.d.mts +3 -5
- package/dist/actions/disable-branches-auth.d.mts.map +1 -1
- package/dist/actions/disable-branches-auth.mjs +1 -0
- package/dist/actions/disable-branches-auth.mjs.map +1 -1
- package/dist/actions/fetch-database-for-branch.cjs +1 -0
- package/dist/actions/fetch-database-for-branch.cjs.map +1 -1
- package/dist/actions/fetch-database-for-branch.d.cts +3 -4
- package/dist/actions/fetch-database-for-branch.d.cts.map +1 -1
- package/dist/actions/fetch-database-for-branch.d.mts +3 -4
- package/dist/actions/fetch-database-for-branch.d.mts.map +1 -1
- package/dist/actions/fetch-database-for-branch.mjs +1 -0
- package/dist/actions/fetch-database-for-branch.mjs.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.cjs +1 -0
- package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.d.cts +3 -3
- package/dist/actions/fetch-organization-members-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.d.mts +3 -3
- package/dist/actions/fetch-organization-members-by-id.d.mts.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.mjs +1 -0
- package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +3 -5
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +3 -5
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -1
- package/dist/actions/finalize-branch-restore.cjs +1 -0
- package/dist/actions/finalize-branch-restore.cjs.map +1 -1
- package/dist/actions/finalize-branch-restore.d.cts +3 -5
- package/dist/actions/finalize-branch-restore.d.cts.map +1 -1
- package/dist/actions/finalize-branch-restore.d.mts +3 -5
- package/dist/actions/finalize-branch-restore.d.mts.map +1 -1
- package/dist/actions/finalize-branch-restore.mjs +1 -0
- package/dist/actions/finalize-branch-restore.mjs.map +1 -1
- package/dist/actions/get-auth-allow-localhost.cjs +1 -0
- package/dist/actions/get-auth-allow-localhost.cjs.map +1 -1
- package/dist/actions/get-auth-allow-localhost.d.cts +3 -4
- package/dist/actions/get-auth-allow-localhost.d.cts.map +1 -1
- package/dist/actions/get-auth-allow-localhost.d.mts +3 -4
- package/dist/actions/get-auth-allow-localhost.d.mts.map +1 -1
- package/dist/actions/get-auth-allow-localhost.mjs +1 -0
- package/dist/actions/get-auth-allow-localhost.mjs.map +1 -1
- package/dist/actions/get-auth-email-provider.cjs +1 -0
- package/dist/actions/get-auth-email-provider.cjs.map +1 -1
- package/dist/actions/get-auth-email-provider.d.cts +3 -4
- package/dist/actions/get-auth-email-provider.d.cts.map +1 -1
- package/dist/actions/get-auth-email-provider.d.mts +3 -4
- package/dist/actions/get-auth-email-provider.d.mts.map +1 -1
- package/dist/actions/get-auth-email-provider.mjs +1 -0
- package/dist/actions/get-auth-email-provider.mjs.map +1 -1
- package/dist/actions/get-auth.cjs +1 -0
- package/dist/actions/get-auth.cjs.map +1 -1
- package/dist/actions/get-auth.d.cts +4 -2
- package/dist/actions/get-auth.d.cts.map +1 -1
- package/dist/actions/get-auth.d.mts +4 -2
- package/dist/actions/get-auth.d.mts.map +1 -1
- package/dist/actions/get-auth.mjs +1 -0
- package/dist/actions/get-auth.mjs.map +1 -1
- package/dist/actions/get-available-preload-libraries.cjs +1 -0
- package/dist/actions/get-available-preload-libraries.cjs.map +1 -1
- package/dist/actions/get-available-preload-libraries.d.cts +3 -3
- package/dist/actions/get-available-preload-libraries.d.cts.map +1 -1
- package/dist/actions/get-available-preload-libraries.d.mts +3 -3
- package/dist/actions/get-available-preload-libraries.d.mts.map +1 -1
- package/dist/actions/get-available-preload-libraries.mjs +1 -0
- package/dist/actions/get-available-preload-libraries.mjs.map +1 -1
- package/dist/actions/get-branch-roles-for-project.cjs +1 -0
- package/dist/actions/get-branch-roles-for-project.cjs.map +1 -1
- package/dist/actions/get-branch-roles-for-project.d.cts +3 -4
- package/dist/actions/get-branch-roles-for-project.d.cts.map +1 -1
- package/dist/actions/get-branch-roles-for-project.d.mts +3 -4
- package/dist/actions/get-branch-roles-for-project.d.mts.map +1 -1
- package/dist/actions/get-branch-roles-for-project.mjs +1 -0
- package/dist/actions/get-branch-roles-for-project.mjs.map +1 -1
- package/dist/actions/get-branches-anonymized-status.cjs +1 -0
- package/dist/actions/get-branches-anonymized-status.cjs.map +1 -1
- package/dist/actions/get-branches-anonymized-status.d.cts +3 -4
- package/dist/actions/get-branches-anonymized-status.d.cts.map +1 -1
- package/dist/actions/get-branches-anonymized-status.d.mts +3 -4
- package/dist/actions/get-branches-anonymized-status.d.mts.map +1 -1
- package/dist/actions/get-branches-anonymized-status.mjs +1 -0
- package/dist/actions/get-branches-anonymized-status.mjs.map +1 -1
- package/dist/actions/get-branches-backup-schedule.cjs +1 -0
- package/dist/actions/get-branches-backup-schedule.cjs.map +1 -1
- package/dist/actions/get-branches-backup-schedule.d.cts +3 -4
- package/dist/actions/get-branches-backup-schedule.d.cts.map +1 -1
- package/dist/actions/get-branches-backup-schedule.d.mts +3 -4
- package/dist/actions/get-branches-backup-schedule.d.mts.map +1 -1
- package/dist/actions/get-branches-backup-schedule.mjs +1 -0
- package/dist/actions/get-branches-backup-schedule.mjs.map +1 -1
- package/dist/actions/get-branches-data-api.cjs +1 -0
- package/dist/actions/get-branches-data-api.cjs.map +1 -1
- package/dist/actions/get-branches-data-api.d.cts +3 -5
- package/dist/actions/get-branches-data-api.d.cts.map +1 -1
- package/dist/actions/get-branches-data-api.d.mts +3 -5
- package/dist/actions/get-branches-data-api.d.mts.map +1 -1
- package/dist/actions/get-branches-data-api.mjs +1 -0
- package/dist/actions/get-branches-data-api.mjs.map +1 -1
- package/dist/actions/get-branches-for-project.cjs +1 -0
- package/dist/actions/get-branches-for-project.cjs.map +1 -1
- package/dist/actions/get-branches-for-project.d.cts +3 -4
- package/dist/actions/get-branches-for-project.d.cts.map +1 -1
- package/dist/actions/get-branches-for-project.d.mts +3 -4
- package/dist/actions/get-branches-for-project.d.mts.map +1 -1
- package/dist/actions/get-branches-for-project.mjs +1 -0
- package/dist/actions/get-branches-for-project.mjs.map +1 -1
- package/dist/actions/get-branches-masking-rules.cjs +1 -0
- package/dist/actions/get-branches-masking-rules.cjs.map +1 -1
- package/dist/actions/get-branches-masking-rules.d.cts +3 -4
- package/dist/actions/get-branches-masking-rules.d.cts.map +1 -1
- package/dist/actions/get-branches-masking-rules.d.mts +3 -4
- package/dist/actions/get-branches-masking-rules.d.mts.map +1 -1
- package/dist/actions/get-branches-masking-rules.mjs +1 -0
- package/dist/actions/get-branches-masking-rules.mjs.map +1 -1
- package/dist/actions/get-consumption-history-projects.cjs +1 -0
- package/dist/actions/get-consumption-history-projects.cjs.map +1 -1
- package/dist/actions/get-consumption-history-projects.d.cts +3 -10
- package/dist/actions/get-consumption-history-projects.d.cts.map +1 -1
- package/dist/actions/get-consumption-history-projects.d.mts +3 -10
- package/dist/actions/get-consumption-history-projects.d.mts.map +1 -1
- package/dist/actions/get-consumption-history-projects.mjs +1 -0
- package/dist/actions/get-consumption-history-projects.mjs.map +1 -1
- package/dist/actions/get-current-user-information.cjs +1 -0
- package/dist/actions/get-current-user-information.cjs.map +1 -1
- package/dist/actions/get-current-user-information.d.cts +3 -1
- package/dist/actions/get-current-user-information.d.cts.map +1 -1
- package/dist/actions/get-current-user-information.d.mts +3 -1
- package/dist/actions/get-current-user-information.d.mts.map +1 -1
- package/dist/actions/get-current-user-information.mjs +1 -0
- package/dist/actions/get-current-user-information.mjs.map +1 -1
- package/dist/actions/get-organization-api-keys.cjs +1 -0
- package/dist/actions/get-organization-api-keys.cjs.map +1 -1
- package/dist/actions/get-organization-api-keys.d.cts +3 -3
- package/dist/actions/get-organization-api-keys.d.cts.map +1 -1
- package/dist/actions/get-organization-api-keys.d.mts +3 -3
- package/dist/actions/get-organization-api-keys.d.mts.map +1 -1
- package/dist/actions/get-organization-api-keys.mjs +1 -0
- package/dist/actions/get-organization-api-keys.mjs.map +1 -1
- package/dist/actions/get-project-branch-role.cjs +1 -0
- package/dist/actions/get-project-branch-role.cjs.map +1 -1
- package/dist/actions/get-project-branch-role.d.cts +3 -5
- package/dist/actions/get-project-branch-role.d.cts.map +1 -1
- package/dist/actions/get-project-branch-role.d.mts +3 -5
- package/dist/actions/get-project-branch-role.d.mts.map +1 -1
- package/dist/actions/get-project-branch-role.mjs +1 -0
- package/dist/actions/get-project-branch-role.mjs.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.cjs +1 -0
- package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.d.cts +3 -10
- package/dist/actions/get-project-branch-schema-comparison.d.cts.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.d.mts +3 -10
- package/dist/actions/get-project-branch-schema-comparison.d.mts.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.mjs +1 -0
- package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -1
- package/dist/actions/get-project-branches.cjs +1 -0
- package/dist/actions/get-project-branches.cjs.map +1 -1
- package/dist/actions/get-project-branches.d.cts +3 -4
- package/dist/actions/get-project-branches.d.cts.map +1 -1
- package/dist/actions/get-project-branches.d.mts +3 -4
- package/dist/actions/get-project-branches.d.mts.map +1 -1
- package/dist/actions/get-project-branches.mjs +1 -0
- package/dist/actions/get-project-branches.mjs.map +1 -1
- package/dist/actions/get-project-connection-uri.cjs +1 -0
- package/dist/actions/get-project-connection-uri.cjs.map +1 -1
- package/dist/actions/get-project-connection-uri.d.cts +3 -8
- package/dist/actions/get-project-connection-uri.d.cts.map +1 -1
- package/dist/actions/get-project-connection-uri.d.mts +3 -8
- package/dist/actions/get-project-connection-uri.d.mts.map +1 -1
- package/dist/actions/get-project-connection-uri.mjs +1 -0
- package/dist/actions/get-project-connection-uri.mjs.map +1 -1
- package/dist/actions/get-project-endpoint-information.cjs +1 -0
- package/dist/actions/get-project-endpoint-information.cjs.map +1 -1
- package/dist/actions/get-project-endpoint-information.d.cts +3 -3
- package/dist/actions/get-project-endpoint-information.d.cts.map +1 -1
- package/dist/actions/get-project-endpoint-information.d.mts +3 -3
- package/dist/actions/get-project-endpoint-information.d.mts.map +1 -1
- package/dist/actions/get-project-endpoint-information.mjs +1 -0
- package/dist/actions/get-project-endpoint-information.mjs.map +1 -1
- package/dist/actions/get-project-operation-by-id.cjs +1 -0
- package/dist/actions/get-project-operation-by-id.cjs.map +1 -1
- package/dist/actions/get-project-operation-by-id.d.cts +3 -4
- package/dist/actions/get-project-operation-by-id.d.cts.map +1 -1
- package/dist/actions/get-project-operation-by-id.d.mts +3 -4
- package/dist/actions/get-project-operation-by-id.d.mts.map +1 -1
- package/dist/actions/get-project-operation-by-id.mjs +1 -0
- package/dist/actions/get-project-operation-by-id.mjs.map +1 -1
- package/dist/actions/get-schema-for-project-branch.cjs +1 -0
- package/dist/actions/get-schema-for-project-branch.cjs.map +1 -1
- package/dist/actions/get-schema-for-project-branch.d.cts +3 -7
- package/dist/actions/get-schema-for-project-branch.d.cts.map +1 -1
- package/dist/actions/get-schema-for-project-branch.d.mts +3 -7
- package/dist/actions/get-schema-for-project-branch.d.mts.map +1 -1
- package/dist/actions/get-schema-for-project-branch.mjs +1 -0
- package/dist/actions/get-schema-for-project-branch.mjs.map +1 -1
- package/dist/actions/get-user-organizations.cjs +1 -0
- package/dist/actions/get-user-organizations.cjs.map +1 -1
- package/dist/actions/get-user-organizations.d.cts +3 -1
- package/dist/actions/get-user-organizations.d.cts.map +1 -1
- package/dist/actions/get-user-organizations.d.mts +3 -1
- package/dist/actions/get-user-organizations.d.mts.map +1 -1
- package/dist/actions/get-user-organizations.mjs +1 -0
- package/dist/actions/get-user-organizations.mjs.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.cjs +1 -0
- package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.d.cts +3 -4
- package/dist/actions/get-vpc-region-endpoints.d.cts.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.d.mts +3 -4
- package/dist/actions/get-vpc-region-endpoints.d.mts.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.mjs +1 -0
- package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -1
- package/dist/actions/list-api-keys.cjs +1 -0
- package/dist/actions/list-api-keys.cjs.map +1 -1
- package/dist/actions/list-api-keys.d.cts +3 -1
- package/dist/actions/list-api-keys.d.cts.map +1 -1
- package/dist/actions/list-api-keys.d.mts +3 -1
- package/dist/actions/list-api-keys.d.mts.map +1 -1
- package/dist/actions/list-api-keys.mjs +1 -0
- package/dist/actions/list-api-keys.mjs.map +1 -1
- package/dist/actions/list-auth-domains.cjs +1 -0
- package/dist/actions/list-auth-domains.cjs.map +1 -1
- package/dist/actions/list-auth-domains.d.cts +3 -4
- package/dist/actions/list-auth-domains.d.cts.map +1 -1
- package/dist/actions/list-auth-domains.d.mts +3 -4
- package/dist/actions/list-auth-domains.d.mts.map +1 -1
- package/dist/actions/list-auth-domains.mjs +1 -0
- package/dist/actions/list-auth-domains.mjs.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.cjs +1 -0
- package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.d.cts +3 -4
- package/dist/actions/list-auth-oauth-providers2.d.cts.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.d.mts +3 -4
- package/dist/actions/list-auth-oauth-providers2.d.mts.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.mjs +1 -0
- package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -1
- package/dist/actions/list-projects-snapshots.cjs +1 -0
- package/dist/actions/list-projects-snapshots.cjs.map +1 -1
- package/dist/actions/list-projects-snapshots.d.cts +3 -3
- package/dist/actions/list-projects-snapshots.d.cts.map +1 -1
- package/dist/actions/list-projects-snapshots.d.mts +3 -3
- package/dist/actions/list-projects-snapshots.d.mts.map +1 -1
- package/dist/actions/list-projects-snapshots.mjs +1 -0
- package/dist/actions/list-projects-snapshots.mjs.map +1 -1
- package/dist/actions/list-shared-projects.cjs +1 -0
- package/dist/actions/list-shared-projects.cjs.map +1 -1
- package/dist/actions/list-shared-projects.d.cts +3 -5
- package/dist/actions/list-shared-projects.d.cts.map +1 -1
- package/dist/actions/list-shared-projects.d.mts +3 -5
- package/dist/actions/list-shared-projects.d.mts.map +1 -1
- package/dist/actions/list-shared-projects.mjs +1 -0
- package/dist/actions/list-shared-projects.mjs.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.cjs +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.d.cts +3 -3
- package/dist/actions/list-vpc-vpc-endpoints.d.cts.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.d.mts +3 -3
- package/dist/actions/list-vpc-vpc-endpoints.d.mts.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.mjs +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -1
- package/dist/actions/modify-branch-details-in-project.cjs +1 -0
- package/dist/actions/modify-branch-details-in-project.cjs.map +1 -1
- package/dist/actions/modify-branch-details-in-project.d.cts +3 -6
- package/dist/actions/modify-branch-details-in-project.d.cts.map +1 -1
- package/dist/actions/modify-branch-details-in-project.d.mts +3 -6
- package/dist/actions/modify-branch-details-in-project.d.mts.map +1 -1
- package/dist/actions/modify-branch-details-in-project.mjs +1 -0
- package/dist/actions/modify-branch-details-in-project.mjs.map +1 -1
- package/dist/actions/patch-branch-database-information.cjs +1 -0
- package/dist/actions/patch-branch-database-information.cjs.map +1 -1
- package/dist/actions/patch-branch-database-information.d.cts +3 -7
- package/dist/actions/patch-branch-database-information.d.cts.map +1 -1
- package/dist/actions/patch-branch-database-information.d.mts +3 -7
- package/dist/actions/patch-branch-database-information.d.mts.map +1 -1
- package/dist/actions/patch-branch-database-information.mjs +1 -0
- package/dist/actions/patch-branch-database-information.mjs.map +1 -1
- package/dist/actions/reset-role-password-for-branch.cjs +1 -0
- package/dist/actions/reset-role-password-for-branch.cjs.map +1 -1
- package/dist/actions/reset-role-password-for-branch.d.cts +3 -5
- package/dist/actions/reset-role-password-for-branch.d.cts.map +1 -1
- package/dist/actions/reset-role-password-for-branch.d.mts +3 -5
- package/dist/actions/reset-role-password-for-branch.d.mts.map +1 -1
- package/dist/actions/reset-role-password-for-branch.mjs +1 -0
- package/dist/actions/reset-role-password-for-branch.mjs.map +1 -1
- package/dist/actions/restart-project-endpoint.cjs +1 -0
- package/dist/actions/restart-project-endpoint.cjs.map +1 -1
- package/dist/actions/restart-project-endpoint.d.cts +3 -4
- package/dist/actions/restart-project-endpoint.d.cts.map +1 -1
- package/dist/actions/restart-project-endpoint.d.mts +3 -4
- package/dist/actions/restart-project-endpoint.d.mts.map +1 -1
- package/dist/actions/restart-project-endpoint.mjs +1 -0
- package/dist/actions/restart-project-endpoint.mjs.map +1 -1
- package/dist/actions/restore-project-branch.cjs +1 -0
- package/dist/actions/restore-project-branch.cjs.map +1 -1
- package/dist/actions/restore-project-branch.d.cts +3 -8
- package/dist/actions/restore-project-branch.d.cts.map +1 -1
- package/dist/actions/restore-project-branch.d.mts +3 -8
- package/dist/actions/restore-project-branch.d.mts.map +1 -1
- package/dist/actions/restore-project-branch.mjs +1 -0
- package/dist/actions/restore-project-branch.mjs.map +1 -1
- package/dist/actions/restore-snapshot.cjs +1 -0
- package/dist/actions/restore-snapshot.cjs.map +1 -1
- package/dist/actions/restore-snapshot.d.cts +3 -7
- package/dist/actions/restore-snapshot.d.cts.map +1 -1
- package/dist/actions/restore-snapshot.d.mts +3 -7
- package/dist/actions/restore-snapshot.d.mts.map +1 -1
- package/dist/actions/restore-snapshot.mjs +1 -0
- package/dist/actions/restore-snapshot.mjs.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.cjs +1 -0
- package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.d.cts +3 -7
- package/dist/actions/retrieve-account-consumption-history.d.cts.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.d.mts +3 -7
- package/dist/actions/retrieve-account-consumption-history.d.mts.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.mjs +1 -0
- package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -1
- package/dist/actions/retrieve-all-regions.cjs +1 -0
- package/dist/actions/retrieve-all-regions.cjs.map +1 -1
- package/dist/actions/retrieve-all-regions.d.cts +3 -1
- package/dist/actions/retrieve-all-regions.d.cts.map +1 -1
- package/dist/actions/retrieve-all-regions.d.mts +3 -1
- package/dist/actions/retrieve-all-regions.d.mts.map +1 -1
- package/dist/actions/retrieve-all-regions.mjs +1 -0
- package/dist/actions/retrieve-all-regions.mjs.map +1 -1
- package/dist/actions/retrieve-branch-database-details.cjs +1 -0
- package/dist/actions/retrieve-branch-database-details.cjs.map +1 -1
- package/dist/actions/retrieve-branch-database-details.d.cts +3 -5
- package/dist/actions/retrieve-branch-database-details.d.cts.map +1 -1
- package/dist/actions/retrieve-branch-database-details.d.mts +3 -5
- package/dist/actions/retrieve-branch-database-details.d.mts.map +1 -1
- package/dist/actions/retrieve-branch-database-details.mjs +1 -0
- package/dist/actions/retrieve-branch-database-details.mjs.map +1 -1
- package/dist/actions/retrieve-branch-endpoints.cjs +1 -0
- package/dist/actions/retrieve-branch-endpoints.cjs.map +1 -1
- package/dist/actions/retrieve-branch-endpoints.d.cts +3 -4
- package/dist/actions/retrieve-branch-endpoints.d.cts.map +1 -1
- package/dist/actions/retrieve-branch-endpoints.d.mts +3 -4
- package/dist/actions/retrieve-branch-endpoints.d.mts.map +1 -1
- package/dist/actions/retrieve-branch-endpoints.mjs +1 -0
- package/dist/actions/retrieve-branch-endpoints.mjs.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.cjs +1 -0
- package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.d.cts +3 -3
- package/dist/actions/retrieve-jwks-for-project.d.cts.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.d.mts +3 -3
- package/dist/actions/retrieve-jwks-for-project.d.mts.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.mjs +1 -0
- package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -1
- package/dist/actions/retrieve-organization-by-id.cjs +1 -0
- package/dist/actions/retrieve-organization-by-id.cjs.map +1 -1
- package/dist/actions/retrieve-organization-by-id.d.cts +3 -3
- package/dist/actions/retrieve-organization-by-id.d.cts.map +1 -1
- package/dist/actions/retrieve-organization-by-id.d.mts +3 -3
- package/dist/actions/retrieve-organization-by-id.d.mts.map +1 -1
- package/dist/actions/retrieve-organization-by-id.mjs +1 -0
- package/dist/actions/retrieve-organization-by-id.mjs.map +1 -1
- package/dist/actions/retrieve-organization-invitations.cjs +1 -0
- package/dist/actions/retrieve-organization-invitations.cjs.map +1 -1
- package/dist/actions/retrieve-organization-invitations.d.cts +3 -3
- package/dist/actions/retrieve-organization-invitations.d.cts.map +1 -1
- package/dist/actions/retrieve-organization-invitations.d.mts +3 -3
- package/dist/actions/retrieve-organization-invitations.d.mts.map +1 -1
- package/dist/actions/retrieve-organization-invitations.mjs +1 -0
- package/dist/actions/retrieve-organization-invitations.mjs.map +1 -1
- package/dist/actions/retrieve-organization-member-info.cjs +1 -0
- package/dist/actions/retrieve-organization-member-info.cjs.map +1 -1
- package/dist/actions/retrieve-organization-member-info.d.cts +3 -4
- package/dist/actions/retrieve-organization-member-info.d.cts.map +1 -1
- package/dist/actions/retrieve-organization-member-info.d.mts +3 -4
- package/dist/actions/retrieve-organization-member-info.d.mts.map +1 -1
- package/dist/actions/retrieve-organization-member-info.mjs +1 -0
- package/dist/actions/retrieve-organization-member-info.mjs.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.cjs +1 -0
- package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.d.cts +3 -4
- package/dist/actions/retrieve-project-endpoint-details.d.cts.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.d.mts +3 -4
- package/dist/actions/retrieve-project-endpoint-details.d.mts.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.mjs +1 -0
- package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -1
- package/dist/actions/retrieve-project-operations.cjs +1 -0
- package/dist/actions/retrieve-project-operations.cjs.map +1 -1
- package/dist/actions/retrieve-project-operations.d.cts +3 -5
- package/dist/actions/retrieve-project-operations.d.cts.map +1 -1
- package/dist/actions/retrieve-project-operations.d.mts +3 -5
- package/dist/actions/retrieve-project-operations.d.mts.map +1 -1
- package/dist/actions/retrieve-project-operations.mjs +1 -0
- package/dist/actions/retrieve-project-operations.mjs.map +1 -1
- package/dist/actions/retrieve-project-permissions.cjs +1 -0
- package/dist/actions/retrieve-project-permissions.cjs.map +1 -1
- package/dist/actions/retrieve-project-permissions.d.cts +3 -3
- package/dist/actions/retrieve-project-permissions.d.cts.map +1 -1
- package/dist/actions/retrieve-project-permissions.d.mts +3 -3
- package/dist/actions/retrieve-project-permissions.d.mts.map +1 -1
- package/dist/actions/retrieve-project-permissions.mjs +1 -0
- package/dist/actions/retrieve-project-permissions.mjs.map +1 -1
- package/dist/actions/retrieve-projects-list.cjs +1 -0
- package/dist/actions/retrieve-projects-list.cjs.map +1 -1
- package/dist/actions/retrieve-projects-list.d.cts +3 -7
- package/dist/actions/retrieve-projects-list.d.cts.map +1 -1
- package/dist/actions/retrieve-projects-list.d.mts +3 -7
- package/dist/actions/retrieve-projects-list.d.mts.map +1 -1
- package/dist/actions/retrieve-projects-list.mjs +1 -0
- package/dist/actions/retrieve-projects-list.mjs.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +3 -3
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +3 -3
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.cjs +1 -0
- package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.d.cts +3 -5
- package/dist/actions/reveal-role-password-in-branch.d.cts.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.d.mts +3 -5
- package/dist/actions/reveal-role-password-in-branch.d.mts.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.mjs +1 -0
- package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -1
- package/dist/actions/send-auth-test-email.cjs +1 -0
- package/dist/actions/send-auth-test-email.cjs.map +1 -1
- package/dist/actions/send-auth-test-email.d.cts +3 -11
- package/dist/actions/send-auth-test-email.d.cts.map +1 -1
- package/dist/actions/send-auth-test-email.d.mts +3 -11
- package/dist/actions/send-auth-test-email.d.mts.map +1 -1
- package/dist/actions/send-auth-test-email.mjs +1 -0
- package/dist/actions/send-auth-test-email.mjs.map +1 -1
- package/dist/actions/send-organization-invitations.cjs +1 -0
- package/dist/actions/send-organization-invitations.cjs.map +1 -1
- package/dist/actions/send-organization-invitations.d.cts +3 -8
- package/dist/actions/send-organization-invitations.d.cts.map +1 -1
- package/dist/actions/send-organization-invitations.d.mts +3 -8
- package/dist/actions/send-organization-invitations.d.mts.map +1 -1
- package/dist/actions/send-organization-invitations.mjs +1 -0
- package/dist/actions/send-organization-invitations.mjs.map +1 -1
- package/dist/actions/set-branch-as-default.cjs +1 -0
- package/dist/actions/set-branch-as-default.cjs.map +1 -1
- package/dist/actions/set-branch-as-default.d.cts +3 -4
- package/dist/actions/set-branch-as-default.d.cts.map +1 -1
- package/dist/actions/set-branch-as-default.d.mts +3 -4
- package/dist/actions/set-branch-as-default.d.mts.map +1 -1
- package/dist/actions/set-branch-as-default.mjs +1 -0
- package/dist/actions/set-branch-as-default.mjs.map +1 -1
- package/dist/actions/start-branch-anonymization.cjs +1 -0
- package/dist/actions/start-branch-anonymization.cjs.map +1 -1
- package/dist/actions/start-branch-anonymization.d.cts +3 -4
- package/dist/actions/start-branch-anonymization.d.cts.map +1 -1
- package/dist/actions/start-branch-anonymization.d.mts +3 -4
- package/dist/actions/start-branch-anonymization.d.mts.map +1 -1
- package/dist/actions/start-branch-anonymization.mjs +1 -0
- package/dist/actions/start-branch-anonymization.mjs.map +1 -1
- package/dist/actions/start-endpoint-for-project.cjs +1 -0
- package/dist/actions/start-endpoint-for-project.cjs.map +1 -1
- package/dist/actions/start-endpoint-for-project.d.cts +3 -4
- package/dist/actions/start-endpoint-for-project.d.cts.map +1 -1
- package/dist/actions/start-endpoint-for-project.d.mts +3 -4
- package/dist/actions/start-endpoint-for-project.d.mts.map +1 -1
- package/dist/actions/start-endpoint-for-project.mjs +1 -0
- package/dist/actions/start-endpoint-for-project.mjs.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.cjs +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.d.cts +3 -4
- package/dist/actions/suspend-project-endpoint-by-id.d.cts.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.d.mts +3 -4
- package/dist/actions/suspend-project-endpoint-by-id.d.mts.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.mjs +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.cjs +1 -0
- package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.cts +3 -5
- package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.mts +3 -5
- package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.mjs +1 -0
- package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.cjs +1 -0
- package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.d.cts +3 -4
- package/dist/actions/transfer-user-projects-to-organization.d.cts.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.d.mts +3 -4
- package/dist/actions/transfer-user-projects-to-organization.d.mts.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.mjs +1 -0
- package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -1
- package/dist/actions/update-auth-allow-localhost.cjs +1 -0
- package/dist/actions/update-auth-allow-localhost.cjs.map +1 -1
- package/dist/actions/update-auth-allow-localhost.d.cts +3 -5
- package/dist/actions/update-auth-allow-localhost.d.cts.map +1 -1
- package/dist/actions/update-auth-allow-localhost.d.mts +3 -5
- package/dist/actions/update-auth-allow-localhost.d.mts.map +1 -1
- package/dist/actions/update-auth-allow-localhost.mjs +1 -0
- package/dist/actions/update-auth-allow-localhost.mjs.map +1 -1
- package/dist/actions/update-auth-email-provider.cjs +1 -0
- package/dist/actions/update-auth-email-provider.cjs.map +1 -1
- package/dist/actions/update-auth-email-provider.d.cts +3 -10
- package/dist/actions/update-auth-email-provider.d.cts.map +1 -1
- package/dist/actions/update-auth-email-provider.d.mts +3 -10
- package/dist/actions/update-auth-email-provider.d.mts.map +1 -1
- package/dist/actions/update-auth-email-provider.mjs +1 -0
- package/dist/actions/update-auth-email-provider.mjs.map +1 -1
- package/dist/actions/update-branches-data-api.cjs +1 -0
- package/dist/actions/update-branches-data-api.cjs.map +1 -1
- package/dist/actions/update-branches-data-api.d.cts +3 -15
- package/dist/actions/update-branches-data-api.d.cts.map +1 -1
- package/dist/actions/update-branches-data-api.d.mts +3 -15
- package/dist/actions/update-branches-data-api.d.mts.map +1 -1
- package/dist/actions/update-branches-data-api.mjs +1 -0
- package/dist/actions/update-branches-data-api.mjs.map +1 -1
- package/dist/actions/update-branches-masking-rules.cjs +1 -0
- package/dist/actions/update-branches-masking-rules.cjs.map +1 -1
- package/dist/actions/update-branches-masking-rules.d.cts +3 -13
- package/dist/actions/update-branches-masking-rules.d.cts.map +1 -1
- package/dist/actions/update-branches-masking-rules.d.mts +3 -13
- package/dist/actions/update-branches-masking-rules.d.mts.map +1 -1
- package/dist/actions/update-branches-masking-rules.mjs +1 -0
- package/dist/actions/update-branches-masking-rules.mjs.map +1 -1
- package/dist/actions/update-organization-member-role.cjs +1 -0
- package/dist/actions/update-organization-member-role.cjs.map +1 -1
- package/dist/actions/update-organization-member-role.d.cts +3 -5
- package/dist/actions/update-organization-member-role.d.cts.map +1 -1
- package/dist/actions/update-organization-member-role.d.mts +3 -5
- package/dist/actions/update-organization-member-role.d.mts.map +1 -1
- package/dist/actions/update-organization-member-role.mjs +1 -0
- package/dist/actions/update-organization-member-role.mjs.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.cjs +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.d.cts +3 -15
- package/dist/actions/update-project-compute-endpoint-settings.d.cts.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.d.mts +3 -15
- package/dist/actions/update-project-compute-endpoint-settings.d.mts.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.mjs +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -1
- package/dist/actions/update-project-settings-by-id.cjs +1 -0
- package/dist/actions/update-project-settings-by-id.cjs.map +1 -1
- package/dist/actions/update-project-settings-by-id.d.cts +3 -23
- package/dist/actions/update-project-settings-by-id.d.cts.map +1 -1
- package/dist/actions/update-project-settings-by-id.d.mts +3 -23
- package/dist/actions/update-project-settings-by-id.d.mts.map +1 -1
- package/dist/actions/update-project-settings-by-id.mjs +1 -0
- package/dist/actions/update-project-settings-by-id.mjs.map +1 -1
- package/dist/actions/update-projects-snapshots.cjs +1 -0
- package/dist/actions/update-projects-snapshots.cjs.map +1 -1
- package/dist/actions/update-projects-snapshots.d.cts +3 -5
- package/dist/actions/update-projects-snapshots.d.cts.map +1 -1
- package/dist/actions/update-projects-snapshots.d.mts +3 -5
- package/dist/actions/update-projects-snapshots.d.mts.map +1 -1
- package/dist/actions/update-projects-snapshots.mjs +1 -0
- package/dist/actions/update-projects-snapshots.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vpc-vpc-endpoints.mjs","names":[],"sources":["../../src/actions/list-vpc-vpc-endpoints.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonListVpcVpcEndpointsInput = z.object({\n org_id: z.string().describe(\"The Neon organization ID\"),\n}).describe(\"Request schema for `ListVpcVpcEndpoints`\");\nconst NeonListVpcVpcEndpoints_VpcEndpointItemSchema = z.object({\n label: z.string().describe(\"Label or name assigned to the VPC endpoint\").nullable(),\n region_id: z.string().describe(\"AWS region identifier where the VPC endpoint is located\").nullable(),\n vpc_endpoint_id: z.string().describe(\"Unique identifier of the VPC endpoint\").nullable(),\n}).passthrough().describe(\"Represents a single VPC endpoint\");\nexport const NeonListVpcVpcEndpointsOutput = z.object({\n endpoints: z.array(NeonListVpcVpcEndpoints_VpcEndpointItemSchema).describe(\"List of VPC endpoints for the specified organization across all regions\"),\n}).passthrough().describe(\"Response schema for `ListVpcVpcEndpoints`\");\n\nexport const neonListVpcVpcEndpoints = action(\"NEON_LIST_VPC_VPC_ENDPOINTS\", {\n slug: \"neon-list-vpc-vpc-endpoints\",\n name: \"List VPC endpoints for organization\",\n description: \"Tool to retrieve the list of VPC endpoints for a specified Neon organization across all regions. Use when you need to view or audit all VPC endpoints associated with an organization.\",\n input: NeonListVpcVpcEndpointsInput,\n output: NeonListVpcVpcEndpointsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vpc-vpc-endpoints.mjs","names":[],"sources":["../../src/actions/list-vpc-vpc-endpoints.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonListVpcVpcEndpointsInput = z.object({\n org_id: z.string().describe(\"The Neon organization ID\"),\n}).describe(\"Request schema for `ListVpcVpcEndpoints`\");\nconst NeonListVpcVpcEndpoints_VpcEndpointItemSchema = z.object({\n label: z.string().describe(\"Label or name assigned to the VPC endpoint\").nullable(),\n region_id: z.string().describe(\"AWS region identifier where the VPC endpoint is located\").nullable(),\n vpc_endpoint_id: z.string().describe(\"Unique identifier of the VPC endpoint\").nullable(),\n}).passthrough().describe(\"Represents a single VPC endpoint\");\nexport const NeonListVpcVpcEndpointsOutput = z.object({\n endpoints: z.array(NeonListVpcVpcEndpoints_VpcEndpointItemSchema).describe(\"List of VPC endpoints for the specified organization across all regions\"),\n}).passthrough().describe(\"Response schema for `ListVpcVpcEndpoints`\");\n\nexport const neonListVpcVpcEndpoints: AppAction<\n typeof NeonListVpcVpcEndpointsInput,\n typeof NeonListVpcVpcEndpointsOutput,\n typeof neon.credential\n> = action(\"NEON_LIST_VPC_VPC_ENDPOINTS\", {\n slug: \"neon-list-vpc-vpc-endpoints\",\n name: \"List VPC endpoints for organization\",\n description: \"Tool to retrieve the list of VPC endpoints for a specified Neon organization across all regions. Use when you need to view or audit all VPC endpoints associated with an organization.\",\n input: NeonListVpcVpcEndpointsInput,\n output: NeonListVpcVpcEndpointsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,EACxD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,yEAAyE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-branch-details-in-project.cjs","names":["z","action"],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonModifyBranchDetailsInProjectInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\").nullable(),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable(),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\").nullable(),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema = z.object({\n id: z.string().describe(\"The endpoint ID\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint\").nullable(),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\").nullable(),\n region_id: z.string().describe(\"The region ID where the endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\").nullable(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable(),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema = z.object({\n id: z.string().describe(\"The operation ID\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable(),\n status: z.string().describe(\"The status of the operation\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated\").nullable(),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures for this operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OA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AO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"modify-branch-details-in-project.cjs","names":["z","action"],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonModifyBranchDetailsInProjectInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\").nullable(),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable(),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\").nullable(),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema = z.object({\n id: z.string().describe(\"The endpoint ID\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint\").nullable(),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\").nullable(),\n region_id: z.string().describe(\"The region ID where the endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\").nullable(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable(),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema = z.object({\n id: z.string().describe(\"The operation ID\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable(),\n status: z.string().describe(\"The status of the operation\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated\").nullable(),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures for this operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject: AppAction<\n typeof NeonModifyBranchDetailsInProjectInput,\n typeof NeonModifyBranchDetailsInProjectOutput,\n typeof neon.credential\n> = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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,EAAE,OAAO;CAC7D,QAAQ,8CAA8C,SAAS;CAC/D,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,YAAYA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/modify-branch-details-in-project.d.ts
|
|
@@ -69,12 +71,7 @@ declare const NeonModifyBranchDetailsInProjectOutput: z.ZodObject<{
|
|
|
69
71
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
72
|
}, z.core.$loose>>>>;
|
|
71
73
|
}, z.core.$loose>;
|
|
72
|
-
declare const neonModifyBranchDetailsInProject:
|
|
73
|
-
branch_id: string;
|
|
74
|
-
project_id: string;
|
|
75
|
-
branch__name?: string | undefined;
|
|
76
|
-
branch__protected?: boolean | undefined;
|
|
77
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
74
|
+
declare const neonModifyBranchDetailsInProject: AppAction<typeof NeonModifyBranchDetailsInProjectInput, typeof NeonModifyBranchDetailsInProjectOutput, typeof neon.credential>;
|
|
78
75
|
//#endregion
|
|
79
76
|
export { neonModifyBranchDetailsInProject };
|
|
80
77
|
//# sourceMappingURL=modify-branch-details-in-project.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-branch-details-in-project.d.cts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-branch-details-in-project.d.cts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAkErC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/modify-branch-details-in-project.d.ts
|
|
@@ -69,12 +71,7 @@ declare const NeonModifyBranchDetailsInProjectOutput: z.ZodObject<{
|
|
|
69
71
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
72
|
}, z.core.$loose>>>>;
|
|
71
73
|
}, z.core.$loose>;
|
|
72
|
-
declare const neonModifyBranchDetailsInProject:
|
|
73
|
-
branch_id: string;
|
|
74
|
-
project_id: string;
|
|
75
|
-
branch__name?: string | undefined;
|
|
76
|
-
branch__protected?: boolean | undefined;
|
|
77
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
74
|
+
declare const neonModifyBranchDetailsInProject: AppAction<typeof NeonModifyBranchDetailsInProjectInput, typeof NeonModifyBranchDetailsInProjectOutput, typeof neon.credential>;
|
|
78
75
|
//#endregion
|
|
79
76
|
export { neonModifyBranchDetailsInProject };
|
|
80
77
|
//# sourceMappingURL=modify-branch-details-in-project.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-branch-details-in-project.d.mts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-branch-details-in-project.d.mts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAkErC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-branch-details-in-project.mjs","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonModifyBranchDetailsInProjectInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\").nullable(),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable(),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\").nullable(),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema = z.object({\n id: z.string().describe(\"The endpoint ID\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint\").nullable(),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\").nullable(),\n region_id: z.string().describe(\"The region ID where the endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\").nullable(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable(),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema = z.object({\n id: z.string().describe(\"The operation ID\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable(),\n status: z.string().describe(\"The status of the operation\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated\").nullable(),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures for this operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gDA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AAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"modify-branch-details-in-project.mjs","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonModifyBranchDetailsInProjectInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\").nullable(),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable(),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\").nullable(),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema = z.object({\n id: z.string().describe(\"The endpoint ID\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint\").nullable(),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\").nullable(),\n region_id: z.string().describe(\"The region ID where the endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\").nullable(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable(),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema = z.object({\n id: z.string().describe(\"The operation ID\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable(),\n status: z.string().describe(\"The status of the operation\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated\").nullable(),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures for this operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject: AppAction<\n typeof NeonModifyBranchDetailsInProjectInput,\n typeof NeonModifyBranchDetailsInProjectOutput,\n typeof neon.credential\n> = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,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-branch-database-information.cjs","names":["z","action"],"sources":["../../src/actions/patch-branch-database-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonPatchBranchDatabaseInformationInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the database resides (e.g., 'br-lucky-water-afkw1lov')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n database_name: z.string().describe(\"The current name of the database to update\"),\n database__name: z.string().describe(\"The new name for the database. Use this to rename the database.\").optional(),\n database__owner__name: z.string().describe(\"The name of the role to transfer database ownership to. The role must exist in the branch.\").optional(),\n}).describe(\"Request schema for `PatchBranchDatabaseInformation`\");\nconst NeonPatchBranchDatabaseInformation_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the database\").nullable(),\n name: z.string().describe(\"Database name\").nullable(),\n branch_id: z.string().describe(\"Branch identifier that this database belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created (ISO 8601 format)\").nullable(),\n owner_name: z.string().describe(\"Role name that owns the database\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Database object\");\nconst NeonPatchBranchDatabaseInformation_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed (e.g., apply_config, create_timeline, start_compute)\").nullable(),\n status: z.string().describe(\"Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"Branch identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"Project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation object\");\nexport const NeonPatchBranchDatabaseInformationOutput = z.object({\n database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),\n operations: z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe(\"Array of operations initiated by the update request\"),\n}).passthrough().describe(\"Response schema for `PatchBranchDatabaseInformation`\");\n\nexport const neonPatchBranchDatabaseInformation = action(\"NEON_PATCH_BRANCH_DATABASE_INFORMATION\", {\n slug: \"neon-patch-branch-database-information\",\n name: \"Patch branch database information\",\n description: \"Updates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.\",\n input: NeonPatchBranchDatabaseInformationInput,\n output: NeonPatchBranchDatabaseInformationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-branch-database-information.cjs","names":["z","action"],"sources":["../../src/actions/patch-branch-database-information.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonPatchBranchDatabaseInformationInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the database resides (e.g., 'br-lucky-water-afkw1lov')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n database_name: z.string().describe(\"The current name of the database to update\"),\n database__name: z.string().describe(\"The new name for the database. Use this to rename the database.\").optional(),\n database__owner__name: z.string().describe(\"The name of the role to transfer database ownership to. The role must exist in the branch.\").optional(),\n}).describe(\"Request schema for `PatchBranchDatabaseInformation`\");\nconst NeonPatchBranchDatabaseInformation_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the database\").nullable(),\n name: z.string().describe(\"Database name\").nullable(),\n branch_id: z.string().describe(\"Branch identifier that this database belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created (ISO 8601 format)\").nullable(),\n owner_name: z.string().describe(\"Role name that owns the database\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Database object\");\nconst NeonPatchBranchDatabaseInformation_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed (e.g., apply_config, create_timeline, start_compute)\").nullable(),\n status: z.string().describe(\"Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"Branch identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"Project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation object\");\nexport const NeonPatchBranchDatabaseInformationOutput = z.object({\n database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),\n operations: z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe(\"Array of operations initiated by the update request\"),\n}).passthrough().describe(\"Response schema for `PatchBranchDatabaseInformation`\");\n\nexport const neonPatchBranchDatabaseInformation: AppAction<\n typeof NeonPatchBranchDatabaseInformationInput,\n typeof NeonPatchBranchDatabaseInformationOutput,\n typeof neon.credential\n> = action(\"NEON_PATCH_BRANCH_DATABASE_INFORMATION\", {\n slug: \"neon-patch-branch-database-information\",\n name: \"Patch branch database information\",\n description: \"Updates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.\",\n input: NeonPatchBranchDatabaseInformationInput,\n output: NeonPatchBranchDatabaseInformationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAA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AS,kBAAkB;AAC5C,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAU,kDAAkD,SAAS;CACrE,YAAYA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,qDAAqD;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/patch-branch-database-information.d.ts
|
|
@@ -32,13 +34,7 @@ declare const NeonPatchBranchDatabaseInformationOutput: z.ZodObject<{
|
|
|
32
34
|
total_duration_ms: z.ZodNullable<z.ZodNumber>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const neonPatchBranchDatabaseInformation:
|
|
36
|
-
branch_id: string;
|
|
37
|
-
project_id: string;
|
|
38
|
-
database_name: string;
|
|
39
|
-
database__name?: string | undefined;
|
|
40
|
-
database__owner__name?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const neonPatchBranchDatabaseInformation: AppAction<typeof NeonPatchBranchDatabaseInformationInput, typeof NeonPatchBranchDatabaseInformationOutput, typeof neon.credential>;
|
|
42
38
|
//#endregion
|
|
43
39
|
export { neonPatchBranchDatabaseInformation };
|
|
44
40
|
//# sourceMappingURL=patch-branch-database-information.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-branch-database-information.d.cts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-branch-database-information.d.cts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/patch-branch-database-information.d.ts
|
|
@@ -32,13 +34,7 @@ declare const NeonPatchBranchDatabaseInformationOutput: z.ZodObject<{
|
|
|
32
34
|
total_duration_ms: z.ZodNullable<z.ZodNumber>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const neonPatchBranchDatabaseInformation:
|
|
36
|
-
branch_id: string;
|
|
37
|
-
project_id: string;
|
|
38
|
-
database_name: string;
|
|
39
|
-
database__name?: string | undefined;
|
|
40
|
-
database__owner__name?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const neonPatchBranchDatabaseInformation: AppAction<typeof NeonPatchBranchDatabaseInformationInput, typeof NeonPatchBranchDatabaseInformationOutput, typeof neon.credential>;
|
|
42
38
|
//#endregion
|
|
43
39
|
export { neonPatchBranchDatabaseInformation };
|
|
44
40
|
//# sourceMappingURL=patch-branch-database-information.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-branch-database-information.d.mts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-branch-database-information.d.mts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-branch-database-information.mjs","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonPatchBranchDatabaseInformationInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the database resides (e.g., 'br-lucky-water-afkw1lov')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n database_name: z.string().describe(\"The current name of the database to update\"),\n database__name: z.string().describe(\"The new name for the database. Use this to rename the database.\").optional(),\n database__owner__name: z.string().describe(\"The name of the role to transfer database ownership to. The role must exist in the branch.\").optional(),\n}).describe(\"Request schema for `PatchBranchDatabaseInformation`\");\nconst NeonPatchBranchDatabaseInformation_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the database\").nullable(),\n name: z.string().describe(\"Database name\").nullable(),\n branch_id: z.string().describe(\"Branch identifier that this database belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created (ISO 8601 format)\").nullable(),\n owner_name: z.string().describe(\"Role name that owns the database\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Database object\");\nconst NeonPatchBranchDatabaseInformation_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed (e.g., apply_config, create_timeline, start_compute)\").nullable(),\n status: z.string().describe(\"Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"Branch identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"Project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation object\");\nexport const NeonPatchBranchDatabaseInformationOutput = z.object({\n database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),\n operations: z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe(\"Array of operations initiated by the update request\"),\n}).passthrough().describe(\"Response schema for `PatchBranchDatabaseInformation`\");\n\nexport const neonPatchBranchDatabaseInformation = action(\"NEON_PATCH_BRANCH_DATABASE_INFORMATION\", {\n slug: \"neon-patch-branch-database-information\",\n name: \"Patch branch database information\",\n description: \"Updates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.\",\n input: NeonPatchBranchDatabaseInformationInput,\n output: NeonPatchBranchDatabaseInformationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-branch-database-information.mjs","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonPatchBranchDatabaseInformationInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the database resides (e.g., 'br-lucky-water-afkw1lov')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n database_name: z.string().describe(\"The current name of the database to update\"),\n database__name: z.string().describe(\"The new name for the database. Use this to rename the database.\").optional(),\n database__owner__name: z.string().describe(\"The name of the role to transfer database ownership to. The role must exist in the branch.\").optional(),\n}).describe(\"Request schema for `PatchBranchDatabaseInformation`\");\nconst NeonPatchBranchDatabaseInformation_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the database\").nullable(),\n name: z.string().describe(\"Database name\").nullable(),\n branch_id: z.string().describe(\"Branch identifier that this database belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created (ISO 8601 format)\").nullable(),\n owner_name: z.string().describe(\"Role name that owns the database\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Database object\");\nconst NeonPatchBranchDatabaseInformation_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed (e.g., apply_config, create_timeline, start_compute)\").nullable(),\n status: z.string().describe(\"Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"Branch identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"Project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation object\");\nexport const NeonPatchBranchDatabaseInformationOutput = z.object({\n database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),\n operations: z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe(\"Array of operations initiated by the update request\"),\n}).passthrough().describe(\"Response schema for `PatchBranchDatabaseInformation`\");\n\nexport const neonPatchBranchDatabaseInformation: AppAction<\n typeof NeonPatchBranchDatabaseInformationInput,\n typeof NeonPatchBranchDatabaseInformationOutput,\n typeof neon.credential\n> = action(\"NEON_PATCH_BRANCH_DATABASE_INFORMATION\", {\n slug: \"neon-patch-branch-database-information\",\n name: \"Patch branch database information\",\n description: \"Updates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.\",\n input: NeonPatchBranchDatabaseInformationInput,\n output: NeonPatchBranchDatabaseInformationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO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C,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kBAAkB;AAM5C,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsD,EAAE,OAAO;EAC/D,UAAU,kDAAkD,SAAS;EACrE,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,qDAAqD;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-role-password-for-branch.cjs","names":["z","action"],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonResetRolePasswordForBranchInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the role exists (e.g., 'br-lucky-water-afkw1lov')\"),\n role_name: z.string().describe(\"The name of the database role whose password should be reset (e.g., 'neondb_owner', 'authenticator')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n}).describe(\"Request schema for `ResetRolePasswordForBranch`\");\nconst NeonResetRolePasswordForBranch_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the role\").nullable().optional(),\n password: z.string().describe(\"The new password generated for the role. Store this securely as it will not be shown again.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role exists\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"When the role was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"When the role was last updated (ISO 8601 format)\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used for the role (e.g., 'password')\").nullable().optional(),\n}).passthrough().describe(\"Information about the database role after password reset\");\nconst NeonResetRolePasswordForBranch_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation ID (UUID)\").nullable().optional(),\n action: z.string().describe(\"The action performed (e.g., 'apply_config')\").nullable().optional(),\n status: z.string().describe(\"The operation status (scheduling, running, finished, failed, error, cancelling, cancelled, skipped)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable().optional(),\n created_at: z.string().describe(\"When the operation was created (ISO 8601 format)\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable().optional(),\n updated_at: z.string().describe(\"When the operation status was last updated (ISO 8601 format)\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by the password reset\");\nconst NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema = z.object({\n role: NeonResetRolePasswordForBranch_RoleInfoSchema.nullable().optional(),\n operations: z.array(NeonResetRolePasswordForBranch_OperationInfoSchema).describe(\"List of operations triggered by the password reset. The new password is ready to use when all operations finish.\").nullable().optional(),\n}).passthrough().describe(\"Data returned from the password reset operation\");\nexport const NeonResetRolePasswordForBranchOutput = z.object({\n data: z.union([NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `ResetRolePasswordForBranch`\");\n\nexport const neonResetRolePasswordForBranch = action(\"NEON_RESET_ROLE_PASSWORD_FOR_BRANCH\", {\n slug: \"neon-reset-role-password-for-branch\",\n name: \"Reset role password for branch\",\n description: \"Resets the password for a PostgreSQL role on a specific Neon branch and generates a new password. Use this when credentials need to be rotated for security purposes (e.g., employee offboarding, suspected compromise, or routine security practices). The response includes the new password - store it securely as it cannot be retrieved later. The new password becomes active once the triggered 'apply_config' operation completes; the old password remains valid until then. Note: This is a destructive operation that invalidates the current password.\",\n input: NeonResetRolePasswordForBranchInput,\n output: NeonResetRolePasswordForBranchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-role-password-for-branch.cjs","names":["z","action"],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonResetRolePasswordForBranchInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the role exists (e.g., 'br-lucky-water-afkw1lov')\"),\n role_name: z.string().describe(\"The name of the database role whose password should be reset (e.g., 'neondb_owner', 'authenticator')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n}).describe(\"Request schema for `ResetRolePasswordForBranch`\");\nconst NeonResetRolePasswordForBranch_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the role\").nullable().optional(),\n password: z.string().describe(\"The new password generated for the role. Store this securely as it will not be shown again.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role exists\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"When the role was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"When the role was last updated (ISO 8601 format)\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used for the role (e.g., 'password')\").nullable().optional(),\n}).passthrough().describe(\"Information about the database role after password reset\");\nconst NeonResetRolePasswordForBranch_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation ID (UUID)\").nullable().optional(),\n action: z.string().describe(\"The action performed (e.g., 'apply_config')\").nullable().optional(),\n status: z.string().describe(\"The operation status (scheduling, running, finished, failed, error, cancelling, cancelled, skipped)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable().optional(),\n created_at: z.string().describe(\"When the operation was created (ISO 8601 format)\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable().optional(),\n updated_at: z.string().describe(\"When the operation status was last updated (ISO 8601 format)\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by the password reset\");\nconst NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema = z.object({\n role: NeonResetRolePasswordForBranch_RoleInfoSchema.nullable().optional(),\n operations: z.array(NeonResetRolePasswordForBranch_OperationInfoSchema).describe(\"List of operations triggered by the password reset. The new password is ready to use when all operations finish.\").nullable().optional(),\n}).passthrough().describe(\"Data returned from the password reset operation\");\nexport const NeonResetRolePasswordForBranchOutput = z.object({\n data: z.union([NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `ResetRolePasswordForBranch`\");\n\nexport const neonResetRolePasswordForBranch: AppAction<\n typeof NeonResetRolePasswordForBranchInput,\n typeof NeonResetRolePasswordForBranchOutput,\n typeof neon.credential\n> = action(\"NEON_RESET_ROLE_PASSWORD_FOR_BRANCH\", {\n slug: \"neon-reset-role-password-for-branch\",\n name: \"Reset role password for branch\",\n description: \"Resets the password for a PostgreSQL role on a specific Neon branch and generates a new password. Use this when credentials need to be rotated for security purposes (e.g., employee offboarding, suspected compromise, or routine security practices). The response includes the new password - store it securely as it cannot be retrieved later. The new password becomes active once the triggered 'apply_config' operation completes; the old password remains valid until then. Note: This is a destructive operation that invalidates the current password.\",\n input: NeonResetRolePasswordForBranchInput,\n output: NeonResetRolePasswordForBranchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACrI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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O,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/reset-role-password-for-branch.d.ts
|
|
@@ -31,11 +33,7 @@ declare const NeonResetRolePasswordForBranchOutput: z.ZodObject<{
|
|
|
31
33
|
}, z.core.$loose>>>>;
|
|
32
34
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const neonResetRolePasswordForBranch:
|
|
35
|
-
branch_id: string;
|
|
36
|
-
role_name: string;
|
|
37
|
-
project_id: string;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const neonResetRolePasswordForBranch: AppAction<typeof NeonResetRolePasswordForBranchInput, typeof NeonResetRolePasswordForBranchOutput, typeof neon.credential>;
|
|
39
37
|
//#endregion
|
|
40
38
|
export { neonResetRolePasswordForBranch };
|
|
41
39
|
//# sourceMappingURL=reset-role-password-for-branch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-role-password-for-branch.d.cts","names":[],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-role-password-for-branch.d.cts","names":[],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cA8BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/reset-role-password-for-branch.d.ts
|
|
@@ -31,11 +33,7 @@ declare const NeonResetRolePasswordForBranchOutput: z.ZodObject<{
|
|
|
31
33
|
}, z.core.$loose>>>>;
|
|
32
34
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const neonResetRolePasswordForBranch:
|
|
35
|
-
branch_id: string;
|
|
36
|
-
role_name: string;
|
|
37
|
-
project_id: string;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const neonResetRolePasswordForBranch: AppAction<typeof NeonResetRolePasswordForBranchInput, typeof NeonResetRolePasswordForBranchOutput, typeof neon.credential>;
|
|
39
37
|
//#endregion
|
|
40
38
|
export { neonResetRolePasswordForBranch };
|
|
41
39
|
//# sourceMappingURL=reset-role-password-for-branch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-role-password-for-branch.d.mts","names":[],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-role-password-for-branch.d.mts","names":[],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cA8BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-role-password-for-branch.mjs","names":[],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonResetRolePasswordForBranchInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the role exists (e.g., 'br-lucky-water-afkw1lov')\"),\n role_name: z.string().describe(\"The name of the database role whose password should be reset (e.g., 'neondb_owner', 'authenticator')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n}).describe(\"Request schema for `ResetRolePasswordForBranch`\");\nconst NeonResetRolePasswordForBranch_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the role\").nullable().optional(),\n password: z.string().describe(\"The new password generated for the role. Store this securely as it will not be shown again.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role exists\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"When the role was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"When the role was last updated (ISO 8601 format)\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used for the role (e.g., 'password')\").nullable().optional(),\n}).passthrough().describe(\"Information about the database role after password reset\");\nconst NeonResetRolePasswordForBranch_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation ID (UUID)\").nullable().optional(),\n action: z.string().describe(\"The action performed (e.g., 'apply_config')\").nullable().optional(),\n status: z.string().describe(\"The operation status (scheduling, running, finished, failed, error, cancelling, cancelled, skipped)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable().optional(),\n created_at: z.string().describe(\"When the operation was created (ISO 8601 format)\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable().optional(),\n updated_at: z.string().describe(\"When the operation status was last updated (ISO 8601 format)\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by the password reset\");\nconst NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema = z.object({\n role: NeonResetRolePasswordForBranch_RoleInfoSchema.nullable().optional(),\n operations: z.array(NeonResetRolePasswordForBranch_OperationInfoSchema).describe(\"List of operations triggered by the password reset. The new password is ready to use when all operations finish.\").nullable().optional(),\n}).passthrough().describe(\"Data returned from the password reset operation\");\nexport const NeonResetRolePasswordForBranchOutput = z.object({\n data: z.union([NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `ResetRolePasswordForBranch`\");\n\nexport const neonResetRolePasswordForBranch = action(\"NEON_RESET_ROLE_PASSWORD_FOR_BRANCH\", {\n slug: \"neon-reset-role-password-for-branch\",\n name: \"Reset role password for branch\",\n description: \"Resets the password for a PostgreSQL role on a specific Neon branch and generates a new password. Use this when credentials need to be rotated for security purposes (e.g., employee offboarding, suspected compromise, or routine security practices). The response includes the new password - store it securely as it cannot be retrieved later. The new password becomes active once the triggered 'apply_config' operation completes; the old password remains valid until then. Note: This is a destructive operation that invalidates the current password.\",\n input: NeonResetRolePasswordForBranchInput,\n output: NeonResetRolePasswordForBranchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-role-password-for-branch.mjs","names":[],"sources":["../../src/actions/reset-role-password-for-branch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonResetRolePasswordForBranchInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the role exists (e.g., 'br-lucky-water-afkw1lov')\"),\n role_name: z.string().describe(\"The name of the database role whose password should be reset (e.g., 'neondb_owner', 'authenticator')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n}).describe(\"Request schema for `ResetRolePasswordForBranch`\");\nconst NeonResetRolePasswordForBranch_RoleInfoSchema = z.object({\n name: z.string().describe(\"The name of the role\").nullable().optional(),\n password: z.string().describe(\"The new password generated for the role. Store this securely as it will not be shown again.\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID where the role exists\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the role is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"When the role was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"When the role was last updated (ISO 8601 format)\").nullable().optional(),\n authentication_method: z.string().describe(\"The authentication method used for the role (e.g., 'password')\").nullable().optional(),\n}).passthrough().describe(\"Information about the database role after password reset\");\nconst NeonResetRolePasswordForBranch_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation ID (UUID)\").nullable().optional(),\n action: z.string().describe(\"The action performed (e.g., 'apply_config')\").nullable().optional(),\n status: z.string().describe(\"The operation status (scheduling, running, finished, failed, error, cancelling, cancelled, skipped)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable().optional(),\n created_at: z.string().describe(\"When the operation was created (ISO 8601 format)\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable().optional(),\n updated_at: z.string().describe(\"When the operation status was last updated (ISO 8601 format)\").nullable().optional(),\n endpoint_id: z.string().describe(\"The compute endpoint ID affected by the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by the password reset\");\nconst NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema = z.object({\n role: NeonResetRolePasswordForBranch_RoleInfoSchema.nullable().optional(),\n operations: z.array(NeonResetRolePasswordForBranch_OperationInfoSchema).describe(\"List of operations triggered by the password reset. The new password is ready to use when all operations finish.\").nullable().optional(),\n}).passthrough().describe(\"Data returned from the password reset operation\");\nexport const NeonResetRolePasswordForBranchOutput = z.object({\n data: z.union([NeonResetRolePasswordForBranch_ResetRolePasswordDataSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `ResetRolePasswordForBranch`\");\n\nexport const neonResetRolePasswordForBranch: AppAction<\n typeof NeonResetRolePasswordForBranchInput,\n typeof NeonResetRolePasswordForBranchOutput,\n typeof neon.credential\n> = action(\"NEON_RESET_ROLE_PASSWORD_FOR_BRANCH\", {\n slug: \"neon-reset-role-password-for-branch\",\n name: \"Reset role password for branch\",\n description: \"Resets the password for a PostgreSQL role on a specific Neon branch and generates a new password. Use this when credentials need to be rotated for security purposes (e.g., employee offboarding, suspected compromise, or routine security practices). The response includes the new password - store it securely as it cannot be retrieved later. The new password becomes active once the triggered 'apply_config' operation completes; the old password remains valid until then. Note: This is a destructive operation that invalidates the current password.\",\n input: NeonResetRolePasswordForBranchInput,\n output: NeonResetRolePasswordForBranchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACrI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACpF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EA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,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,6DAA6D,EAAE,OAAO;CAC1E,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3N,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO,EAC3D,MAAM,EAAE,MAAM,CAAC,4DAA4D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restart-project-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/restart-project-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestartProjectEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271'). Can be obtained from list projects API.\"),\n endpoint_id: z.string().describe(\"The Neon compute endpoint ID to restart (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from list project endpoints API.\"),\n}).describe(\"Request schema for `RestartProjectEndpoint`\");\nconst NeonRestartProjectEndpoint_EndpointDetailsSchema = z.object({\n id: z.string().describe(\"Endpoint ID\").nullable(),\n host: z.string().describe(\"Endpoint host URL\").nullable(),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write')\").nullable(),\n disabled: z.boolean().default(false).describe(\"Whether endpoint is disabled\").nullable().optional(),\n branch_id: z.string().describe(\"Branch ID\").nullable(),\n region_id: z.string().describe(\"AWS region (e.g., 'aws-us-west-2')\").nullable(),\n created_at: z.string().describe(\"Endpoint creation timestamp\").nullable(),\n project_id: z.string().describe(\"Project ID\").nullable(),\n updated_at: z.string().describe(\"Endpoint last update timestamp\").nullable(),\n pooler_mode: z.string().default(\"transaction\").describe(\"Connection pooler mode\").nullable().optional(),\n current_state: z.string().describe(\"Current endpoint state (e.g., 'active', 'idle')\").nullable(),\n pending_state: z.string().describe(\"Pending state during transitions\").nullable().optional(),\n pooler_enabled: z.boolean().default(false).describe(\"Whether connection pooler is enabled\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"Schema for endpoint details returned after restart.\");\nconst NeonRestartProjectEndpoint_EndpointOperationSchema = z.object({\n id: z.string().describe(\"Unique operation ID\").nullable(),\n action: z.string().describe(\"Operation action type (e.g., 'suspend_compute', 'start_compute')\").nullable(),\n status: z.string().describe(\"Operation status (e.g., 'running', 'scheduling', 'finished')\").nullable(),\n branch_id: z.string().describe(\"Branch ID\").nullable(),\n created_at: z.string().describe(\"Operation creation timestamp\").nullable(),\n project_id: z.string().describe(\"Project ID\").nullable(),\n updated_at: z.string().describe(\"Operation last update timestamp\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint ID\").nullable(),\n failures_count: z.number().int().default(0).describe(\"Number of failures\").nullable().optional(),\n}).passthrough().describe(\"Schema for an operation triggered by the restart.\");\nconst NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema = z.object({\n endpoint: NeonRestartProjectEndpoint_EndpointDetailsSchema.nullable(),\n operations: z.array(NeonRestartProjectEndpoint_EndpointOperationSchema).describe(\"List of operations triggered by the restart (typically 'suspend_compute' followed by 'start_compute')\").nullable().optional(),\n}).passthrough().describe(\"Response data for restart endpoint operation.\");\nexport const NeonRestartProjectEndpointOutput = z.object({\n data: NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `RestartProjectEndpoint`\");\n\nexport const neonRestartProjectEndpoint = action(\"NEON_RESTART_PROJECT_ENDPOINT\", {\n slug: \"neon-restart-project-endpoint\",\n name: \"Restart project endpoint\",\n description: \"Restarts a Neon compute endpoint (Postgres instance) within a project. The restart operation suspends and then starts the compute endpoint, which is useful for: - Applying configuration changes - Clearing cached data or connections - Troubleshooting connection or performance issues - Recovering from error states The operation triggers two sequential actions: 'suspend_compute' followed by 'start_compute'. During restart, the endpoint will be briefly unavailable. The response includes the updated endpoint details and the operations triggered. Note: If the endpoint is in a 'locked' state (HTTP 423) due to an ongoing operation, wait for it to complete before retrying. If the endpoint is 'idle', it will be started directly without suspension.\",\n input: NeonRestartProjectEndpointInput,\n output: NeonRestartProjectEndpointOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restart-project-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/restart-project-endpoint.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonRestartProjectEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271'). Can be obtained from list projects API.\"),\n endpoint_id: z.string().describe(\"The Neon compute endpoint ID to restart (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from list project endpoints API.\"),\n}).describe(\"Request schema for `RestartProjectEndpoint`\");\nconst NeonRestartProjectEndpoint_EndpointDetailsSchema = z.object({\n id: z.string().describe(\"Endpoint ID\").nullable(),\n host: z.string().describe(\"Endpoint host URL\").nullable(),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write')\").nullable(),\n disabled: z.boolean().default(false).describe(\"Whether endpoint is disabled\").nullable().optional(),\n branch_id: z.string().describe(\"Branch ID\").nullable(),\n region_id: z.string().describe(\"AWS region (e.g., 'aws-us-west-2')\").nullable(),\n created_at: z.string().describe(\"Endpoint creation timestamp\").nullable(),\n project_id: z.string().describe(\"Project ID\").nullable(),\n updated_at: z.string().describe(\"Endpoint last update timestamp\").nullable(),\n pooler_mode: z.string().default(\"transaction\").describe(\"Connection pooler mode\").nullable().optional(),\n current_state: z.string().describe(\"Current endpoint state (e.g., 'active', 'idle')\").nullable(),\n pending_state: z.string().describe(\"Pending state during transitions\").nullable().optional(),\n pooler_enabled: z.boolean().default(false).describe(\"Whether connection pooler is enabled\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"Schema for endpoint details returned after restart.\");\nconst NeonRestartProjectEndpoint_EndpointOperationSchema = z.object({\n id: z.string().describe(\"Unique operation ID\").nullable(),\n action: z.string().describe(\"Operation action type (e.g., 'suspend_compute', 'start_compute')\").nullable(),\n status: z.string().describe(\"Operation status (e.g., 'running', 'scheduling', 'finished')\").nullable(),\n branch_id: z.string().describe(\"Branch ID\").nullable(),\n created_at: z.string().describe(\"Operation creation timestamp\").nullable(),\n project_id: z.string().describe(\"Project ID\").nullable(),\n updated_at: z.string().describe(\"Operation last update timestamp\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint ID\").nullable(),\n failures_count: z.number().int().default(0).describe(\"Number of failures\").nullable().optional(),\n}).passthrough().describe(\"Schema for an operation triggered by the restart.\");\nconst NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema = z.object({\n endpoint: NeonRestartProjectEndpoint_EndpointDetailsSchema.nullable(),\n operations: z.array(NeonRestartProjectEndpoint_EndpointOperationSchema).describe(\"List of operations triggered by the restart (typically 'suspend_compute' followed by 'start_compute')\").nullable().optional(),\n}).passthrough().describe(\"Response data for restart endpoint operation.\");\nexport const NeonRestartProjectEndpointOutput = z.object({\n data: NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `RestartProjectEndpoint`\");\n\nexport const neonRestartProjectEndpoint: AppAction<\n typeof NeonRestartProjectEndpointInput,\n typeof NeonRestartProjectEndpointOutput,\n typeof neon.credential\n> = action(\"NEON_RESTART_PROJECT_ENDPOINT\", {\n slug: \"neon-restart-project-endpoint\",\n name: \"Restart project endpoint\",\n description: \"Restarts a Neon compute endpoint (Postgres instance) within a project. The restart operation suspends and then starts the compute endpoint, which is useful for: - Applying configuration changes - Clearing cached data or connections - Troubleshooting connection or performance issues - Recovering from error states The operation triggers two sequential actions: 'suspend_compute' followed by 'start_compute'. During restart, the endpoint will be briefly unavailable. The response includes the updated endpoint details and the operations triggered. Note: If the endpoint is in a 'locked' state (HTTP 423) due to an ongoing operation, wait for it to complete before retrying. If the endpoint is 'idle', it will be started directly without suspension.\",\n input: NeonRestartProjectEndpointInput,\n output: NeonRestartProjectEndpointOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACpK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAA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AWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACzD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,sEAAsEA,IAAAA,EAAE,OAAO;CACnF,UAAU,iDAAiD,SAAS;CACpE,YAAYA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,oEAAoE,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restart-project-endpoint.d.ts
|
|
@@ -37,10 +39,7 @@ declare const NeonRestartProjectEndpointOutput: z.ZodObject<{
|
|
|
37
39
|
}, z.core.$loose>>>>;
|
|
38
40
|
}, z.core.$loose>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const neonRestartProjectEndpoint:
|
|
41
|
-
project_id: string;
|
|
42
|
-
endpoint_id: string;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const neonRestartProjectEndpoint: AppAction<typeof NeonRestartProjectEndpointInput, typeof NeonRestartProjectEndpointOutput, typeof neon.credential>;
|
|
44
43
|
//#endregion
|
|
45
44
|
export { neonRestartProjectEndpoint };
|
|
46
45
|
//# sourceMappingURL=restart-project-endpoint.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restart-project-endpoint.d.cts","names":[],"sources":["../../src/actions/restart-project-endpoint.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restart-project-endpoint.d.cts","names":[],"sources":["../../src/actions/restart-project-endpoint.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAoC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,IAAA,CAAK,UAAA"}
|