@keystrokehq/neon 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/accept-projects-transfer-requests.cjs +1 -1
- package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -1
- package/dist/actions/accept-projects-transfer-requests.d.cts +1 -1
- package/dist/actions/accept-projects-transfer-requests.d.mts +1 -1
- package/dist/actions/accept-projects-transfer-requests.mjs +1 -1
- package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -1
- package/dist/actions/access-project-details-by-id.cjs +1 -1
- package/dist/actions/access-project-details-by-id.cjs.map +1 -1
- package/dist/actions/access-project-details-by-id.d.cts +1 -1
- package/dist/actions/access-project-details-by-id.d.mts +1 -1
- package/dist/actions/access-project-details-by-id.mjs +1 -1
- package/dist/actions/access-project-details-by-id.mjs.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -1
- package/dist/actions/add-project-email-permission.cjs +2 -2
- package/dist/actions/add-project-email-permission.cjs.map +1 -1
- package/dist/actions/add-project-email-permission.d.cts +2 -2
- package/dist/actions/add-project-email-permission.d.mts +2 -2
- package/dist/actions/add-project-email-permission.mjs +2 -2
- package/dist/actions/add-project-email-permission.mjs.map +1 -1
- package/dist/actions/add-role-to-branch.cjs +3 -3
- package/dist/actions/add-role-to-branch.cjs.map +1 -1
- package/dist/actions/add-role-to-branch.d.cts +3 -3
- package/dist/actions/add-role-to-branch.d.mts +3 -3
- package/dist/actions/add-role-to-branch.mjs +3 -3
- package/dist/actions/add-role-to-branch.mjs.map +1 -1
- package/dist/actions/count-project-branches.cjs +1 -1
- package/dist/actions/count-project-branches.cjs.map +1 -1
- package/dist/actions/count-project-branches.d.cts +1 -1
- package/dist/actions/count-project-branches.d.mts +1 -1
- package/dist/actions/count-project-branches.mjs +1 -1
- package/dist/actions/count-project-branches.mjs.map +1 -1
- package/dist/actions/create-api-key-for-organization.cjs +1 -1
- package/dist/actions/create-api-key-for-organization.cjs.map +1 -1
- package/dist/actions/create-api-key-for-organization.d.cts +1 -1
- package/dist/actions/create-api-key-for-organization.d.mts +1 -1
- package/dist/actions/create-api-key-for-organization.mjs +1 -1
- package/dist/actions/create-api-key-for-organization.mjs.map +1 -1
- package/dist/actions/create-auth-keys.cjs +1 -1
- package/dist/actions/create-auth-keys.cjs.map +1 -1
- package/dist/actions/create-auth-keys.d.cts +1 -1
- package/dist/actions/create-auth-keys.d.mts +1 -1
- package/dist/actions/create-auth-keys.mjs +1 -1
- package/dist/actions/create-auth-keys.mjs.map +1 -1
- package/dist/actions/create-auth-user.cjs +1 -1
- package/dist/actions/create-auth-user.cjs.map +1 -1
- package/dist/actions/create-auth-user.d.cts +1 -1
- package/dist/actions/create-auth-user.d.mts +1 -1
- package/dist/actions/create-auth-user.mjs +1 -1
- package/dist/actions/create-auth-user.mjs.map +1 -1
- package/dist/actions/create-branch-database.cjs +3 -3
- package/dist/actions/create-branch-database.cjs.map +1 -1
- package/dist/actions/create-branch-database.d.cts +3 -3
- package/dist/actions/create-branch-database.d.mts +3 -3
- package/dist/actions/create-branch-database.mjs +3 -3
- package/dist/actions/create-branch-database.mjs.map +1 -1
- package/dist/actions/create-branches-auth.cjs +1 -1
- package/dist/actions/create-branches-auth.cjs.map +1 -1
- package/dist/actions/create-branches-auth.d.cts +1 -1
- package/dist/actions/create-branches-auth.d.mts +1 -1
- package/dist/actions/create-branches-auth.mjs +1 -1
- package/dist/actions/create-branches-auth.mjs.map +1 -1
- package/dist/actions/create-branches-data-api.cjs +1 -1
- package/dist/actions/create-branches-data-api.cjs.map +1 -1
- package/dist/actions/create-branches-data-api.d.cts +1 -1
- package/dist/actions/create-branches-data-api.d.mts +1 -1
- package/dist/actions/create-branches-data-api.mjs +1 -1
- package/dist/actions/create-branches-data-api.mjs.map +1 -1
- package/dist/actions/create-branches-snapshot.cjs +3 -3
- package/dist/actions/create-branches-snapshot.cjs.map +1 -1
- package/dist/actions/create-branches-snapshot.d.cts +3 -3
- package/dist/actions/create-branches-snapshot.d.mts +3 -3
- package/dist/actions/create-branches-snapshot.mjs +3 -3
- package/dist/actions/create-branches-snapshot.mjs.map +1 -1
- package/dist/actions/create-compute-endpoint.cjs +6 -6
- package/dist/actions/create-compute-endpoint.cjs.map +1 -1
- package/dist/actions/create-compute-endpoint.d.cts +8 -8
- package/dist/actions/create-compute-endpoint.d.mts +8 -8
- package/dist/actions/create-compute-endpoint.mjs +6 -6
- package/dist/actions/create-compute-endpoint.mjs.map +1 -1
- package/dist/actions/create-new-api-key.cjs +1 -1
- package/dist/actions/create-new-api-key.cjs.map +1 -1
- package/dist/actions/create-new-api-key.d.cts +1 -1
- package/dist/actions/create-new-api-key.d.mts +1 -1
- package/dist/actions/create-new-api-key.mjs +1 -1
- package/dist/actions/create-new-api-key.mjs.map +1 -1
- package/dist/actions/create-new-project-branch.cjs +5 -5
- package/dist/actions/create-new-project-branch.cjs.map +1 -1
- package/dist/actions/create-new-project-branch.d.cts +5 -5
- package/dist/actions/create-new-project-branch.d.mts +5 -5
- package/dist/actions/create-new-project-branch.mjs +5 -5
- package/dist/actions/create-new-project-branch.mjs.map +1 -1
- package/dist/actions/create-project-branch-anonymized.cjs +11 -11
- package/dist/actions/create-project-branch-anonymized.cjs.map +1 -1
- package/dist/actions/create-project-branch-anonymized.d.cts +13 -12
- package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -1
- package/dist/actions/create-project-branch-anonymized.d.mts +13 -12
- package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -1
- package/dist/actions/create-project-branch-anonymized.mjs +11 -11
- package/dist/actions/create-project-branch-anonymized.mjs.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.cjs +21 -21
- package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.d.cts +23 -23
- package/dist/actions/create-project-with-quota-and-settings.d.mts +23 -23
- package/dist/actions/create-project-with-quota-and-settings.mjs +21 -21
- package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -1
- package/dist/actions/create-projects-transfer-requests.cjs +1 -1
- package/dist/actions/create-projects-transfer-requests.cjs.map +1 -1
- package/dist/actions/create-projects-transfer-requests.d.cts +1 -1
- package/dist/actions/create-projects-transfer-requests.d.mts +1 -1
- package/dist/actions/create-projects-transfer-requests.mjs +1 -1
- package/dist/actions/create-projects-transfer-requests.mjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.cjs +1 -1
- package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.d.cts +1 -1
- package/dist/actions/create-vpc-endpoint-label.d.mts +1 -1
- package/dist/actions/create-vpc-endpoint-label.mjs +1 -1
- package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.cjs +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.d.cts +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.d.mts +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.mjs +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -1
- package/dist/actions/delete-api-key-by-id.cjs +1 -1
- package/dist/actions/delete-api-key-by-id.cjs.map +1 -1
- package/dist/actions/delete-api-key-by-id.d.cts +1 -1
- package/dist/actions/delete-api-key-by-id.d.mts +1 -1
- package/dist/actions/delete-api-key-by-id.mjs +1 -1
- package/dist/actions/delete-api-key-by-id.mjs.map +1 -1
- package/dist/actions/delete-auth-domains.cjs +2 -2
- package/dist/actions/delete-auth-domains.cjs.map +1 -1
- package/dist/actions/delete-auth-domains.d.cts +3 -2
- package/dist/actions/delete-auth-domains.d.mts +3 -2
- package/dist/actions/delete-auth-domains.mjs +2 -2
- package/dist/actions/delete-auth-domains.mjs.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.cjs +1 -1
- package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.d.cts +1 -1
- package/dist/actions/delete-auth-oauth-provider.d.mts +1 -1
- package/dist/actions/delete-auth-oauth-provider.mjs +1 -1
- package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -1
- package/dist/actions/delete-auth-user.cjs +1 -1
- package/dist/actions/delete-auth-user.cjs.map +1 -1
- package/dist/actions/delete-auth-user.d.cts +1 -1
- package/dist/actions/delete-auth-user.d.mts +1 -1
- package/dist/actions/delete-auth-user.mjs +1 -1
- package/dist/actions/delete-auth-user.mjs.map +1 -1
- package/dist/actions/delete-branch-data-api.cjs +1 -1
- package/dist/actions/delete-branch-data-api.cjs.map +1 -1
- package/dist/actions/delete-branch-data-api.d.cts +1 -1
- package/dist/actions/delete-branch-data-api.d.cts.map +1 -1
- package/dist/actions/delete-branch-data-api.d.mts +1 -1
- package/dist/actions/delete-branch-data-api.d.mts.map +1 -1
- package/dist/actions/delete-branch-data-api.mjs +1 -1
- package/dist/actions/delete-branch-data-api.mjs.map +1 -1
- package/dist/actions/delete-database-from-branch.cjs +3 -3
- package/dist/actions/delete-database-from-branch.cjs.map +1 -1
- package/dist/actions/delete-database-from-branch.d.cts +3 -3
- package/dist/actions/delete-database-from-branch.d.mts +3 -3
- package/dist/actions/delete-database-from-branch.mjs +3 -3
- package/dist/actions/delete-database-from-branch.mjs.map +1 -1
- package/dist/actions/delete-organization-api-key.cjs +2 -2
- package/dist/actions/delete-organization-api-key.cjs.map +1 -1
- package/dist/actions/delete-organization-api-key.d.cts +2 -2
- package/dist/actions/delete-organization-api-key.d.mts +2 -2
- package/dist/actions/delete-organization-api-key.mjs +2 -2
- package/dist/actions/delete-organization-api-key.mjs.map +1 -1
- package/dist/actions/delete-organization-member.cjs +1 -1
- package/dist/actions/delete-organization-member.cjs.map +1 -1
- package/dist/actions/delete-organization-member.d.cts +1 -1
- package/dist/actions/delete-organization-member.d.mts +1 -1
- package/dist/actions/delete-organization-member.mjs +1 -1
- package/dist/actions/delete-organization-member.mjs.map +1 -1
- package/dist/actions/delete-project-branch-by-id.cjs +3 -3
- package/dist/actions/delete-project-branch-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-branch-by-id.d.cts +3 -3
- package/dist/actions/delete-project-branch-by-id.d.mts +3 -3
- package/dist/actions/delete-project-branch-by-id.mjs +3 -3
- package/dist/actions/delete-project-branch-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-branch-role.cjs +4 -4
- package/dist/actions/delete-project-branch-role.cjs.map +1 -1
- package/dist/actions/delete-project-branch-role.d.cts +4 -4
- package/dist/actions/delete-project-branch-role.d.mts +4 -4
- package/dist/actions/delete-project-branch-role.mjs +4 -4
- package/dist/actions/delete-project-branch-role.mjs.map +1 -1
- package/dist/actions/delete-project-by-id.cjs +1 -1
- package/dist/actions/delete-project-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-by-id.d.cts +1 -1
- package/dist/actions/delete-project-by-id.d.mts +1 -1
- package/dist/actions/delete-project-by-id.mjs +1 -1
- package/dist/actions/delete-project-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-endpoint.cjs +6 -6
- package/dist/actions/delete-project-endpoint.cjs.map +1 -1
- package/dist/actions/delete-project-endpoint.d.cts +6 -6
- package/dist/actions/delete-project-endpoint.d.mts +6 -6
- package/dist/actions/delete-project-endpoint.mjs +6 -6
- package/dist/actions/delete-project-endpoint.mjs.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.cjs +1 -1
- package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.d.cts +1 -1
- package/dist/actions/delete-project-jwks-by-id.d.mts +1 -1
- package/dist/actions/delete-project-jwks-by-id.mjs +1 -1
- package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-permission.cjs +2 -2
- package/dist/actions/delete-project-permission.cjs.map +1 -1
- package/dist/actions/delete-project-permission.d.cts +2 -2
- package/dist/actions/delete-project-permission.d.mts +2 -2
- package/dist/actions/delete-project-permission.mjs +2 -2
- package/dist/actions/delete-project-permission.mjs.map +1 -1
- package/dist/actions/delete-project-snapshot.cjs +2 -2
- package/dist/actions/delete-project-snapshot.cjs.map +1 -1
- package/dist/actions/delete-project-snapshot.d.cts +2 -2
- package/dist/actions/delete-project-snapshot.d.mts +2 -2
- package/dist/actions/delete-project-snapshot.mjs +2 -2
- package/dist/actions/delete-project-snapshot.mjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -1
- package/dist/actions/fetch-database-for-branch.cjs +2 -2
- package/dist/actions/fetch-database-for-branch.cjs.map +1 -1
- package/dist/actions/fetch-database-for-branch.d.cts +2 -2
- package/dist/actions/fetch-database-for-branch.d.mts +2 -2
- package/dist/actions/fetch-database-for-branch.mjs +2 -2
- package/dist/actions/fetch-database-for-branch.mjs.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.cjs +4 -4
- package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.d.cts +4 -4
- package/dist/actions/fetch-organization-members-by-id.d.mts +4 -4
- package/dist/actions/fetch-organization-members-by-id.mjs +4 -4
- package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -1
- package/dist/actions/finalize-branch-restore.cjs +1 -1
- package/dist/actions/finalize-branch-restore.cjs.map +1 -1
- package/dist/actions/finalize-branch-restore.d.cts +1 -1
- package/dist/actions/finalize-branch-restore.d.mts +1 -1
- package/dist/actions/finalize-branch-restore.mjs +1 -1
- package/dist/actions/finalize-branch-restore.mjs.map +1 -1
- package/dist/actions/get-auth-allow-localhost.cjs +1 -1
- package/dist/actions/get-auth-allow-localhost.cjs.map +1 -1
- package/dist/actions/get-auth-allow-localhost.d.cts +1 -1
- package/dist/actions/get-auth-allow-localhost.d.mts +1 -1
- package/dist/actions/get-auth-allow-localhost.mjs +1 -1
- package/dist/actions/get-auth-allow-localhost.mjs.map +1 -1
- package/dist/actions/get-auth-email-provider.cjs +1 -1
- package/dist/actions/get-auth-email-provider.cjs.map +1 -1
- package/dist/actions/get-auth-email-provider.d.cts +1 -1
- package/dist/actions/get-auth-email-provider.d.mts +1 -1
- package/dist/actions/get-auth-email-provider.mjs +1 -1
- package/dist/actions/get-auth-email-provider.mjs.map +1 -1
- package/dist/actions/get-auth.cjs +1 -1
- package/dist/actions/get-auth.cjs.map +1 -1
- package/dist/actions/get-auth.d.cts +1 -1
- package/dist/actions/get-auth.d.mts +1 -1
- package/dist/actions/get-auth.mjs +1 -1
- package/dist/actions/get-auth.mjs.map +1 -1
- package/dist/actions/get-available-preload-libraries.cjs +2 -2
- package/dist/actions/get-available-preload-libraries.cjs.map +1 -1
- package/dist/actions/get-available-preload-libraries.d.cts +2 -2
- package/dist/actions/get-available-preload-libraries.d.mts +2 -2
- package/dist/actions/get-available-preload-libraries.mjs +2 -2
- package/dist/actions/get-available-preload-libraries.mjs.map +1 -1
- package/dist/actions/get-branch-roles-for-project.cjs +2 -2
- package/dist/actions/get-branch-roles-for-project.cjs.map +1 -1
- package/dist/actions/get-branch-roles-for-project.d.cts +2 -2
- package/dist/actions/get-branch-roles-for-project.d.mts +2 -2
- package/dist/actions/get-branch-roles-for-project.mjs +2 -2
- package/dist/actions/get-branch-roles-for-project.mjs.map +1 -1
- package/dist/actions/get-branches-anonymized-status.cjs +1 -1
- package/dist/actions/get-branches-anonymized-status.cjs.map +1 -1
- package/dist/actions/get-branches-anonymized-status.d.cts +1 -1
- package/dist/actions/get-branches-anonymized-status.d.mts +1 -1
- package/dist/actions/get-branches-anonymized-status.mjs +1 -1
- package/dist/actions/get-branches-anonymized-status.mjs.map +1 -1
- package/dist/actions/get-branches-backup-schedule.cjs +2 -2
- package/dist/actions/get-branches-backup-schedule.cjs.map +1 -1
- package/dist/actions/get-branches-backup-schedule.d.cts +2 -2
- package/dist/actions/get-branches-backup-schedule.d.mts +2 -2
- package/dist/actions/get-branches-backup-schedule.mjs +2 -2
- package/dist/actions/get-branches-backup-schedule.mjs.map +1 -1
- package/dist/actions/get-branches-data-api.cjs +2 -2
- package/dist/actions/get-branches-data-api.cjs.map +1 -1
- package/dist/actions/get-branches-data-api.d.cts +2 -2
- package/dist/actions/get-branches-data-api.d.mts +2 -2
- package/dist/actions/get-branches-data-api.mjs +2 -2
- package/dist/actions/get-branches-data-api.mjs.map +1 -1
- package/dist/actions/get-branches-for-project.cjs +4 -4
- package/dist/actions/get-branches-for-project.cjs.map +1 -1
- package/dist/actions/get-branches-for-project.d.cts +4 -4
- package/dist/actions/get-branches-for-project.d.mts +4 -4
- package/dist/actions/get-branches-for-project.mjs +4 -4
- package/dist/actions/get-branches-for-project.mjs.map +1 -1
- package/dist/actions/get-branches-masking-rules.cjs +2 -2
- package/dist/actions/get-branches-masking-rules.cjs.map +1 -1
- package/dist/actions/get-branches-masking-rules.d.cts +2 -2
- package/dist/actions/get-branches-masking-rules.d.mts +2 -2
- package/dist/actions/get-branches-masking-rules.mjs +2 -2
- package/dist/actions/get-branches-masking-rules.mjs.map +1 -1
- package/dist/actions/get-consumption-history-projects.cjs +4 -4
- package/dist/actions/get-consumption-history-projects.cjs.map +1 -1
- package/dist/actions/get-consumption-history-projects.d.cts +4 -4
- package/dist/actions/get-consumption-history-projects.d.mts +4 -4
- package/dist/actions/get-consumption-history-projects.mjs +4 -4
- package/dist/actions/get-consumption-history-projects.mjs.map +1 -1
- package/dist/actions/get-current-user-information.cjs +1 -1
- package/dist/actions/get-current-user-information.cjs.map +1 -1
- package/dist/actions/get-current-user-information.d.cts +1 -1
- package/dist/actions/get-current-user-information.d.mts +1 -1
- package/dist/actions/get-current-user-information.mjs +1 -1
- package/dist/actions/get-current-user-information.mjs.map +1 -1
- package/dist/actions/get-project-branch-role.cjs +3 -3
- package/dist/actions/get-project-branch-role.cjs.map +1 -1
- package/dist/actions/get-project-branch-role.d.cts +3 -3
- package/dist/actions/get-project-branch-role.d.mts +3 -3
- package/dist/actions/get-project-branch-role.mjs +3 -3
- package/dist/actions/get-project-branch-role.mjs.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.cjs +1 -1
- package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.d.cts +1 -1
- package/dist/actions/get-project-branch-schema-comparison.d.mts +1 -1
- package/dist/actions/get-project-branch-schema-comparison.mjs +1 -1
- package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -1
- package/dist/actions/get-project-branches.cjs +5 -5
- package/dist/actions/get-project-branches.cjs.map +1 -1
- package/dist/actions/get-project-branches.d.cts +5 -5
- package/dist/actions/get-project-branches.d.mts +5 -5
- package/dist/actions/get-project-branches.mjs +5 -5
- package/dist/actions/get-project-branches.mjs.map +1 -1
- package/dist/actions/get-project-connection-uri.cjs +1 -1
- package/dist/actions/get-project-connection-uri.cjs.map +1 -1
- package/dist/actions/get-project-connection-uri.d.cts +1 -1
- package/dist/actions/get-project-connection-uri.d.mts +1 -1
- package/dist/actions/get-project-connection-uri.mjs +1 -1
- package/dist/actions/get-project-connection-uri.mjs.map +1 -1
- package/dist/actions/get-project-operation-by-id.cjs +2 -2
- package/dist/actions/get-project-operation-by-id.cjs.map +1 -1
- package/dist/actions/get-project-operation-by-id.d.cts +2 -2
- package/dist/actions/get-project-operation-by-id.d.mts +2 -2
- package/dist/actions/get-project-operation-by-id.mjs +2 -2
- package/dist/actions/get-project-operation-by-id.mjs.map +1 -1
- package/dist/actions/get-schema-for-project-branch.cjs +1 -1
- package/dist/actions/get-schema-for-project-branch.cjs.map +1 -1
- package/dist/actions/get-schema-for-project-branch.d.cts +1 -1
- package/dist/actions/get-schema-for-project-branch.d.mts +1 -1
- package/dist/actions/get-schema-for-project-branch.mjs +1 -1
- package/dist/actions/get-schema-for-project-branch.mjs.map +1 -1
- package/dist/actions/get-user-organizations.cjs +2 -2
- package/dist/actions/get-user-organizations.cjs.map +1 -1
- package/dist/actions/get-user-organizations.d.cts +2 -2
- package/dist/actions/get-user-organizations.d.mts +2 -2
- package/dist/actions/get-user-organizations.mjs +2 -2
- package/dist/actions/get-user-organizations.mjs.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.cjs +2 -2
- package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.d.cts +2 -2
- package/dist/actions/get-vpc-region-endpoints.d.mts +2 -2
- package/dist/actions/get-vpc-region-endpoints.mjs +2 -2
- package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -1
- package/dist/actions/list-auth-domains.cjs +2 -2
- package/dist/actions/list-auth-domains.cjs.map +1 -1
- package/dist/actions/list-auth-domains.d.cts +2 -2
- package/dist/actions/list-auth-domains.d.mts +2 -2
- package/dist/actions/list-auth-domains.mjs +2 -2
- package/dist/actions/list-auth-domains.mjs.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.cjs +2 -2
- package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.d.cts +2 -2
- package/dist/actions/list-auth-oauth-providers2.d.mts +2 -2
- package/dist/actions/list-auth-oauth-providers2.mjs +2 -2
- package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -1
- package/dist/actions/list-projects-snapshots.cjs +2 -2
- package/dist/actions/list-projects-snapshots.cjs.map +1 -1
- package/dist/actions/list-projects-snapshots.d.cts +2 -2
- package/dist/actions/list-projects-snapshots.d.mts +2 -2
- package/dist/actions/list-projects-snapshots.mjs +2 -2
- package/dist/actions/list-projects-snapshots.mjs.map +1 -1
- package/dist/actions/list-shared-projects.cjs +5 -5
- package/dist/actions/list-shared-projects.cjs.map +1 -1
- package/dist/actions/list-shared-projects.d.cts +5 -5
- package/dist/actions/list-shared-projects.d.mts +5 -5
- package/dist/actions/list-shared-projects.mjs +5 -5
- package/dist/actions/list-shared-projects.mjs.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.cjs +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.d.cts +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.d.mts +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.mjs +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -1
- package/dist/actions/modify-branch-details-in-project.cjs +1 -1
- package/dist/actions/modify-branch-details-in-project.cjs.map +1 -1
- package/dist/actions/modify-branch-details-in-project.d.cts +1 -1
- package/dist/actions/modify-branch-details-in-project.d.mts +1 -1
- package/dist/actions/modify-branch-details-in-project.mjs +1 -1
- package/dist/actions/modify-branch-details-in-project.mjs.map +1 -1
- package/dist/actions/patch-branch-database-information.cjs +3 -3
- package/dist/actions/patch-branch-database-information.cjs.map +1 -1
- package/dist/actions/patch-branch-database-information.d.cts +3 -3
- package/dist/actions/patch-branch-database-information.d.mts +3 -3
- package/dist/actions/patch-branch-database-information.mjs +3 -3
- package/dist/actions/patch-branch-database-information.mjs.map +1 -1
- package/dist/actions/reset-role-password-for-branch.cjs +4 -4
- package/dist/actions/reset-role-password-for-branch.cjs.map +1 -1
- package/dist/actions/reset-role-password-for-branch.d.cts +4 -4
- package/dist/actions/reset-role-password-for-branch.d.mts +4 -4
- package/dist/actions/reset-role-password-for-branch.mjs +4 -4
- package/dist/actions/reset-role-password-for-branch.mjs.map +1 -1
- package/dist/actions/restart-project-endpoint.cjs +1 -1
- package/dist/actions/restart-project-endpoint.cjs.map +1 -1
- package/dist/actions/restart-project-endpoint.d.cts +1 -1
- package/dist/actions/restart-project-endpoint.d.mts +1 -1
- package/dist/actions/restart-project-endpoint.mjs +1 -1
- package/dist/actions/restart-project-endpoint.mjs.map +1 -1
- package/dist/actions/restore-project-branch.cjs +3 -3
- package/dist/actions/restore-project-branch.cjs.map +1 -1
- package/dist/actions/restore-project-branch.d.cts +3 -3
- package/dist/actions/restore-project-branch.d.mts +3 -3
- package/dist/actions/restore-project-branch.mjs +3 -3
- package/dist/actions/restore-project-branch.mjs.map +1 -1
- package/dist/actions/restore-snapshot.cjs +5 -5
- package/dist/actions/restore-snapshot.cjs.map +1 -1
- package/dist/actions/restore-snapshot.d.cts +5 -5
- package/dist/actions/restore-snapshot.d.mts +5 -5
- package/dist/actions/restore-snapshot.mjs +5 -5
- package/dist/actions/restore-snapshot.mjs.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.cjs +3 -3
- package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.d.cts +3 -3
- package/dist/actions/retrieve-account-consumption-history.d.mts +3 -3
- package/dist/actions/retrieve-account-consumption-history.mjs +3 -3
- package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -1
- package/dist/actions/retrieve-all-regions.cjs +2 -2
- package/dist/actions/retrieve-all-regions.cjs.map +1 -1
- package/dist/actions/retrieve-all-regions.d.cts +2 -2
- package/dist/actions/retrieve-all-regions.d.mts +2 -2
- package/dist/actions/retrieve-all-regions.mjs +2 -2
- package/dist/actions/retrieve-all-regions.mjs.map +1 -1
- package/dist/actions/retrieve-branch-database-details.cjs +2 -2
- package/dist/actions/retrieve-branch-database-details.cjs.map +1 -1
- package/dist/actions/retrieve-branch-database-details.d.cts +2 -2
- package/dist/actions/retrieve-branch-database-details.d.mts +2 -2
- package/dist/actions/retrieve-branch-database-details.mjs +2 -2
- package/dist/actions/retrieve-branch-database-details.mjs.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.cjs +2 -2
- package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.d.cts +2 -2
- package/dist/actions/retrieve-jwks-for-project.d.mts +2 -2
- package/dist/actions/retrieve-jwks-for-project.mjs +2 -2
- package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -1
- package/dist/actions/retrieve-organization-by-id.cjs +1 -1
- package/dist/actions/retrieve-organization-by-id.cjs.map +1 -1
- package/dist/actions/retrieve-organization-by-id.d.cts +1 -1
- package/dist/actions/retrieve-organization-by-id.d.mts +1 -1
- package/dist/actions/retrieve-organization-by-id.mjs +1 -1
- package/dist/actions/retrieve-organization-by-id.mjs.map +1 -1
- package/dist/actions/retrieve-organization-invitations.cjs +3 -3
- package/dist/actions/retrieve-organization-invitations.cjs.map +1 -1
- package/dist/actions/retrieve-organization-invitations.d.cts +3 -3
- package/dist/actions/retrieve-organization-invitations.d.mts +3 -3
- package/dist/actions/retrieve-organization-invitations.mjs +3 -3
- package/dist/actions/retrieve-organization-invitations.mjs.map +1 -1
- package/dist/actions/retrieve-organization-member-info.cjs +2 -2
- package/dist/actions/retrieve-organization-member-info.cjs.map +1 -1
- package/dist/actions/retrieve-organization-member-info.d.cts +2 -2
- package/dist/actions/retrieve-organization-member-info.d.mts +2 -2
- package/dist/actions/retrieve-organization-member-info.mjs +2 -2
- package/dist/actions/retrieve-organization-member-info.mjs.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.cjs +1 -1
- package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.d.cts +1 -1
- package/dist/actions/retrieve-project-endpoint-details.d.mts +1 -1
- package/dist/actions/retrieve-project-endpoint-details.mjs +1 -1
- package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -1
- package/dist/actions/retrieve-project-operations.cjs +3 -3
- package/dist/actions/retrieve-project-operations.cjs.map +1 -1
- package/dist/actions/retrieve-project-operations.d.cts +3 -3
- package/dist/actions/retrieve-project-operations.d.mts +3 -3
- package/dist/actions/retrieve-project-operations.mjs +3 -3
- package/dist/actions/retrieve-project-operations.mjs.map +1 -1
- package/dist/actions/retrieve-projects-list.cjs +13 -13
- package/dist/actions/retrieve-projects-list.cjs.map +1 -1
- package/dist/actions/retrieve-projects-list.d.cts +13 -13
- package/dist/actions/retrieve-projects-list.d.mts +13 -13
- package/dist/actions/retrieve-projects-list.mjs +13 -13
- package/dist/actions/retrieve-projects-list.mjs.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.cjs +1 -1
- package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.d.cts +1 -1
- package/dist/actions/reveal-role-password-in-branch.d.mts +1 -1
- package/dist/actions/reveal-role-password-in-branch.mjs +1 -1
- package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -1
- package/dist/actions/send-auth-test-email.cjs +1 -1
- package/dist/actions/send-auth-test-email.cjs.map +1 -1
- package/dist/actions/send-auth-test-email.d.cts +1 -1
- package/dist/actions/send-auth-test-email.d.mts +1 -1
- package/dist/actions/send-auth-test-email.mjs +1 -1
- package/dist/actions/send-auth-test-email.mjs.map +1 -1
- package/dist/actions/send-organization-invitations.cjs +3 -3
- package/dist/actions/send-organization-invitations.cjs.map +1 -1
- package/dist/actions/send-organization-invitations.d.cts +4 -3
- package/dist/actions/send-organization-invitations.d.mts +4 -3
- package/dist/actions/send-organization-invitations.mjs +3 -3
- package/dist/actions/send-organization-invitations.mjs.map +1 -1
- package/dist/actions/set-branch-as-default.cjs +3 -3
- package/dist/actions/set-branch-as-default.cjs.map +1 -1
- package/dist/actions/set-branch-as-default.d.cts +3 -3
- package/dist/actions/set-branch-as-default.d.mts +3 -3
- package/dist/actions/set-branch-as-default.mjs +3 -3
- package/dist/actions/set-branch-as-default.mjs.map +1 -1
- package/dist/actions/start-branch-anonymization.cjs +2 -2
- package/dist/actions/start-branch-anonymization.cjs.map +1 -1
- package/dist/actions/start-branch-anonymization.d.cts +2 -2
- package/dist/actions/start-branch-anonymization.d.mts +2 -2
- package/dist/actions/start-branch-anonymization.mjs +2 -2
- package/dist/actions/start-branch-anonymization.mjs.map +1 -1
- package/dist/actions/start-endpoint-for-project.cjs +1 -1
- package/dist/actions/start-endpoint-for-project.cjs.map +1 -1
- package/dist/actions/start-endpoint-for-project.d.cts +1 -1
- package/dist/actions/start-endpoint-for-project.d.mts +1 -1
- package/dist/actions/start-endpoint-for-project.mjs +1 -1
- package/dist/actions/start-endpoint-for-project.mjs.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.cjs +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.d.cts +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.d.mts +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.mjs +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.cjs +1 -1
- package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.cts +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.mts +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.mjs +1 -1
- package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.cjs +2 -2
- package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.d.cts +2 -2
- package/dist/actions/transfer-user-projects-to-organization.d.mts +2 -2
- package/dist/actions/transfer-user-projects-to-organization.mjs +2 -2
- package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -1
- package/dist/actions/update-auth-allow-localhost.cjs +1 -1
- package/dist/actions/update-auth-allow-localhost.cjs.map +1 -1
- package/dist/actions/update-auth-allow-localhost.d.cts +1 -1
- package/dist/actions/update-auth-allow-localhost.d.mts +1 -1
- package/dist/actions/update-auth-allow-localhost.mjs +1 -1
- package/dist/actions/update-auth-allow-localhost.mjs.map +1 -1
- package/dist/actions/update-auth-email-provider.cjs +1 -1
- package/dist/actions/update-auth-email-provider.cjs.map +1 -1
- package/dist/actions/update-auth-email-provider.d.cts +1 -1
- package/dist/actions/update-auth-email-provider.d.mts +1 -1
- package/dist/actions/update-auth-email-provider.mjs +1 -1
- package/dist/actions/update-auth-email-provider.mjs.map +1 -1
- package/dist/actions/update-branches-data-api.cjs +1 -1
- package/dist/actions/update-branches-data-api.cjs.map +1 -1
- package/dist/actions/update-branches-data-api.d.cts +1 -1
- package/dist/actions/update-branches-data-api.d.cts.map +1 -1
- package/dist/actions/update-branches-data-api.d.mts +1 -1
- package/dist/actions/update-branches-data-api.d.mts.map +1 -1
- package/dist/actions/update-branches-data-api.mjs +1 -1
- package/dist/actions/update-branches-data-api.mjs.map +1 -1
- package/dist/actions/update-branches-masking-rules.cjs +3 -3
- package/dist/actions/update-branches-masking-rules.cjs.map +1 -1
- package/dist/actions/update-branches-masking-rules.d.cts +4 -3
- package/dist/actions/update-branches-masking-rules.d.mts +4 -3
- package/dist/actions/update-branches-masking-rules.mjs +3 -3
- package/dist/actions/update-branches-masking-rules.mjs.map +1 -1
- package/dist/actions/update-organization-member-role.cjs +1 -1
- package/dist/actions/update-organization-member-role.cjs.map +1 -1
- package/dist/actions/update-organization-member-role.d.cts +1 -1
- package/dist/actions/update-organization-member-role.d.mts +1 -1
- package/dist/actions/update-organization-member-role.mjs +1 -1
- package/dist/actions/update-organization-member-role.mjs.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.cjs +6 -6
- package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.d.cts +8 -8
- package/dist/actions/update-project-compute-endpoint-settings.d.mts +8 -8
- package/dist/actions/update-project-compute-endpoint-settings.mjs +6 -6
- package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -1
- package/dist/actions/update-project-settings-by-id.cjs +12 -12
- package/dist/actions/update-project-settings-by-id.cjs.map +1 -1
- package/dist/actions/update-project-settings-by-id.d.cts +14 -14
- package/dist/actions/update-project-settings-by-id.d.mts +14 -14
- package/dist/actions/update-project-settings-by-id.mjs +12 -12
- package/dist/actions/update-project-settings-by-id.mjs.map +1 -1
- package/dist/actions/update-projects-snapshots.cjs +2 -2
- package/dist/actions/update-projects-snapshots.cjs.map +1 -1
- package/dist/actions/update-projects-snapshots.d.cts +2 -2
- package/dist/actions/update-projects-snapshots.d.mts +2 -2
- package/dist/actions/update-projects-snapshots.mjs +2 -2
- package/dist/actions/update-projects-snapshots.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ const NeonSetBranchAsDefault_EndpointSchema = z.object({
|
|
|
19
19
|
compute_type: z.string().describe("Compute instance type").nullable().optional(),
|
|
20
20
|
autoscaling_limit_max_cu: z.number().describe("The maximum number of Compute Units").nullable().optional(),
|
|
21
21
|
autoscaling_limit_min_cu: z.number().describe("The minimum number of Compute Units (minimum value is 0.25)").nullable().optional()
|
|
22
|
-
}).describe("Compute endpoint associated with a branch");
|
|
22
|
+
}).passthrough().describe("Compute endpoint associated with a branch");
|
|
23
23
|
const NeonSetBranchAsDefault_BranchSchema = z.object({
|
|
24
24
|
id: z.string().describe("Branch identifier with br- prefix").nullable(),
|
|
25
25
|
name: z.string().describe("Branch name").nullable(),
|
|
@@ -43,13 +43,13 @@ const NeonSetBranchAsDefault_BranchSchema = z.object({
|
|
|
43
43
|
active_time_seconds: z.number().int().describe("Total active time duration in seconds").nullable().optional(),
|
|
44
44
|
data_transfer_bytes: z.number().int().describe("Total data transferred in bytes").nullable().optional(),
|
|
45
45
|
compute_time_seconds: z.number().int().describe("Total compute time duration in seconds").nullable().optional()
|
|
46
|
-
}).describe("Branch object representing a Neon database branch");
|
|
46
|
+
}).passthrough().describe("Branch object representing a Neon database branch");
|
|
47
47
|
const neonSetBranchAsDefault = action("NEON_SET_BRANCH_AS_DEFAULT", {
|
|
48
48
|
slug: "neon-set-branch-as-default",
|
|
49
49
|
name: "Set branch as default",
|
|
50
50
|
description: "Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.",
|
|
51
51
|
input: NeonSetBranchAsDefaultInput,
|
|
52
|
-
output: z.object({ branch: NeonSetBranchAsDefault_BranchSchema.nullable() }).describe("Response schema for `SetBranchAsDefault`")
|
|
52
|
+
output: z.object({ branch: NeonSetBranchAsDefault_BranchSchema.nullable() }).passthrough().describe("Response schema for `SetBranchAsDefault`")
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
55
55
|
export { neonSetBranchAsDefault };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-branch-as-default.mjs","names":[],"sources":["../../src/actions/set-branch-as-default.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSetBranchAsDefaultInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `SetBranchAsDefault`\");\nconst NeonSetBranchAsDefault_EndpointSchema = z.object({\n id: z.string().describe(\"Endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The proxy host for the endpoint\").nullable(),\n name: z.string().describe(\"User-specified endpoint name\").nullable(),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write', 'read_only')\").nullable(),\n status: z.string().describe(\"Current operational state of the endpoint\").nullable(),\n branch_id: z.string().describe(\"Associated branch identifier\").nullable(),\n region_id: z.string().describe(\"Deployment region identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n compute_type: z.string().describe(\"Compute instance type\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of Compute Units\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units (minimum value is 0.25)\").nullable().optional(),\n}).describe(\"Compute endpoint associated with a branch\");\nconst NeonSetBranchAsDefault_BranchSchema = z.object({\n id: z.string().describe(\"Branch identifier with br- prefix\").nullable(),\n name: z.string().describe(\"Branch name\").nullable(),\n \"default\": z.boolean().describe(\"Indicates if this is the project's default branch (will be true for the response)\").nullable(),\n endpoints: z.array(NeonSetBranchAsDefault_EndpointSchema).describe(\"Compute endpoints associated with the branch\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier for child branches\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable(),\n parent_lsn: z.string().describe(\"Log Sequence Number indicating parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the branch was last updated\").nullable(),\n archived_at: z.string().describe(\"Timestamp when the branch was archived, if applicable\").nullable().optional(),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data')\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Total CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Current logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., 'ready')\").nullable(),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"How the branch was created (e.g., 'console')\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last state change\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total data written in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total active time duration in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total data transferred in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute time duration in seconds\").nullable().optional(),\n}).describe(\"Branch object representing a Neon database branch\");\nexport const NeonSetBranchAsDefaultOutput = z.object({\n branch: NeonSetBranchAsDefault_BranchSchema.nullable(),\n}).describe(\"Response schema for `SetBranchAsDefault`\");\n\nexport const neonSetBranchAsDefault = action(\"NEON_SET_BRANCH_AS_DEFAULT\", {\n slug: \"neon-set-branch-as-default\",\n name: \"Set branch as default\",\n description: \"Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.\",\n input: NeonSetBranchAsDefaultInput,\n output: NeonSetBranchAsDefaultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"set-branch-as-default.mjs","names":[],"sources":["../../src/actions/set-branch-as-default.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSetBranchAsDefaultInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `SetBranchAsDefault`\");\nconst NeonSetBranchAsDefault_EndpointSchema = z.object({\n id: z.string().describe(\"Endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The proxy host for the endpoint\").nullable(),\n name: z.string().describe(\"User-specified endpoint name\").nullable(),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write', 'read_only')\").nullable(),\n status: z.string().describe(\"Current operational state of the endpoint\").nullable(),\n branch_id: z.string().describe(\"Associated branch identifier\").nullable(),\n region_id: z.string().describe(\"Deployment region identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n compute_type: z.string().describe(\"Compute instance type\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of Compute Units\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units (minimum value is 0.25)\").nullable().optional(),\n}).passthrough().describe(\"Compute endpoint associated with a branch\");\nconst NeonSetBranchAsDefault_BranchSchema = z.object({\n id: z.string().describe(\"Branch identifier with br- prefix\").nullable(),\n name: z.string().describe(\"Branch name\").nullable(),\n \"default\": z.boolean().describe(\"Indicates if this is the project's default branch (will be true for the response)\").nullable(),\n endpoints: z.array(NeonSetBranchAsDefault_EndpointSchema).describe(\"Compute endpoints associated with the branch\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier for child branches\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable(),\n parent_lsn: z.string().describe(\"Log Sequence Number indicating parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the branch was last updated\").nullable(),\n archived_at: z.string().describe(\"Timestamp when the branch was archived, if applicable\").nullable().optional(),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data')\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Total CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Current logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., 'ready')\").nullable(),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"How the branch was created (e.g., 'console')\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last state change\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total data written in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total active time duration in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total data transferred in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute time duration in seconds\").nullable().optional(),\n}).passthrough().describe(\"Branch object representing a Neon database branch\");\nexport const NeonSetBranchAsDefaultOutput = z.object({\n branch: NeonSetBranchAsDefault_BranchSchema.nullable(),\n}).passthrough().describe(\"Response schema for `SetBranchAsDefault`\");\n\nexport const neonSetBranchAsDefault = action(\"NEON_SET_BRANCH_AS_DEFAULT\", {\n slug: \"neon-set-branch-as-default\",\n name: \"Set branch as default\",\n description: \"Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.\",\n input: NeonSetBranchAsDefaultInput,\n output: NeonSetBranchAsDefaultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,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,7 +11,7 @@ const NeonStartBranchAnonymization_LastRunSchema = zod.z.object({
|
|
|
11
11
|
triggeredBy: zod.z.string().describe("UUID of the user who triggered the latest anonymization attempt.").nullable().optional(),
|
|
12
12
|
maskedColumns: zod.z.number().int().describe("Number of columns that had masking rules applied during the attempt.").nullable().optional(),
|
|
13
13
|
triggeredByUsername: zod.z.string().describe("Username of the user who triggered the latest anonymization attempt.").nullable().optional()
|
|
14
|
-
}).describe("Metadata about the most recent anonymization attempt for the branch.");
|
|
14
|
+
}).passthrough().describe("Metadata about the most recent anonymization attempt for the branch.");
|
|
15
15
|
const NeonStartBranchAnonymizationOutput = zod.z.object({
|
|
16
16
|
state: zod.z.string().describe("The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error").nullable(),
|
|
17
17
|
lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const NeonStartBranchAnonymizationOutput = zod.z.object({
|
|
|
21
21
|
projectId: zod.z.string().describe("The ID of the project").nullable(),
|
|
22
22
|
updatedAt: zod.z.string().describe("A timestamp indicating when the anonymized branch status was last updated").nullable(),
|
|
23
23
|
statusMessage: zod.z.string().describe("A descriptive message about the current status or any errors").nullable().optional()
|
|
24
|
-
}).describe("Response schema for `StartBranchAnonymization`");
|
|
24
|
+
}).passthrough().describe("Response schema for `StartBranchAnonymization`");
|
|
25
25
|
const neonStartBranchAnonymization = require_action.action("NEON_START_BRANCH_ANONYMIZATION", {
|
|
26
26
|
slug: "neon-start-branch-anonymization",
|
|
27
27
|
name: "Start branch anonymization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-branch-anonymization.cjs","names":["z","action"],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\").nullable(),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\").nullable(),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\").nullable(),\n projectId: z.string().describe(\"The ID of the project\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\").nullable(),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"start-branch-anonymization.cjs","names":["z","action"],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\").nullable(),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\").nullable(),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\").nullable(),\n projectId: z.string().describe(\"The ID of the project\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\").nullable(),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CA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CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,14 +13,14 @@ declare const NeonStartBranchAnonymizationOutput: z.ZodObject<{
|
|
|
13
13
|
triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
maskedColumns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
triggeredByUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
branchId: z.ZodNullable<z.ZodString>;
|
|
18
18
|
failedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
20
20
|
projectId: z.ZodNullable<z.ZodString>;
|
|
21
21
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
22
22
|
statusMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const neonStartBranchAnonymization: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
branch_id: string;
|
|
26
26
|
project_id: string;
|
|
@@ -13,14 +13,14 @@ declare const NeonStartBranchAnonymizationOutput: z.ZodObject<{
|
|
|
13
13
|
triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
maskedColumns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
triggeredByUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
branchId: z.ZodNullable<z.ZodString>;
|
|
18
18
|
failedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
20
20
|
projectId: z.ZodNullable<z.ZodString>;
|
|
21
21
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
22
22
|
statusMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const neonStartBranchAnonymization: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
branch_id: string;
|
|
26
26
|
project_id: string;
|
|
@@ -11,7 +11,7 @@ const NeonStartBranchAnonymization_LastRunSchema = z.object({
|
|
|
11
11
|
triggeredBy: z.string().describe("UUID of the user who triggered the latest anonymization attempt.").nullable().optional(),
|
|
12
12
|
maskedColumns: z.number().int().describe("Number of columns that had masking rules applied during the attempt.").nullable().optional(),
|
|
13
13
|
triggeredByUsername: z.string().describe("Username of the user who triggered the latest anonymization attempt.").nullable().optional()
|
|
14
|
-
}).describe("Metadata about the most recent anonymization attempt for the branch.");
|
|
14
|
+
}).passthrough().describe("Metadata about the most recent anonymization attempt for the branch.");
|
|
15
15
|
const neonStartBranchAnonymization = action("NEON_START_BRANCH_ANONYMIZATION", {
|
|
16
16
|
slug: "neon-start-branch-anonymization",
|
|
17
17
|
name: "Start branch anonymization",
|
|
@@ -26,7 +26,7 @@ const neonStartBranchAnonymization = action("NEON_START_BRANCH_ANONYMIZATION", {
|
|
|
26
26
|
projectId: z.string().describe("The ID of the project").nullable(),
|
|
27
27
|
updatedAt: z.string().describe("A timestamp indicating when the anonymized branch status was last updated").nullable(),
|
|
28
28
|
statusMessage: z.string().describe("A descriptive message about the current status or any errors").nullable().optional()
|
|
29
|
-
}).describe("Response schema for `StartBranchAnonymization`")
|
|
29
|
+
}).passthrough().describe("Response schema for `StartBranchAnonymization`")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { neonStartBranchAnonymization };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-branch-anonymization.mjs","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\").nullable(),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\").nullable(),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\").nullable(),\n projectId: z.string().describe(\"The ID of the project\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\").nullable(),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"start-branch-anonymization.mjs","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\").nullable(),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\").nullable(),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\").nullable(),\n projectId: z.string().describe(\"The ID of the project\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\").nullable(),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aA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
|
endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),
|
|
47
47
|
operations: zod.z.array(NeonStartEndpointForProject_OperationInfoSchema).describe("List of operations triggered by starting the endpoint. Empty if endpoint was already active.").nullable().optional()
|
|
48
48
|
}).passthrough().describe("Data container for start endpoint response.");
|
|
49
|
-
const NeonStartEndpointForProjectOutput = zod.z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).describe("Response schema for `StartEndpointForProject`");
|
|
49
|
+
const NeonStartEndpointForProjectOutput = zod.z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).passthrough().describe("Response schema for `StartEndpointForProject`");
|
|
50
50
|
const neonStartEndpointForProject = require_action.action("NEON_START_ENDPOINT_FOR_PROJECT", {
|
|
51
51
|
slug: "neon-start-endpoint-for-project",
|
|
52
52
|
name: "Start endpoint for project",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-endpoint-for-project.cjs","names":["z","action"],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\").nullable(),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\").nullable(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation identifier.\").nullable(),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC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Y,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"start-endpoint-for-project.cjs","names":["z","action"],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\").nullable(),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\").nullable(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation identifier.\").nullable(),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAA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
48
48
|
}, z.core.$loose>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
project_id: string;
|
|
52
52
|
endpoint_id: string;
|
|
@@ -46,7 +46,7 @@ declare const NeonStartEndpointForProjectOutput: z.ZodObject<{
|
|
|
46
46
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
}, z.core.$loose>>>>;
|
|
48
48
|
}, z.core.$loose>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
project_id: string;
|
|
52
52
|
endpoint_id: string;
|
|
@@ -51,7 +51,7 @@ const neonStartEndpointForProject = action("NEON_START_ENDPOINT_FOR_PROJECT", {
|
|
|
51
51
|
name: "Start endpoint for project",
|
|
52
52
|
description: "Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.",
|
|
53
53
|
input: NeonStartEndpointForProjectInput,
|
|
54
|
-
output: z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).describe("Response schema for `StartEndpointForProject`")
|
|
54
|
+
output: z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).passthrough().describe("Response schema for `StartEndpointForProject`")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { neonStartEndpointForProject };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-endpoint-for-project.mjs","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\").nullable(),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\").nullable(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation identifier.\").nullable(),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qDAAqD,EAAE,OAAO,EAClE,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC/I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SA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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,8DAA8D,EAAE,OAAO;CAC3E,UAAU,+CAA+C,SAAS;CAClE,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"start-endpoint-for-project.mjs","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\").nullable(),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\").nullable(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation identifier.\").nullable(),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qDAAqD,EAAE,OAAO,EAClE,aAAa,EAA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2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,8DAA8D,EAAE,OAAO;CAC3E,UAAU,+CAA+C,SAAS;CAClE,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -28,7 +28,7 @@ const NeonSuspendProjectEndpointById_EndpointSchema = zod.z.object({
|
|
|
28
28
|
suspend_timeout_seconds: zod.z.number().int().describe("Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)").nullable().optional(),
|
|
29
29
|
autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling (minimum 0.25)").nullable().optional(),
|
|
30
30
|
autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling (minimum 0.25)").nullable().optional()
|
|
31
|
-
}).describe("Compute endpoint details");
|
|
31
|
+
}).passthrough().describe("Compute endpoint details");
|
|
32
32
|
const NeonSuspendProjectEndpointById_OperationSchema = zod.z.object({
|
|
33
33
|
id: zod.z.string().describe("Unique operation identifier (UUID format)").nullable(),
|
|
34
34
|
error: zod.z.string().describe("Error message if the operation failed").nullable().optional(),
|
|
@@ -42,11 +42,11 @@ const NeonSuspendProjectEndpointById_OperationSchema = zod.z.object({
|
|
|
42
42
|
endpoint_id: zod.z.string().describe("The compute endpoint identifier").nullable().optional(),
|
|
43
43
|
failures_count: zod.z.number().int().describe("Number of times the operation failed").nullable(),
|
|
44
44
|
total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds").nullable()
|
|
45
|
-
}).describe("Operation details for the suspend request");
|
|
45
|
+
}).passthrough().describe("Operation details for the suspend request");
|
|
46
46
|
const NeonSuspendProjectEndpointByIdOutput = zod.z.object({
|
|
47
47
|
endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),
|
|
48
48
|
operations: zod.z.array(NeonSuspendProjectEndpointById_OperationSchema).describe("Array of operations initiated by the suspend request")
|
|
49
|
-
}).describe("Response schema for `SuspendProjectEndpointById`");
|
|
49
|
+
}).passthrough().describe("Response schema for `SuspendProjectEndpointById`");
|
|
50
50
|
const neonSuspendProjectEndpointById = require_action.action("NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID", {
|
|
51
51
|
slug: "neon-suspend-project-endpoint-by-id",
|
|
52
52
|
name: "Suspend project endpoint by id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-project-endpoint-by-id.cjs","names":["z","action"],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSuspendProjectEndpointByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n}).describe(\"Request schema for `SuspendProjectEndpointById`\");\nconst NeonSuspendProjectEndpointById_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The endpoint hostname for database connections\").nullable(),\n type: z.string().describe(\"The endpoint type: read_write or read_only\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint configuration settings including pg_settings and pgbouncer_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the endpoint\").nullable(),\n region_id: z.string().describe(\"The AWS region identifier where the endpoint is deployed\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp when the endpoint was last active (ISO 8601 format)\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooling mode (e.g., transaction)\").nullable().optional(),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-neonvm)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the endpoint (e.g., init, idle, active)\").nullable(),\n pending_state: z.string().describe(\"The pending state if the endpoint is transitioning\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n creation_source: z.string().describe(\"Source of the endpoint creation (e.g., console)\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n}).describe(\"Compute endpoint details\");\nconst NeonSuspendProjectEndpointById_OperationSchema = z.object({\n id: z.string().describe(\"Unique operation identifier (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The operation action type (e.g., suspend_compute)\").nullable(),\n status: z.string().describe(\"Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation was last retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation status was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).describe(\"Operation details for the suspend request\");\nexport const NeonSuspendProjectEndpointByIdOutput = z.object({\n endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),\n operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe(\"Array of operations initiated by the suspend request\"),\n}).describe(\"Response schema for `SuspendProjectEndpointById`\");\n\nexport const neonSuspendProjectEndpointById = action(\"NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID\", {\n slug: \"neon-suspend-project-endpoint-by-id\",\n name: \"Suspend project endpoint by id\",\n description: \"Suspends a specific endpoint within a project in the Neon B2B SaaS integration platform. This operation temporarily disables the endpoint, preventing it from processing further requests until it is resumed. Use this endpoint when you need to conserve resources, perform maintenance, or temporarily halt operations for a particular integration point. The suspension is reversible, allowing you to resume the endpoint's functionality when needed. This tool is particularly useful for managing resource utilization and costs in your Neon project by all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"],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSuspendProjectEndpointByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n}).describe(\"Request schema for `SuspendProjectEndpointById`\");\nconst NeonSuspendProjectEndpointById_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The endpoint hostname for database connections\").nullable(),\n type: z.string().describe(\"The endpoint type: read_write or read_only\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint configuration settings including pg_settings and pgbouncer_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the endpoint\").nullable(),\n region_id: z.string().describe(\"The AWS region identifier where the endpoint is deployed\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp when the endpoint was last active (ISO 8601 format)\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooling mode (e.g., transaction)\").nullable().optional(),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-neonvm)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the endpoint (e.g., init, idle, active)\").nullable(),\n pending_state: z.string().describe(\"The pending state if the endpoint is transitioning\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n creation_source: z.string().describe(\"Source of the endpoint creation (e.g., console)\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n}).passthrough().describe(\"Compute endpoint details\");\nconst NeonSuspendProjectEndpointById_OperationSchema = z.object({\n id: z.string().describe(\"Unique operation identifier (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The operation action type (e.g., suspend_compute)\").nullable(),\n status: z.string().describe(\"Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation was last retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation status was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation details for the suspend request\");\nexport const NeonSuspendProjectEndpointByIdOutput = z.object({\n endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),\n operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe(\"Array of operations initiated by the suspend request\"),\n}).passthrough().describe(\"Response schema for `SuspendProjectEndpointById`\");\n\nexport const neonSuspendProjectEndpointById = action(\"NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID\", {\n slug: \"neon-suspend-project-endpoint-by-id\",\n name: \"Suspend project endpoint by id\",\n description: \"Suspends a specific endpoint within a project in the Neon B2B SaaS integration platform. This operation temporarily disables the endpoint, preventing it from processing further requests until it is resumed. Use this endpoint when you need to conserve resources, perform maintenance, or temporarily halt operations for a particular integration point. The suspension is reversible, allowing you to resume the endpoint's functionality when needed. This tool is particularly useful for managing resource utilization and costs in your Neon project by allowing fine-grained control over individual endpoints.\",\n input: NeonSuspendProjectEndpointByIdInput,\n output: NeonSuspendProjectEndpointByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;AACpD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAYA,IA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,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAU,8CAA8C,SAAS;CACjE,YAAYA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,sDAAsD;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -29,7 +29,7 @@ declare const NeonSuspendProjectEndpointByIdOutput: z.ZodObject<{
|
|
|
29
29
|
suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
operations: z.ZodArray<z.ZodObject<{
|
|
34
34
|
id: z.ZodNullable<z.ZodString>;
|
|
35
35
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -43,8 +43,8 @@ declare const NeonSuspendProjectEndpointByIdOutput: z.ZodObject<{
|
|
|
43
43
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
failures_count: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
total_duration_ms: z.ZodNullable<z.ZodNumber>;
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const neonSuspendProjectEndpointById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
project_id: string;
|
|
50
50
|
endpoint_id: string;
|
|
@@ -29,7 +29,7 @@ declare const NeonSuspendProjectEndpointByIdOutput: z.ZodObject<{
|
|
|
29
29
|
suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
operations: z.ZodArray<z.ZodObject<{
|
|
34
34
|
id: z.ZodNullable<z.ZodString>;
|
|
35
35
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -43,8 +43,8 @@ declare const NeonSuspendProjectEndpointByIdOutput: z.ZodObject<{
|
|
|
43
43
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
failures_count: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
total_duration_ms: z.ZodNullable<z.ZodNumber>;
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const neonSuspendProjectEndpointById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
project_id: string;
|
|
50
50
|
endpoint_id: string;
|
|
@@ -28,7 +28,7 @@ const NeonSuspendProjectEndpointById_EndpointSchema = z.object({
|
|
|
28
28
|
suspend_timeout_seconds: z.number().int().describe("Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)").nullable().optional(),
|
|
29
29
|
autoscaling_limit_max_cu: z.number().describe("Maximum compute units for autoscaling (minimum 0.25)").nullable().optional(),
|
|
30
30
|
autoscaling_limit_min_cu: z.number().describe("Minimum compute units for autoscaling (minimum 0.25)").nullable().optional()
|
|
31
|
-
}).describe("Compute endpoint details");
|
|
31
|
+
}).passthrough().describe("Compute endpoint details");
|
|
32
32
|
const NeonSuspendProjectEndpointById_OperationSchema = z.object({
|
|
33
33
|
id: z.string().describe("Unique operation identifier (UUID format)").nullable(),
|
|
34
34
|
error: z.string().describe("Error message if the operation failed").nullable().optional(),
|
|
@@ -42,7 +42,7 @@ const NeonSuspendProjectEndpointById_OperationSchema = z.object({
|
|
|
42
42
|
endpoint_id: z.string().describe("The compute endpoint identifier").nullable().optional(),
|
|
43
43
|
failures_count: z.number().int().describe("Number of times the operation failed").nullable(),
|
|
44
44
|
total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds").nullable()
|
|
45
|
-
}).describe("Operation details for the suspend request");
|
|
45
|
+
}).passthrough().describe("Operation details for the suspend request");
|
|
46
46
|
const neonSuspendProjectEndpointById = action("NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID", {
|
|
47
47
|
slug: "neon-suspend-project-endpoint-by-id",
|
|
48
48
|
name: "Suspend project endpoint by id",
|
|
@@ -51,7 +51,7 @@ const neonSuspendProjectEndpointById = action("NEON_SUSPEND_PROJECT_ENDPOINT_BY_
|
|
|
51
51
|
output: z.object({
|
|
52
52
|
endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),
|
|
53
53
|
operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe("Array of operations initiated by the suspend request")
|
|
54
|
-
}).describe("Response schema for `SuspendProjectEndpointById`")
|
|
54
|
+
}).passthrough().describe("Response schema for `SuspendProjectEndpointById`")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { neonSuspendProjectEndpointById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-project-endpoint-by-id.mjs","names":[],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSuspendProjectEndpointByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n}).describe(\"Request schema for `SuspendProjectEndpointById`\");\nconst NeonSuspendProjectEndpointById_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The endpoint hostname for database connections\").nullable(),\n type: z.string().describe(\"The endpoint type: read_write or read_only\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint configuration settings including pg_settings and pgbouncer_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the endpoint\").nullable(),\n region_id: z.string().describe(\"The AWS region identifier where the endpoint is deployed\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp when the endpoint was last active (ISO 8601 format)\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooling mode (e.g., transaction)\").nullable().optional(),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-neonvm)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the endpoint (e.g., init, idle, active)\").nullable(),\n pending_state: z.string().describe(\"The pending state if the endpoint is transitioning\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n creation_source: z.string().describe(\"Source of the endpoint creation (e.g., console)\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n}).describe(\"Compute endpoint details\");\nconst NeonSuspendProjectEndpointById_OperationSchema = z.object({\n id: z.string().describe(\"Unique operation identifier (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The operation action type (e.g., suspend_compute)\").nullable(),\n status: z.string().describe(\"Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation was last retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation status was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).describe(\"Operation details for the suspend request\");\nexport const NeonSuspendProjectEndpointByIdOutput = z.object({\n endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),\n operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe(\"Array of operations initiated by the suspend request\"),\n}).describe(\"Response schema for `SuspendProjectEndpointById`\");\n\nexport const neonSuspendProjectEndpointById = action(\"NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID\", {\n slug: \"neon-suspend-project-endpoint-by-id\",\n name: \"Suspend project endpoint by id\",\n description: \"Suspends a specific endpoint within a project in the Neon B2B SaaS integration platform. This operation temporarily disables the endpoint, preventing it from processing further requests until it is resumed. Use this endpoint when you need to conserve resources, perform maintenance, or temporarily halt operations for a particular integration point. The suspension is reversible, allowing you to resume the endpoint's functionality when needed. This tool is particularly useful for managing resource utilization and costs in your Neon project by allowing fine-grained control over individual endpoints.\",\n input: NeonSuspendProjectEndpointByIdInput,\n output: NeonSuspendProjectEndpointByIdOutput,\n});\n"],"mappings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SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5L,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,0BAA0B;
|
|
1
|
+
{"version":3,"file":"suspend-project-endpoint-by-id.mjs","names":[],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSuspendProjectEndpointByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n}).describe(\"Request schema for `SuspendProjectEndpointById`\");\nconst NeonSuspendProjectEndpointById_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The endpoint hostname for database connections\").nullable(),\n type: z.string().describe(\"The endpoint type: read_write or read_only\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint configuration settings including pg_settings and pgbouncer_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the endpoint\").nullable(),\n region_id: z.string().describe(\"The AWS region identifier where the endpoint is deployed\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp when the endpoint was last active (ISO 8601 format)\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooling mode (e.g., transaction)\").nullable().optional(),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-neonvm)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the endpoint (e.g., init, idle, active)\").nullable(),\n pending_state: z.string().describe(\"The pending state if the endpoint is transitioning\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n creation_source: z.string().describe(\"Source of the endpoint creation (e.g., console)\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n}).passthrough().describe(\"Compute endpoint details\");\nconst NeonSuspendProjectEndpointById_OperationSchema = z.object({\n id: z.string().describe(\"Unique operation identifier (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The operation action type (e.g., suspend_compute)\").nullable(),\n status: z.string().describe(\"Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation was last retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation status was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation details for the suspend request\");\nexport const NeonSuspendProjectEndpointByIdOutput = z.object({\n endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),\n operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe(\"Array of operations initiated by the suspend request\"),\n}).passthrough().describe(\"Response schema for `SuspendProjectEndpointById`\");\n\nexport const neonSuspendProjectEndpointById = action(\"NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID\", {\n slug: \"neon-suspend-project-endpoint-by-id\",\n name: \"Suspend project endpoint by id\",\n description: \"Suspends a specific endpoint within a project in the Neon B2B SaaS integration platform. This operation temporarily disables the endpoint, preventing it from processing further requests until it is resumed. Use this endpoint when you need to conserve resources, perform maintenance, or temporarily halt operations for a particular integration point. The suspension is reversible, allowing you to resume the endpoint's functionality when needed. This tool is particularly useful for managing resource utilization and costs in your Neon project by allowing fine-grained control over individual endpoints.\",\n input: NeonSuspendProjectEndpointByIdInput,\n output: NeonSuspendProjectEndpointByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,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,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,UAAU,8CAA8C,SAAS;EACjE,YAAY,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,sDAAsD;CACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const NeonTransferProjectsBetweenOrganizationsInput = zod.z.object({
|
|
|
6
6
|
source_org_id: zod.z.string().describe("The Neon organization ID that currently owns the projects (source organization). This is the organization from which projects will be transferred."),
|
|
7
7
|
destination_org_id: zod.z.string().describe("The destination organization identifier to which the projects will be transferred. Must be a valid organization ID.")
|
|
8
8
|
}).describe("Request schema for `TransferProjectsBetweenOrganizations`");
|
|
9
|
-
const NeonTransferProjectsBetweenOrganizationsOutput = zod.z.
|
|
9
|
+
const NeonTransferProjectsBetweenOrganizationsOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response schema for `TransferProjectsBetweenOrganizations`");
|
|
10
10
|
const neonTransferProjectsBetweenOrganizations = require_action.action("NEON_TRANSFER_PROJECTS_BETWEEN_ORGANIZATIONS", {
|
|
11
11
|
slug: "neon-transfer-projects-between-organizations",
|
|
12
12
|
name: "Transfer projects between organizations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-projects-between-organizations.cjs","names":["z","action"],"sources":["../../src/actions/transfer-projects-between-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonTransferProjectsBetweenOrganizationsInput = z.object({\n project_ids: z.array(z.string()).describe(\"The list of project IDs to transfer. Maximum of 400 project IDs per request. Each project ID must belong to the source organization and cannot have GitHub or Vercel integrations installed.\"),\n source_org_id: z.string().describe(\"The Neon organization ID that currently owns the projects (source organization). This is the organization from which projects will be transferred.\"),\n destination_org_id: z.string().describe(\"The destination organization identifier to which the projects will be transferred. Must be a valid organization ID.\"),\n}).describe(\"Request schema for `TransferProjectsBetweenOrganizations`\");\nexport const NeonTransferProjectsBetweenOrganizationsOutput = z.
|
|
1
|
+
{"version":3,"file":"transfer-projects-between-organizations.cjs","names":["z","action"],"sources":["../../src/actions/transfer-projects-between-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonTransferProjectsBetweenOrganizationsInput = z.object({\n project_ids: z.array(z.string()).describe(\"The list of project IDs to transfer. Maximum of 400 project IDs per request. Each project ID must belong to the source organization and cannot have GitHub or Vercel integrations installed.\"),\n source_org_id: z.string().describe(\"The Neon organization ID that currently owns the projects (source organization). This is the organization from which projects will be transferred.\"),\n destination_org_id: z.string().describe(\"The destination organization identifier to which the projects will be transferred. Must be a valid organization ID.\"),\n}).describe(\"Request schema for `TransferProjectsBetweenOrganizations`\");\nexport const NeonTransferProjectsBetweenOrganizationsOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for `TransferProjectsBetweenOrganizations`\");\n\nexport const neonTransferProjectsBetweenOrganizations = action(\"NEON_TRANSFER_PROJECTS_BETWEEN_ORGANIZATIONS\", {\n slug: \"neon-transfer-projects-between-organizations\",\n name: \"Transfer projects between organizations\",\n description: \"Transfers selected projects from one organization to another organization. Use this when you need to move projects between organizations, for example during organizational restructuring or mergers. Note that projects with GitHub or Vercel integrations cannot be transferred and will cause the request to fail.\",\n input: NeonTransferProjectsBetweenOrganizationsInput,\n output: NeonTransferProjectsBetweenOrganizationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8LAA8L;CACxO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CACvL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AAC/J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAErK,MAAa,2CAA2CC,eAAAA,OAAO,gDAAgD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const NeonTransferProjectsBetweenOrganizationsInput: z.ZodObject<{
|
|
|
6
6
|
source_org_id: z.ZodString;
|
|
7
7
|
destination_org_id: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
declare const NeonTransferProjectsBetweenOrganizationsOutput: z.
|
|
9
|
+
declare const NeonTransferProjectsBetweenOrganizationsOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
10
|
declare const neonTransferProjectsBetweenOrganizations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
project_ids: string[];
|
|
12
12
|
source_org_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-projects-between-organizations.d.cts","names":[],"sources":["../../src/actions/transfer-projects-between-organizations.ts"],"mappings":";;;cAIa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;cAK7C,8CAAA,EAA8C,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"transfer-projects-between-organizations.d.cts","names":[],"sources":["../../src/actions/transfer-projects-between-organizations.ts"],"mappings":";;;cAIa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;cAK7C,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE9C,wCAAA,gCAAwC,wBAAA"}
|
|
@@ -6,7 +6,7 @@ declare const NeonTransferProjectsBetweenOrganizationsInput: z.ZodObject<{
|
|
|
6
6
|
source_org_id: z.ZodString;
|
|
7
7
|
destination_org_id: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
declare const NeonTransferProjectsBetweenOrganizationsOutput: z.
|
|
9
|
+
declare const NeonTransferProjectsBetweenOrganizationsOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
10
|
declare const neonTransferProjectsBetweenOrganizations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
project_ids: string[];
|
|
12
12
|
source_org_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-projects-between-organizations.d.mts","names":[],"sources":["../../src/actions/transfer-projects-between-organizations.ts"],"mappings":";;;cAIa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;cAK7C,8CAAA,EAA8C,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"transfer-projects-between-organizations.d.mts","names":[],"sources":["../../src/actions/transfer-projects-between-organizations.ts"],"mappings":";;;cAIa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;cAK7C,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE9C,wCAAA,gCAAwC,wBAAA"}
|