@keystrokehq/neon 0.1.2 → 0.1.4
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/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user-information.mjs","names":[],"sources":["../../src/actions/get-current-user-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetCurrentUserInformationInput = z.object({}).describe(\"Request schema for `GetCurrentUserInformation`\\n\\nThis endpoint requires no parameters. User identification is handled\\nautomatically via the authentication token.\");\nconst NeonGetCurrentUserInformation_AuthAccountSchema = z.object({\n name: z.string().describe(\"Display name from this auth provider\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the auth provider\").nullable().optional(),\n image: z.string().describe(\"URL to the user's profile image from this provider\").nullable().optional(),\n login: z.string().describe(\"Login/username for this auth provider\").nullable().optional(),\n provider: z.string().describe(\"Authentication provider name (e.g., 'google', 'keycloak', 'github')\").nullable().optional(),\n}).passthrough().describe(\"Represents an authentication provider account linked to the user.\");\nconst NeonGetCurrentUserInformation_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user\").nullable().optional(),\n name: z.string().describe(\"User's first name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan (e.g., 'free_v2', 'pro', 'scale')\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the user\").nullable().optional(),\n image: z.string().describe(\"URL to the user's profile image\").nullable().optional(),\n login: z.string().describe(\"Username/login identifier\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n auth_accounts: z.array(NeonGetCurrentUserInformation_AuthAccountSchema).describe(\"List of linked authentication provider accounts\").nullable().optional(),\n branches_limit: z.number().int().describe(\"Maximum number of branches allowed per project\").nullable().optional(),\n projects_limit: z.number().int().describe(\"Maximum number of projects allowed for this user\").nullable().optional(),\n active_seconds_limit: z.number().int().describe(\"Maximum compute active seconds per month\").nullable().optional(),\n max_autoscaling_limit: z.number().describe(\"Maximum autoscaling compute units (CU) allowed\").nullable().optional(),\n}).passthrough().describe(\"User profile information returned by the Neon API.\");\nexport const NeonGetCurrentUserInformationOutput = z.object({\n data: NeonGetCurrentUserInformation_UserInfoSchema.nullable().optional(),\n}).describe(\"Response schema for `GetCurrentUserInformation`\\n\\nContains the authenticated user's profile information including\\naccount details, subscription plan, and resource limits.\");\n\nexport const neonGetCurrentUserInformation = action(\"NEON_GET_CURRENT_USER_INFORMATION\", {\n slug: \"neon-get-current-user-information\",\n name: \"Get current user information\",\n description: \"Retrieves the profile information for the currently authenticated user. This endpoint should be used when you need to access details about the user making the API request, such as their username, email, or other account-related information. It's particularly useful for personalizing user experiences or retrieving user-specific settings within the Neon platform. The endpoint doesn't accept any parameters, as it relies solely on the authentication token to identify the user. Note that this endpoint will only return information for the authenticated user and cannot be used to retrieve profiles of other users.\",\n input: NeonGetCurrentUserInformationInput,\n output: NeonGetCurrentUserInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qKAAqK;AAC7O,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAA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H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,6CAA6C,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-current-user-information.mjs","names":[],"sources":["../../src/actions/get-current-user-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetCurrentUserInformationInput = z.object({}).describe(\"Request schema for `GetCurrentUserInformation`\\n\\nThis endpoint requires no parameters. User identification is handled\\nautomatically via the authentication token.\");\nconst NeonGetCurrentUserInformation_AuthAccountSchema = z.object({\n name: z.string().describe(\"Display name from this auth provider\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the auth provider\").nullable().optional(),\n image: z.string().describe(\"URL to the user's profile image from this provider\").nullable().optional(),\n login: z.string().describe(\"Login/username for this auth provider\").nullable().optional(),\n provider: z.string().describe(\"Authentication provider name (e.g., 'google', 'keycloak', 'github')\").nullable().optional(),\n}).passthrough().describe(\"Represents an authentication provider account linked to the user.\");\nconst NeonGetCurrentUserInformation_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user\").nullable().optional(),\n name: z.string().describe(\"User's first name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan (e.g., 'free_v2', 'pro', 'scale')\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the user\").nullable().optional(),\n image: z.string().describe(\"URL to the user's profile image\").nullable().optional(),\n login: z.string().describe(\"Username/login identifier\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n auth_accounts: z.array(NeonGetCurrentUserInformation_AuthAccountSchema).describe(\"List of linked authentication provider accounts\").nullable().optional(),\n branches_limit: z.number().int().describe(\"Maximum number of branches allowed per project\").nullable().optional(),\n projects_limit: z.number().int().describe(\"Maximum number of projects allowed for this user\").nullable().optional(),\n active_seconds_limit: z.number().int().describe(\"Maximum compute active seconds per month\").nullable().optional(),\n max_autoscaling_limit: z.number().describe(\"Maximum autoscaling compute units (CU) allowed\").nullable().optional(),\n}).passthrough().describe(\"User profile information returned by the Neon API.\");\nexport const NeonGetCurrentUserInformationOutput = z.object({\n data: NeonGetCurrentUserInformation_UserInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetCurrentUserInformation`\\n\\nContains the authenticated user's profile information including\\naccount details, subscription plan, and resource limits.\");\n\nexport const neonGetCurrentUserInformation = action(\"NEON_GET_CURRENT_USER_INFORMATION\", {\n slug: \"neon-get-current-user-information\",\n name: \"Get current user information\",\n description: \"Retrieves the profile information for the currently authenticated user. This endpoint should be used when you need to access details about the user making the API request, such as their username, email, or other account-related information. It's particularly useful for personalizing user experiences or retrieving user-specific settings within the Neon platform. The endpoint doesn't accept any parameters, as it relies solely on the authentication token to identify the user. Note that this endpoint will only return information for the authenticated user and cannot be used to retrieve profiles of other users.\",\n input: NeonGetCurrentUserInformationInput,\n output: NeonGetCurrentUserInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qKAAqK;AAC7O,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,C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AAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,6CAA6C,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8KAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const NeonGetProjectBranchRole_RoleDetailsSchema = zod.z.object({
|
|
|
13
13
|
created_at: zod.z.string().describe("Timestamp indicating when the role was created, in ISO 8601 format.").nullable(),
|
|
14
14
|
updated_at: zod.z.string().describe("Timestamp indicating when the role was last updated, in ISO 8601 format.").nullable(),
|
|
15
15
|
authentication_method: zod.z.string().describe("Indicates how the role authenticates. Possible values: 'password', 'oauth', or 'no_login'. This field was added in December 2025.").nullable()
|
|
16
|
-
}).describe("Details of a database role in a Neon branch.");
|
|
16
|
+
}).passthrough().describe("Details of a database role in a Neon branch.");
|
|
17
17
|
const NeonGetProjectBranchRole_OperationSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("The unique identifier for the operation.").nullable(),
|
|
19
19
|
action: zod.z.string().describe("The type of action being performed (e.g., 'apply_config').").nullable(),
|
|
@@ -25,11 +25,11 @@ const NeonGetProjectBranchRole_OperationSchema = zod.z.object({
|
|
|
25
25
|
endpoint_id: zod.z.string().describe("The compute endpoint ID associated with the operation.").nullable().optional(),
|
|
26
26
|
failures_count: zod.z.number().int().describe("The number of times the operation has failed.").nullable(),
|
|
27
27
|
total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
|
|
28
|
-
}).describe("Represents an operation related to the role.");
|
|
28
|
+
}).passthrough().describe("Represents an operation related to the role.");
|
|
29
29
|
const NeonGetProjectBranchRoleOutput = zod.z.object({
|
|
30
30
|
role: NeonGetProjectBranchRole_RoleDetailsSchema.nullable(),
|
|
31
31
|
operations: zod.z.array(NeonGetProjectBranchRole_OperationSchema).describe("Array of operation objects representing ongoing or completed operations related to this role. If not empty, the compute endpoint may not be ready.").nullable().optional()
|
|
32
|
-
}).describe("Response schema for `GetProjectBranchRole`");
|
|
32
|
+
}).passthrough().describe("Response schema for `GetProjectBranchRole`");
|
|
33
33
|
const neonGetProjectBranchRole = require_action.action("NEON_GET_PROJECT_BRANCH_ROLE", {
|
|
34
34
|
slug: "neon-get-project-branch-role",
|
|
35
35
|
name: "Get project branch role",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-branch-role.cjs","names":["z","action"],"sources":["../../src/actions/get-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch within the project (e.g., 'br-lucky-water-afkw1lov'). You can obtain this from the list branches endpoint.\"),\n role_name: z.string().describe(\"The name of the database role to retrieve (e.g., 'neondb_owner', 'authenticator', 'authenticated', 'anonymous'). This is the PostgreSQL role name within the branch.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project (e.g., 'dry-smoke-26258271'). You can obtain this from the list projects endpoint.\"),\n}).describe(\"Request schema for `GetProjectBranchRole`\");\nconst NeonGetProjectBranchRole_RoleDetailsSchema = z.object({\n name: z.string().describe(\"The name of the role.\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch the role belongs to.\").nullable(),\n protected: z.boolean().describe(\"Indicates whether the role is protected from deletion.\").nullable(),\n created_at: z.string().describe(\"Timestamp indicating when the role was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp indicating when the role was last updated, in ISO 8601 format.\").nullable(),\n authentication_method: z.string().describe(\"Indicates how the role authenticates. Possible values: 'password', 'oauth', or 'no_login'. This field was added in December 2025.\").nullable(),\n}).describe(\"Details of a database role in a Neon branch.\");\nconst NeonGetProjectBranchRole_OperationSchema = z.object({\n id: z.string().describe(\"The unique identifier for the operation.\").nullable(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch where the operation is performed.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created, in ISO 8601 format.\").nullable(),\n project_id: z.string().describe(\"The ID of the project the operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated, in ISO 8601 format.\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint ID associated with the operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of times the operation has failed.\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).describe(\"Represents an operation related to the role.\");\nexport const NeonGetProjectBranchRoleOutput = z.object({\n role: NeonGetProjectBranchRole_RoleDetailsSchema.nullable(),\n operations: z.array(NeonGetProjectBranchRole_OperationSchema).describe(\"Array of operation objects representing ongoing or completed operations related to this role. If not empty, the compute endpoint may not be ready.\").nullable().optional(),\n}).describe(\"Response schema for `GetProjectBranchRole`\");\n\nexport const neonGetProjectBranchRole = action(\"NEON_GET_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-get-project-branch-role\",\n name: \"Get project branch role\",\n description: \"Retrieves detailed information about a specific role within a particular branch of a Neon project. This endpoint is used to fetch the current configuration, permissions, and other relevant details associated with the specified role. It's particularly useful for auditing access controls, verifying role settings, or gathering information before making modifications to role permissions. The endpoint requires precise identification of the project, branch, and role, ensuring that the correct role information is retrieved from the appropriate context within the Neon platform's hierarchical structure.\",\n input: NeonGetProjectBranchRoleInput,\n output: NeonGetProjectBranchRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC/K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;CACrM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;AAChK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-project-branch-role.cjs","names":["z","action"],"sources":["../../src/actions/get-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch within the project (e.g., 'br-lucky-water-afkw1lov'). You can obtain this from the list branches endpoint.\"),\n role_name: z.string().describe(\"The name of the database role to retrieve (e.g., 'neondb_owner', 'authenticator', 'authenticated', 'anonymous'). This is the PostgreSQL role name within the branch.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project (e.g., 'dry-smoke-26258271'). You can obtain this from the list projects endpoint.\"),\n}).describe(\"Request schema for `GetProjectBranchRole`\");\nconst NeonGetProjectBranchRole_RoleDetailsSchema = z.object({\n name: z.string().describe(\"The name of the role.\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch the role belongs to.\").nullable(),\n protected: z.boolean().describe(\"Indicates whether the role is protected from deletion.\").nullable(),\n created_at: z.string().describe(\"Timestamp indicating when the role was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp indicating when the role was last updated, in ISO 8601 format.\").nullable(),\n authentication_method: z.string().describe(\"Indicates how the role authenticates. Possible values: 'password', 'oauth', or 'no_login'. This field was added in December 2025.\").nullable(),\n}).passthrough().describe(\"Details of a database role in a Neon branch.\");\nconst NeonGetProjectBranchRole_OperationSchema = z.object({\n id: z.string().describe(\"The unique identifier for the operation.\").nullable(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch where the operation is performed.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created, in ISO 8601 format.\").nullable(),\n project_id: z.string().describe(\"The ID of the project the operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated, in ISO 8601 format.\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint ID associated with the operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of times the operation has failed.\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Represents an operation related to the role.\");\nexport const NeonGetProjectBranchRoleOutput = z.object({\n role: NeonGetProjectBranchRole_RoleDetailsSchema.nullable(),\n operations: z.array(NeonGetProjectBranchRole_OperationSchema).describe(\"Array of operation objects representing ongoing or completed operations related to this role. If not empty, the compute endpoint may not be ready.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetProjectBranchRole`\");\n\nexport const neonGetProjectBranchRole = action(\"NEON_GET_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-get-project-branch-role\",\n name: \"Get project branch role\",\n description: \"Retrieves detailed information about a specific role within a particular branch of a Neon project. This endpoint is used to fetch the current configuration, permissions, and other relevant details associated with the specified role. It's particularly useful for auditing access controls, verifying role settings, or gathering information before making modifications to role permissions. The endpoint requires precise identification of the project, branch, and role, ensuring that the correct role information is retrieved from the appropriate context within the Neon platform's hierarchical structure.\",\n input: NeonGetProjectBranchRoleInput,\n output: NeonGetProjectBranchRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC/K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;CACrM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;AAChK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAA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odString>;
|
|
16
16
|
authentication_method: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
id: z.ZodNullable<z.ZodString>;
|
|
20
20
|
action: z.ZodNullable<z.ZodString>;
|
|
@@ -26,8 +26,8 @@ declare const NeonGetProjectBranchRoleOutput: z.ZodObject<{
|
|
|
26
26
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
failures_count: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const neonGetProjectBranchRole: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
branch_id: string;
|
|
33
33
|
role_name: string;
|
|
@@ -14,7 +14,7 @@ declare const NeonGetProjectBranchRoleOutput: z.ZodObject<{
|
|
|
14
14
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
16
16
|
authentication_method: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
id: z.ZodNullable<z.ZodString>;
|
|
20
20
|
action: z.ZodNullable<z.ZodString>;
|
|
@@ -26,8 +26,8 @@ declare const NeonGetProjectBranchRoleOutput: z.ZodObject<{
|
|
|
26
26
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
failures_count: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const neonGetProjectBranchRole: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
branch_id: string;
|
|
33
33
|
role_name: string;
|
|
@@ -13,7 +13,7 @@ const NeonGetProjectBranchRole_RoleDetailsSchema = z.object({
|
|
|
13
13
|
created_at: z.string().describe("Timestamp indicating when the role was created, in ISO 8601 format.").nullable(),
|
|
14
14
|
updated_at: z.string().describe("Timestamp indicating when the role was last updated, in ISO 8601 format.").nullable(),
|
|
15
15
|
authentication_method: z.string().describe("Indicates how the role authenticates. Possible values: 'password', 'oauth', or 'no_login'. This field was added in December 2025.").nullable()
|
|
16
|
-
}).describe("Details of a database role in a Neon branch.");
|
|
16
|
+
}).passthrough().describe("Details of a database role in a Neon branch.");
|
|
17
17
|
const NeonGetProjectBranchRole_OperationSchema = z.object({
|
|
18
18
|
id: z.string().describe("The unique identifier for the operation.").nullable(),
|
|
19
19
|
action: z.string().describe("The type of action being performed (e.g., 'apply_config').").nullable(),
|
|
@@ -25,7 +25,7 @@ const NeonGetProjectBranchRole_OperationSchema = z.object({
|
|
|
25
25
|
endpoint_id: z.string().describe("The compute endpoint ID associated with the operation.").nullable().optional(),
|
|
26
26
|
failures_count: z.number().int().describe("The number of times the operation has failed.").nullable(),
|
|
27
27
|
total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
|
|
28
|
-
}).describe("Represents an operation related to the role.");
|
|
28
|
+
}).passthrough().describe("Represents an operation related to the role.");
|
|
29
29
|
const neonGetProjectBranchRole = action("NEON_GET_PROJECT_BRANCH_ROLE", {
|
|
30
30
|
slug: "neon-get-project-branch-role",
|
|
31
31
|
name: "Get project branch role",
|
|
@@ -34,7 +34,7 @@ const neonGetProjectBranchRole = action("NEON_GET_PROJECT_BRANCH_ROLE", {
|
|
|
34
34
|
output: z.object({
|
|
35
35
|
role: NeonGetProjectBranchRole_RoleDetailsSchema.nullable(),
|
|
36
36
|
operations: z.array(NeonGetProjectBranchRole_OperationSchema).describe("Array of operation objects representing ongoing or completed operations related to this role. If not empty, the compute endpoint may not be ready.").nullable().optional()
|
|
37
|
-
}).describe("Response schema for `GetProjectBranchRole`")
|
|
37
|
+
}).passthrough().describe("Response schema for `GetProjectBranchRole`")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { neonGetProjectBranchRole };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-branch-role.mjs","names":[],"sources":["../../src/actions/get-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch within the project (e.g., 'br-lucky-water-afkw1lov'). You can obtain this from the list branches endpoint.\"),\n role_name: z.string().describe(\"The name of the database role to retrieve (e.g., 'neondb_owner', 'authenticator', 'authenticated', 'anonymous'). This is the PostgreSQL role name within the branch.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project (e.g., 'dry-smoke-26258271'). You can obtain this from the list projects endpoint.\"),\n}).describe(\"Request schema for `GetProjectBranchRole`\");\nconst NeonGetProjectBranchRole_RoleDetailsSchema = z.object({\n name: z.string().describe(\"The name of the role.\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch the role belongs to.\").nullable(),\n protected: z.boolean().describe(\"Indicates whether the role is protected from deletion.\").nullable(),\n created_at: z.string().describe(\"Timestamp indicating when the role was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp indicating when the role was last updated, in ISO 8601 format.\").nullable(),\n authentication_method: z.string().describe(\"Indicates how the role authenticates. Possible values: 'password', 'oauth', or 'no_login'. This field was added in December 2025.\").nullable(),\n}).describe(\"Details of a database role in a Neon branch.\");\nconst NeonGetProjectBranchRole_OperationSchema = z.object({\n id: z.string().describe(\"The unique identifier for the operation.\").nullable(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch where the operation is performed.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created, in ISO 8601 format.\").nullable(),\n project_id: z.string().describe(\"The ID of the project the operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated, in ISO 8601 format.\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint ID associated with the operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of times the operation has failed.\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).describe(\"Represents an operation related to the role.\");\nexport const NeonGetProjectBranchRoleOutput = z.object({\n role: NeonGetProjectBranchRole_RoleDetailsSchema.nullable(),\n operations: z.array(NeonGetProjectBranchRole_OperationSchema).describe(\"Array of operation objects representing ongoing or completed operations related to this role. If not empty, the compute endpoint may not be ready.\").nullable().optional(),\n}).describe(\"Response schema for `GetProjectBranchRole`\");\n\nexport const neonGetProjectBranchRole = action(\"NEON_GET_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-get-project-branch-role\",\n name: \"Get project branch role\",\n description: \"Retrieves detailed information about a specific role within a particular branch of a Neon project. This endpoint is used to fetch the current configuration, permissions, and other relevant details associated with the specified role. It's particularly useful for auditing access controls, verifying role settings, or gathering information before making modifications to role permissions. The endpoint requires precise identification of the project, branch, and role, ensuring that the correct role information is retrieved from the appropriate context within the Neon platform's hierarchical structure.\",\n input: NeonGetProjectBranchRoleInput,\n output: NeonGetProjectBranchRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC/K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;AAChK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-project-branch-role.mjs","names":[],"sources":["../../src/actions/get-project-branch-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchRoleInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch within the project (e.g., 'br-lucky-water-afkw1lov'). You can obtain this from the list branches endpoint.\"),\n role_name: z.string().describe(\"The name of the database role to retrieve (e.g., 'neondb_owner', 'authenticator', 'authenticated', 'anonymous'). This is the PostgreSQL role name within the branch.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project (e.g., 'dry-smoke-26258271'). You can obtain this from the list projects endpoint.\"),\n}).describe(\"Request schema for `GetProjectBranchRole`\");\nconst NeonGetProjectBranchRole_RoleDetailsSchema = z.object({\n name: z.string().describe(\"The name of the role.\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch the role belongs to.\").nullable(),\n protected: z.boolean().describe(\"Indicates whether the role is protected from deletion.\").nullable(),\n created_at: z.string().describe(\"Timestamp indicating when the role was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp indicating when the role was last updated, in ISO 8601 format.\").nullable(),\n authentication_method: z.string().describe(\"Indicates how the role authenticates. Possible values: 'password', 'oauth', or 'no_login'. This field was added in December 2025.\").nullable(),\n}).passthrough().describe(\"Details of a database role in a Neon branch.\");\nconst NeonGetProjectBranchRole_OperationSchema = z.object({\n id: z.string().describe(\"The unique identifier for the operation.\").nullable(),\n action: z.string().describe(\"The type of action being performed (e.g., 'apply_config').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The ID of the branch where the operation is performed.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created, in ISO 8601 format.\").nullable(),\n project_id: z.string().describe(\"The ID of the project the operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated, in ISO 8601 format.\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint ID associated with the operation.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of times the operation has failed.\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Represents an operation related to the role.\");\nexport const NeonGetProjectBranchRoleOutput = z.object({\n role: NeonGetProjectBranchRole_RoleDetailsSchema.nullable(),\n operations: z.array(NeonGetProjectBranchRole_OperationSchema).describe(\"Array of operation objects representing ongoing or completed operations related to this role. If not empty, the compute endpoint may not be ready.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetProjectBranchRole`\");\n\nexport const neonGetProjectBranchRole = action(\"NEON_GET_PROJECT_BRANCH_ROLE\", {\n slug: \"neon-get-project-branch-role\",\n name: \"Get project branch role\",\n description: \"Retrieves detailed information about a specific role within a particular branch of a Neon project. This endpoint is used to fetch the current configuration, permissions, and other relevant details associated with the specified role. It's particularly useful for auditing access controls, verifying role settings, or gathering information before making modifications to role permissions. The endpoint requires precise identification of the project, branch, and role, ensuring that the correct role information is retrieved from the appropriate context within the Neon platform's hierarch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O,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,2CAA2C,SAAS;EAC1D,YAAY,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const NeonGetProjectBranchSchemaComparisonInput = zod.z.object({
|
|
|
11
11
|
base_branch_id: zod.z.string().describe("Optional branch ID to compare the schema with. If not specified, compares with the parent branch.").optional(),
|
|
12
12
|
base_timestamp: zod.z.string().describe("Optional ISO 8601 timestamp for the point in time for the base branch schema (e.g., '2022-11-30T20:09:48Z').").optional()
|
|
13
13
|
}).describe("Request schema for `GetProjectBranchSchemaComparison`");
|
|
14
|
-
const NeonGetProjectBranchSchemaComparisonOutput = zod.z.object({ diff: zod.z.string().describe("The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.").nullable().optional() }).describe("Response schema for `GetProjectBranchSchemaComparison`");
|
|
14
|
+
const NeonGetProjectBranchSchemaComparisonOutput = zod.z.object({ diff: zod.z.string().describe("The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.").nullable().optional() }).passthrough().describe("Response schema for `GetProjectBranchSchemaComparison`");
|
|
15
15
|
const neonGetProjectBranchSchemaComparison = require_action.action("NEON_GET_PROJECT_BRANCH_SCHEMA_COMPARISON", {
|
|
16
16
|
slug: "neon-get-project-branch-schema-comparison",
|
|
17
17
|
name: "Get project branch schema comparison",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-branch-schema-comparison.cjs","names":["z","action"],"sources":["../../src/actions/get-project-branch-schema-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchSchemaComparisonInput = z.object({\n lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for which the schema is retrieved. Format: 'X/XXXXXXXX' (e.g., '0/1F79928').\").optional(),\n db_name: z.string().describe(\"Name of the database for which the schema is compared (e.g., 'neondb'). Can be obtained from the databases list for a branch.\"),\n base_lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for the base branch schema. Format: 'X/XXXXXXXX'.\").optional(),\n branch_id: z.string().describe(\"The branch ID to get the schema from (e.g., 'br-calm-bread-ah40d54d'). Can be obtained from the branches list for a project.\"),\n timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for which the schema is retrieved (e.g., '2022-11-30T20:09:48Z').\").optional(),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'proud-meadow-87189985'). Can be obtained from the project list or project details.\"),\n base_branch_id: z.string().describe(\"Optional branch ID to compare the schema with. If not specified, compares with the parent branch.\").optional(),\n base_timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for the base branch schema (e.g., '2022-11-30T20:09:48Z').\").optional(),\n}).describe(\"Request schema for `GetProjectBranchSchemaComparison`\");\nexport const NeonGetProjectBranchSchemaComparisonOutput = z.object({\n diff: z.string().describe(\"The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.\").nullable().optional(),\n}).describe(\"Response schema for `GetProjectBranchSchemaComparison`\");\n\nexport const neonGetProjectBranchSchemaComparison = action(\"NEON_GET_PROJECT_BRANCH_SCHEMA_COMPARISON\", {\n slug: \"neon-get-project-branch-schema-comparison\",\n name: \"Get project branch schema comparison\",\n description: \"Compares the database schema of a branch with another branch's schema in a Neon project. Returns the difference as a unified diff format string. Use this when you need to understand what schema changes exist between two branches (e.g., before merging, to review migrations, or to verify schema consistency). The comparison can be done at specific points in time using LSN or timestamp parameters for both branches.\",\n input: NeonGetProjectBranchSchemaComparisonInput,\n output: NeonGetProjectBranchSchemaComparisonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC5J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC/J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAChJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-project-branch-schema-comparison.cjs","names":["z","action"],"sources":["../../src/actions/get-project-branch-schema-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchSchemaComparisonInput = z.object({\n lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for which the schema is retrieved. Format: 'X/XXXXXXXX' (e.g., '0/1F79928').\").optional(),\n db_name: z.string().describe(\"Name of the database for which the schema is compared (e.g., 'neondb'). Can be obtained from the databases list for a branch.\"),\n base_lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for the base branch schema. Format: 'X/XXXXXXXX'.\").optional(),\n branch_id: z.string().describe(\"The branch ID to get the schema from (e.g., 'br-calm-bread-ah40d54d'). Can be obtained from the branches list for a project.\"),\n timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for which the schema is retrieved (e.g., '2022-11-30T20:09:48Z').\").optional(),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'proud-meadow-87189985'). Can be obtained from the project list or project details.\"),\n base_branch_id: z.string().describe(\"Optional branch ID to compare the schema with. If not specified, compares with the parent branch.\").optional(),\n base_timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for the base branch schema (e.g., '2022-11-30T20:09:48Z').\").optional(),\n}).describe(\"Request schema for `GetProjectBranchSchemaComparison`\");\nexport const NeonGetProjectBranchSchemaComparisonOutput = z.object({\n diff: z.string().describe(\"The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetProjectBranchSchemaComparison`\");\n\nexport const neonGetProjectBranchSchemaComparison = action(\"NEON_GET_PROJECT_BRANCH_SCHEMA_COMPARISON\", {\n slug: \"neon-get-project-branch-schema-comparison\",\n name: \"Get project branch schema comparison\",\n description: \"Compares the database schema of a branch with another branch's schema in a Neon project. Returns the difference as a unified diff format string. Use this when you need to understand what schema changes exist between two branches (e.g., before merging, to review migrations, or to verify schema consistency). The comparison can be done at specific points in time using LSN or timestamp parameters for both branches.\",\n input: NeonGetProjectBranchSchemaComparisonInput,\n output: NeonGetProjectBranchSchemaComparisonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC5J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC/J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAChJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const NeonGetProjectBranchSchemaComparisonInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const NeonGetProjectBranchSchemaComparisonOutput: z.ZodObject<{
|
|
15
15
|
diff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const neonGetProjectBranchSchemaComparison: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
db_name: string;
|
|
19
19
|
branch_id: string;
|
|
@@ -13,7 +13,7 @@ declare const NeonGetProjectBranchSchemaComparisonInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const NeonGetProjectBranchSchemaComparisonOutput: z.ZodObject<{
|
|
15
15
|
diff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const neonGetProjectBranchSchemaComparison: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
db_name: string;
|
|
19
19
|
branch_id: string;
|
|
@@ -14,7 +14,7 @@ const neonGetProjectBranchSchemaComparison = action("NEON_GET_PROJECT_BRANCH_SCH
|
|
|
14
14
|
base_branch_id: z.string().describe("Optional branch ID to compare the schema with. If not specified, compares with the parent branch.").optional(),
|
|
15
15
|
base_timestamp: z.string().describe("Optional ISO 8601 timestamp for the point in time for the base branch schema (e.g., '2022-11-30T20:09:48Z').").optional()
|
|
16
16
|
}).describe("Request schema for `GetProjectBranchSchemaComparison`"),
|
|
17
|
-
output: z.object({ diff: z.string().describe("The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.").nullable().optional() }).describe("Response schema for `GetProjectBranchSchemaComparison`")
|
|
17
|
+
output: z.object({ diff: z.string().describe("The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.").nullable().optional() }).passthrough().describe("Response schema for `GetProjectBranchSchemaComparison`")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { neonGetProjectBranchSchemaComparison };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-branch-schema-comparison.mjs","names":[],"sources":["../../src/actions/get-project-branch-schema-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchSchemaComparisonInput = z.object({\n lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for which the schema is retrieved. Format: 'X/XXXXXXXX' (e.g., '0/1F79928').\").optional(),\n db_name: z.string().describe(\"Name of the database for which the schema is compared (e.g., 'neondb'). Can be obtained from the databases list for a branch.\"),\n base_lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for the base branch schema. Format: 'X/XXXXXXXX'.\").optional(),\n branch_id: z.string().describe(\"The branch ID to get the schema from (e.g., 'br-calm-bread-ah40d54d'). Can be obtained from the branches list for a project.\"),\n timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for which the schema is retrieved (e.g., '2022-11-30T20:09:48Z').\").optional(),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'proud-meadow-87189985'). Can be obtained from the project list or project details.\"),\n base_branch_id: z.string().describe(\"Optional branch ID to compare the schema with. If not specified, compares with the parent branch.\").optional(),\n base_timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for the base branch schema (e.g., '2022-11-30T20:09:48Z').\").optional(),\n}).describe(\"Request schema for `GetProjectBranchSchemaComparison`\");\nexport const NeonGetProjectBranchSchemaComparisonOutput = z.object({\n diff: z.string().describe(\"The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.\").nullable().optional(),\n}).describe(\"Response schema for `GetProjectBranchSchemaComparison`\");\n\nexport const neonGetProjectBranchSchemaComparison = action(\"NEON_GET_PROJECT_BRANCH_SCHEMA_COMPARISON\", {\n slug: \"neon-get-project-branch-schema-comparison\",\n name: \"Get project branch schema comparison\",\n description: \"Compares the database schema of a branch with another branch's schema in a Neon project. Returns the difference as a unified diff format string. Use this when you need to understand what schema changes exist between two branches (e.g., before merging, to review migrations, or to verify schema consistency). The comparison can be done at specific points in time using LSN or timestamp parameters for both branches.\",\n input: NeonGetProjectBranchSchemaComparisonInput,\n output: NeonGetProjectBranchSchemaComparisonOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;EAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC/J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;EAChJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-project-branch-schema-comparison.mjs","names":[],"sources":["../../src/actions/get-project-branch-schema-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchSchemaComparisonInput = z.object({\n lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for which the schema is retrieved. Format: 'X/XXXXXXXX' (e.g., '0/1F79928').\").optional(),\n db_name: z.string().describe(\"Name of the database for which the schema is compared (e.g., 'neondb'). Can be obtained from the databases list for a branch.\"),\n base_lsn: z.string().describe(\"Optional Log Sequence Number (LSN) for the base branch schema. Format: 'X/XXXXXXXX'.\").optional(),\n branch_id: z.string().describe(\"The branch ID to get the schema from (e.g., 'br-calm-bread-ah40d54d'). Can be obtained from the branches list for a project.\"),\n timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for which the schema is retrieved (e.g., '2022-11-30T20:09:48Z').\").optional(),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'proud-meadow-87189985'). Can be obtained from the project list or project details.\"),\n base_branch_id: z.string().describe(\"Optional branch ID to compare the schema with. If not specified, compares with the parent branch.\").optional(),\n base_timestamp: z.string().describe(\"Optional ISO 8601 timestamp for the point in time for the base branch schema (e.g., '2022-11-30T20:09:48Z').\").optional(),\n}).describe(\"Request schema for `GetProjectBranchSchemaComparison`\");\nexport const NeonGetProjectBranchSchemaComparisonOutput = z.object({\n diff: z.string().describe(\"The schema difference between the two branches, returned as a unified diff format string. Empty if schemas are identical.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetProjectBranchSchemaComparison`\");\n\nexport const neonGetProjectBranchSchemaComparison = action(\"NEON_GET_PROJECT_BRANCH_SCHEMA_COMPARISON\", {\n slug: \"neon-get-project-branch-schema-comparison\",\n name: \"Get project branch schema comparison\",\n description: \"Compares the database schema of a branch with another branch's schema in a Neon project. Returns the difference as a unified diff format string. Use this when you need to understand what schema changes exist between two branches (e.g., before merging, to review migrations, or to verify schema consistency). The comparison can be done at specific points in time using LSN or timestamp parameters for both branches.\",\n input: NeonGetProjectBranchSchemaComparisonInput,\n output: NeonGetProjectBranchSchemaComparisonOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;EAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC/J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;EAChJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const NeonGetProjectBranchesInput = zod.z.object({
|
|
|
8
8
|
const NeonGetProjectBranches_CreatedBySchema = zod.z.object({
|
|
9
9
|
name: zod.z.string().describe("Name of the user who created the branch").nullable().optional(),
|
|
10
10
|
image: zod.z.string().describe("Profile image URL of the user who created the branch").nullable().optional()
|
|
11
|
-
}).describe("Information about the user who created the branch");
|
|
11
|
+
}).passthrough().describe("Information about the user who created the branch");
|
|
12
12
|
const NeonGetProjectBranches_BranchSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("Branch identifier with br- prefix").nullable(),
|
|
14
14
|
name: zod.z.string().describe("Branch name").nullable(),
|
|
@@ -35,21 +35,21 @@ const NeonGetProjectBranches_BranchSchema = zod.z.object({
|
|
|
35
35
|
active_time_seconds: zod.z.number().int().describe("Wall-clock active time in seconds (excludes idle time due to scale to zero)").nullable().optional(),
|
|
36
36
|
data_transfer_bytes: zod.z.number().int().describe("Data transferred via proxy in bytes").nullable().optional(),
|
|
37
37
|
compute_time_seconds: zod.z.number().int().describe("Active compute duration in seconds").nullable().optional()
|
|
38
|
-
}).describe("Branch information");
|
|
38
|
+
}).passthrough().describe("Branch information");
|
|
39
39
|
const NeonGetProjectBranches_AnnotationObjectSchema = zod.z.object({
|
|
40
40
|
id: zod.z.string().describe("ID of the annotated object").nullable().optional(),
|
|
41
41
|
type: zod.z.string().describe("Type of the annotated object").nullable().optional()
|
|
42
|
-
}).describe("Object reference in annotation");
|
|
42
|
+
}).passthrough().describe("Object reference in annotation");
|
|
43
43
|
const NeonGetProjectBranches_AnnotationSchema = zod.z.object({
|
|
44
44
|
value: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Annotation value data").nullable().optional(),
|
|
45
45
|
object: NeonGetProjectBranches_AnnotationObjectSchema.nullable().optional(),
|
|
46
46
|
created_at: zod.z.string().describe("Timestamp when the annotation was created").nullable().optional(),
|
|
47
47
|
updated_at: zod.z.string().describe("Timestamp when the annotation was last updated").nullable().optional()
|
|
48
|
-
}).describe("Branch annotation metadata");
|
|
48
|
+
}).passthrough().describe("Branch annotation metadata");
|
|
49
49
|
const NeonGetProjectBranchesOutput = zod.z.object({
|
|
50
50
|
branch: NeonGetProjectBranches_BranchSchema.nullable(),
|
|
51
51
|
annotation: NeonGetProjectBranches_AnnotationSchema.nullable().optional()
|
|
52
|
-
}).describe("Response schema for `GetProjectBranches`");
|
|
52
|
+
}).passthrough().describe("Response schema for `GetProjectBranches`");
|
|
53
53
|
const neonGetProjectBranches = require_action.action("NEON_GET_PROJECT_BRANCHES", {
|
|
54
54
|
slug: "neon-get-project-branches",
|
|
55
55
|
name: "Get project branches",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-branches.cjs","names":["z","action"],"sources":["../../src/actions/get-project-branches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchesInput = 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 `GetProjectBranches`\");\nconst NeonGetProjectBranches_CreatedBySchema = z.object({\n name: z.string().describe(\"Name of the user who created the branch\").nullable().optional(),\n image: z.string().describe(\"Profile image URL of the user who created the branch\").nullable().optional(),\n}).describe(\"Information about the user who created the branch\");\nconst NeonGetProjectBranches_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(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch of the project\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier (null for root branch)\").nullable().optional(),\n protected: z.boolean().describe(\"Whether branch protection is enabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable(),\n created_by: NeonGetProjectBranches_CreatedBySchema.nullable().optional(),\n parent_lsn: z.string().describe(\"Log sequence number of the parent branch at the time of branching\").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 init_source: z.string().describe(\"Data initialization source for the branch\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Cumulative CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational status of the branch (e.g., ready, init)\").nullable().optional(),\n last_reset_at: z.string().describe(\"Timestamp when the branch was last reset\").nullable().optional(),\n pending_state: z.string().describe(\"Pending operational state if a transition is in progress\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage footprint in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the branch\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp of the parent branch at the time of branching\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp when the branch state last changed\").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(\"Wall-clock active time in seconds (excludes idle time due to scale to zero)\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred via proxy in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Active compute duration in seconds\").nullable().optional(),\n}).describe(\"Branch information\");\nconst NeonGetProjectBranches_AnnotationObjectSchema = z.object({\n id: z.string().describe(\"ID of the annotated object\").nullable().optional(),\n type: z.string().describe(\"Type of the annotated object\").nullable().optional(),\n}).describe(\"Object reference in annotation\");\nconst NeonGetProjectBranches_AnnotationSchema = z.object({\n value: z.record(z.string(), z.unknown()).describe(\"Annotation value data\").nullable().optional(),\n object: NeonGetProjectBranches_AnnotationObjectSchema.nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the annotation was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the annotation was last updated\").nullable().optional(),\n}).describe(\"Branch annotation metadata\");\nexport const NeonGetProjectBranchesOutput = z.object({\n branch: NeonGetProjectBranches_BranchSchema.nullable(),\n annotation: NeonGetProjectBranches_AnnotationSchema.nullable().optional(),\n}).describe(\"Response schema for `GetProjectBranches`\");\n\nexport const neonGetProjectBranches = action(\"NEON_GET_PROJECT_BRANCHES\", {\n slug: \"neon-get-project-branches\",\n name: \"Get project branches\",\n description: \"Retrieves detailed information about a specific branch within a Neon project. This endpoint allows developers to fetch the current state and configuration of a branch, including its name, creation timestamp, and other relevant metadata. It's particularly useful when you need to verify branch details, check its status, or gather information for further operations on the branch. The endpoint should be used when you require up-to-date information about a single branch in your project's context. Note that this endpoint only provides read access and does not modify any branch data.\",\n input: NeonGetProjectBranchesInput,\n output: NeonGetProjectBranchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"get-project-branches.cjs","names":["z","action"],"sources":["../../src/actions/get-project-branches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchesInput = 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 `GetProjectBranches`\");\nconst NeonGetProjectBranches_CreatedBySchema = z.object({\n name: z.string().describe(\"Name of the user who created the branch\").nullable().optional(),\n image: z.string().describe(\"Profile image URL of the user who created the branch\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the branch\");\nconst NeonGetProjectBranches_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(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch of the project\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier (null for root branch)\").nullable().optional(),\n protected: z.boolean().describe(\"Whether branch protection is enabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable(),\n created_by: NeonGetProjectBranches_CreatedBySchema.nullable().optional(),\n parent_lsn: z.string().describe(\"Log sequence number of the parent branch at the time of branching\").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 init_source: z.string().describe(\"Data initialization source for the branch\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Cumulative CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational status of the branch (e.g., ready, init)\").nullable().optional(),\n last_reset_at: z.string().describe(\"Timestamp when the branch was last reset\").nullable().optional(),\n pending_state: z.string().describe(\"Pending operational state if a transition is in progress\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage footprint in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the branch\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp of the parent branch at the time of branching\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp when the branch state last changed\").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(\"Wall-clock active time in seconds (excludes idle time due to scale to zero)\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred via proxy in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Active compute duration in seconds\").nullable().optional(),\n}).passthrough().describe(\"Branch information\");\nconst NeonGetProjectBranches_AnnotationObjectSchema = z.object({\n id: z.string().describe(\"ID of the annotated object\").nullable().optional(),\n type: z.string().describe(\"Type of the annotated object\").nullable().optional(),\n}).passthrough().describe(\"Object reference in annotation\");\nconst NeonGetProjectBranches_AnnotationSchema = z.object({\n value: z.record(z.string(), z.unknown()).describe(\"Annotation value data\").nullable().optional(),\n object: NeonGetProjectBranches_AnnotationObjectSchema.nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the annotation was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the annotation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Branch annotation metadata\");\nexport const NeonGetProjectBranchesOutput = z.object({\n branch: NeonGetProjectBranches_BranchSchema.nullable(),\n annotation: NeonGetProjectBranches_AnnotationSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetProjectBranches`\");\n\nexport const neonGetProjectBranches = action(\"NEON_GET_PROJECT_BRANCHES\", {\n slug: \"neon-get-project-branches\",\n name: \"Get project branches\",\n description: \"Retrieves detailed information about a specific branch within a Neon project. This endpoint allows developers to fetch the current state and configuration of a branch, including its name, creation timestamp, and other relevant metadata. It's particularly useful when you need to verify branch details, check its status, or gather information for further operations on the branch. The endpoint should be used when you require up-to-date information about a single branch in your project's context. Note that this endpoint only provides read access and does not modify any branch data.\",\n input: NeonGetProjectBranchesInput,\n output: NeonGetProjectBranchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC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AAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQ,oCAAoC,SAAS;CACrD,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const NeonGetProjectBranchesOutput: z.ZodObject<{
|
|
|
17
17
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
18
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
project_id: z.ZodNullable<z.ZodString>;
|
|
23
23
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
@@ -35,17 +35,17 @@ declare const NeonGetProjectBranchesOutput: z.ZodObject<{
|
|
|
35
35
|
active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
annotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
value: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
41
41
|
object: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
48
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const neonGetProjectBranches: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
branch_id: string;
|
|
51
51
|
project_id: string;
|
|
@@ -17,7 +17,7 @@ declare const NeonGetProjectBranchesOutput: z.ZodObject<{
|
|
|
17
17
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
18
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
project_id: z.ZodNullable<z.ZodString>;
|
|
23
23
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
@@ -35,17 +35,17 @@ declare const NeonGetProjectBranchesOutput: z.ZodObject<{
|
|
|
35
35
|
active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
annotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
value: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
41
41
|
object: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
48
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const neonGetProjectBranches: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
branch_id: string;
|
|
51
51
|
project_id: string;
|
|
@@ -8,7 +8,7 @@ const NeonGetProjectBranchesInput = z.object({
|
|
|
8
8
|
const NeonGetProjectBranches_CreatedBySchema = z.object({
|
|
9
9
|
name: z.string().describe("Name of the user who created the branch").nullable().optional(),
|
|
10
10
|
image: z.string().describe("Profile image URL of the user who created the branch").nullable().optional()
|
|
11
|
-
}).describe("Information about the user who created the branch");
|
|
11
|
+
}).passthrough().describe("Information about the user who created the branch");
|
|
12
12
|
const NeonGetProjectBranches_BranchSchema = z.object({
|
|
13
13
|
id: z.string().describe("Branch identifier with br- prefix").nullable(),
|
|
14
14
|
name: z.string().describe("Branch name").nullable(),
|
|
@@ -35,17 +35,17 @@ const NeonGetProjectBranches_BranchSchema = z.object({
|
|
|
35
35
|
active_time_seconds: z.number().int().describe("Wall-clock active time in seconds (excludes idle time due to scale to zero)").nullable().optional(),
|
|
36
36
|
data_transfer_bytes: z.number().int().describe("Data transferred via proxy in bytes").nullable().optional(),
|
|
37
37
|
compute_time_seconds: z.number().int().describe("Active compute duration in seconds").nullable().optional()
|
|
38
|
-
}).describe("Branch information");
|
|
38
|
+
}).passthrough().describe("Branch information");
|
|
39
39
|
const NeonGetProjectBranches_AnnotationObjectSchema = z.object({
|
|
40
40
|
id: z.string().describe("ID of the annotated object").nullable().optional(),
|
|
41
41
|
type: z.string().describe("Type of the annotated object").nullable().optional()
|
|
42
|
-
}).describe("Object reference in annotation");
|
|
42
|
+
}).passthrough().describe("Object reference in annotation");
|
|
43
43
|
const NeonGetProjectBranches_AnnotationSchema = z.object({
|
|
44
44
|
value: z.record(z.string(), z.unknown()).describe("Annotation value data").nullable().optional(),
|
|
45
45
|
object: NeonGetProjectBranches_AnnotationObjectSchema.nullable().optional(),
|
|
46
46
|
created_at: z.string().describe("Timestamp when the annotation was created").nullable().optional(),
|
|
47
47
|
updated_at: z.string().describe("Timestamp when the annotation was last updated").nullable().optional()
|
|
48
|
-
}).describe("Branch annotation metadata");
|
|
48
|
+
}).passthrough().describe("Branch annotation metadata");
|
|
49
49
|
const neonGetProjectBranches = action("NEON_GET_PROJECT_BRANCHES", {
|
|
50
50
|
slug: "neon-get-project-branches",
|
|
51
51
|
name: "Get project branches",
|
|
@@ -54,7 +54,7 @@ const neonGetProjectBranches = action("NEON_GET_PROJECT_BRANCHES", {
|
|
|
54
54
|
output: z.object({
|
|
55
55
|
branch: NeonGetProjectBranches_BranchSchema.nullable(),
|
|
56
56
|
annotation: NeonGetProjectBranches_AnnotationSchema.nullable().optional()
|
|
57
|
-
}).describe("Response schema for `GetProjectBranches`")
|
|
57
|
+
}).passthrough().describe("Response schema for `GetProjectBranches`")
|
|
58
58
|
});
|
|
59
59
|
//#endregion
|
|
60
60
|
export { neonGetProjectBranches };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-branches.mjs","names":[],"sources":["../../src/actions/get-project-branches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchesInput = 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 `GetProjectBranches`\");\nconst NeonGetProjectBranches_CreatedBySchema = z.object({\n name: z.string().describe(\"Name of the user who created the branch\").nullable().optional(),\n image: z.string().describe(\"Profile image URL of the user who created the branch\").nullable().optional(),\n}).describe(\"Information about the user who created the branch\");\nconst NeonGetProjectBranches_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(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch of the project\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier (null for root branch)\").nullable().optional(),\n protected: z.boolean().describe(\"Whether branch protection is enabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable(),\n created_by: NeonGetProjectBranches_CreatedBySchema.nullable().optional(),\n parent_lsn: z.string().describe(\"Log sequence number of the parent branch at the time of branching\").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 init_source: z.string().describe(\"Data initialization source for the branch\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Cumulative CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational status of the branch (e.g., ready, init)\").nullable().optional(),\n last_reset_at: z.string().describe(\"Timestamp when the branch was last reset\").nullable().optional(),\n pending_state: z.string().describe(\"Pending operational state if a transition is in progress\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage footprint in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the branch\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp of the parent branch at the time of branching\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp when the branch state last changed\").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(\"Wall-clock active time in seconds (excludes idle time due to scale to zero)\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred via proxy in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Active compute duration in seconds\").nullable().optional(),\n}).describe(\"Branch information\");\nconst NeonGetProjectBranches_AnnotationObjectSchema = z.object({\n id: z.string().describe(\"ID of the annotated object\").nullable().optional(),\n type: z.string().describe(\"Type of the annotated object\").nullable().optional(),\n}).describe(\"Object reference in annotation\");\nconst NeonGetProjectBranches_AnnotationSchema = z.object({\n value: z.record(z.string(), z.unknown()).describe(\"Annotation value data\").nullable().optional(),\n object: NeonGetProjectBranches_AnnotationObjectSchema.nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the annotation was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the annotation was last updated\").nullable().optional(),\n}).describe(\"Branch annotation metadata\");\nexport const NeonGetProjectBranchesOutput = z.object({\n branch: NeonGetProjectBranches_BranchSchema.nullable(),\n annotation: NeonGetProjectBranches_AnnotationSchema.nullable().optional(),\n}).describe(\"Response schema for `GetProjectBranches`\");\n\nexport const neonGetProjectBranches = action(\"NEON_GET_PROJECT_BRANCHES\", {\n slug: \"neon-get-project-branches\",\n name: \"Get project branches\",\n description: \"Retrieves detailed information about a specific branch within a Neon project. This endpoint allows developers to fetch the current state and configuration of a branch, including its name, creation timestamp, and other relevant metadata. It's particularly useful when you need to verify branch details, check its status, or gather information for further operations on the branch. The endpoint should be used when you require up-to-date information about a single branch in your project's context. Note that this endpoint only provides read access and does not modify any branch data.\",\n input: NeonGetProjectBranchesInput,\n output: NeonGetProjectBranchesOutput,\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,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"get-project-branches.mjs","names":[],"sources":["../../src/actions/get-project-branches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectBranchesInput = 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 `GetProjectBranches`\");\nconst NeonGetProjectBranches_CreatedBySchema = z.object({\n name: z.string().describe(\"Name of the user who created the branch\").nullable().optional(),\n image: z.string().describe(\"Profile image URL of the user who created the branch\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the branch\");\nconst NeonGetProjectBranches_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(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch of the project\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier (null for root branch)\").nullable().optional(),\n protected: z.boolean().describe(\"Whether branch protection is enabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable(),\n created_by: NeonGetProjectBranches_CreatedBySchema.nullable().optional(),\n parent_lsn: z.string().describe(\"Log sequence number of the parent branch at the time of branching\").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 init_source: z.string().describe(\"Data initialization source for the branch\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Cumulative CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational status of the branch (e.g., ready, init)\").nullable().optional(),\n last_reset_at: z.string().describe(\"Timestamp when the branch was last reset\").nullable().optional(),\n pending_state: z.string().describe(\"Pending operational state if a transition is in progress\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage footprint in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the branch\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp of the parent branch at the time of branching\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp when the branch state last changed\").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(\"Wall-clock active time in seconds (excludes idle time due to scale to zero)\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred via proxy in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Active compute duration in seconds\").nullable().optional(),\n}).passthrough().describe(\"Branch information\");\nconst NeonGetProjectBranches_AnnotationObjectSchema = z.object({\n id: z.string().describe(\"ID of the annotated object\").nullable().optional(),\n type: z.string().describe(\"Type of the annotated object\").nullable().optional(),\n}).passthrough().describe(\"Object reference in annotation\");\nconst NeonGetProjectBranches_AnnotationSchema = z.object({\n value: z.record(z.string(), z.unknown()).describe(\"Annotation value data\").nullable().optional(),\n object: NeonGetProjectBranches_AnnotationObjectSchema.nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the annotation was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the annotation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Branch annotation metadata\");\nexport const NeonGetProjectBranchesOutput = z.object({\n branch: NeonGetProjectBranches_BranchSchema.nullable(),\n annotation: NeonGetProjectBranches_AnnotationSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetProjectBranches`\");\n\nexport const neonGetProjectBranches = action(\"NEON_GET_PROJECT_BRANCHES\", {\n slug: \"neon-get-project-branches\",\n name: \"Get project branches\",\n description: \"Retrieves detailed information about a specific branch within a Neon project. This endpoint allows developers to fetch the current state and configuration of a branch, including its name, creation timestamp, and other relevant metadata. It's particularly useful when you need to verify branch details, check its status, or gather information for further operations on the branch. The endpoint should be used when you require up-to-date information about a single branch in your project's context. Note that this endpoint only provides read access and does not modify any branch data.\",\n input: NeonGetProjectBranchesInput,\n output: NeonGetProjectBranchesOutput,\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,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAA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S,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAMtD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,oCAAoC,SAAS;EACrD,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const NeonGetProjectConnectionUriInput = zod.z.object({
|
|
|
9
9
|
endpoint_id: zod.z.string().describe("The compute endpoint ID (starts with 'ep-'). Defaults to the read-write endpoint associated with the branch_id if not specified. Required if the branch has multiple endpoints or no default read-write endpoint.").optional(),
|
|
10
10
|
database_name: zod.z.string().describe("The name of the database to connect to within the branch (e.g., 'neondb').")
|
|
11
11
|
}).describe("Request schema for `GetProjectConnectionUri`");
|
|
12
|
-
const NeonGetProjectConnectionUriOutput = zod.z.object({ uri: zod.z.string().describe("The PostgreSQL connection URI string for connecting to the database.").nullable() }).describe("Response schema for `GetProjectConnectionUri`");
|
|
12
|
+
const NeonGetProjectConnectionUriOutput = zod.z.object({ uri: zod.z.string().describe("The PostgreSQL connection URI string for connecting to the database.").nullable() }).passthrough().describe("Response schema for `GetProjectConnectionUri`");
|
|
13
13
|
const neonGetProjectConnectionUri = require_action.action("NEON_GET_PROJECT_CONNECTION_URI", {
|
|
14
14
|
slug: "neon-get-project-connection-uri",
|
|
15
15
|
name: "Get project connection uri",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-connection-uri.cjs","names":["z","action"],"sources":["../../src/actions/get-project-connection-uri.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectConnectionUriInput = z.object({\n pooled: z.boolean().describe(\"Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.\").optional(),\n branch_id: z.string().describe(\"The branch ID. Defaults to the project's default branch_id if not specified. The branch must have an associated compute endpoint.\").optional(),\n role_name: z.string().describe(\"The PostgreSQL role name to use for authentication (e.g., 'neondb_owner').\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The compute endpoint ID (starts with 'ep-'). Defaults to the read-write endpoint associated with the branch_id if not specified. Required if the branch has multiple endpoints or no default read-write endpoint.\").optional(),\n database_name: z.string().describe(\"The name of the database to connect to within the branch (e.g., 'neondb').\"),\n}).describe(\"Request schema for `GetProjectConnectionUri`\");\nexport const NeonGetProjectConnectionUriOutput = z.object({\n uri: z.string().describe(\"The PostgreSQL connection URI string for connecting to the database.\").nullable(),\n}).describe(\"Response schema for `GetProjectConnectionUri`\");\n\nexport const neonGetProjectConnectionUri = action(\"NEON_GET_PROJECT_CONNECTION_URI\", {\n slug: \"neon-get-project-connection-uri\",\n name: \"Get project connection uri\",\n description: \"Retrieves the connection URI for a specified project within the Neon B2B SaaS integration platform. This endpoint is crucial for establishing connectivity to a project's resources, enabling access to its data and functionalities. Use this when you need to programmatically obtain the connection details for a specific project, which is essential for integrating with the project's data sources or services. The connection URI serves as a unique identifier and access point for the project, facilitating seamless data exchange and workflow automation between different systems and applications within the Neon ecosystem.\",\n input: NeonGetProjectConnectionUriInput,\n output: NeonGetProjectConnectionUriOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC7K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC/P,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"get-project-connection-uri.cjs","names":["z","action"],"sources":["../../src/actions/get-project-connection-uri.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectConnectionUriInput = z.object({\n pooled: z.boolean().describe(\"Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.\").optional(),\n branch_id: z.string().describe(\"The branch ID. Defaults to the project's default branch_id if not specified. The branch must have an associated compute endpoint.\").optional(),\n role_name: z.string().describe(\"The PostgreSQL role name to use for authentication (e.g., 'neondb_owner').\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The compute endpoint ID (starts with 'ep-'). Defaults to the read-write endpoint associated with the branch_id if not specified. Required if the branch has multiple endpoints or no default read-write endpoint.\").optional(),\n database_name: z.string().describe(\"The name of the database to connect to within the branch (e.g., 'neondb').\"),\n}).describe(\"Request schema for `GetProjectConnectionUri`\");\nexport const NeonGetProjectConnectionUriOutput = z.object({\n uri: z.string().describe(\"The PostgreSQL connection URI string for connecting to the database.\").nullable(),\n}).passthrough().describe(\"Response schema for `GetProjectConnectionUri`\");\n\nexport const neonGetProjectConnectionUri = action(\"NEON_GET_PROJECT_CONNECTION_URI\", {\n slug: \"neon-get-project-connection-uri\",\n name: \"Get project connection uri\",\n description: \"Retrieves the connection URI for a specified project within the Neon B2B SaaS integration platform. This endpoint is crucial for establishing connectivity to a project's resources, enabling access to its data and functionalities. Use this when you need to programmatically obtain the connection details for a specific project, which is essential for integrating with the project's data sources or services. The connection URI serves as a unique identifier and access point for the project, facilitating seamless data exchange and workflow automation between different systems and applications within the Neon ecosystem.\",\n input: NeonGetProjectConnectionUriInput,\n output: NeonGetProjectConnectionUriOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC7K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC/P,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const NeonGetProjectConnectionUriInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const NeonGetProjectConnectionUriOutput: z.ZodObject<{
|
|
13
13
|
uri: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const neonGetProjectConnectionUri: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
role_name: string;
|
|
17
17
|
project_id: string;
|
|
@@ -11,7 +11,7 @@ declare const NeonGetProjectConnectionUriInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const NeonGetProjectConnectionUriOutput: z.ZodObject<{
|
|
13
13
|
uri: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const neonGetProjectConnectionUri: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
role_name: string;
|
|
17
17
|
project_id: string;
|
|
@@ -12,7 +12,7 @@ const neonGetProjectConnectionUri = action("NEON_GET_PROJECT_CONNECTION_URI", {
|
|
|
12
12
|
endpoint_id: z.string().describe("The compute endpoint ID (starts with 'ep-'). Defaults to the read-write endpoint associated with the branch_id if not specified. Required if the branch has multiple endpoints or no default read-write endpoint.").optional(),
|
|
13
13
|
database_name: z.string().describe("The name of the database to connect to within the branch (e.g., 'neondb').")
|
|
14
14
|
}).describe("Request schema for `GetProjectConnectionUri`"),
|
|
15
|
-
output: z.object({ uri: z.string().describe("The PostgreSQL connection URI string for connecting to the database.").nullable() }).describe("Response schema for `GetProjectConnectionUri`")
|
|
15
|
+
output: z.object({ uri: z.string().describe("The PostgreSQL connection URI string for connecting to the database.").nullable() }).passthrough().describe("Response schema for `GetProjectConnectionUri`")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { neonGetProjectConnectionUri };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-connection-uri.mjs","names":[],"sources":["../../src/actions/get-project-connection-uri.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectConnectionUriInput = z.object({\n pooled: z.boolean().describe(\"Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.\").optional(),\n branch_id: z.string().describe(\"The branch ID. Defaults to the project's default branch_id if not specified. The branch must have an associated compute endpoint.\").optional(),\n role_name: z.string().describe(\"The PostgreSQL role name to use for authentication (e.g., 'neondb_owner').\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The compute endpoint ID (starts with 'ep-'). Defaults to the read-write endpoint associated with the branch_id if not specified. Required if the branch has multiple endpoints or no default read-write endpoint.\").optional(),\n database_name: z.string().describe(\"The name of the database to connect to within the branch (e.g., 'neondb').\"),\n}).describe(\"Request schema for `GetProjectConnectionUri`\");\nexport const NeonGetProjectConnectionUriOutput = z.object({\n uri: z.string().describe(\"The PostgreSQL connection URI string for connecting to the database.\").nullable(),\n}).describe(\"Response schema for `GetProjectConnectionUri`\");\n\nexport const neonGetProjectConnectionUri = action(\"NEON_GET_PROJECT_CONNECTION_URI\", {\n slug: \"neon-get-project-connection-uri\",\n name: \"Get project connection uri\",\n description: \"Retrieves the connection URI for a specified project within the Neon B2B SaaS integration platform. This endpoint is crucial for establishing connectivity to a project's resources, enabling access to its data and functionalities. Use this when you need to programmatically obtain the connection details for a specific project, which is essential for integrating with the project's data sources or services. The connection URI serves as a unique identifier and access point for the project, facilitating seamless data exchange and workflow automation between different systems and applications within the Neon ecosystem.\",\n input: NeonGetProjectConnectionUriInput,\n output: NeonGetProjectConnectionUriOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EAC7K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;EAC/P,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACjH,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAT+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"get-project-connection-uri.mjs","names":[],"sources":["../../src/actions/get-project-connection-uri.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetProjectConnectionUriInput = z.object({\n pooled: z.boolean().describe(\"Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.\").optional(),\n branch_id: z.string().describe(\"The branch ID. Defaults to the project's default branch_id if not specified. The branch must have an associated compute endpoint.\").optional(),\n role_name: z.string().describe(\"The PostgreSQL role name to use for authentication (e.g., 'neondb_owner').\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The compute endpoint ID (starts with 'ep-'). Defaults to the read-write endpoint associated with the branch_id if not specified. Required if the branch has multiple endpoints or no default read-write endpoint.\").optional(),\n database_name: z.string().describe(\"The name of the database to connect to within the branch (e.g., 'neondb').\"),\n}).describe(\"Request schema for `GetProjectConnectionUri`\");\nexport const NeonGetProjectConnectionUriOutput = z.object({\n uri: z.string().describe(\"The PostgreSQL connection URI string for connecting to the database.\").nullable(),\n}).passthrough().describe(\"Response schema for `GetProjectConnectionUri`\");\n\nexport const neonGetProjectConnectionUri = action(\"NEON_GET_PROJECT_CONNECTION_URI\", {\n slug: \"neon-get-project-connection-uri\",\n name: \"Get project connection uri\",\n description: \"Retrieves the connection URI for a specified project within the Neon B2B SaaS integration platform. This endpoint is crucial for establishing connectivity to a project's resources, enabling access to its data and functionalities. Use this when you need to programmatically obtain the connection details for a specific project, which is essential for integrating with the project's data sources or services. The connection URI serves as a unique identifier and access point for the project, facilitating seamless data exchange and workflow automation between different systems and applications within the Neon ecosystem.\",\n input: NeonGetProjectConnectionUriInput,\n output: NeonGetProjectConnectionUriOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EAC7K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;EAC/P,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACjH,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAT+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|