@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-branches-data-api.mjs","names":[],"sources":["../../src/actions/get-branches-data-api.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesDataApiInput = z.object({\n branch_id: z.string().describe(\"The Neon branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n database_name: z.string().describe(\"The database name\"),\n}).describe(\"Request schema for `GetBranchesDataApi`\");\nconst NeonGetBranchesDataApi_DataApiSettingsSchema = z.object({\n db_schemas: z.array(z.string()).describe(\"List of database schemas exposed via the API\").nullable().optional(),\n db_max_rows: z.number().int().describe(\"Maximum number of rows returned per request\").nullable().optional(),\n db_anon_role: z.string().describe(\"The anonymous role used for unauthenticated requests\").nullable().optional(),\n openapi_mode: z.string().describe(\"OpenAPI mode configuration\").nullable().optional(),\n jwt_role_claim_key: z.string().describe(\"JWT claim key containing the role name\").nullable().optional(),\n db_extra_search_path: z.string().describe(\"Additional schema search path\").nullable().optional(),\n db_aggregates_enabled: z.boolean().describe(\"Whether database aggregates are enabled\").nullable().optional(),\n server_timing_enabled: z.boolean().describe(\"Whether server timing headers are enabled\").nullable().optional(),\n jwt_cache_max_lifetime: z.number().int().describe(\"JWT cache maximum lifetime in seconds\").nullable().optional(),\n server_cors_allowed_origins: z.string().describe(\"CORS allowed origins for the server\").nullable().optional(),\n}).describe(\"Configuration settings for the Data API (SubZero only)\");\nexport const NeonGetBranchesDataApiOutput = z.object({\n url: z.string().describe(\"The URL of the Neon Data API\").nullable(),\n status: z.string().describe(\"The status of the Neon Data API deployment\").nullable(),\n settings: NeonGetBranchesDataApi_DataApiSettingsSchema.nullable().optional(),\n available_schemas: z.array(z.string()).describe(\"List of available database schemas (SubZero only)\").nullable().optional(),\n}).describe(\"Response schema for `GetBranchesDataApi`\");\n\nexport const neonGetBranchesDataApi = action(\"NEON_GET_BRANCHES_DATA_API\", {\n slug: \"neon-get-branches-data-api\",\n name: \"Get Neon Data API for branch\",\n description: \"Retrieves the Neon Data API information for a specific branch and database. Use when you need to access the Data API URL, deployment status, or configuration settings for a particular database within a branch.\",\n input: NeonGetBranchesDataApiInput,\n output: NeonGetBranchesDataApiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACxD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-branches-data-api.mjs","names":[],"sources":["../../src/actions/get-branches-data-api.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesDataApiInput = z.object({\n branch_id: z.string().describe(\"The Neon branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n database_name: z.string().describe(\"The database name\"),\n}).describe(\"Request schema for `GetBranchesDataApi`\");\nconst NeonGetBranchesDataApi_DataApiSettingsSchema = z.object({\n db_schemas: z.array(z.string()).describe(\"List of database schemas exposed via the API\").nullable().optional(),\n db_max_rows: z.number().int().describe(\"Maximum number of rows returned per request\").nullable().optional(),\n db_anon_role: z.string().describe(\"The anonymous role used for unauthenticated requests\").nullable().optional(),\n openapi_mode: z.string().describe(\"OpenAPI mode configuration\").nullable().optional(),\n jwt_role_claim_key: z.string().describe(\"JWT claim key containing the role name\").nullable().optional(),\n db_extra_search_path: z.string().describe(\"Additional schema search path\").nullable().optional(),\n db_aggregates_enabled: z.boolean().describe(\"Whether database aggregates are enabled\").nullable().optional(),\n server_timing_enabled: z.boolean().describe(\"Whether server timing headers are enabled\").nullable().optional(),\n jwt_cache_max_lifetime: z.number().int().describe(\"JWT cache maximum lifetime in seconds\").nullable().optional(),\n server_cors_allowed_origins: z.string().describe(\"CORS allowed origins for the server\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the Data API (SubZero only)\");\nexport const NeonGetBranchesDataApiOutput = z.object({\n url: z.string().describe(\"The URL of the Neon Data API\").nullable(),\n status: z.string().describe(\"The status of the Neon Data API deployment\").nullable(),\n settings: NeonGetBranchesDataApi_DataApiSettingsSchema.nullable().optional(),\n available_schemas: z.array(z.string()).describe(\"List of available database schemas (SubZero only)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetBranchesDataApi`\");\n\nexport const neonGetBranchesDataApi = action(\"NEON_GET_BRANCHES_DATA_API\", {\n slug: \"neon-get-branches-data-api\",\n name: \"Get Neon Data API for branch\",\n description: \"Retrieves the Neon Data API information for a specific branch and database. Use when you need to access the Data API URL, deployment status, or configuration settings for a particular database within a branch.\",\n input: NeonGetBranchesDataApiInput,\n output: NeonGetBranchesDataApiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACxD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAQlF,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,UAAU,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC3E,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const NeonGetBranchesForProject_CreatedBySchema = zod.z.object({
|
|
|
9
9
|
id: zod.z.string().describe("Unique identifier (UUID) of the user who created the branch").nullable().optional(),
|
|
10
10
|
name: zod.z.string().describe("Name of the user who created the branch").nullable().optional(),
|
|
11
11
|
image: zod.z.string().describe("Profile image URL of the user who created the branch").nullable().optional()
|
|
12
|
-
}).describe("Information about the user who created the branch");
|
|
12
|
+
}).passthrough().describe("Information about the user who created the branch");
|
|
13
13
|
const NeonGetBranchesForProject_BranchSchema = zod.z.object({
|
|
14
14
|
id: zod.z.string().describe("Unique branch identifier with br- prefix").nullable(),
|
|
15
15
|
name: zod.z.string().describe("Branch name (auto-generated if not specified during creation)").nullable(),
|
|
@@ -37,12 +37,12 @@ const NeonGetBranchesForProject_BranchSchema = zod.z.object({
|
|
|
37
37
|
data_transfer_bytes: zod.z.number().int().describe("Outbound data transfer volume in bytes").nullable().optional(),
|
|
38
38
|
compute_time_seconds: zod.z.number().int().describe("Total compute activity duration in seconds").nullable().optional(),
|
|
39
39
|
ttl_interval_seconds: zod.z.number().int().describe("The duration between creation/update and expiration in seconds (read-only value preserved during branch resets)").nullable().optional()
|
|
40
|
-
}).describe("Branch object representing a Neon database branch");
|
|
41
|
-
const NeonGetBranchesForProject_PaginationSchema = zod.z.object({ cursor: zod.z.string().describe("Cursor value to use in the next request to retrieve the next batch of branches").nullable().optional() }).describe("Pagination metadata for cursor-based pagination");
|
|
40
|
+
}).passthrough().describe("Branch object representing a Neon database branch");
|
|
41
|
+
const NeonGetBranchesForProject_PaginationSchema = zod.z.object({ cursor: zod.z.string().describe("Cursor value to use in the next request to retrieve the next batch of branches").nullable().optional() }).passthrough().describe("Pagination metadata for cursor-based pagination");
|
|
42
42
|
const NeonGetBranchesForProjectOutput = zod.z.object({
|
|
43
43
|
branches: zod.z.array(NeonGetBranchesForProject_BranchSchema).describe("Array of branch objects for the specified project"),
|
|
44
44
|
pagination: NeonGetBranchesForProject_PaginationSchema.nullable().optional()
|
|
45
|
-
}).describe("Response schema for `GetBranchesForProject`");
|
|
45
|
+
}).passthrough().describe("Response schema for `GetBranchesForProject`");
|
|
46
46
|
const neonGetBranchesForProject = require_action.action("NEON_GET_BRANCHES_FOR_PROJECT", {
|
|
47
47
|
slug: "neon-get-branches-for-project",
|
|
48
48
|
name: "Get branches for project",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-branches-for-project.cjs","names":["z","action"],"sources":["../../src/actions/get-branches-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesForProjectInput = z.object({\n search: z.string().describe(\"Search by branch `name` or `id`. You can specify partial `name` or `id` values to filter results.\").optional(),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `GetBranchesForProject`\");\nconst NeonGetBranchesForProject_CreatedBySchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user who created the branch\").nullable().optional(),\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 NeonGetBranchesForProject_BranchSchema = z.object({\n id: z.string().describe(\"Unique branch identifier with br- prefix\").nullable(),\n name: z.string().describe(\"Branch name (auto-generated if not specified during creation)\").nullable(),\n \"default\": z.boolean().describe(\"Whether designated as project default branch\").nullable().optional(),\n primary: z.boolean().describe(\"Indicates if this is the primary/root branch\").nullable().optional(),\n parent_id: z.string().describe(\"ID of parent branch (null for root branches)\").nullable().optional(),\n protected: z.boolean().describe(\"Protected branches cannot be deleted and have specific operational constraints\").nullable().optional(),\n created_at: z.string().describe(\"Branch creation timestamp (RFC 3339 format)\").nullable(),\n created_by: NeonGetBranchesForProject_CreatedBySchema.nullable().optional(),\n expires_at: z.string().describe(\"Scheduled date and time when the branch will be automatically deleted (RFC 3339 format with timezone, maximum 30 days from current time)\").nullable().optional(),\n parent_lsn: z.string().describe(\"Log Sequence Number marking the parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Last modification timestamp (RFC 3339 format)\").nullable(),\n init_source: z.string().describe(\"Data source used when branch was initialized\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds consumed in current billing period\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes (excludes history)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., init, ready, storage_deleted)\").nullable().optional(),\n pending_state: z.string().describe(\"Next state the branch is transitioning to\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Origin of branch creation (console, api, cli)\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp when the parent branch state was captured (RFC 3339 format)\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last status change (RFC 3339 format)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Data written to branch in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Duration compute was actively running in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Outbound data transfer volume in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute activity duration in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The duration between creation/update and expiration in seconds (read-only value preserved during branch resets)\").nullable().optional(),\n}).describe(\"Branch object representing a Neon database branch\");\nconst NeonGetBranchesForProject_PaginationSchema = z.object({\n cursor: z.string().describe(\"Cursor value to use in the next request to retrieve the next batch of branches\").nullable().optional(),\n}).describe(\"Pagination metadata for cursor-based pagination\");\nexport const NeonGetBranchesForProjectOutput = z.object({\n branches: z.array(NeonGetBranchesForProject_BranchSchema).describe(\"Array of branch objects for the specified project\"),\n pagination: NeonGetBranchesForProject_PaginationSchema.nullable().optional(),\n}).describe(\"Response schema for `GetBranchesForProject`\");\n\nexport const neonGetBranchesForProject = action(\"NEON_GET_BRANCHES_FOR_PROJECT\", {\n slug: \"neon-get-branches-for-project\",\n name: \"Get branches for project\",\n description: \"Retrieves a list of branches associated with a specific project in the Neon B2B SaaS integration platform. This endpoint should be used when you need to get an overview of all branches within a particular project, which is useful for version management and workflow control. It provides information about different versions or development stages of the project, allowing for efficient project management and collaboration. The endpoint is particularly helpful when planning merges, reviewing project history, or deciding on which branch to base new development work.\",\n input: NeonGetBranchesForProjectInput,\n output: NeonGetBranchesForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,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-branches-for-project.cjs","names":["z","action"],"sources":["../../src/actions/get-branches-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesForProjectInput = z.object({\n search: z.string().describe(\"Search by branch `name` or `id`. You can specify partial `name` or `id` values to filter results.\").optional(),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `GetBranchesForProject`\");\nconst NeonGetBranchesForProject_CreatedBySchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user who created the branch\").nullable().optional(),\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 NeonGetBranchesForProject_BranchSchema = z.object({\n id: z.string().describe(\"Unique branch identifier with br- prefix\").nullable(),\n name: z.string().describe(\"Branch name (auto-generated if not specified during creation)\").nullable(),\n \"default\": z.boolean().describe(\"Whether designated as project default branch\").nullable().optional(),\n primary: z.boolean().describe(\"Indicates if this is the primary/root branch\").nullable().optional(),\n parent_id: z.string().describe(\"ID of parent branch (null for root branches)\").nullable().optional(),\n protected: z.boolean().describe(\"Protected branches cannot be deleted and have specific operational constraints\").nullable().optional(),\n created_at: z.string().describe(\"Branch creation timestamp (RFC 3339 format)\").nullable(),\n created_by: NeonGetBranchesForProject_CreatedBySchema.nullable().optional(),\n expires_at: z.string().describe(\"Scheduled date and time when the branch will be automatically deleted (RFC 3339 format with timezone, maximum 30 days from current time)\").nullable().optional(),\n parent_lsn: z.string().describe(\"Log Sequence Number marking the parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Last modification timestamp (RFC 3339 format)\").nullable(),\n init_source: z.string().describe(\"Data source used when branch was initialized\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds consumed in current billing period\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes (excludes history)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., init, ready, storage_deleted)\").nullable().optional(),\n pending_state: z.string().describe(\"Next state the branch is transitioning to\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Origin of branch creation (console, api, cli)\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp when the parent branch state was captured (RFC 3339 format)\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last status change (RFC 3339 format)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Data written to branch in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Duration compute was actively running in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Outbound data transfer volume in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute activity duration in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The duration between creation/update and expiration in seconds (read-only value preserved during branch resets)\").nullable().optional(),\n}).passthrough().describe(\"Branch object representing a Neon database branch\");\nconst NeonGetBranchesForProject_PaginationSchema = z.object({\n cursor: z.string().describe(\"Cursor value to use in the next request to retrieve the next batch of branches\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for cursor-based pagination\");\nexport const NeonGetBranchesForProjectOutput = z.object({\n branches: z.array(NeonGetBranchesForProject_BranchSchema).describe(\"Array of branch objects for the specified project\"),\n pagination: NeonGetBranchesForProject_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetBranchesForProject`\");\n\nexport const neonGetBranchesForProject = action(\"NEON_GET_BRANCHES_FOR_PROJECT\", {\n slug: \"neon-get-branches-for-project\",\n name: \"Get branches for project\",\n description: \"Retrieves a list of branches associated with a specific project in the Neon B2B SaaS integration platform. This endpoint should be used when you need to get an overview of all branches within a particular project, which is useful for version management and workflow control. It provides information about different versions or development stages of the project, allowing for efficient project management and collaboration. The endpoint is particularly helpful when planning merges, reviewing project history, or deciding on which branch to base new development work.\",\n input: NeonGetBranchesForProjectInput,\n output: NeonGetBranchesForProjectOutput,\n});\n"],"mappings":"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"}
|
|
@@ -18,7 +18,7 @@ declare const NeonGetBranchesForProjectOutput: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
project_id: z.ZodNullable<z.ZodString>;
|
|
@@ -37,11 +37,11 @@ declare const NeonGetBranchesForProjectOutput: z.ZodObject<{
|
|
|
37
37
|
data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
ttl_interval_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const neonGetBranchesForProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
project_id: string;
|
|
47
47
|
search?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare const NeonGetBranchesForProjectOutput: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
project_id: z.ZodNullable<z.ZodString>;
|
|
@@ -37,11 +37,11 @@ declare const NeonGetBranchesForProjectOutput: z.ZodObject<{
|
|
|
37
37
|
data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
ttl_interval_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const neonGetBranchesForProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
project_id: string;
|
|
47
47
|
search?: string | undefined;
|
|
@@ -9,7 +9,7 @@ const NeonGetBranchesForProject_CreatedBySchema = z.object({
|
|
|
9
9
|
id: z.string().describe("Unique identifier (UUID) of the user who created the branch").nullable().optional(),
|
|
10
10
|
name: z.string().describe("Name of the user who created the branch").nullable().optional(),
|
|
11
11
|
image: z.string().describe("Profile image URL of the user who created the branch").nullable().optional()
|
|
12
|
-
}).describe("Information about the user who created the branch");
|
|
12
|
+
}).passthrough().describe("Information about the user who created the branch");
|
|
13
13
|
const NeonGetBranchesForProject_BranchSchema = z.object({
|
|
14
14
|
id: z.string().describe("Unique branch identifier with br- prefix").nullable(),
|
|
15
15
|
name: z.string().describe("Branch name (auto-generated if not specified during creation)").nullable(),
|
|
@@ -37,8 +37,8 @@ const NeonGetBranchesForProject_BranchSchema = z.object({
|
|
|
37
37
|
data_transfer_bytes: z.number().int().describe("Outbound data transfer volume in bytes").nullable().optional(),
|
|
38
38
|
compute_time_seconds: z.number().int().describe("Total compute activity duration in seconds").nullable().optional(),
|
|
39
39
|
ttl_interval_seconds: z.number().int().describe("The duration between creation/update and expiration in seconds (read-only value preserved during branch resets)").nullable().optional()
|
|
40
|
-
}).describe("Branch object representing a Neon database branch");
|
|
41
|
-
const NeonGetBranchesForProject_PaginationSchema = z.object({ cursor: z.string().describe("Cursor value to use in the next request to retrieve the next batch of branches").nullable().optional() }).describe("Pagination metadata for cursor-based pagination");
|
|
40
|
+
}).passthrough().describe("Branch object representing a Neon database branch");
|
|
41
|
+
const NeonGetBranchesForProject_PaginationSchema = z.object({ cursor: z.string().describe("Cursor value to use in the next request to retrieve the next batch of branches").nullable().optional() }).passthrough().describe("Pagination metadata for cursor-based pagination");
|
|
42
42
|
const neonGetBranchesForProject = action("NEON_GET_BRANCHES_FOR_PROJECT", {
|
|
43
43
|
slug: "neon-get-branches-for-project",
|
|
44
44
|
name: "Get branches for project",
|
|
@@ -47,7 +47,7 @@ const neonGetBranchesForProject = action("NEON_GET_BRANCHES_FOR_PROJECT", {
|
|
|
47
47
|
output: z.object({
|
|
48
48
|
branches: z.array(NeonGetBranchesForProject_BranchSchema).describe("Array of branch objects for the specified project"),
|
|
49
49
|
pagination: NeonGetBranchesForProject_PaginationSchema.nullable().optional()
|
|
50
|
-
}).describe("Response schema for `GetBranchesForProject`")
|
|
50
|
+
}).passthrough().describe("Response schema for `GetBranchesForProject`")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { neonGetBranchesForProject };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-branches-for-project.mjs","names":[],"sources":["../../src/actions/get-branches-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesForProjectInput = z.object({\n search: z.string().describe(\"Search by branch `name` or `id`. You can specify partial `name` or `id` values to filter results.\").optional(),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `GetBranchesForProject`\");\nconst NeonGetBranchesForProject_CreatedBySchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user who created the branch\").nullable().optional(),\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 NeonGetBranchesForProject_BranchSchema = z.object({\n id: z.string().describe(\"Unique branch identifier with br- prefix\").nullable(),\n name: z.string().describe(\"Branch name (auto-generated if not specified during creation)\").nullable(),\n \"default\": z.boolean().describe(\"Whether designated as project default branch\").nullable().optional(),\n primary: z.boolean().describe(\"Indicates if this is the primary/root branch\").nullable().optional(),\n parent_id: z.string().describe(\"ID of parent branch (null for root branches)\").nullable().optional(),\n protected: z.boolean().describe(\"Protected branches cannot be deleted and have specific operational constraints\").nullable().optional(),\n created_at: z.string().describe(\"Branch creation timestamp (RFC 3339 format)\").nullable(),\n created_by: NeonGetBranchesForProject_CreatedBySchema.nullable().optional(),\n expires_at: z.string().describe(\"Scheduled date and time when the branch will be automatically deleted (RFC 3339 format with timezone, maximum 30 days from current time)\").nullable().optional(),\n parent_lsn: z.string().describe(\"Log Sequence Number marking the parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Last modification timestamp (RFC 3339 format)\").nullable(),\n init_source: z.string().describe(\"Data source used when branch was initialized\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds consumed in current billing period\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes (excludes history)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., init, ready, storage_deleted)\").nullable().optional(),\n pending_state: z.string().describe(\"Next state the branch is transitioning to\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Origin of branch creation (console, api, cli)\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp when the parent branch state was captured (RFC 3339 format)\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last status change (RFC 3339 format)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Data written to branch in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Duration compute was actively running in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Outbound data transfer volume in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute activity duration in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The duration between creation/update and expiration in seconds (read-only value preserved during branch resets)\").nullable().optional(),\n}).describe(\"Branch object representing a Neon database branch\");\nconst NeonGetBranchesForProject_PaginationSchema = z.object({\n cursor: z.string().describe(\"Cursor value to use in the next request to retrieve the next batch of branches\").nullable().optional(),\n}).describe(\"Pagination metadata for cursor-based pagination\");\nexport const NeonGetBranchesForProjectOutput = z.object({\n branches: z.array(NeonGetBranchesForProject_BranchSchema).describe(\"Array of branch objects for the specified project\"),\n pagination: NeonGetBranchesForProject_PaginationSchema.nullable().optional(),\n}).describe(\"Response schema for `GetBranchesForProject`\");\n\nexport const neonGetBranchesForProject = action(\"NEON_GET_BRANCHES_FOR_PROJECT\", {\n slug: \"neon-get-branches-for-project\",\n name: \"Get branches for project\",\n description: \"Retrieves a list of branches associated with a specific project in the Neon B2B SaaS integration platform. This endpoint should be used when you need to get an overview of all branches within a particular project, which is useful for version management and workflow control. It provides information about different versions or development stages of the project, allowing for efficient project management and collaboration. The endpoint is particularly helpful when planning merges, reviewing project history, or deciding on which branch to base new development work.\",\n input: NeonGetBranchesForProjectInput,\n output: NeonGetBranchesForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,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-branches-for-project.mjs","names":[],"sources":["../../src/actions/get-branches-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesForProjectInput = z.object({\n search: z.string().describe(\"Search by branch `name` or `id`. You can specify partial `name` or `id` values to filter results.\").optional(),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `GetBranchesForProject`\");\nconst NeonGetBranchesForProject_CreatedBySchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user who created the branch\").nullable().optional(),\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 NeonGetBranchesForProject_BranchSchema = z.object({\n id: z.string().describe(\"Unique branch identifier with br- prefix\").nullable(),\n name: z.string().describe(\"Branch name (auto-generated if not specified during creation)\").nullable(),\n \"default\": z.boolean().describe(\"Whether designated as project default branch\").nullable().optional(),\n primary: z.boolean().describe(\"Indicates if this is the primary/root branch\").nullable().optional(),\n parent_id: z.string().describe(\"ID of parent branch (null for root branches)\").nullable().optional(),\n protected: z.boolean().describe(\"Protected branches cannot be deleted and have specific operational constraints\").nullable().optional(),\n created_at: z.string().describe(\"Branch creation timestamp (RFC 3339 format)\").nullable(),\n created_by: NeonGetBranchesForProject_CreatedBySchema.nullable().optional(),\n expires_at: z.string().describe(\"Scheduled date and time when the branch will be automatically deleted (RFC 3339 format with timezone, maximum 30 days from current time)\").nullable().optional(),\n parent_lsn: z.string().describe(\"Log Sequence Number marking the parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\").nullable(),\n updated_at: z.string().describe(\"Last modification timestamp (RFC 3339 format)\").nullable(),\n init_source: z.string().describe(\"Data source used when branch was initialized\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds consumed in current billing period\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical data size in bytes (excludes history)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., init, ready, storage_deleted)\").nullable().optional(),\n pending_state: z.string().describe(\"Next state the branch is transitioning to\").nullable().optional(),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"Origin of branch creation (console, api, cli)\").nullable().optional(),\n parent_timestamp: z.string().describe(\"Timestamp when the parent branch state was captured (RFC 3339 format)\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last status change (RFC 3339 format)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Data written to branch in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Duration compute was actively running in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Outbound data transfer volume in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute activity duration in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The duration between creation/update and expiration in seconds (read-only value preserved during branch resets)\").nullable().optional(),\n}).passthrough().describe(\"Branch object representing a Neon database branch\");\nconst NeonGetBranchesForProject_PaginationSchema = z.object({\n cursor: z.string().describe(\"Cursor value to use in the next request to retrieve the next batch of branches\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for cursor-based pagination\");\nexport const NeonGetBranchesForProjectOutput = z.object({\n branches: z.array(NeonGetBranchesForProject_BranchSchema).describe(\"Array of branch objects for the specified project\"),\n pagination: NeonGetBranchesForProject_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetBranchesForProject`\");\n\nexport const neonGetBranchesForProject = action(\"NEON_GET_BRANCHES_FOR_PROJECT\", {\n slug: \"neon-get-branches-for-project\",\n name: \"Get branches for project\",\n description: \"Retrieves a list of branches associated with a specific project in the Neon B2B SaaS integration platform. This endpoint should be used when you need to get an overview of all branches within a particular project, which is useful for version management and workflow control. It provides information about different versions or development stages of the project, allowing for efficient project management and collaboration. The endpoint is particularly helpful when planning merges, reviewing project history, or deciding on which branch to base new development work.\",\n input: NeonGetBranchesForProjectInput,\n output: NeonGetBranchesForProjectOutput,\n});\n"],"mappings":"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"}
|
|
@@ -12,8 +12,8 @@ const NeonGetBranchesMaskingRules_MaskingRuleSchema = zod.z.object({
|
|
|
12
12
|
database_name: zod.z.string().describe("The name of the database where the masking rule applies.").nullable(),
|
|
13
13
|
masking_value: zod.z.string().describe("A static value used for masking instead of a function.").nullable().optional(),
|
|
14
14
|
masking_function: zod.z.string().describe("The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()').").nullable().optional()
|
|
15
|
-
}).describe("Masking rule defining how sensitive data should be anonymized.");
|
|
16
|
-
const NeonGetBranchesMaskingRulesOutput = zod.z.object({ masking_rules: zod.z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe("List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.") }).describe("Response schema for `GetBranchesMaskingRules`");
|
|
15
|
+
}).passthrough().describe("Masking rule defining how sensitive data should be anonymized.");
|
|
16
|
+
const NeonGetBranchesMaskingRulesOutput = zod.z.object({ masking_rules: zod.z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe("List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.") }).passthrough().describe("Response schema for `GetBranchesMaskingRules`");
|
|
17
17
|
const neonGetBranchesMaskingRules = require_action.action("NEON_GET_BRANCHES_MASKING_RULES", {
|
|
18
18
|
slug: "neon-get-branches-masking-rules",
|
|
19
19
|
name: "Get branches masking rules",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-branches-masking-rules.cjs","names":["z","action"],"sources":["../../src/actions/get-branches-masking-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n}).describe(\"Request schema for `GetBranchesMaskingRules`\");\nconst NeonGetBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()').\").nullable().optional(),\n}).describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonGetBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).describe(\"Response schema for `GetBranchesMaskingRules`\");\n\nexport const neonGetBranchesMaskingRules = action(\"NEON_GET_BRANCHES_MASKING_RULES\", {\n slug: \"neon-get-branches-masking-rules\",\n name: \"Get branches masking rules\",\n description: \"Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to view the data anonymization configuration for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonGetBranchesMaskingRulesInput,\n output: NeonGetBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAC3H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;
|
|
1
|
+
{"version":3,"file":"get-branches-masking-rules.cjs","names":["z","action"],"sources":["../../src/actions/get-branches-masking-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n}).describe(\"Request schema for `GetBranchesMaskingRules`\");\nconst NeonGetBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()').\").nullable().optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonGetBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).passthrough().describe(\"Response schema for `GetBranchesMaskingRules`\");\n\nexport const neonGetBranchesMaskingRules = action(\"NEON_GET_BRANCHES_MASKING_RULES\", {\n slug: \"neon-get-branches-masking-rules\",\n name: \"Get branches masking rules\",\n description: \"Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to view the data anonymization configuration for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonGetBranchesMaskingRulesInput,\n output: NeonGetBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAC3H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,eAAeA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8HAA8H,EAC/M,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"}
|
|
@@ -13,8 +13,8 @@ declare const NeonGetBranchesMaskingRulesOutput: z.ZodObject<{
|
|
|
13
13
|
database_name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
masking_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
masking_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const neonGetBranchesMaskingRules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
branch_id: string;
|
|
20
20
|
project_id: string;
|
|
@@ -13,8 +13,8 @@ declare const NeonGetBranchesMaskingRulesOutput: z.ZodObject<{
|
|
|
13
13
|
database_name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
masking_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
masking_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const neonGetBranchesMaskingRules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
branch_id: string;
|
|
20
20
|
project_id: string;
|
|
@@ -12,13 +12,13 @@ const NeonGetBranchesMaskingRules_MaskingRuleSchema = z.object({
|
|
|
12
12
|
database_name: z.string().describe("The name of the database where the masking rule applies.").nullable(),
|
|
13
13
|
masking_value: z.string().describe("A static value used for masking instead of a function.").nullable().optional(),
|
|
14
14
|
masking_function: z.string().describe("The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()').").nullable().optional()
|
|
15
|
-
}).describe("Masking rule defining how sensitive data should be anonymized.");
|
|
15
|
+
}).passthrough().describe("Masking rule defining how sensitive data should be anonymized.");
|
|
16
16
|
const neonGetBranchesMaskingRules = action("NEON_GET_BRANCHES_MASKING_RULES", {
|
|
17
17
|
slug: "neon-get-branches-masking-rules",
|
|
18
18
|
name: "Get branches masking rules",
|
|
19
19
|
description: "Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to view the data anonymization configuration for a branch. Note: This endpoint is currently in Beta.",
|
|
20
20
|
input: NeonGetBranchesMaskingRulesInput,
|
|
21
|
-
output: z.object({ masking_rules: z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe("List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.") }).describe("Response schema for `GetBranchesMaskingRules`")
|
|
21
|
+
output: z.object({ masking_rules: z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe("List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.") }).passthrough().describe("Response schema for `GetBranchesMaskingRules`")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { neonGetBranchesMaskingRules };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-branches-masking-rules.mjs","names":[],"sources":["../../src/actions/get-branches-masking-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n}).describe(\"Request schema for `GetBranchesMaskingRules`\");\nconst NeonGetBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()').\").nullable().optional(),\n}).describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonGetBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).describe(\"Response schema for `GetBranchesMaskingRules`\");\n\nexport const neonGetBranchesMaskingRules = action(\"NEON_GET_BRANCHES_MASKING_RULES\", {\n slug: \"neon-get-branches-masking-rules\",\n name: \"Get branches masking rules\",\n description: \"Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to view the data anonymization configuration for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonGetBranchesMaskingRulesInput,\n output: NeonGetBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAC3H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;
|
|
1
|
+
{"version":3,"file":"get-branches-masking-rules.mjs","names":[],"sources":["../../src/actions/get-branches-masking-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n}).describe(\"Request schema for `GetBranchesMaskingRules`\");\nconst NeonGetBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()').\").nullable().optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonGetBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonGetBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).passthrough().describe(\"Response schema for `GetBranchesMaskingRules`\");\n\nexport const neonGetBranchesMaskingRules = action(\"NEON_GET_BRANCHES_MASKING_RULES\", {\n slug: \"neon-get-branches-masking-rules\",\n name: \"Get branches masking rules\",\n description: \"Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to view the data anonymization configuration for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonGetBranchesMaskingRulesInput,\n output: NeonGetBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAC3H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAK1F,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,eAAe,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8HAA8H,EAC/M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -22,19 +22,19 @@ const NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema = zod.z.object(
|
|
|
22
22
|
active_time_seconds: zod.z.number().int().describe("The number of seconds the project's compute endpoints have been active during the period").nullable(),
|
|
23
23
|
compute_time_seconds: zod.z.number().int().describe("The number of CPU seconds used by the project's compute endpoints. A compute that uses 2 CPUs for 1 second equals compute_time=2").nullable(),
|
|
24
24
|
synthetic_storage_size_bytes: zod.z.number().int().describe("Total space occupied in storage, combining logical data size and WAL size across all branches").nullable()
|
|
25
|
-
}).describe("Time-segmented consumption metrics for a specific timeframe.");
|
|
25
|
+
}).passthrough().describe("Time-segmented consumption metrics for a specific timeframe.");
|
|
26
26
|
const NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema = zod.z.object({
|
|
27
27
|
period_id: zod.z.string().describe("Unique identifier for the billing period").nullable(),
|
|
28
28
|
period_end: zod.z.string().describe("Conclusion of the billing period in RFC 3339 format").nullable(),
|
|
29
29
|
consumption: zod.z.array(NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema).describe("Time-segmented consumption metrics with granularity specified in request (hourly, daily, or monthly)"),
|
|
30
30
|
period_plan: zod.z.string().describe("Plan type during the period (e.g., 'scale', 'business', 'enterprise')").nullable(),
|
|
31
31
|
period_start: zod.z.string().describe("Beginning of the billing period in RFC 3339 format").nullable()
|
|
32
|
-
}).describe("Billing period with time-segmented consumption data.");
|
|
32
|
+
}).passthrough().describe("Billing period with time-segmented consumption data.");
|
|
33
33
|
const NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema = zod.z.object({
|
|
34
34
|
periods: zod.z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema).describe("Collection of billing period objects containing consumption data"),
|
|
35
35
|
project_id: zod.z.string().describe("Unique identifier for the project").nullable()
|
|
36
|
-
}).describe("Consumption data for a single project.");
|
|
37
|
-
const NeonGetConsumptionHistoryProjectsOutput = zod.z.object({ projects: zod.z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe("Collection of project consumption data objects") }).describe("Response schema for `GetConsumptionHistoryProjects`");
|
|
36
|
+
}).passthrough().describe("Consumption data for a single project.");
|
|
37
|
+
const NeonGetConsumptionHistoryProjectsOutput = zod.z.object({ projects: zod.z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe("Collection of project consumption data objects") }).passthrough().describe("Response schema for `GetConsumptionHistoryProjects`");
|
|
38
38
|
const neonGetConsumptionHistoryProjects = require_action.action("NEON_GET_CONSUMPTION_HISTORY_PROJECTS", {
|
|
39
39
|
slug: "neon-get-consumption-history-projects",
|
|
40
40
|
name: "Get consumption history projects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-consumption-history-projects.cjs","names":["z","action"],"sources":["../../src/actions/get-consumption-history-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetConsumptionHistoryProjectsInput = z.object({\n to: z.string().describe(\"Specify the end `date-time` for the consumption period. The `date-time` value is rounded according to the specified granularity. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year.\"),\n from: z.string().describe(\"Specify the start `date-time` for the consumption period. The `date-time` value is rounded according to the specified `granularity`. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year. The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.\"),\n limit: z.number().int().default(10).describe(\"Specify a value from 1 to 100 to limit number of projects in the response.\").optional(),\n cursor: z.string().describe(\"Specify the cursor value from the previous response to get the next batch of projects.\").optional(),\n org_id: z.string().describe(\"The organization ID to retrieve project consumption metrics for. IMPORTANT: This parameter is effectively required - API returns an error without it. Get your org_id from NEON_GET_USER_ORGANIZATIONS. Format: 'org-xxxx-xxxx-xxxxxxxx'.\").optional(),\n granularity: z.enum([\"hourly\", \"daily\", \"monthly\"]).describe(\"Specify the granularity of consumption metrics. Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days, and 1 year, respectively.\"),\n project_ids: z.array(z.string()).describe(\"Specify a list of project IDs to filter the response. If omitted, the response will contain all projects. A list of project IDs can be specified as an array of parameter values or as a comma-separated list in a single parameter value. - As an array of parameter values: `project_ids=cold-poetry-09157238%20&project_ids=quiet-snow-71788278` - As a comma-separated list in a single parameter value: `project_ids=cold-poetry-09157238,quiet-snow-71788278`\").optional(),\n include_v1_metrics: z.boolean().describe(\"Include metrics utilized in previous pricing models. - **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour, which never decreases.\").optional(),\n}).describe(\"Request schema for `GetConsumptionHistoryProjects`\");\nconst NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema = z.object({\n timeframe_end: z.string().describe(\"End of the measurement interval in RFC 3339 format\").nullable(),\n timeframe_start: z.string().describe(\"Start of the measurement interval in RFC 3339 format\").nullable(),\n written_data_bytes: z.number().int().describe(\"The total amount of data written to all of a project's branches\").nullable(),\n active_time_seconds: z.number().int().describe(\"The number of seconds the project's compute endpoints have been active during the period\").nullable(),\n compute_time_seconds: z.number().int().describe(\"The number of CPU seconds used by the project's compute endpoints. A compute that uses 2 CPUs for 1 second equals compute_time=2\").nullable(),\n synthetic_storage_size_bytes: z.number().int().describe(\"Total space occupied in storage, combining logical data size and WAL size across all branches\").nullable(),\n}).describe(\"Time-segmented consumption metrics for a specific timeframe.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema = z.object({\n period_id: z.string().describe(\"Unique identifier for the billing period\").nullable(),\n period_end: z.string().describe(\"Conclusion of the billing period in RFC 3339 format\").nullable(),\n consumption: z.array(NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema).describe(\"Time-segmented consumption metrics with granularity specified in request (hourly, daily, or monthly)\"),\n period_plan: z.string().describe(\"Plan type during the period (e.g., 'scale', 'business', 'enterprise')\").nullable(),\n period_start: z.string().describe(\"Beginning of the billing period in RFC 3339 format\").nullable(),\n}).describe(\"Billing period with time-segmented consumption data.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema = z.object({\n periods: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema).describe(\"Collection of billing period objects containing consumption data\"),\n project_id: z.string().describe(\"Unique identifier for the project\").nullable(),\n}).describe(\"Consumption data for a single project.\");\nexport const NeonGetConsumptionHistoryProjectsOutput = z.object({\n projects: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe(\"Collection of project consumption data objects\"),\n}).describe(\"Response schema for `GetConsumptionHistoryProjects`\");\n\nexport const neonGetConsumptionHistoryProjects = action(\"NEON_GET_CONSUMPTION_HISTORY_PROJECTS\", {\n slug: \"neon-get-consumption-history-projects\",\n name: \"Get consumption history projects\",\n description: \"Retrieves consumption history for projects within a Neon organization. IMPORTANT: This endpoint is only available for Scale, Business, and Enterprise plan accounts. Free and Launch plans do not have access to this endpoint. Returns metrics including: - active_time_seconds: Time computes were active - compute_time_seconds: Total CPU seconds used (2 CPUs for 1 second = 2) - written_data_bytes: Data written to branches - synthetic_storage_size_bytes: Total storage occupied The org_id parameter is required to identify which organization's projects to query. Results are ordered chronologically (oldest to newest). Rate limit: ~30 requests/minute shared with account consumption endpoint. Note: This API call does NOT wake sleeping compute endpoints.\",\n input: NeonGetConsumptionHistoryProjectsInput,\n output: NeonGetConsumptionHistoryProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,igBAAigB;CACzhB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0lBAA0lB;CACpnB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O,CAAC,CAAC,SAAS;CAClR,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,6JAA6J;CAC1N,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qcAAqc,CAAC,CAAC,SAAS;CAC1f,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC7L,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"get-consumption-history-projects.cjs","names":["z","action"],"sources":["../../src/actions/get-consumption-history-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetConsumptionHistoryProjectsInput = z.object({\n to: z.string().describe(\"Specify the end `date-time` for the consumption period. The `date-time` value is rounded according to the specified granularity. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year.\"),\n from: z.string().describe(\"Specify the start `date-time` for the consumption period. The `date-time` value is rounded according to the specified `granularity`. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year. The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.\"),\n limit: z.number().int().default(10).describe(\"Specify a value from 1 to 100 to limit number of projects in the response.\").optional(),\n cursor: z.string().describe(\"Specify the cursor value from the previous response to get the next batch of projects.\").optional(),\n org_id: z.string().describe(\"The organization ID to retrieve project consumption metrics for. IMPORTANT: This parameter is effectively required - API returns an error without it. Get your org_id from NEON_GET_USER_ORGANIZATIONS. Format: 'org-xxxx-xxxx-xxxxxxxx'.\").optional(),\n granularity: z.enum([\"hourly\", \"daily\", \"monthly\"]).describe(\"Specify the granularity of consumption metrics. Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days, and 1 year, respectively.\"),\n project_ids: z.array(z.string()).describe(\"Specify a list of project IDs to filter the response. If omitted, the response will contain all projects. A list of project IDs can be specified as an array of parameter values or as a comma-separated list in a single parameter value. - As an array of parameter values: `project_ids=cold-poetry-09157238%20&project_ids=quiet-snow-71788278` - As a comma-separated list in a single parameter value: `project_ids=cold-poetry-09157238,quiet-snow-71788278`\").optional(),\n include_v1_metrics: z.boolean().describe(\"Include metrics utilized in previous pricing models. - **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour, which never decreases.\").optional(),\n}).describe(\"Request schema for `GetConsumptionHistoryProjects`\");\nconst NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema = z.object({\n timeframe_end: z.string().describe(\"End of the measurement interval in RFC 3339 format\").nullable(),\n timeframe_start: z.string().describe(\"Start of the measurement interval in RFC 3339 format\").nullable(),\n written_data_bytes: z.number().int().describe(\"The total amount of data written to all of a project's branches\").nullable(),\n active_time_seconds: z.number().int().describe(\"The number of seconds the project's compute endpoints have been active during the period\").nullable(),\n compute_time_seconds: z.number().int().describe(\"The number of CPU seconds used by the project's compute endpoints. A compute that uses 2 CPUs for 1 second equals compute_time=2\").nullable(),\n synthetic_storage_size_bytes: z.number().int().describe(\"Total space occupied in storage, combining logical data size and WAL size across all branches\").nullable(),\n}).passthrough().describe(\"Time-segmented consumption metrics for a specific timeframe.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema = z.object({\n period_id: z.string().describe(\"Unique identifier for the billing period\").nullable(),\n period_end: z.string().describe(\"Conclusion of the billing period in RFC 3339 format\").nullable(),\n consumption: z.array(NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema).describe(\"Time-segmented consumption metrics with granularity specified in request (hourly, daily, or monthly)\"),\n period_plan: z.string().describe(\"Plan type during the period (e.g., 'scale', 'business', 'enterprise')\").nullable(),\n period_start: z.string().describe(\"Beginning of the billing period in RFC 3339 format\").nullable(),\n}).passthrough().describe(\"Billing period with time-segmented consumption data.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema = z.object({\n periods: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema).describe(\"Collection of billing period objects containing consumption data\"),\n project_id: z.string().describe(\"Unique identifier for the project\").nullable(),\n}).passthrough().describe(\"Consumption data for a single project.\");\nexport const NeonGetConsumptionHistoryProjectsOutput = z.object({\n projects: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe(\"Collection of project consumption data objects\"),\n}).passthrough().describe(\"Response schema for `GetConsumptionHistoryProjects`\");\n\nexport const neonGetConsumptionHistoryProjects = action(\"NEON_GET_CONSUMPTION_HISTORY_PROJECTS\", {\n slug: \"neon-get-consumption-history-projects\",\n name: \"Get consumption history projects\",\n description: \"Retrieves consumption history for projects within a Neon organization. IMPORTANT: This endpoint is only available for Scale, Business, and Enterprise plan accounts. Free and Launch plans do not have access to this endpoint. Returns metrics including: - active_time_seconds: Time computes were active - compute_time_seconds: Total CPU seconds used (2 CPUs for 1 second = 2) - written_data_bytes: Data written to branches - synthetic_storage_size_bytes: Total storage occupied The org_id parameter is required to identify which organization's projects to query. Results are ordered chronologically (oldest to newest). Rate limit: ~30 requests/minute shared with account consumption endpoint. Note: This API call does NOT wake sleeping compute endpoints.\",\n input: NeonGetConsumptionHistoryProjectsInput,\n output: NeonGetConsumptionHistoryProjectsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -27,13 +27,13 @@ declare const NeonGetConsumptionHistoryProjectsOutput: z.ZodObject<{
|
|
|
27
27
|
active_time_seconds: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
compute_time_seconds: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
synthetic_storage_size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
period_plan: z.ZodNullable<z.ZodString>;
|
|
32
32
|
period_start: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
project_id: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neonGetConsumptionHistoryProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
to: string;
|
|
39
39
|
from: string;
|
|
@@ -27,13 +27,13 @@ declare const NeonGetConsumptionHistoryProjectsOutput: z.ZodObject<{
|
|
|
27
27
|
active_time_seconds: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
compute_time_seconds: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
synthetic_storage_size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
period_plan: z.ZodNullable<z.ZodString>;
|
|
32
32
|
period_start: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
project_id: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neonGetConsumptionHistoryProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
to: string;
|
|
39
39
|
from: string;
|
|
@@ -22,24 +22,24 @@ const NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema = z.object({
|
|
|
22
22
|
active_time_seconds: z.number().int().describe("The number of seconds the project's compute endpoints have been active during the period").nullable(),
|
|
23
23
|
compute_time_seconds: z.number().int().describe("The number of CPU seconds used by the project's compute endpoints. A compute that uses 2 CPUs for 1 second equals compute_time=2").nullable(),
|
|
24
24
|
synthetic_storage_size_bytes: z.number().int().describe("Total space occupied in storage, combining logical data size and WAL size across all branches").nullable()
|
|
25
|
-
}).describe("Time-segmented consumption metrics for a specific timeframe.");
|
|
25
|
+
}).passthrough().describe("Time-segmented consumption metrics for a specific timeframe.");
|
|
26
26
|
const NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema = z.object({
|
|
27
27
|
period_id: z.string().describe("Unique identifier for the billing period").nullable(),
|
|
28
28
|
period_end: z.string().describe("Conclusion of the billing period in RFC 3339 format").nullable(),
|
|
29
29
|
consumption: z.array(NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema).describe("Time-segmented consumption metrics with granularity specified in request (hourly, daily, or monthly)"),
|
|
30
30
|
period_plan: z.string().describe("Plan type during the period (e.g., 'scale', 'business', 'enterprise')").nullable(),
|
|
31
31
|
period_start: z.string().describe("Beginning of the billing period in RFC 3339 format").nullable()
|
|
32
|
-
}).describe("Billing period with time-segmented consumption data.");
|
|
32
|
+
}).passthrough().describe("Billing period with time-segmented consumption data.");
|
|
33
33
|
const NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema = z.object({
|
|
34
34
|
periods: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema).describe("Collection of billing period objects containing consumption data"),
|
|
35
35
|
project_id: z.string().describe("Unique identifier for the project").nullable()
|
|
36
|
-
}).describe("Consumption data for a single project.");
|
|
36
|
+
}).passthrough().describe("Consumption data for a single project.");
|
|
37
37
|
const neonGetConsumptionHistoryProjects = action("NEON_GET_CONSUMPTION_HISTORY_PROJECTS", {
|
|
38
38
|
slug: "neon-get-consumption-history-projects",
|
|
39
39
|
name: "Get consumption history projects",
|
|
40
40
|
description: "Retrieves consumption history for projects within a Neon organization. IMPORTANT: This endpoint is only available for Scale, Business, and Enterprise plan accounts. Free and Launch plans do not have access to this endpoint. Returns metrics including: - active_time_seconds: Time computes were active - compute_time_seconds: Total CPU seconds used (2 CPUs for 1 second = 2) - written_data_bytes: Data written to branches - synthetic_storage_size_bytes: Total storage occupied The org_id parameter is required to identify which organization's projects to query. Results are ordered chronologically (oldest to newest). Rate limit: ~30 requests/minute shared with account consumption endpoint. Note: This API call does NOT wake sleeping compute endpoints.",
|
|
41
41
|
input: NeonGetConsumptionHistoryProjectsInput,
|
|
42
|
-
output: z.object({ projects: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe("Collection of project consumption data objects") }).describe("Response schema for `GetConsumptionHistoryProjects`")
|
|
42
|
+
output: z.object({ projects: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe("Collection of project consumption data objects") }).passthrough().describe("Response schema for `GetConsumptionHistoryProjects`")
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { neonGetConsumptionHistoryProjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-consumption-history-projects.mjs","names":[],"sources":["../../src/actions/get-consumption-history-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetConsumptionHistoryProjectsInput = z.object({\n to: z.string().describe(\"Specify the end `date-time` for the consumption period. The `date-time` value is rounded according to the specified granularity. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year.\"),\n from: z.string().describe(\"Specify the start `date-time` for the consumption period. The `date-time` value is rounded according to the specified `granularity`. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year. The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.\"),\n limit: z.number().int().default(10).describe(\"Specify a value from 1 to 100 to limit number of projects in the response.\").optional(),\n cursor: z.string().describe(\"Specify the cursor value from the previous response to get the next batch of projects.\").optional(),\n org_id: z.string().describe(\"The organization ID to retrieve project consumption metrics for. IMPORTANT: This parameter is effectively required - API returns an error without it. Get your org_id from NEON_GET_USER_ORGANIZATIONS. Format: 'org-xxxx-xxxx-xxxxxxxx'.\").optional(),\n granularity: z.enum([\"hourly\", \"daily\", \"monthly\"]).describe(\"Specify the granularity of consumption metrics. Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days, and 1 year, respectively.\"),\n project_ids: z.array(z.string()).describe(\"Specify a list of project IDs to filter the response. If omitted, the response will contain all projects. A list of project IDs can be specified as an array of parameter values or as a comma-separated list in a single parameter value. - As an array of parameter values: `project_ids=cold-poetry-09157238%20&project_ids=quiet-snow-71788278` - As a comma-separated list in a single parameter value: `project_ids=cold-poetry-09157238,quiet-snow-71788278`\").optional(),\n include_v1_metrics: z.boolean().describe(\"Include metrics utilized in previous pricing models. - **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour, which never decreases.\").optional(),\n}).describe(\"Request schema for `GetConsumptionHistoryProjects`\");\nconst NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema = z.object({\n timeframe_end: z.string().describe(\"End of the measurement interval in RFC 3339 format\").nullable(),\n timeframe_start: z.string().describe(\"Start of the measurement interval in RFC 3339 format\").nullable(),\n written_data_bytes: z.number().int().describe(\"The total amount of data written to all of a project's branches\").nullable(),\n active_time_seconds: z.number().int().describe(\"The number of seconds the project's compute endpoints have been active during the period\").nullable(),\n compute_time_seconds: z.number().int().describe(\"The number of CPU seconds used by the project's compute endpoints. A compute that uses 2 CPUs for 1 second equals compute_time=2\").nullable(),\n synthetic_storage_size_bytes: z.number().int().describe(\"Total space occupied in storage, combining logical data size and WAL size across all branches\").nullable(),\n}).describe(\"Time-segmented consumption metrics for a specific timeframe.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema = z.object({\n period_id: z.string().describe(\"Unique identifier for the billing period\").nullable(),\n period_end: z.string().describe(\"Conclusion of the billing period in RFC 3339 format\").nullable(),\n consumption: z.array(NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema).describe(\"Time-segmented consumption metrics with granularity specified in request (hourly, daily, or monthly)\"),\n period_plan: z.string().describe(\"Plan type during the period (e.g., 'scale', 'business', 'enterprise')\").nullable(),\n period_start: z.string().describe(\"Beginning of the billing period in RFC 3339 format\").nullable(),\n}).describe(\"Billing period with time-segmented consumption data.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema = z.object({\n periods: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema).describe(\"Collection of billing period objects containing consumption data\"),\n project_id: z.string().describe(\"Unique identifier for the project\").nullable(),\n}).describe(\"Consumption data for a single project.\");\nexport const NeonGetConsumptionHistoryProjectsOutput = z.object({\n projects: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe(\"Collection of project consumption data objects\"),\n}).describe(\"Response schema for `GetConsumptionHistoryProjects`\");\n\nexport const neonGetConsumptionHistoryProjects = action(\"NEON_GET_CONSUMPTION_HISTORY_PROJECTS\", {\n slug: \"neon-get-consumption-history-projects\",\n name: \"Get consumption history projects\",\n description: \"Retrieves consumption history for projects within a Neon organization. IMPORTANT: This endpoint is only available for Scale, Business, and Enterprise plan accounts. Free and Launch plans do not have access to this endpoint. Returns metrics including: - active_time_seconds: Time computes were active - compute_time_seconds: Total CPU seconds used (2 CPUs for 1 second = 2) - written_data_bytes: Data written to branches - synthetic_storage_size_bytes: Total storage occupied The org_id parameter is required to identify which organization's projects to query. Results are ordered chronologically (oldest to newest). Rate limit: ~30 requests/minute shared with account consumption endpoint. Note: This API call does NOT wake sleeping compute endpoints.\",\n input: NeonGetConsumptionHistoryProjectsInput,\n output: NeonGetConsumptionHistoryProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,igBAAigB;CACzhB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0lBAA0lB;CACpnB,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O,CAAC,CAAC,SAAS;CAClR,aAAa,EAAE,KAAK;EAAC;EAAU;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,6JAA6J;CAC1N,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qcAAqc,CAAC,CAAC,SAAS;CAC1f,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC7L,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"get-consumption-history-projects.mjs","names":[],"sources":["../../src/actions/get-consumption-history-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonGetConsumptionHistoryProjectsInput = z.object({\n to: z.string().describe(\"Specify the end `date-time` for the consumption period. The `date-time` value is rounded according to the specified granularity. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year.\"),\n from: z.string().describe(\"Specify the start `date-time` for the consumption period. The `date-time` value is rounded according to the specified `granularity`. For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`. The specified `date-time` value must respect the specified `granularity`: - For `hourly`, consumption metrics are limited to the last 168 hours. - For `daily`, consumption metrics are limited to the last 60 days. - For `monthly`, consumption metrics are limited to the last year. The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.\"),\n limit: z.number().int().default(10).describe(\"Specify a value from 1 to 100 to limit number of projects in the response.\").optional(),\n cursor: z.string().describe(\"Specify the cursor value from the previous response to get the next batch of projects.\").optional(),\n org_id: z.string().describe(\"The organization ID to retrieve project consumption metrics for. IMPORTANT: This parameter is effectively required - API returns an error without it. Get your org_id from NEON_GET_USER_ORGANIZATIONS. Format: 'org-xxxx-xxxx-xxxxxxxx'.\").optional(),\n granularity: z.enum([\"hourly\", \"daily\", \"monthly\"]).describe(\"Specify the granularity of consumption metrics. Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days, and 1 year, respectively.\"),\n project_ids: z.array(z.string()).describe(\"Specify a list of project IDs to filter the response. If omitted, the response will contain all projects. A list of project IDs can be specified as an array of parameter values or as a comma-separated list in a single parameter value. - As an array of parameter values: `project_ids=cold-poetry-09157238%20&project_ids=quiet-snow-71788278` - As a comma-separated list in a single parameter value: `project_ids=cold-poetry-09157238,quiet-snow-71788278`\").optional(),\n include_v1_metrics: z.boolean().describe(\"Include metrics utilized in previous pricing models. - **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour, which never decreases.\").optional(),\n}).describe(\"Request schema for `GetConsumptionHistoryProjects`\");\nconst NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema = z.object({\n timeframe_end: z.string().describe(\"End of the measurement interval in RFC 3339 format\").nullable(),\n timeframe_start: z.string().describe(\"Start of the measurement interval in RFC 3339 format\").nullable(),\n written_data_bytes: z.number().int().describe(\"The total amount of data written to all of a project's branches\").nullable(),\n active_time_seconds: z.number().int().describe(\"The number of seconds the project's compute endpoints have been active during the period\").nullable(),\n compute_time_seconds: z.number().int().describe(\"The number of CPU seconds used by the project's compute endpoints. A compute that uses 2 CPUs for 1 second equals compute_time=2\").nullable(),\n synthetic_storage_size_bytes: z.number().int().describe(\"Total space occupied in storage, combining logical data size and WAL size across all branches\").nullable(),\n}).passthrough().describe(\"Time-segmented consumption metrics for a specific timeframe.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema = z.object({\n period_id: z.string().describe(\"Unique identifier for the billing period\").nullable(),\n period_end: z.string().describe(\"Conclusion of the billing period in RFC 3339 format\").nullable(),\n consumption: z.array(NeonGetConsumptionHistoryProjects_ConsumptionMetricsSchema).describe(\"Time-segmented consumption metrics with granularity specified in request (hourly, daily, or monthly)\"),\n period_plan: z.string().describe(\"Plan type during the period (e.g., 'scale', 'business', 'enterprise')\").nullable(),\n period_start: z.string().describe(\"Beginning of the billing period in RFC 3339 format\").nullable(),\n}).passthrough().describe(\"Billing period with time-segmented consumption data.\");\nconst NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema = z.object({\n periods: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionPeriodSchema).describe(\"Collection of billing period objects containing consumption data\"),\n project_id: z.string().describe(\"Unique identifier for the project\").nullable(),\n}).passthrough().describe(\"Consumption data for a single project.\");\nexport const NeonGetConsumptionHistoryProjectsOutput = z.object({\n projects: z.array(NeonGetConsumptionHistoryProjects_ProjectConsumptionSchema).describe(\"Collection of project consumption data objects\"),\n}).passthrough().describe(\"Response schema for `GetConsumptionHistoryProjects`\");\n\nexport const neonGetConsumptionHistoryProjects = action(\"NEON_GET_CONSUMPTION_HISTORY_PROJECTS\", {\n slug: \"neon-get-consumption-history-projects\",\n name: \"Get consumption history projects\",\n description: \"Retrieves consumption history for projects within a Neon organization. IMPORTANT: This endpoint is only available for Scale, Business, and Enterprise plan accounts. Free and Launch plans do not have access to this endpoint. Returns metrics including: - active_time_seconds: Time computes were active - compute_time_seconds: Total CPU seconds used (2 CPUs for 1 second = 2) - written_data_bytes: Data written to branches - synthetic_storage_size_bytes: Total storage occupied The org_id parameter is required to identify which organization's projects to query. Results are ordered chronologically (oldest to newest). Rate limit: ~30 requests/minute shared with account consumption endpoint. Note: This API call does NOT wake sleeping compute endpoints.\",\n input: NeonGetConsumptionHistoryProjectsInput,\n output: NeonGetConsumptionHistoryProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,igBAAigB;CACzhB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0lBAA0lB;CACpnB,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O,CAAC,CAAC,SAAS;CAClR,aAAa,EAAE,KAAK;EAAC;EAAU;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,6JAA6J;CAC1N,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qcAAqc,CAAC,CAAC,SAAS;CAC1f,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC7L,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,mEAAmE,EAAE,OAAO;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sGAAsG;CAChM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,6DAA6D,EAAE,OAAO;CAC1E,SAAS,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,kEAAkE;CAC9J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,gDAAgD,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const NeonGetCurrentUserInformation_UserInfoSchema = zod.z.object({
|
|
|
23
23
|
active_seconds_limit: zod.z.number().int().describe("Maximum compute active seconds per month").nullable().optional(),
|
|
24
24
|
max_autoscaling_limit: zod.z.number().describe("Maximum autoscaling compute units (CU) allowed").nullable().optional()
|
|
25
25
|
}).passthrough().describe("User profile information returned by the Neon API.");
|
|
26
|
-
const NeonGetCurrentUserInformationOutput = zod.z.object({ data: NeonGetCurrentUserInformation_UserInfoSchema.nullable().optional() }).describe("Response schema for `GetCurrentUserInformation`\n\nContains the authenticated user's profile information including\naccount details, subscription plan, and resource limits.");
|
|
26
|
+
const NeonGetCurrentUserInformationOutput = zod.z.object({ data: NeonGetCurrentUserInformation_UserInfoSchema.nullable().optional() }).passthrough().describe("Response schema for `GetCurrentUserInformation`\n\nContains the authenticated user's profile information including\naccount details, subscription plan, and resource limits.");
|
|
27
27
|
const neonGetCurrentUserInformation = require_action.action("NEON_GET_CURRENT_USER_INFORMATION", {
|
|
28
28
|
slug: "neon-get-current-user-information",
|
|
29
29
|
name: "Get current user information",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user-information.cjs","names":["z","action"],"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,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qKAAqK;AAC7O,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,6CAA6C,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,8KAA8K;
|
|
1
|
+
{"version":3,"file":"get-current-user-information.cjs","names":["z","action"],"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,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qKAAqK;AAC7O,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,6CAA6C,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8KAA8K;AAExM,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const NeonGetCurrentUserInformationOutput: z.ZodObject<{
|
|
|
23
23
|
active_seconds_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
max_autoscaling_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
}, z.core.$loose>>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const neonGetCurrentUserInformation: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { neonGetCurrentUserInformation };
|
|
@@ -23,7 +23,7 @@ declare const NeonGetCurrentUserInformationOutput: z.ZodObject<{
|
|
|
23
23
|
active_seconds_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
max_autoscaling_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
}, z.core.$loose>>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const neonGetCurrentUserInformation: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { neonGetCurrentUserInformation };
|
|
@@ -28,7 +28,7 @@ const neonGetCurrentUserInformation = action("NEON_GET_CURRENT_USER_INFORMATION"
|
|
|
28
28
|
name: "Get current user information",
|
|
29
29
|
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.",
|
|
30
30
|
input: NeonGetCurrentUserInformationInput,
|
|
31
|
-
output: z.object({ data: NeonGetCurrentUserInformation_UserInfoSchema.nullable().optional() }).describe("Response schema for `GetCurrentUserInformation`\n\nContains the authenticated user's profile information including\naccount details, subscription plan, and resource limits.")
|
|
31
|
+
output: z.object({ data: NeonGetCurrentUserInformation_UserInfoSchema.nullable().optional() }).passthrough().describe("Response schema for `GetCurrentUserInformation`\n\nContains the authenticated user's profile information including\naccount details, subscription plan, and resource limits.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { neonGetCurrentUserInformation };
|