@keystrokehq/neon 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.cjs +24 -0
- package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.d.cts +9 -0
- package/dist/actions/accept-projects-transfer-requests.d.cts.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.d.mts +9 -0
- package/dist/actions/accept-projects-transfer-requests.d.mts.map +1 -0
- package/dist/actions/accept-projects-transfer-requests.mjs +21 -0
- package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -0
- package/dist/actions/access-project-details-by-id.cjs +96 -0
- package/dist/actions/access-project-details-by-id.cjs.map +1 -0
- package/dist/actions/access-project-details-by-id.d.cts +9 -0
- package/dist/actions/access-project-details-by-id.d.cts.map +1 -0
- package/dist/actions/access-project-details-by-id.d.mts +9 -0
- package/dist/actions/access-project-details-by-id.d.mts.map +1 -0
- package/dist/actions/access-project-details-by-id.mjs +95 -0
- package/dist/actions/access-project-details-by-id.mjs.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs +49 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +9 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +9 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts.map +1 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs +48 -0
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -0
- package/dist/actions/add-project-email-permission.cjs +24 -0
- package/dist/actions/add-project-email-permission.cjs.map +1 -0
- package/dist/actions/add-project-email-permission.d.cts +9 -0
- package/dist/actions/add-project-email-permission.d.cts.map +1 -0
- package/dist/actions/add-project-email-permission.d.mts +9 -0
- package/dist/actions/add-project-email-permission.d.mts.map +1 -0
- package/dist/actions/add-project-email-permission.mjs +23 -0
- package/dist/actions/add-project-email-permission.mjs.map +1 -0
- package/dist/actions/add-role-to-branch.cjs +44 -0
- package/dist/actions/add-role-to-branch.cjs.map +1 -0
- package/dist/actions/add-role-to-branch.d.cts +9 -0
- package/dist/actions/add-role-to-branch.d.cts.map +1 -0
- package/dist/actions/add-role-to-branch.d.mts +9 -0
- package/dist/actions/add-role-to-branch.d.mts.map +1 -0
- package/dist/actions/add-role-to-branch.mjs +43 -0
- package/dist/actions/add-role-to-branch.mjs.map +1 -0
- package/dist/actions/count-project-branches.cjs +19 -0
- package/dist/actions/count-project-branches.cjs.map +1 -0
- package/dist/actions/count-project-branches.d.cts +9 -0
- package/dist/actions/count-project-branches.d.cts.map +1 -0
- package/dist/actions/count-project-branches.d.mts +9 -0
- package/dist/actions/count-project-branches.d.mts.map +1 -0
- package/dist/actions/count-project-branches.mjs +16 -0
- package/dist/actions/count-project-branches.mjs.map +1 -0
- package/dist/actions/create-api-key-for-organization.cjs +25 -0
- package/dist/actions/create-api-key-for-organization.cjs.map +1 -0
- package/dist/actions/create-api-key-for-organization.d.cts +9 -0
- package/dist/actions/create-api-key-for-organization.d.cts.map +1 -0
- package/dist/actions/create-api-key-for-organization.d.mts +9 -0
- package/dist/actions/create-api-key-for-organization.d.mts.map +1 -0
- package/dist/actions/create-api-key-for-organization.mjs +22 -0
- package/dist/actions/create-api-key-for-organization.mjs.map +1 -0
- package/dist/actions/create-auth-keys.cjs +33 -0
- package/dist/actions/create-auth-keys.cjs.map +1 -0
- package/dist/actions/create-auth-keys.d.cts +9 -0
- package/dist/actions/create-auth-keys.d.cts.map +1 -0
- package/dist/actions/create-auth-keys.d.mts +9 -0
- package/dist/actions/create-auth-keys.d.mts.map +1 -0
- package/dist/actions/create-auth-keys.mjs +30 -0
- package/dist/actions/create-auth-keys.mjs.map +1 -0
- package/dist/actions/create-auth-user.cjs +21 -0
- package/dist/actions/create-auth-user.cjs.map +1 -0
- package/dist/actions/create-auth-user.d.cts +9 -0
- package/dist/actions/create-auth-user.d.cts.map +1 -0
- package/dist/actions/create-auth-user.d.mts +9 -0
- package/dist/actions/create-auth-user.d.mts.map +1 -0
- package/dist/actions/create-auth-user.mjs +18 -0
- package/dist/actions/create-auth-user.mjs.map +1 -0
- package/dist/actions/create-branch-database.cjs +46 -0
- package/dist/actions/create-branch-database.cjs.map +1 -0
- package/dist/actions/create-branch-database.d.cts +9 -0
- package/dist/actions/create-branch-database.d.cts.map +1 -0
- package/dist/actions/create-branch-database.d.mts +9 -0
- package/dist/actions/create-branch-database.d.mts.map +1 -0
- package/dist/actions/create-branch-database.mjs +45 -0
- package/dist/actions/create-branch-database.mjs.map +1 -0
- package/dist/actions/create-branches-auth.cjs +35 -0
- package/dist/actions/create-branches-auth.cjs.map +1 -0
- package/dist/actions/create-branches-auth.d.cts +9 -0
- package/dist/actions/create-branches-auth.d.cts.map +1 -0
- package/dist/actions/create-branches-auth.d.mts +9 -0
- package/dist/actions/create-branches-auth.d.mts.map +1 -0
- package/dist/actions/create-branches-auth.mjs +32 -0
- package/dist/actions/create-branches-auth.mjs.map +1 -0
- package/dist/actions/create-branches-data-api.cjs +38 -0
- package/dist/actions/create-branches-data-api.cjs.map +1 -0
- package/dist/actions/create-branches-data-api.d.cts +9 -0
- package/dist/actions/create-branches-data-api.d.cts.map +1 -0
- package/dist/actions/create-branches-data-api.d.mts +9 -0
- package/dist/actions/create-branches-data-api.d.mts.map +1 -0
- package/dist/actions/create-branches-data-api.mjs +35 -0
- package/dist/actions/create-branches-data-api.mjs.map +1 -0
- package/dist/actions/create-branches-snapshot.cjs +46 -0
- package/dist/actions/create-branches-snapshot.cjs.map +1 -0
- package/dist/actions/create-branches-snapshot.d.cts +9 -0
- package/dist/actions/create-branches-snapshot.d.cts.map +1 -0
- package/dist/actions/create-branches-snapshot.d.mts +9 -0
- package/dist/actions/create-branches-snapshot.d.mts.map +1 -0
- package/dist/actions/create-branches-snapshot.mjs +45 -0
- package/dist/actions/create-branches-snapshot.mjs.map +1 -0
- package/dist/actions/create-compute-endpoint.cjs +87 -0
- package/dist/actions/create-compute-endpoint.cjs.map +1 -0
- package/dist/actions/create-compute-endpoint.d.cts +9 -0
- package/dist/actions/create-compute-endpoint.d.cts.map +1 -0
- package/dist/actions/create-compute-endpoint.d.mts +9 -0
- package/dist/actions/create-compute-endpoint.d.mts.map +1 -0
- package/dist/actions/create-compute-endpoint.mjs +86 -0
- package/dist/actions/create-compute-endpoint.mjs.map +1 -0
- package/dist/actions/create-new-api-key.cjs +23 -0
- package/dist/actions/create-new-api-key.cjs.map +1 -0
- package/dist/actions/create-new-api-key.d.cts +9 -0
- package/dist/actions/create-new-api-key.d.cts.map +1 -0
- package/dist/actions/create-new-api-key.d.mts +9 -0
- package/dist/actions/create-new-api-key.d.mts.map +1 -0
- package/dist/actions/create-new-api-key.mjs +22 -0
- package/dist/actions/create-new-api-key.mjs.map +1 -0
- package/dist/actions/create-new-project-branch.cjs +85 -0
- package/dist/actions/create-new-project-branch.cjs.map +1 -0
- package/dist/actions/create-new-project-branch.d.cts +9 -0
- package/dist/actions/create-new-project-branch.d.cts.map +1 -0
- package/dist/actions/create-new-project-branch.d.mts +9 -0
- package/dist/actions/create-new-project-branch.d.mts.map +1 -0
- package/dist/actions/create-new-project-branch.mjs +84 -0
- package/dist/actions/create-new-project-branch.mjs.map +1 -0
- package/dist/actions/create-project-branch-anonymized.cjs +106 -0
- package/dist/actions/create-project-branch-anonymized.cjs.map +1 -0
- package/dist/actions/create-project-branch-anonymized.d.cts +9 -0
- package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -0
- package/dist/actions/create-project-branch-anonymized.d.mts +9 -0
- package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -0
- package/dist/actions/create-project-branch-anonymized.mjs +105 -0
- package/dist/actions/create-project-branch-anonymized.mjs.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.cjs +207 -0
- package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.d.cts +9 -0
- package/dist/actions/create-project-with-quota-and-settings.d.cts.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.d.mts +9 -0
- package/dist/actions/create-project-with-quota-and-settings.d.mts.map +1 -0
- package/dist/actions/create-project-with-quota-and-settings.mjs +206 -0
- package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -0
- package/dist/actions/create-projects-transfer-requests.cjs +24 -0
- package/dist/actions/create-projects-transfer-requests.cjs.map +1 -0
- package/dist/actions/create-projects-transfer-requests.d.cts +9 -0
- package/dist/actions/create-projects-transfer-requests.d.cts.map +1 -0
- package/dist/actions/create-projects-transfer-requests.d.mts +9 -0
- package/dist/actions/create-projects-transfer-requests.d.mts.map +1 -0
- package/dist/actions/create-projects-transfer-requests.mjs +21 -0
- package/dist/actions/create-projects-transfer-requests.mjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.cjs +26 -0
- package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.d.cts +9 -0
- package/dist/actions/create-vpc-endpoint-label.d.cts.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.d.mts +9 -0
- package/dist/actions/create-vpc-endpoint-label.d.mts.map +1 -0
- package/dist/actions/create-vpc-endpoint-label.mjs +23 -0
- package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.cjs +27 -0
- package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.cts +9 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.cts.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.mts +9 -0
- package/dist/actions/create-vpc-endpoint-with-label.d.mts.map +1 -0
- package/dist/actions/create-vpc-endpoint-with-label.mjs +24 -0
- package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -0
- package/dist/actions/delete-api-key-by-id.cjs +25 -0
- package/dist/actions/delete-api-key-by-id.cjs.map +1 -0
- package/dist/actions/delete-api-key-by-id.d.cts +9 -0
- package/dist/actions/delete-api-key-by-id.d.cts.map +1 -0
- package/dist/actions/delete-api-key-by-id.d.mts +9 -0
- package/dist/actions/delete-api-key-by-id.d.mts.map +1 -0
- package/dist/actions/delete-api-key-by-id.mjs +24 -0
- package/dist/actions/delete-api-key-by-id.mjs.map +1 -0
- package/dist/actions/delete-auth-domains.cjs +30 -0
- package/dist/actions/delete-auth-domains.cjs.map +1 -0
- package/dist/actions/delete-auth-domains.d.cts +9 -0
- package/dist/actions/delete-auth-domains.d.cts.map +1 -0
- package/dist/actions/delete-auth-domains.d.mts +9 -0
- package/dist/actions/delete-auth-domains.d.mts.map +1 -0
- package/dist/actions/delete-auth-domains.mjs +27 -0
- package/dist/actions/delete-auth-domains.mjs.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.cjs +24 -0
- package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.d.cts +9 -0
- package/dist/actions/delete-auth-oauth-provider.d.cts.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.d.mts +9 -0
- package/dist/actions/delete-auth-oauth-provider.d.mts.map +1 -0
- package/dist/actions/delete-auth-oauth-provider.mjs +21 -0
- package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -0
- package/dist/actions/delete-auth-user.cjs +24 -0
- package/dist/actions/delete-auth-user.cjs.map +1 -0
- package/dist/actions/delete-auth-user.d.cts +9 -0
- package/dist/actions/delete-auth-user.d.cts.map +1 -0
- package/dist/actions/delete-auth-user.d.mts +9 -0
- package/dist/actions/delete-auth-user.d.mts.map +1 -0
- package/dist/actions/delete-auth-user.mjs +21 -0
- package/dist/actions/delete-auth-user.mjs.map +1 -0
- package/dist/actions/delete-branch-data-api.cjs +20 -0
- package/dist/actions/delete-branch-data-api.cjs.map +1 -0
- package/dist/actions/delete-branch-data-api.d.cts +9 -0
- package/dist/actions/delete-branch-data-api.d.cts.map +1 -0
- package/dist/actions/delete-branch-data-api.d.mts +9 -0
- package/dist/actions/delete-branch-data-api.d.mts.map +1 -0
- package/dist/actions/delete-branch-data-api.mjs +17 -0
- package/dist/actions/delete-branch-data-api.mjs.map +1 -0
- package/dist/actions/delete-database-from-branch.cjs +54 -0
- package/dist/actions/delete-database-from-branch.cjs.map +1 -0
- package/dist/actions/delete-database-from-branch.d.cts +9 -0
- package/dist/actions/delete-database-from-branch.d.cts.map +1 -0
- package/dist/actions/delete-database-from-branch.d.mts +9 -0
- package/dist/actions/delete-database-from-branch.d.mts.map +1 -0
- package/dist/actions/delete-database-from-branch.mjs +53 -0
- package/dist/actions/delete-database-from-branch.mjs.map +1 -0
- package/dist/actions/delete-organization-api-key.cjs +28 -0
- package/dist/actions/delete-organization-api-key.cjs.map +1 -0
- package/dist/actions/delete-organization-api-key.d.cts +9 -0
- package/dist/actions/delete-organization-api-key.d.cts.map +1 -0
- package/dist/actions/delete-organization-api-key.d.mts +9 -0
- package/dist/actions/delete-organization-api-key.d.mts.map +1 -0
- package/dist/actions/delete-organization-api-key.mjs +27 -0
- package/dist/actions/delete-organization-api-key.mjs.map +1 -0
- package/dist/actions/delete-organization-member.cjs +25 -0
- package/dist/actions/delete-organization-member.cjs.map +1 -0
- package/dist/actions/delete-organization-member.d.cts +9 -0
- package/dist/actions/delete-organization-member.d.cts.map +1 -0
- package/dist/actions/delete-organization-member.d.mts +9 -0
- package/dist/actions/delete-organization-member.d.mts.map +1 -0
- package/dist/actions/delete-organization-member.mjs +22 -0
- package/dist/actions/delete-organization-member.mjs.map +1 -0
- package/dist/actions/delete-project-branch-by-id.cjs +94 -0
- package/dist/actions/delete-project-branch-by-id.cjs.map +1 -0
- package/dist/actions/delete-project-branch-by-id.d.cts +9 -0
- package/dist/actions/delete-project-branch-by-id.d.cts.map +1 -0
- package/dist/actions/delete-project-branch-by-id.d.mts +9 -0
- package/dist/actions/delete-project-branch-by-id.d.mts.map +1 -0
- package/dist/actions/delete-project-branch-by-id.mjs +93 -0
- package/dist/actions/delete-project-branch-by-id.mjs.map +1 -0
- package/dist/actions/delete-project-branch-role.cjs +45 -0
- package/dist/actions/delete-project-branch-role.cjs.map +1 -0
- package/dist/actions/delete-project-branch-role.d.cts +9 -0
- package/dist/actions/delete-project-branch-role.d.cts.map +1 -0
- package/dist/actions/delete-project-branch-role.d.mts +9 -0
- package/dist/actions/delete-project-branch-role.d.mts.map +1 -0
- package/dist/actions/delete-project-branch-role.mjs +44 -0
- package/dist/actions/delete-project-branch-role.mjs.map +1 -0
- package/dist/actions/delete-project-by-id.cjs +27 -0
- package/dist/actions/delete-project-by-id.cjs.map +1 -0
- package/dist/actions/delete-project-by-id.d.cts +9 -0
- package/dist/actions/delete-project-by-id.d.cts.map +1 -0
- package/dist/actions/delete-project-by-id.d.mts +9 -0
- package/dist/actions/delete-project-by-id.d.mts.map +1 -0
- package/dist/actions/delete-project-by-id.mjs +26 -0
- package/dist/actions/delete-project-by-id.mjs.map +1 -0
- package/dist/actions/delete-project-endpoint.cjs +73 -0
- package/dist/actions/delete-project-endpoint.cjs.map +1 -0
- package/dist/actions/delete-project-endpoint.d.cts +9 -0
- package/dist/actions/delete-project-endpoint.d.cts.map +1 -0
- package/dist/actions/delete-project-endpoint.d.mts +9 -0
- package/dist/actions/delete-project-endpoint.d.mts.map +1 -0
- package/dist/actions/delete-project-endpoint.mjs +72 -0
- package/dist/actions/delete-project-endpoint.mjs.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.cjs +27 -0
- package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.d.cts +9 -0
- package/dist/actions/delete-project-jwks-by-id.d.cts.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.d.mts +9 -0
- package/dist/actions/delete-project-jwks-by-id.d.mts.map +1 -0
- package/dist/actions/delete-project-jwks-by-id.mjs +24 -0
- package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -0
- package/dist/actions/delete-project-permission.cjs +25 -0
- package/dist/actions/delete-project-permission.cjs.map +1 -0
- package/dist/actions/delete-project-permission.d.cts +9 -0
- package/dist/actions/delete-project-permission.d.cts.map +1 -0
- package/dist/actions/delete-project-permission.d.mts +9 -0
- package/dist/actions/delete-project-permission.d.mts.map +1 -0
- package/dist/actions/delete-project-permission.mjs +24 -0
- package/dist/actions/delete-project-permission.mjs.map +1 -0
- package/dist/actions/delete-project-snapshot.cjs +32 -0
- package/dist/actions/delete-project-snapshot.cjs.map +1 -0
- package/dist/actions/delete-project-snapshot.d.cts +9 -0
- package/dist/actions/delete-project-snapshot.d.cts.map +1 -0
- package/dist/actions/delete-project-snapshot.d.mts +9 -0
- package/dist/actions/delete-project-snapshot.d.mts.map +1 -0
- package/dist/actions/delete-project-snapshot.mjs +31 -0
- package/dist/actions/delete-project-snapshot.mjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs +30 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs +29 -0
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +23 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +9 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts.map +1 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +20 -0
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -0
- package/dist/actions/disable-branches-auth.cjs +20 -0
- package/dist/actions/disable-branches-auth.cjs.map +1 -0
- package/dist/actions/disable-branches-auth.d.cts +9 -0
- package/dist/actions/disable-branches-auth.d.cts.map +1 -0
- package/dist/actions/disable-branches-auth.d.mts +9 -0
- package/dist/actions/disable-branches-auth.d.mts.map +1 -0
- package/dist/actions/disable-branches-auth.mjs +17 -0
- package/dist/actions/disable-branches-auth.mjs.map +1 -0
- package/dist/actions/fetch-database-for-branch.cjs +27 -0
- package/dist/actions/fetch-database-for-branch.cjs.map +1 -0
- package/dist/actions/fetch-database-for-branch.d.cts +9 -0
- package/dist/actions/fetch-database-for-branch.d.cts.map +1 -0
- package/dist/actions/fetch-database-for-branch.d.mts +9 -0
- package/dist/actions/fetch-database-for-branch.d.mts.map +1 -0
- package/dist/actions/fetch-database-for-branch.mjs +26 -0
- package/dist/actions/fetch-database-for-branch.mjs.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.cjs +28 -0
- package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.d.cts +9 -0
- package/dist/actions/fetch-organization-members-by-id.d.cts.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.d.mts +9 -0
- package/dist/actions/fetch-organization-members-by-id.d.mts.map +1 -0
- package/dist/actions/fetch-organization-members-by-id.mjs +27 -0
- package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +27 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +9 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +9 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts.map +1 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +26 -0
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -0
- package/dist/actions/finalize-branch-restore.cjs +34 -0
- package/dist/actions/finalize-branch-restore.cjs.map +1 -0
- package/dist/actions/finalize-branch-restore.d.cts +9 -0
- package/dist/actions/finalize-branch-restore.d.cts.map +1 -0
- package/dist/actions/finalize-branch-restore.d.mts +9 -0
- package/dist/actions/finalize-branch-restore.d.mts.map +1 -0
- package/dist/actions/finalize-branch-restore.mjs +33 -0
- package/dist/actions/finalize-branch-restore.mjs.map +1 -0
- package/dist/actions/get-auth-allow-localhost.cjs +19 -0
- package/dist/actions/get-auth-allow-localhost.cjs.map +1 -0
- package/dist/actions/get-auth-allow-localhost.d.cts +9 -0
- package/dist/actions/get-auth-allow-localhost.d.cts.map +1 -0
- package/dist/actions/get-auth-allow-localhost.d.mts +9 -0
- package/dist/actions/get-auth-allow-localhost.d.mts.map +1 -0
- package/dist/actions/get-auth-allow-localhost.mjs +16 -0
- package/dist/actions/get-auth-allow-localhost.mjs.map +1 -0
- package/dist/actions/get-auth-email-provider.cjs +26 -0
- package/dist/actions/get-auth-email-provider.cjs.map +1 -0
- package/dist/actions/get-auth-email-provider.d.cts +9 -0
- package/dist/actions/get-auth-email-provider.d.cts.map +1 -0
- package/dist/actions/get-auth-email-provider.d.mts +9 -0
- package/dist/actions/get-auth-email-provider.d.mts.map +1 -0
- package/dist/actions/get-auth-email-provider.mjs +23 -0
- package/dist/actions/get-auth-email-provider.mjs.map +1 -0
- package/dist/actions/get-auth.cjs +27 -0
- package/dist/actions/get-auth.cjs.map +1 -0
- package/dist/actions/get-auth.d.cts +9 -0
- package/dist/actions/get-auth.d.cts.map +1 -0
- package/dist/actions/get-auth.d.mts +9 -0
- package/dist/actions/get-auth.d.mts.map +1 -0
- package/dist/actions/get-auth.mjs +26 -0
- package/dist/actions/get-auth.mjs.map +1 -0
- package/dist/actions/get-available-preload-libraries.cjs +23 -0
- package/dist/actions/get-available-preload-libraries.cjs.map +1 -0
- package/dist/actions/get-available-preload-libraries.d.cts +9 -0
- package/dist/actions/get-available-preload-libraries.d.cts.map +1 -0
- package/dist/actions/get-available-preload-libraries.d.mts +9 -0
- package/dist/actions/get-available-preload-libraries.d.mts.map +1 -0
- package/dist/actions/get-available-preload-libraries.mjs +22 -0
- package/dist/actions/get-available-preload-libraries.mjs.map +1 -0
- package/dist/actions/get-branch-roles-for-project.cjs +26 -0
- package/dist/actions/get-branch-roles-for-project.cjs.map +1 -0
- package/dist/actions/get-branch-roles-for-project.d.cts +9 -0
- package/dist/actions/get-branch-roles-for-project.d.cts.map +1 -0
- package/dist/actions/get-branch-roles-for-project.d.mts +9 -0
- package/dist/actions/get-branch-roles-for-project.d.mts.map +1 -0
- package/dist/actions/get-branch-roles-for-project.mjs +25 -0
- package/dist/actions/get-branch-roles-for-project.mjs.map +1 -0
- package/dist/actions/get-branches-anonymized-status.cjs +35 -0
- package/dist/actions/get-branches-anonymized-status.cjs.map +1 -0
- package/dist/actions/get-branches-anonymized-status.d.cts +9 -0
- package/dist/actions/get-branches-anonymized-status.d.cts.map +1 -0
- package/dist/actions/get-branches-anonymized-status.d.mts +9 -0
- package/dist/actions/get-branches-anonymized-status.d.mts.map +1 -0
- package/dist/actions/get-branches-anonymized-status.mjs +34 -0
- package/dist/actions/get-branches-anonymized-status.mjs.map +1 -0
- package/dist/actions/get-branches-backup-schedule.cjs +26 -0
- package/dist/actions/get-branches-backup-schedule.cjs.map +1 -0
- package/dist/actions/get-branches-backup-schedule.d.cts +9 -0
- package/dist/actions/get-branches-backup-schedule.d.cts.map +1 -0
- package/dist/actions/get-branches-backup-schedule.d.mts +9 -0
- package/dist/actions/get-branches-backup-schedule.d.mts.map +1 -0
- package/dist/actions/get-branches-backup-schedule.mjs +25 -0
- package/dist/actions/get-branches-backup-schedule.mjs.map +1 -0
- package/dist/actions/get-branches-data-api.cjs +37 -0
- package/dist/actions/get-branches-data-api.cjs.map +1 -0
- package/dist/actions/get-branches-data-api.d.cts +9 -0
- package/dist/actions/get-branches-data-api.d.cts.map +1 -0
- package/dist/actions/get-branches-data-api.d.mts +9 -0
- package/dist/actions/get-branches-data-api.d.mts.map +1 -0
- package/dist/actions/get-branches-data-api.mjs +36 -0
- package/dist/actions/get-branches-data-api.mjs.map +1 -0
- package/dist/actions/get-branches-for-project.cjs +56 -0
- package/dist/actions/get-branches-for-project.cjs.map +1 -0
- package/dist/actions/get-branches-for-project.d.cts +9 -0
- package/dist/actions/get-branches-for-project.d.cts.map +1 -0
- package/dist/actions/get-branches-for-project.d.mts +9 -0
- package/dist/actions/get-branches-for-project.d.mts.map +1 -0
- package/dist/actions/get-branches-for-project.mjs +55 -0
- package/dist/actions/get-branches-for-project.mjs.map +1 -0
- package/dist/actions/get-branches-masking-rules.cjs +27 -0
- package/dist/actions/get-branches-masking-rules.cjs.map +1 -0
- package/dist/actions/get-branches-masking-rules.d.cts +9 -0
- package/dist/actions/get-branches-masking-rules.d.cts.map +1 -0
- package/dist/actions/get-branches-masking-rules.d.mts +9 -0
- package/dist/actions/get-branches-masking-rules.d.mts.map +1 -0
- package/dist/actions/get-branches-masking-rules.mjs +26 -0
- package/dist/actions/get-branches-masking-rules.mjs.map +1 -0
- package/dist/actions/get-consumption-history-projects.cjs +48 -0
- package/dist/actions/get-consumption-history-projects.cjs.map +1 -0
- package/dist/actions/get-consumption-history-projects.d.cts +9 -0
- package/dist/actions/get-consumption-history-projects.d.cts.map +1 -0
- package/dist/actions/get-consumption-history-projects.d.mts +9 -0
- package/dist/actions/get-consumption-history-projects.d.mts.map +1 -0
- package/dist/actions/get-consumption-history-projects.mjs +47 -0
- package/dist/actions/get-consumption-history-projects.mjs.map +1 -0
- package/dist/actions/get-current-user-information.cjs +37 -0
- package/dist/actions/get-current-user-information.cjs.map +1 -0
- package/dist/actions/get-current-user-information.d.cts +9 -0
- package/dist/actions/get-current-user-information.d.cts.map +1 -0
- package/dist/actions/get-current-user-information.d.mts +9 -0
- package/dist/actions/get-current-user-information.d.mts.map +1 -0
- package/dist/actions/get-current-user-information.mjs +36 -0
- package/dist/actions/get-current-user-information.mjs.map +1 -0
- package/dist/actions/get-organization-api-keys.cjs +16 -0
- package/dist/actions/get-organization-api-keys.cjs.map +1 -0
- package/dist/actions/get-organization-api-keys.d.cts +9 -0
- package/dist/actions/get-organization-api-keys.d.cts.map +1 -0
- package/dist/actions/get-organization-api-keys.d.mts +9 -0
- package/dist/actions/get-organization-api-keys.d.mts.map +1 -0
- package/dist/actions/get-organization-api-keys.mjs +13 -0
- package/dist/actions/get-organization-api-keys.mjs.map +1 -0
- package/dist/actions/get-project-branch-role.cjs +43 -0
- package/dist/actions/get-project-branch-role.cjs.map +1 -0
- package/dist/actions/get-project-branch-role.d.cts +9 -0
- package/dist/actions/get-project-branch-role.d.cts.map +1 -0
- package/dist/actions/get-project-branch-role.d.mts +9 -0
- package/dist/actions/get-project-branch-role.d.mts.map +1 -0
- package/dist/actions/get-project-branch-role.mjs +42 -0
- package/dist/actions/get-project-branch-role.mjs.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.cjs +25 -0
- package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.d.cts +9 -0
- package/dist/actions/get-project-branch-schema-comparison.d.cts.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.d.mts +9 -0
- package/dist/actions/get-project-branch-schema-comparison.d.mts.map +1 -0
- package/dist/actions/get-project-branch-schema-comparison.mjs +22 -0
- package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -0
- package/dist/actions/get-project-branches.cjs +63 -0
- package/dist/actions/get-project-branches.cjs.map +1 -0
- package/dist/actions/get-project-branches.d.cts +9 -0
- package/dist/actions/get-project-branches.d.cts.map +1 -0
- package/dist/actions/get-project-branches.d.mts +9 -0
- package/dist/actions/get-project-branches.d.mts.map +1 -0
- package/dist/actions/get-project-branches.mjs +62 -0
- package/dist/actions/get-project-branches.mjs.map +1 -0
- package/dist/actions/get-project-connection-uri.cjs +23 -0
- package/dist/actions/get-project-connection-uri.cjs.map +1 -0
- package/dist/actions/get-project-connection-uri.d.cts +9 -0
- package/dist/actions/get-project-connection-uri.d.cts.map +1 -0
- package/dist/actions/get-project-connection-uri.d.mts +9 -0
- package/dist/actions/get-project-connection-uri.d.mts.map +1 -0
- package/dist/actions/get-project-connection-uri.mjs +20 -0
- package/dist/actions/get-project-connection-uri.mjs.map +1 -0
- package/dist/actions/get-project-endpoint-information.cjs +38 -0
- package/dist/actions/get-project-endpoint-information.cjs.map +1 -0
- package/dist/actions/get-project-endpoint-information.d.cts +9 -0
- package/dist/actions/get-project-endpoint-information.d.cts.map +1 -0
- package/dist/actions/get-project-endpoint-information.d.mts +9 -0
- package/dist/actions/get-project-endpoint-information.d.mts.map +1 -0
- package/dist/actions/get-project-endpoint-information.mjs +37 -0
- package/dist/actions/get-project-endpoint-information.mjs.map +1 -0
- package/dist/actions/get-project-operation-by-id.cjs +33 -0
- package/dist/actions/get-project-operation-by-id.cjs.map +1 -0
- package/dist/actions/get-project-operation-by-id.d.cts +9 -0
- package/dist/actions/get-project-operation-by-id.d.cts.map +1 -0
- package/dist/actions/get-project-operation-by-id.d.mts +9 -0
- package/dist/actions/get-project-operation-by-id.d.mts.map +1 -0
- package/dist/actions/get-project-operation-by-id.mjs +32 -0
- package/dist/actions/get-project-operation-by-id.mjs.map +1 -0
- package/dist/actions/get-schema-for-project-branch.cjs +22 -0
- package/dist/actions/get-schema-for-project-branch.cjs.map +1 -0
- package/dist/actions/get-schema-for-project-branch.d.cts +9 -0
- package/dist/actions/get-schema-for-project-branch.d.cts.map +1 -0
- package/dist/actions/get-schema-for-project-branch.d.mts +9 -0
- package/dist/actions/get-schema-for-project-branch.d.mts.map +1 -0
- package/dist/actions/get-schema-for-project-branch.mjs +19 -0
- package/dist/actions/get-schema-for-project-branch.mjs.map +1 -0
- package/dist/actions/get-user-organizations.cjs +25 -0
- package/dist/actions/get-user-organizations.cjs.map +1 -0
- package/dist/actions/get-user-organizations.d.cts +9 -0
- package/dist/actions/get-user-organizations.d.cts.map +1 -0
- package/dist/actions/get-user-organizations.d.mts +9 -0
- package/dist/actions/get-user-organizations.d.mts.map +1 -0
- package/dist/actions/get-user-organizations.mjs +24 -0
- package/dist/actions/get-user-organizations.mjs.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.cjs +29 -0
- package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.d.cts +9 -0
- package/dist/actions/get-vpc-region-endpoints.d.cts.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.d.mts +9 -0
- package/dist/actions/get-vpc-region-endpoints.d.mts.map +1 -0
- package/dist/actions/get-vpc-region-endpoints.mjs +28 -0
- package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -0
- package/dist/actions/index.cjs +215 -0
- package/dist/actions/index.d.cts +108 -0
- package/dist/actions/index.d.mts +108 -0
- package/dist/actions/index.mjs +108 -0
- package/dist/actions/list-api-keys.cjs +16 -0
- package/dist/actions/list-api-keys.cjs.map +1 -0
- package/dist/actions/list-api-keys.d.cts +9 -0
- package/dist/actions/list-api-keys.d.cts.map +1 -0
- package/dist/actions/list-api-keys.d.mts +9 -0
- package/dist/actions/list-api-keys.d.mts.map +1 -0
- package/dist/actions/list-api-keys.mjs +13 -0
- package/dist/actions/list-api-keys.mjs.map +1 -0
- package/dist/actions/list-auth-domains.cjs +23 -0
- package/dist/actions/list-auth-domains.cjs.map +1 -0
- package/dist/actions/list-auth-domains.d.cts +9 -0
- package/dist/actions/list-auth-domains.d.cts.map +1 -0
- package/dist/actions/list-auth-domains.d.mts +9 -0
- package/dist/actions/list-auth-domains.d.mts.map +1 -0
- package/dist/actions/list-auth-domains.mjs +22 -0
- package/dist/actions/list-auth-domains.mjs.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.cjs +25 -0
- package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.d.cts +9 -0
- package/dist/actions/list-auth-oauth-providers2.d.cts.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.d.mts +9 -0
- package/dist/actions/list-auth-oauth-providers2.d.mts.map +1 -0
- package/dist/actions/list-auth-oauth-providers2.mjs +24 -0
- package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -0
- package/dist/actions/list-projects-snapshots.cjs +26 -0
- package/dist/actions/list-projects-snapshots.cjs.map +1 -0
- package/dist/actions/list-projects-snapshots.d.cts +9 -0
- package/dist/actions/list-projects-snapshots.d.cts.map +1 -0
- package/dist/actions/list-projects-snapshots.d.mts +9 -0
- package/dist/actions/list-projects-snapshots.d.mts.map +1 -0
- package/dist/actions/list-projects-snapshots.mjs +25 -0
- package/dist/actions/list-projects-snapshots.mjs.map +1 -0
- package/dist/actions/list-shared-projects.cjs +38 -0
- package/dist/actions/list-shared-projects.cjs.map +1 -0
- package/dist/actions/list-shared-projects.d.cts +9 -0
- package/dist/actions/list-shared-projects.d.cts.map +1 -0
- package/dist/actions/list-shared-projects.d.mts +9 -0
- package/dist/actions/list-shared-projects.d.mts.map +1 -0
- package/dist/actions/list-shared-projects.mjs +37 -0
- package/dist/actions/list-shared-projects.mjs.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.cjs +21 -0
- package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.cts +9 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.cts.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.mts +9 -0
- package/dist/actions/list-vpc-vpc-endpoints.d.mts.map +1 -0
- package/dist/actions/list-vpc-vpc-endpoints.mjs +20 -0
- package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -0
- package/dist/actions/modify-branch-details-in-project.cjs +85 -0
- package/dist/actions/modify-branch-details-in-project.cjs.map +1 -0
- package/dist/actions/modify-branch-details-in-project.d.cts +9 -0
- package/dist/actions/modify-branch-details-in-project.d.cts.map +1 -0
- package/dist/actions/modify-branch-details-in-project.d.mts +9 -0
- package/dist/actions/modify-branch-details-in-project.d.mts.map +1 -0
- package/dist/actions/modify-branch-details-in-project.mjs +84 -0
- package/dist/actions/modify-branch-details-in-project.mjs.map +1 -0
- package/dist/actions/patch-branch-database-information.cjs +47 -0
- package/dist/actions/patch-branch-database-information.cjs.map +1 -0
- package/dist/actions/patch-branch-database-information.d.cts +9 -0
- package/dist/actions/patch-branch-database-information.d.cts.map +1 -0
- package/dist/actions/patch-branch-database-information.d.mts +9 -0
- package/dist/actions/patch-branch-database-information.d.mts.map +1 -0
- package/dist/actions/patch-branch-database-information.mjs +46 -0
- package/dist/actions/patch-branch-database-information.mjs.map +1 -0
- package/dist/actions/reset-role-password-for-branch.cjs +45 -0
- package/dist/actions/reset-role-password-for-branch.cjs.map +1 -0
- package/dist/actions/reset-role-password-for-branch.d.cts +9 -0
- package/dist/actions/reset-role-password-for-branch.d.cts.map +1 -0
- package/dist/actions/reset-role-password-for-branch.d.mts +9 -0
- package/dist/actions/reset-role-password-for-branch.d.mts.map +1 -0
- package/dist/actions/reset-role-password-for-branch.mjs +44 -0
- package/dist/actions/reset-role-password-for-branch.mjs.map +1 -0
- package/dist/actions/restart-project-endpoint.cjs +51 -0
- package/dist/actions/restart-project-endpoint.cjs.map +1 -0
- package/dist/actions/restart-project-endpoint.d.cts +9 -0
- package/dist/actions/restart-project-endpoint.d.cts.map +1 -0
- package/dist/actions/restart-project-endpoint.d.mts +9 -0
- package/dist/actions/restart-project-endpoint.d.mts.map +1 -0
- package/dist/actions/restart-project-endpoint.mjs +50 -0
- package/dist/actions/restart-project-endpoint.mjs.map +1 -0
- package/dist/actions/restore-project-branch.cjs +63 -0
- package/dist/actions/restore-project-branch.cjs.map +1 -0
- package/dist/actions/restore-project-branch.d.cts +9 -0
- package/dist/actions/restore-project-branch.d.cts.map +1 -0
- package/dist/actions/restore-project-branch.d.mts +9 -0
- package/dist/actions/restore-project-branch.d.mts.map +1 -0
- package/dist/actions/restore-project-branch.mjs +62 -0
- package/dist/actions/restore-project-branch.mjs.map +1 -0
- package/dist/actions/restore-snapshot.cjs +74 -0
- package/dist/actions/restore-snapshot.cjs.map +1 -0
- package/dist/actions/restore-snapshot.d.cts +9 -0
- package/dist/actions/restore-snapshot.d.cts.map +1 -0
- package/dist/actions/restore-snapshot.d.mts +9 -0
- package/dist/actions/restore-snapshot.d.mts.map +1 -0
- package/dist/actions/restore-snapshot.mjs +73 -0
- package/dist/actions/restore-snapshot.mjs.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.cjs +43 -0
- package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.d.cts +9 -0
- package/dist/actions/retrieve-account-consumption-history.d.cts.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.d.mts +9 -0
- package/dist/actions/retrieve-account-consumption-history.d.mts.map +1 -0
- package/dist/actions/retrieve-account-consumption-history.mjs +42 -0
- package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -0
- package/dist/actions/retrieve-all-regions.cjs +23 -0
- package/dist/actions/retrieve-all-regions.cjs.map +1 -0
- package/dist/actions/retrieve-all-regions.d.cts +9 -0
- package/dist/actions/retrieve-all-regions.d.cts.map +1 -0
- package/dist/actions/retrieve-all-regions.d.mts +9 -0
- package/dist/actions/retrieve-all-regions.d.mts.map +1 -0
- package/dist/actions/retrieve-all-regions.mjs +22 -0
- package/dist/actions/retrieve-all-regions.mjs.map +1 -0
- package/dist/actions/retrieve-branch-database-details.cjs +28 -0
- package/dist/actions/retrieve-branch-database-details.cjs.map +1 -0
- package/dist/actions/retrieve-branch-database-details.d.cts +9 -0
- package/dist/actions/retrieve-branch-database-details.d.cts.map +1 -0
- package/dist/actions/retrieve-branch-database-details.d.mts +9 -0
- package/dist/actions/retrieve-branch-database-details.d.mts.map +1 -0
- package/dist/actions/retrieve-branch-database-details.mjs +27 -0
- package/dist/actions/retrieve-branch-database-details.mjs.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.cjs +41 -0
- package/dist/actions/retrieve-branch-endpoints.cjs.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.d.cts +9 -0
- package/dist/actions/retrieve-branch-endpoints.d.cts.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.d.mts +9 -0
- package/dist/actions/retrieve-branch-endpoints.d.mts.map +1 -0
- package/dist/actions/retrieve-branch-endpoints.mjs +40 -0
- package/dist/actions/retrieve-branch-endpoints.mjs.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.cjs +26 -0
- package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.d.cts +9 -0
- package/dist/actions/retrieve-jwks-for-project.d.cts.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.d.mts +9 -0
- package/dist/actions/retrieve-jwks-for-project.d.mts.map +1 -0
- package/dist/actions/retrieve-jwks-for-project.mjs +25 -0
- package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -0
- package/dist/actions/retrieve-organization-by-id.cjs +25 -0
- package/dist/actions/retrieve-organization-by-id.cjs.map +1 -0
- package/dist/actions/retrieve-organization-by-id.d.cts +9 -0
- package/dist/actions/retrieve-organization-by-id.d.cts.map +1 -0
- package/dist/actions/retrieve-organization-by-id.d.mts +9 -0
- package/dist/actions/retrieve-organization-by-id.d.mts.map +1 -0
- package/dist/actions/retrieve-organization-by-id.mjs +24 -0
- package/dist/actions/retrieve-organization-by-id.mjs.map +1 -0
- package/dist/actions/retrieve-organization-invitations.cjs +28 -0
- package/dist/actions/retrieve-organization-invitations.cjs.map +1 -0
- package/dist/actions/retrieve-organization-invitations.d.cts +9 -0
- package/dist/actions/retrieve-organization-invitations.d.cts.map +1 -0
- package/dist/actions/retrieve-organization-invitations.d.mts +9 -0
- package/dist/actions/retrieve-organization-invitations.d.mts.map +1 -0
- package/dist/actions/retrieve-organization-invitations.mjs +27 -0
- package/dist/actions/retrieve-organization-invitations.mjs.map +1 -0
- package/dist/actions/retrieve-organization-member-info.cjs +26 -0
- package/dist/actions/retrieve-organization-member-info.cjs.map +1 -0
- package/dist/actions/retrieve-organization-member-info.d.cts +9 -0
- package/dist/actions/retrieve-organization-member-info.d.cts.map +1 -0
- package/dist/actions/retrieve-organization-member-info.d.mts +9 -0
- package/dist/actions/retrieve-organization-member-info.d.mts.map +1 -0
- package/dist/actions/retrieve-organization-member-info.mjs +25 -0
- package/dist/actions/retrieve-organization-member-info.mjs.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.cjs +46 -0
- package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.d.cts +9 -0
- package/dist/actions/retrieve-project-endpoint-details.d.cts.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.d.mts +9 -0
- package/dist/actions/retrieve-project-endpoint-details.d.mts.map +1 -0
- package/dist/actions/retrieve-project-endpoint-details.mjs +45 -0
- package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -0
- package/dist/actions/retrieve-project-operations.cjs +76 -0
- package/dist/actions/retrieve-project-operations.cjs.map +1 -0
- package/dist/actions/retrieve-project-operations.d.cts +9 -0
- package/dist/actions/retrieve-project-operations.d.cts.map +1 -0
- package/dist/actions/retrieve-project-operations.d.mts +9 -0
- package/dist/actions/retrieve-project-operations.d.mts.map +1 -0
- package/dist/actions/retrieve-project-operations.mjs +75 -0
- package/dist/actions/retrieve-project-operations.mjs.map +1 -0
- package/dist/actions/retrieve-project-permissions.cjs +16 -0
- package/dist/actions/retrieve-project-permissions.cjs.map +1 -0
- package/dist/actions/retrieve-project-permissions.d.cts +9 -0
- package/dist/actions/retrieve-project-permissions.d.cts.map +1 -0
- package/dist/actions/retrieve-project-permissions.d.mts +9 -0
- package/dist/actions/retrieve-project-permissions.d.mts.map +1 -0
- package/dist/actions/retrieve-project-permissions.mjs +13 -0
- package/dist/actions/retrieve-project-permissions.mjs.map +1 -0
- package/dist/actions/retrieve-projects-list.cjs +100 -0
- package/dist/actions/retrieve-projects-list.cjs.map +1 -0
- package/dist/actions/retrieve-projects-list.d.cts +9 -0
- package/dist/actions/retrieve-projects-list.d.cts.map +1 -0
- package/dist/actions/retrieve-projects-list.d.mts +9 -0
- package/dist/actions/retrieve-projects-list.d.mts.map +1 -0
- package/dist/actions/retrieve-projects-list.mjs +99 -0
- package/dist/actions/retrieve-projects-list.mjs.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +23 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +9 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +9 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts.map +1 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +22 -0
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.cjs +20 -0
- package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.d.cts +9 -0
- package/dist/actions/reveal-role-password-in-branch.d.cts.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.d.mts +9 -0
- package/dist/actions/reveal-role-password-in-branch.d.mts.map +1 -0
- package/dist/actions/reveal-role-password-in-branch.mjs +17 -0
- package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -0
- package/dist/actions/send-auth-test-email.cjs +29 -0
- package/dist/actions/send-auth-test-email.cjs.map +1 -0
- package/dist/actions/send-auth-test-email.d.cts +9 -0
- package/dist/actions/send-auth-test-email.d.cts.map +1 -0
- package/dist/actions/send-auth-test-email.d.mts +9 -0
- package/dist/actions/send-auth-test-email.d.mts.map +1 -0
- package/dist/actions/send-auth-test-email.mjs +26 -0
- package/dist/actions/send-auth-test-email.mjs.map +1 -0
- package/dist/actions/send-organization-invitations.cjs +30 -0
- package/dist/actions/send-organization-invitations.cjs.map +1 -0
- package/dist/actions/send-organization-invitations.d.cts +9 -0
- package/dist/actions/send-organization-invitations.d.cts.map +1 -0
- package/dist/actions/send-organization-invitations.d.mts +9 -0
- package/dist/actions/send-organization-invitations.d.mts.map +1 -0
- package/dist/actions/send-organization-invitations.mjs +29 -0
- package/dist/actions/send-organization-invitations.mjs.map +1 -0
- package/dist/actions/set-branch-as-default.cjs +58 -0
- package/dist/actions/set-branch-as-default.cjs.map +1 -0
- package/dist/actions/set-branch-as-default.d.cts +9 -0
- package/dist/actions/set-branch-as-default.d.cts.map +1 -0
- package/dist/actions/set-branch-as-default.d.mts +9 -0
- package/dist/actions/set-branch-as-default.d.mts.map +1 -0
- package/dist/actions/set-branch-as-default.mjs +57 -0
- package/dist/actions/set-branch-as-default.mjs.map +1 -0
- package/dist/actions/start-branch-anonymization.cjs +35 -0
- package/dist/actions/start-branch-anonymization.cjs.map +1 -0
- package/dist/actions/start-branch-anonymization.d.cts +9 -0
- package/dist/actions/start-branch-anonymization.d.cts.map +1 -0
- package/dist/actions/start-branch-anonymization.d.mts +9 -0
- package/dist/actions/start-branch-anonymization.d.mts.map +1 -0
- package/dist/actions/start-branch-anonymization.mjs +34 -0
- package/dist/actions/start-branch-anonymization.mjs.map +1 -0
- package/dist/actions/start-endpoint-for-project.cjs +60 -0
- package/dist/actions/start-endpoint-for-project.cjs.map +1 -0
- package/dist/actions/start-endpoint-for-project.d.cts +9 -0
- package/dist/actions/start-endpoint-for-project.d.cts.map +1 -0
- package/dist/actions/start-endpoint-for-project.d.mts +9 -0
- package/dist/actions/start-endpoint-for-project.d.mts.map +1 -0
- package/dist/actions/start-endpoint-for-project.mjs +59 -0
- package/dist/actions/start-endpoint-for-project.mjs.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.cjs +60 -0
- package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.cts +9 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.cts.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.mts +9 -0
- package/dist/actions/suspend-project-endpoint-by-id.d.mts.map +1 -0
- package/dist/actions/suspend-project-endpoint-by-id.mjs +59 -0
- package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.cjs +20 -0
- package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.d.cts +9 -0
- package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.d.mts +9 -0
- package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -0
- package/dist/actions/transfer-projects-between-organizations.mjs +17 -0
- package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.cjs +28 -0
- package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.d.cts +9 -0
- package/dist/actions/transfer-user-projects-to-organization.d.cts.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.d.mts +9 -0
- package/dist/actions/transfer-user-projects-to-organization.d.mts.map +1 -0
- package/dist/actions/transfer-user-projects-to-organization.mjs +27 -0
- package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -0
- package/dist/actions/update-auth-allow-localhost.cjs +20 -0
- package/dist/actions/update-auth-allow-localhost.cjs.map +1 -0
- package/dist/actions/update-auth-allow-localhost.d.cts +9 -0
- package/dist/actions/update-auth-allow-localhost.d.cts.map +1 -0
- package/dist/actions/update-auth-allow-localhost.d.mts +9 -0
- package/dist/actions/update-auth-allow-localhost.d.mts.map +1 -0
- package/dist/actions/update-auth-allow-localhost.mjs +17 -0
- package/dist/actions/update-auth-allow-localhost.mjs.map +1 -0
- package/dist/actions/update-auth-email-provider.cjs +32 -0
- package/dist/actions/update-auth-email-provider.cjs.map +1 -0
- package/dist/actions/update-auth-email-provider.d.cts +9 -0
- package/dist/actions/update-auth-email-provider.d.cts.map +1 -0
- package/dist/actions/update-auth-email-provider.d.mts +9 -0
- package/dist/actions/update-auth-email-provider.d.mts.map +1 -0
- package/dist/actions/update-auth-email-provider.mjs +29 -0
- package/dist/actions/update-auth-email-provider.mjs.map +1 -0
- package/dist/actions/update-branches-data-api.cjs +30 -0
- package/dist/actions/update-branches-data-api.cjs.map +1 -0
- package/dist/actions/update-branches-data-api.d.cts +9 -0
- package/dist/actions/update-branches-data-api.d.cts.map +1 -0
- package/dist/actions/update-branches-data-api.d.mts +9 -0
- package/dist/actions/update-branches-data-api.d.mts.map +1 -0
- package/dist/actions/update-branches-data-api.mjs +27 -0
- package/dist/actions/update-branches-data-api.mjs.map +1 -0
- package/dist/actions/update-branches-masking-rules.cjs +35 -0
- package/dist/actions/update-branches-masking-rules.cjs.map +1 -0
- package/dist/actions/update-branches-masking-rules.d.cts +9 -0
- package/dist/actions/update-branches-masking-rules.d.cts.map +1 -0
- package/dist/actions/update-branches-masking-rules.d.mts +9 -0
- package/dist/actions/update-branches-masking-rules.d.mts.map +1 -0
- package/dist/actions/update-branches-masking-rules.mjs +34 -0
- package/dist/actions/update-branches-masking-rules.mjs.map +1 -0
- package/dist/actions/update-organization-member-role.cjs +26 -0
- package/dist/actions/update-organization-member-role.cjs.map +1 -0
- package/dist/actions/update-organization-member-role.d.cts +9 -0
- package/dist/actions/update-organization-member-role.d.cts.map +1 -0
- package/dist/actions/update-organization-member-role.d.mts +9 -0
- package/dist/actions/update-organization-member-role.d.mts.map +1 -0
- package/dist/actions/update-organization-member-role.mjs +23 -0
- package/dist/actions/update-organization-member-role.mjs.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.cjs +71 -0
- package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.cts +9 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.cts.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.mts +9 -0
- package/dist/actions/update-project-compute-endpoint-settings.d.mts.map +1 -0
- package/dist/actions/update-project-compute-endpoint-settings.mjs +70 -0
- package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -0
- package/dist/actions/update-project-settings-by-id.cjs +104 -0
- package/dist/actions/update-project-settings-by-id.cjs.map +1 -0
- package/dist/actions/update-project-settings-by-id.d.cts +9 -0
- package/dist/actions/update-project-settings-by-id.d.cts.map +1 -0
- package/dist/actions/update-project-settings-by-id.d.mts +9 -0
- package/dist/actions/update-project-settings-by-id.d.mts.map +1 -0
- package/dist/actions/update-project-settings-by-id.mjs +103 -0
- package/dist/actions/update-project-settings-by-id.mjs.map +1 -0
- package/dist/actions/update-projects-snapshots.cjs +30 -0
- package/dist/actions/update-projects-snapshots.cjs.map +1 -0
- package/dist/actions/update-projects-snapshots.d.cts +9 -0
- package/dist/actions/update-projects-snapshots.d.cts.map +1 -0
- package/dist/actions/update-projects-snapshots.d.mts +9 -0
- package/dist/actions/update-projects-snapshots.d.mts.map +1 -0
- package/dist/actions/update-projects-snapshots.mjs +29 -0
- package/dist/actions/update-projects-snapshots.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +220 -0
- package/dist/index.d.cts +110 -0
- package/dist/index.d.mts +110 -0
- package/dist/index.mjs +111 -0
- package/package.json +49 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neonSendAuthTestEmail = action("NEON_SEND_AUTH_TEST_EMAIL", {
|
|
4
|
+
slug: "neon-send-auth-test-email",
|
|
5
|
+
name: "Send auth test email",
|
|
6
|
+
description: "Tool to send a test email using specified SMTP configuration for Neon Auth. Use when validating SMTP settings or testing email delivery for Neon Auth integration on a specific branch.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
host: z.string().describe("SMTP server hostname (e.g., 'smtp.gmail.com', 'smtp.sendgrid.net')."),
|
|
9
|
+
port: z.number().int().describe("SMTP server port number. Common ports: 587 (TLS), 465 (SSL), 25 (unencrypted)."),
|
|
10
|
+
password: z.string().describe("SMTP authentication password or app-specific password."),
|
|
11
|
+
username: z.string().describe("SMTP authentication username, typically an email address."),
|
|
12
|
+
branch_id: z.string().describe("The Neon branch ID (e.g., 'br-lucky-water-afkw1lov'). Obtain via NEON_GET_BRANCHES_FOR_PROJECT action."),
|
|
13
|
+
project_id: z.string().describe("The Neon project ID (e.g., 'dry-smoke-26258271'). Obtain via NEON_RETRIEVE_PROJECTS_LIST action."),
|
|
14
|
+
sender_name: z.string().describe("Display name that will appear as the sender of the test email."),
|
|
15
|
+
sender_email: z.string().describe("Email address that will appear as the sender of the test email."),
|
|
16
|
+
recipient_email: z.string().describe("Email address where the test email will be sent.")
|
|
17
|
+
}).describe("Request schema for SendAuthTestEmail"),
|
|
18
|
+
output: z.object({
|
|
19
|
+
success: z.boolean().describe("Whether the test email was sent successfully."),
|
|
20
|
+
error_message: z.string().describe("The error message from the email server if the test failed.").nullable().optional()
|
|
21
|
+
}).describe("Response schema for SendAuthTestEmail")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { neonSendAuthTestEmail };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=send-auth-test-email.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-auth-test-email.mjs","names":[],"sources":["../../src/actions/send-auth-test-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSendAuthTestEmailInput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"SMTP server hostname (e.g., 'smtp.gmail.com', 'smtp.sendgrid.net').\"),\n port: z.number().int().describe(\"SMTP server port number. Common ports: 587 (TLS), 465 (SSL), 25 (unencrypted).\"),\n password: z.string().describe(\"SMTP authentication password or app-specific password.\"),\n username: z.string().describe(\"SMTP authentication username, typically an email address.\"),\n branch_id: z.string().describe(\"The Neon branch ID (e.g., 'br-lucky-water-afkw1lov'). Obtain via NEON_GET_BRANCHES_FOR_PROJECT action.\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271'). Obtain via NEON_RETRIEVE_PROJECTS_LIST action.\"),\n sender_name: z.string().describe(\"Display name that will appear as the sender of the test email.\"),\n sender_email: z.string().describe(\"Email address that will appear as the sender of the test email.\"),\n recipient_email: z.string().describe(\"Email address where the test email will be sent.\"),\n}).describe(\"Request schema for SendAuthTestEmail\");\nexport const NeonSendAuthTestEmailOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the test email was sent successfully.\"),\n error_message: z.string().describe(\"The error message from the email server if the test failed.\").nullable().optional(),\n}).describe(\"Response schema for SendAuthTestEmail\");\n\nexport const neonSendAuthTestEmail = action(\"NEON_SEND_AUTH_TEST_EMAIL\", {\n slug: \"neon-send-auth-test-email\",\n name: \"Send auth test email\",\n description: \"Tool to send a test email using specified SMTP configuration for Neon Auth. Use when validating SMTP settings or testing email delivery for Neon Auth integration on a specific branch.\",\n input: NeonSendAuthTestEmailInput,\n output: NeonSendAuthTestEmailOutput,\n});\n"],"mappings":";;AAoBA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACzF,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-organization-invitations.ts
|
|
4
|
+
const NeonSendOrganizationInvitationsInput = zod.z.object({
|
|
5
|
+
org_id: zod.z.string().describe("The Neon organization ID"),
|
|
6
|
+
invitations: zod.z.array(zod.z.object({
|
|
7
|
+
role: zod.z.enum(["admin", "member"]).describe("The role of the organization member"),
|
|
8
|
+
email: zod.z.string().describe("Email")
|
|
9
|
+
}).describe("Request schema for `Invitations`")).describe("Invitations")
|
|
10
|
+
}).describe("Request schema for `SendOrganizationInvitations`");
|
|
11
|
+
const NeonSendOrganizationInvitations_OrganizationInvitationSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("Unique identifier of the invitation"),
|
|
13
|
+
role: zod.z.string().describe("Role assigned to the invited user (e.g., 'member')"),
|
|
14
|
+
email: zod.z.string().describe("Email address of the invited user"),
|
|
15
|
+
org_id: zod.z.string().describe("Organization identifier"),
|
|
16
|
+
invited_at: zod.z.string().describe("ISO 8601 timestamp when the invitation was created"),
|
|
17
|
+
invited_by: zod.z.string().describe("User ID of the person who sent the invitation")
|
|
18
|
+
}).describe("Individual organization invitation");
|
|
19
|
+
const NeonSendOrganizationInvitationsOutput = zod.z.object({ invitations: zod.z.array(NeonSendOrganizationInvitations_OrganizationInvitationSchema).describe("List of created organization invitations") }).describe("Response schema for `SendOrganizationInvitations`");
|
|
20
|
+
const neonSendOrganizationInvitations = require_action.action("NEON_SEND_ORGANIZATION_INVITATIONS", {
|
|
21
|
+
slug: "neon-send-organization-invitations",
|
|
22
|
+
name: "Send organization invitations",
|
|
23
|
+
description: "Creates and sends invitations to join an organization in the Neon B2B SaaS integration platform. This endpoint allows administrators to invite multiple users simultaneously, specifying their email addresses and intended roles within the organization. It should be used when expanding the organization's membership or when assigning new roles to incoming members. The endpoint does not verify if the email addresses are associated with existing Neon accounts; it simply sends out invitations to the specified email addresses.",
|
|
24
|
+
input: NeonSendOrganizationInvitationsInput,
|
|
25
|
+
output: NeonSendOrganizationInvitationsOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.neonSendOrganizationInvitations = neonSendOrganizationInvitations;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=send-organization-invitations.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-organization-invitations.cjs","names":["z","action"],"sources":["../../src/actions/send-organization-invitations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSendOrganizationInvitationsInput: z.ZodTypeAny = z.object({\n org_id: z.string().describe(\"The Neon organization ID\"),\n invitations: z.array(z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n email: z.string().describe(\"Email\"),\n}).describe(\"Request schema for `Invitations`\")).describe(\"Invitations\"),\n}).describe(\"Request schema for `SendOrganizationInvitations`\");\nconst NeonSendOrganizationInvitations_OrganizationInvitationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the invitation\"),\n role: z.string().describe(\"Role assigned to the invited user (e.g., 'member')\"),\n email: z.string().describe(\"Email address of the invited user\"),\n org_id: z.string().describe(\"Organization identifier\"),\n invited_at: z.string().describe(\"ISO 8601 timestamp when the invitation was created\"),\n invited_by: z.string().describe(\"User ID of the person who sent the invitation\"),\n}).describe(\"Individual organization invitation\");\nexport const NeonSendOrganizationInvitationsOutput: z.ZodTypeAny = z.object({\n invitations: z.array(NeonSendOrganizationInvitations_OrganizationInvitationSchema).describe(\"List of created organization invitations\"),\n}).describe(\"Response schema for `SendOrganizationInvitations`\");\n\nexport const neonSendOrganizationInvitations = action(\"NEON_SEND_ORGANIZATION_INVITATIONS\", {\n slug: \"neon-send-organization-invitations\",\n name: \"Send organization invitations\",\n description: \"Creates and sends invitations to join an organization in the Neon B2B SaaS integration platform. This endpoint allows administrators to invite multiple users simultaneously, specifying their email addresses and intended roles within the organization. It should be used when expanding the organization's membership or when assigning new roles to incoming members. The endpoint does not verify if the email addresses are associated with existing Neon accounts; it simply sends out invitations to the specified email addresses.\",\n input: NeonSendOrganizationInvitationsInput,\n output: NeonSendOrganizationInvitationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,OAAO;CACpC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,CAAC,SAAS,aAAa;AACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,aAAaA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,0CAA0C,EACxI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-organization-invitations.d.ts
|
|
4
|
+
declare const NeonSendOrganizationInvitationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonSendOrganizationInvitationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonSendOrganizationInvitations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonSendOrganizationInvitations };
|
|
9
|
+
//# sourceMappingURL=send-organization-invitations.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-organization-invitations.d.cts","names":[],"sources":["../../src/actions/send-organization-invitations.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAMU;AAAA,cASlD,qCAAA,EAAuC,CAAA,CAAE,UAEU;AAAA,cAEnD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-organization-invitations.d.ts
|
|
4
|
+
declare const NeonSendOrganizationInvitationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonSendOrganizationInvitationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonSendOrganizationInvitations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonSendOrganizationInvitations };
|
|
9
|
+
//# sourceMappingURL=send-organization-invitations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-organization-invitations.d.mts","names":[],"sources":["../../src/actions/send-organization-invitations.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAMU;AAAA,cASlD,qCAAA,EAAuC,CAAA,CAAE,UAEU;AAAA,cAEnD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/send-organization-invitations.ts
|
|
4
|
+
const NeonSendOrganizationInvitationsInput = z.object({
|
|
5
|
+
org_id: z.string().describe("The Neon organization ID"),
|
|
6
|
+
invitations: z.array(z.object({
|
|
7
|
+
role: z.enum(["admin", "member"]).describe("The role of the organization member"),
|
|
8
|
+
email: z.string().describe("Email")
|
|
9
|
+
}).describe("Request schema for `Invitations`")).describe("Invitations")
|
|
10
|
+
}).describe("Request schema for `SendOrganizationInvitations`");
|
|
11
|
+
const NeonSendOrganizationInvitations_OrganizationInvitationSchema = z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier of the invitation"),
|
|
13
|
+
role: z.string().describe("Role assigned to the invited user (e.g., 'member')"),
|
|
14
|
+
email: z.string().describe("Email address of the invited user"),
|
|
15
|
+
org_id: z.string().describe("Organization identifier"),
|
|
16
|
+
invited_at: z.string().describe("ISO 8601 timestamp when the invitation was created"),
|
|
17
|
+
invited_by: z.string().describe("User ID of the person who sent the invitation")
|
|
18
|
+
}).describe("Individual organization invitation");
|
|
19
|
+
const neonSendOrganizationInvitations = action("NEON_SEND_ORGANIZATION_INVITATIONS", {
|
|
20
|
+
slug: "neon-send-organization-invitations",
|
|
21
|
+
name: "Send organization invitations",
|
|
22
|
+
description: "Creates and sends invitations to join an organization in the Neon B2B SaaS integration platform. This endpoint allows administrators to invite multiple users simultaneously, specifying their email addresses and intended roles within the organization. It should be used when expanding the organization's membership or when assigning new roles to incoming members. The endpoint does not verify if the email addresses are associated with existing Neon accounts; it simply sends out invitations to the specified email addresses.",
|
|
23
|
+
input: NeonSendOrganizationInvitationsInput,
|
|
24
|
+
output: z.object({ invitations: z.array(NeonSendOrganizationInvitations_OrganizationInvitationSchema).describe("List of created organization invitations") }).describe("Response schema for `SendOrganizationInvitations`")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { neonSendOrganizationInvitations };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=send-organization-invitations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-organization-invitations.mjs","names":[],"sources":["../../src/actions/send-organization-invitations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSendOrganizationInvitationsInput: z.ZodTypeAny = z.object({\n org_id: z.string().describe(\"The Neon organization ID\"),\n invitations: z.array(z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n email: z.string().describe(\"Email\"),\n}).describe(\"Request schema for `Invitations`\")).describe(\"Invitations\"),\n}).describe(\"Request schema for `SendOrganizationInvitations`\");\nconst NeonSendOrganizationInvitations_OrganizationInvitationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the invitation\"),\n role: z.string().describe(\"Role assigned to the invited user (e.g., 'member')\"),\n email: z.string().describe(\"Email address of the invited user\"),\n org_id: z.string().describe(\"Organization identifier\"),\n invited_at: z.string().describe(\"ISO 8601 timestamp when the invitation was created\"),\n invited_by: z.string().describe(\"User ID of the person who sent the invitation\"),\n}).describe(\"Individual organization invitation\");\nexport const NeonSendOrganizationInvitationsOutput: z.ZodTypeAny = z.object({\n invitations: z.array(NeonSendOrganizationInvitations_OrganizationInvitationSchema).describe(\"List of created organization invitations\"),\n}).describe(\"Response schema for `SendOrganizationInvitations`\");\n\nexport const neonSendOrganizationInvitations = action(\"NEON_SEND_ORGANIZATION_INVITATIONS\", {\n slug: \"neon-send-organization-invitations\",\n name: \"Send organization invitations\",\n description: \"Creates and sends invitations to join an organization in the Neon B2B SaaS integration platform. This endpoint allows administrators to invite multiple users simultaneously, specifying their email addresses and intended roles within the organization. It should be used when expanding the organization's membership or when assigning new roles to incoming members. The endpoint does not verify if the email addresses are associated with existing Neon accounts; it simply sends out invitations to the specified email addresses.\",\n input: NeonSendOrganizationInvitationsInput,\n output: NeonSendOrganizationInvitationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,OAAO;CACpC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,CAAC,SAAS,aAAa;AACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,+DAA6E,EAAE,OAAO;CAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,aAAa,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,0CAA0C,EACxI,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/set-branch-as-default.ts
|
|
4
|
+
const NeonSetBranchAsDefaultInput = zod.z.object({
|
|
5
|
+
branch_id: zod.z.string().describe("The branch ID"),
|
|
6
|
+
project_id: zod.z.string().describe("The Neon project ID")
|
|
7
|
+
}).describe("Request schema for `SetBranchAsDefault`");
|
|
8
|
+
const NeonSetBranchAsDefault_EndpointSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Endpoint identifier with ep- prefix"),
|
|
10
|
+
host: zod.z.string().describe("The proxy host for the endpoint"),
|
|
11
|
+
name: zod.z.string().describe("User-specified endpoint name"),
|
|
12
|
+
type: zod.z.string().describe("Endpoint type (e.g., 'read_write', 'read_only')"),
|
|
13
|
+
status: zod.z.string().describe("Current operational state of the endpoint"),
|
|
14
|
+
branch_id: zod.z.string().describe("Associated branch identifier"),
|
|
15
|
+
region_id: zod.z.string().describe("Deployment region identifier"),
|
|
16
|
+
created_at: zod.z.string().describe("Timestamp when the endpoint was created"),
|
|
17
|
+
project_id: zod.z.string().describe("Associated project identifier"),
|
|
18
|
+
updated_at: zod.z.string().describe("Timestamp when the endpoint was last updated"),
|
|
19
|
+
compute_type: zod.z.string().describe("Compute instance type").nullable().optional(),
|
|
20
|
+
autoscaling_limit_max_cu: zod.z.number().describe("The maximum number of Compute Units").nullable().optional(),
|
|
21
|
+
autoscaling_limit_min_cu: zod.z.number().describe("The minimum number of Compute Units (minimum value is 0.25)").nullable().optional()
|
|
22
|
+
}).describe("Compute endpoint associated with a branch");
|
|
23
|
+
const NeonSetBranchAsDefault_BranchSchema = zod.z.object({
|
|
24
|
+
id: zod.z.string().describe("Branch identifier with br- prefix"),
|
|
25
|
+
name: zod.z.string().describe("Branch name"),
|
|
26
|
+
"default": zod.z.boolean().describe("Indicates if this is the project's default branch (will be true for the response)"),
|
|
27
|
+
endpoints: zod.z.array(NeonSetBranchAsDefault_EndpointSchema).describe("Compute endpoints associated with the branch").nullable().optional(),
|
|
28
|
+
parent_id: zod.z.string().describe("Parent branch identifier for child branches").nullable().optional(),
|
|
29
|
+
protected: zod.z.boolean().describe("Whether the branch is protected from deletion"),
|
|
30
|
+
created_at: zod.z.string().describe("Timestamp when the branch was created"),
|
|
31
|
+
parent_lsn: zod.z.string().describe("Log Sequence Number indicating parent branch state").nullable().optional(),
|
|
32
|
+
project_id: zod.z.string().describe("Associated project identifier"),
|
|
33
|
+
updated_at: zod.z.string().describe("Timestamp when the branch was last updated"),
|
|
34
|
+
archived_at: zod.z.string().describe("Timestamp when the branch was archived, if applicable").nullable().optional(),
|
|
35
|
+
init_source: zod.z.string().describe("Initialization source (e.g., 'parent-data')").nullable().optional(),
|
|
36
|
+
cpu_used_sec: zod.z.number().int().describe("Total CPU time consumed in seconds").nullable().optional(),
|
|
37
|
+
logical_size: zod.z.number().int().describe("Current logical data size in bytes").nullable().optional(),
|
|
38
|
+
current_state: zod.z.string().describe("Current operational state of the branch (e.g., 'ready')"),
|
|
39
|
+
physical_size: zod.z.number().int().describe("Physical storage size in bytes").nullable().optional(),
|
|
40
|
+
creation_source: zod.z.string().describe("How the branch was created (e.g., 'console')").nullable().optional(),
|
|
41
|
+
state_changed_at: zod.z.string().describe("Timestamp of last state change").nullable().optional(),
|
|
42
|
+
written_data_bytes: zod.z.number().int().describe("Total data written in bytes").nullable().optional(),
|
|
43
|
+
active_time_seconds: zod.z.number().int().describe("Total active time duration in seconds").nullable().optional(),
|
|
44
|
+
data_transfer_bytes: zod.z.number().int().describe("Total data transferred in bytes").nullable().optional(),
|
|
45
|
+
compute_time_seconds: zod.z.number().int().describe("Total compute time duration in seconds").nullable().optional()
|
|
46
|
+
}).describe("Branch object representing a Neon database branch");
|
|
47
|
+
const NeonSetBranchAsDefaultOutput = zod.z.object({ branch: NeonSetBranchAsDefault_BranchSchema.nullable() }).describe("Response schema for `SetBranchAsDefault`");
|
|
48
|
+
const neonSetBranchAsDefault = require_action.action("NEON_SET_BRANCH_AS_DEFAULT", {
|
|
49
|
+
slug: "neon-set-branch-as-default",
|
|
50
|
+
name: "Set branch as default",
|
|
51
|
+
description: "Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.",
|
|
52
|
+
input: NeonSetBranchAsDefaultInput,
|
|
53
|
+
output: NeonSetBranchAsDefaultOutput
|
|
54
|
+
});
|
|
55
|
+
//#endregion
|
|
56
|
+
exports.neonSetBranchAsDefault = neonSetBranchAsDefault;
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=set-branch-as-default.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-branch-as-default.cjs","names":["z","action"],"sources":["../../src/actions/set-branch-as-default.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSetBranchAsDefaultInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `SetBranchAsDefault`\");\nconst NeonSetBranchAsDefault_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Endpoint identifier with ep- prefix\"),\n host: z.string().describe(\"The proxy host for the endpoint\"),\n name: z.string().describe(\"User-specified endpoint name\"),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write', 'read_only')\"),\n status: z.string().describe(\"Current operational state of the endpoint\"),\n branch_id: z.string().describe(\"Associated branch identifier\"),\n region_id: z.string().describe(\"Deployment region identifier\"),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\"),\n project_id: z.string().describe(\"Associated project identifier\"),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\"),\n compute_type: z.string().describe(\"Compute instance type\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of Compute Units\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units (minimum value is 0.25)\").nullable().optional(),\n}).describe(\"Compute endpoint associated with a branch\");\nconst NeonSetBranchAsDefault_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Branch identifier with br- prefix\"),\n name: z.string().describe(\"Branch name\"),\n \"default\": z.boolean().describe(\"Indicates if this is the project's default branch (will be true for the response)\"),\n endpoints: z.array(NeonSetBranchAsDefault_EndpointSchema).describe(\"Compute endpoints associated with the branch\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier for child branches\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\"),\n created_at: z.string().describe(\"Timestamp when the branch was created\"),\n parent_lsn: z.string().describe(\"Log Sequence Number indicating parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\"),\n updated_at: z.string().describe(\"Timestamp when the branch was last updated\"),\n archived_at: z.string().describe(\"Timestamp when the branch was archived, if applicable\").nullable().optional(),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data')\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Total CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Current logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., 'ready')\"),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"How the branch was created (e.g., 'console')\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last state change\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total data written in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total active time duration in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total data transferred in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute time duration in seconds\").nullable().optional(),\n}).describe(\"Branch object representing a Neon database branch\");\nexport const NeonSetBranchAsDefaultOutput: z.ZodTypeAny = z.object({\n branch: NeonSetBranchAsDefault_BranchSchema.nullable(),\n}).describe(\"Response schema for `SetBranchAsDefault`\");\n\nexport const neonSetBranchAsDefault = action(\"NEON_SET_BRANCH_AS_DEFAULT\", {\n slug: \"neon-set-branch-as-default\",\n name: \"Set branch as default\",\n description: \"Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.\",\n input: NeonSetBranchAsDefaultInput,\n output: NeonSetBranchAsDefaultOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/set-branch-as-default.d.ts
|
|
4
|
+
declare const NeonSetBranchAsDefaultInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonSetBranchAsDefaultOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonSetBranchAsDefault: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonSetBranchAsDefault };
|
|
9
|
+
//# sourceMappingURL=set-branch-as-default.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-branch-as-default.d.cts","names":[],"sources":["../../src/actions/set-branch-as-default.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGU;AAAA,cAwCzC,4BAAA,EAA8B,CAAA,CAAE,UAEU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/set-branch-as-default.d.ts
|
|
4
|
+
declare const NeonSetBranchAsDefaultInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonSetBranchAsDefaultOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonSetBranchAsDefault: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonSetBranchAsDefault };
|
|
9
|
+
//# sourceMappingURL=set-branch-as-default.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-branch-as-default.d.mts","names":[],"sources":["../../src/actions/set-branch-as-default.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGU;AAAA,cAwCzC,4BAAA,EAA8B,CAAA,CAAE,UAEU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/set-branch-as-default.ts
|
|
4
|
+
const NeonSetBranchAsDefaultInput = z.object({
|
|
5
|
+
branch_id: z.string().describe("The branch ID"),
|
|
6
|
+
project_id: z.string().describe("The Neon project ID")
|
|
7
|
+
}).describe("Request schema for `SetBranchAsDefault`");
|
|
8
|
+
const NeonSetBranchAsDefault_EndpointSchema = z.object({
|
|
9
|
+
id: z.string().describe("Endpoint identifier with ep- prefix"),
|
|
10
|
+
host: z.string().describe("The proxy host for the endpoint"),
|
|
11
|
+
name: z.string().describe("User-specified endpoint name"),
|
|
12
|
+
type: z.string().describe("Endpoint type (e.g., 'read_write', 'read_only')"),
|
|
13
|
+
status: z.string().describe("Current operational state of the endpoint"),
|
|
14
|
+
branch_id: z.string().describe("Associated branch identifier"),
|
|
15
|
+
region_id: z.string().describe("Deployment region identifier"),
|
|
16
|
+
created_at: z.string().describe("Timestamp when the endpoint was created"),
|
|
17
|
+
project_id: z.string().describe("Associated project identifier"),
|
|
18
|
+
updated_at: z.string().describe("Timestamp when the endpoint was last updated"),
|
|
19
|
+
compute_type: z.string().describe("Compute instance type").nullable().optional(),
|
|
20
|
+
autoscaling_limit_max_cu: z.number().describe("The maximum number of Compute Units").nullable().optional(),
|
|
21
|
+
autoscaling_limit_min_cu: z.number().describe("The minimum number of Compute Units (minimum value is 0.25)").nullable().optional()
|
|
22
|
+
}).describe("Compute endpoint associated with a branch");
|
|
23
|
+
const NeonSetBranchAsDefault_BranchSchema = z.object({
|
|
24
|
+
id: z.string().describe("Branch identifier with br- prefix"),
|
|
25
|
+
name: z.string().describe("Branch name"),
|
|
26
|
+
"default": z.boolean().describe("Indicates if this is the project's default branch (will be true for the response)"),
|
|
27
|
+
endpoints: z.array(NeonSetBranchAsDefault_EndpointSchema).describe("Compute endpoints associated with the branch").nullable().optional(),
|
|
28
|
+
parent_id: z.string().describe("Parent branch identifier for child branches").nullable().optional(),
|
|
29
|
+
protected: z.boolean().describe("Whether the branch is protected from deletion"),
|
|
30
|
+
created_at: z.string().describe("Timestamp when the branch was created"),
|
|
31
|
+
parent_lsn: z.string().describe("Log Sequence Number indicating parent branch state").nullable().optional(),
|
|
32
|
+
project_id: z.string().describe("Associated project identifier"),
|
|
33
|
+
updated_at: z.string().describe("Timestamp when the branch was last updated"),
|
|
34
|
+
archived_at: z.string().describe("Timestamp when the branch was archived, if applicable").nullable().optional(),
|
|
35
|
+
init_source: z.string().describe("Initialization source (e.g., 'parent-data')").nullable().optional(),
|
|
36
|
+
cpu_used_sec: z.number().int().describe("Total CPU time consumed in seconds").nullable().optional(),
|
|
37
|
+
logical_size: z.number().int().describe("Current logical data size in bytes").nullable().optional(),
|
|
38
|
+
current_state: z.string().describe("Current operational state of the branch (e.g., 'ready')"),
|
|
39
|
+
physical_size: z.number().int().describe("Physical storage size in bytes").nullable().optional(),
|
|
40
|
+
creation_source: z.string().describe("How the branch was created (e.g., 'console')").nullable().optional(),
|
|
41
|
+
state_changed_at: z.string().describe("Timestamp of last state change").nullable().optional(),
|
|
42
|
+
written_data_bytes: z.number().int().describe("Total data written in bytes").nullable().optional(),
|
|
43
|
+
active_time_seconds: z.number().int().describe("Total active time duration in seconds").nullable().optional(),
|
|
44
|
+
data_transfer_bytes: z.number().int().describe("Total data transferred in bytes").nullable().optional(),
|
|
45
|
+
compute_time_seconds: z.number().int().describe("Total compute time duration in seconds").nullable().optional()
|
|
46
|
+
}).describe("Branch object representing a Neon database branch");
|
|
47
|
+
const neonSetBranchAsDefault = action("NEON_SET_BRANCH_AS_DEFAULT", {
|
|
48
|
+
slug: "neon-set-branch-as-default",
|
|
49
|
+
name: "Set branch as default",
|
|
50
|
+
description: "Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.",
|
|
51
|
+
input: NeonSetBranchAsDefaultInput,
|
|
52
|
+
output: z.object({ branch: NeonSetBranchAsDefault_BranchSchema.nullable() }).describe("Response schema for `SetBranchAsDefault`")
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
export { neonSetBranchAsDefault };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=set-branch-as-default.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-branch-as-default.mjs","names":[],"sources":["../../src/actions/set-branch-as-default.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSetBranchAsDefaultInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `SetBranchAsDefault`\");\nconst NeonSetBranchAsDefault_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Endpoint identifier with ep- prefix\"),\n host: z.string().describe(\"The proxy host for the endpoint\"),\n name: z.string().describe(\"User-specified endpoint name\"),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write', 'read_only')\"),\n status: z.string().describe(\"Current operational state of the endpoint\"),\n branch_id: z.string().describe(\"Associated branch identifier\"),\n region_id: z.string().describe(\"Deployment region identifier\"),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\"),\n project_id: z.string().describe(\"Associated project identifier\"),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\"),\n compute_type: z.string().describe(\"Compute instance type\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of Compute Units\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units (minimum value is 0.25)\").nullable().optional(),\n}).describe(\"Compute endpoint associated with a branch\");\nconst NeonSetBranchAsDefault_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Branch identifier with br- prefix\"),\n name: z.string().describe(\"Branch name\"),\n \"default\": z.boolean().describe(\"Indicates if this is the project's default branch (will be true for the response)\"),\n endpoints: z.array(NeonSetBranchAsDefault_EndpointSchema).describe(\"Compute endpoints associated with the branch\").nullable().optional(),\n parent_id: z.string().describe(\"Parent branch identifier for child branches\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\"),\n created_at: z.string().describe(\"Timestamp when the branch was created\"),\n parent_lsn: z.string().describe(\"Log Sequence Number indicating parent branch state\").nullable().optional(),\n project_id: z.string().describe(\"Associated project identifier\"),\n updated_at: z.string().describe(\"Timestamp when the branch was last updated\"),\n archived_at: z.string().describe(\"Timestamp when the branch was archived, if applicable\").nullable().optional(),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data')\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"Total CPU time consumed in seconds\").nullable().optional(),\n logical_size: z.number().int().describe(\"Current logical data size in bytes\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the branch (e.g., 'ready')\"),\n physical_size: z.number().int().describe(\"Physical storage size in bytes\").nullable().optional(),\n creation_source: z.string().describe(\"How the branch was created (e.g., 'console')\").nullable().optional(),\n state_changed_at: z.string().describe(\"Timestamp of last state change\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total data written in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total active time duration in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total data transferred in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total compute time duration in seconds\").nullable().optional(),\n}).describe(\"Branch object representing a Neon database branch\");\nexport const NeonSetBranchAsDefaultOutput: z.ZodTypeAny = z.object({\n branch: NeonSetBranchAsDefault_BranchSchema.nullable(),\n}).describe(\"Response schema for `SetBranchAsDefault`\");\n\nexport const neonSetBranchAsDefault = action(\"NEON_SET_BRANCH_AS_DEFAULT\", {\n slug: \"neon-set-branch-as-default\",\n name: \"Set branch as default\",\n description: \"Sets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.\",\n input: NeonSetBranchAsDefaultInput,\n output: NeonSetBranchAsDefaultOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/start-branch-anonymization.ts
|
|
4
|
+
const NeonStartBranchAnonymizationInput = zod.z.object({
|
|
5
|
+
branch_id: zod.z.string().describe("The branch ID"),
|
|
6
|
+
project_id: zod.z.string().describe("The Neon project ID")
|
|
7
|
+
}).describe("Request schema for `StartBranchAnonymization`");
|
|
8
|
+
const NeonStartBranchAnonymization_LastRunSchema = zod.z.object({
|
|
9
|
+
startedAt: zod.z.string().describe("Timestamp indicating when the latest anonymization attempt started.").nullable().optional(),
|
|
10
|
+
completedAt: zod.z.string().describe("Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.").nullable().optional(),
|
|
11
|
+
triggeredBy: zod.z.string().describe("UUID of the user who triggered the latest anonymization attempt.").nullable().optional(),
|
|
12
|
+
maskedColumns: zod.z.number().int().describe("Number of columns that had masking rules applied during the attempt.").nullable().optional(),
|
|
13
|
+
triggeredByUsername: zod.z.string().describe("Username of the user who triggered the latest anonymization attempt.").nullable().optional()
|
|
14
|
+
}).describe("Metadata about the most recent anonymization attempt for the branch.");
|
|
15
|
+
const NeonStartBranchAnonymizationOutput = zod.z.object({
|
|
16
|
+
state: zod.z.string().describe("The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error"),
|
|
17
|
+
lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),
|
|
18
|
+
branchId: zod.z.string().describe("The ID of the anonymized branch"),
|
|
19
|
+
failedAt: zod.z.string().describe("A timestamp indicating when the anonymized branch operation failed (if applicable)").nullable().optional(),
|
|
20
|
+
createdAt: zod.z.string().describe("A timestamp indicating when the anonymized branch was created"),
|
|
21
|
+
projectId: zod.z.string().describe("The ID of the project"),
|
|
22
|
+
updatedAt: zod.z.string().describe("A timestamp indicating when the anonymized branch status was last updated"),
|
|
23
|
+
statusMessage: zod.z.string().describe("A descriptive message about the current status or any errors").nullable().optional()
|
|
24
|
+
}).describe("Response schema for `StartBranchAnonymization`");
|
|
25
|
+
const neonStartBranchAnonymization = require_action.action("NEON_START_BRANCH_ANONYMIZATION", {
|
|
26
|
+
slug: "neon-start-branch-anonymization",
|
|
27
|
+
name: "Start branch anonymization",
|
|
28
|
+
description: "Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.",
|
|
29
|
+
input: NeonStartBranchAnonymizationInput,
|
|
30
|
+
output: NeonStartBranchAnonymizationOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.neonStartBranchAnonymization = neonStartBranchAnonymization;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=start-branch-anonymization.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-branch-anonymization.cjs","names":["z","action"],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema: z.ZodTypeAny = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput: z.ZodTypeAny = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\"),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\"),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\"),\n projectId: z.string().describe(\"The ID of the project\"),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\"),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACpK,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/start-branch-anonymization.d.ts
|
|
4
|
+
declare const NeonStartBranchAnonymizationInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonStartBranchAnonymizationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonStartBranchAnonymization: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonStartBranchAnonymization };
|
|
9
|
+
//# sourceMappingURL=start-branch-anonymization.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-branch-anonymization.d.cts","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGU;AAAA,cAQ/C,kCAAA,EAAoC,CAAA,CAAE,UASU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/start-branch-anonymization.d.ts
|
|
4
|
+
declare const NeonStartBranchAnonymizationInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonStartBranchAnonymizationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonStartBranchAnonymization: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonStartBranchAnonymization };
|
|
9
|
+
//# sourceMappingURL=start-branch-anonymization.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-branch-anonymization.d.mts","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGU;AAAA,cAQ/C,kCAAA,EAAoC,CAAA,CAAE,UASU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/start-branch-anonymization.ts
|
|
4
|
+
const NeonStartBranchAnonymizationInput = z.object({
|
|
5
|
+
branch_id: z.string().describe("The branch ID"),
|
|
6
|
+
project_id: z.string().describe("The Neon project ID")
|
|
7
|
+
}).describe("Request schema for `StartBranchAnonymization`");
|
|
8
|
+
const NeonStartBranchAnonymization_LastRunSchema = z.object({
|
|
9
|
+
startedAt: z.string().describe("Timestamp indicating when the latest anonymization attempt started.").nullable().optional(),
|
|
10
|
+
completedAt: z.string().describe("Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.").nullable().optional(),
|
|
11
|
+
triggeredBy: z.string().describe("UUID of the user who triggered the latest anonymization attempt.").nullable().optional(),
|
|
12
|
+
maskedColumns: z.number().int().describe("Number of columns that had masking rules applied during the attempt.").nullable().optional(),
|
|
13
|
+
triggeredByUsername: z.string().describe("Username of the user who triggered the latest anonymization attempt.").nullable().optional()
|
|
14
|
+
}).describe("Metadata about the most recent anonymization attempt for the branch.");
|
|
15
|
+
const neonStartBranchAnonymization = action("NEON_START_BRANCH_ANONYMIZATION", {
|
|
16
|
+
slug: "neon-start-branch-anonymization",
|
|
17
|
+
name: "Start branch anonymization",
|
|
18
|
+
description: "Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.",
|
|
19
|
+
input: NeonStartBranchAnonymizationInput,
|
|
20
|
+
output: z.object({
|
|
21
|
+
state: z.string().describe("The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error"),
|
|
22
|
+
lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),
|
|
23
|
+
branchId: z.string().describe("The ID of the anonymized branch"),
|
|
24
|
+
failedAt: z.string().describe("A timestamp indicating when the anonymized branch operation failed (if applicable)").nullable().optional(),
|
|
25
|
+
createdAt: z.string().describe("A timestamp indicating when the anonymized branch was created"),
|
|
26
|
+
projectId: z.string().describe("The ID of the project"),
|
|
27
|
+
updatedAt: z.string().describe("A timestamp indicating when the anonymized branch status was last updated"),
|
|
28
|
+
statusMessage: z.string().describe("A descriptive message about the current status or any errors").nullable().optional()
|
|
29
|
+
}).describe("Response schema for `StartBranchAnonymization`")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { neonStartBranchAnonymization };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=start-branch-anonymization.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-branch-anonymization.mjs","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema: z.ZodTypeAny = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput: z.ZodTypeAny = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\"),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\"),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\"),\n projectId: z.string().describe(\"The ID of the project\"),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\"),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA2D,EAAE,OAAO;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAYlF,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB8D,EAAE,OAAO;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;EACpK,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/start-endpoint-for-project.ts
|
|
4
|
+
const NeonStartEndpointForProjectInput = zod.z.object({
|
|
5
|
+
project_id: zod.z.string().describe("The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint."),
|
|
6
|
+
endpoint_id: zod.z.string().describe("The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.")
|
|
7
|
+
}).describe("Request schema for `StartEndpointForProject`");
|
|
8
|
+
const NeonStartEndpointForProject_EndpointSettingsSchema = zod.z.object({ pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration settings.").nullable().optional() }).passthrough().describe("PostgreSQL configuration settings for the endpoint.");
|
|
9
|
+
const NeonStartEndpointForProject_EndpointInfoSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("The unique compute endpoint identifier."),
|
|
11
|
+
host: zod.z.string().describe("The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech')."),
|
|
12
|
+
type: zod.z.string().describe("The endpoint type (e.g., 'read_write', 'read_only').").nullable().optional(),
|
|
13
|
+
disabled: zod.z.boolean().describe("Whether the endpoint is disabled.").nullable().optional(),
|
|
14
|
+
settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),
|
|
15
|
+
branch_id: zod.z.string().describe("The branch ID this endpoint is associated with."),
|
|
16
|
+
region_id: zod.z.string().describe("The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').").nullable().optional(),
|
|
17
|
+
created_at: zod.z.string().describe("Timestamp when the endpoint was created.").nullable().optional(),
|
|
18
|
+
project_id: zod.z.string().describe("The project ID this endpoint belongs to."),
|
|
19
|
+
proxy_host: zod.z.string().describe("The proxy host for the endpoint.").nullable().optional(),
|
|
20
|
+
started_at: zod.z.string().describe("Timestamp when the endpoint was last started.").nullable().optional(),
|
|
21
|
+
updated_at: zod.z.string().describe("Timestamp when the endpoint was last updated.").nullable().optional(),
|
|
22
|
+
last_active: zod.z.string().describe("Timestamp of last activity on the endpoint.").nullable().optional(),
|
|
23
|
+
pooler_mode: zod.z.string().describe("Connection pooler mode (e.g., 'transaction').").nullable().optional(),
|
|
24
|
+
suspended_at: zod.z.string().describe("Timestamp when the endpoint was last suspended (if applicable).").nullable().optional(),
|
|
25
|
+
current_state: zod.z.string().describe("Current state of the endpoint (e.g., 'active', 'idle').").nullable().optional(),
|
|
26
|
+
pending_state: zod.z.string().describe("The state the endpoint is transitioning to (e.g., 'active' when starting).").nullable().optional(),
|
|
27
|
+
pooler_enabled: zod.z.boolean().describe("Whether connection pooling is enabled.").nullable().optional(),
|
|
28
|
+
passwordless_access: zod.z.boolean().describe("Whether passwordless access is enabled.").nullable().optional(),
|
|
29
|
+
suspend_timeout_seconds: zod.z.number().int().describe("Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).").nullable().optional(),
|
|
30
|
+
autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling.").nullable().optional(),
|
|
31
|
+
autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling.").nullable().optional()
|
|
32
|
+
}).passthrough().describe("Information about the started compute endpoint.");
|
|
33
|
+
const NeonStartEndpointForProject_OperationInfoSchema = zod.z.object({
|
|
34
|
+
id: zod.z.string().describe("The unique operation identifier."),
|
|
35
|
+
action: zod.z.string().describe("The action being performed (e.g., 'start_compute')."),
|
|
36
|
+
status: zod.z.string().describe("The current status of the operation (e.g., 'running', 'finished')."),
|
|
37
|
+
branch_id: zod.z.string().describe("The branch ID this operation is associated with.").nullable().optional(),
|
|
38
|
+
created_at: zod.z.string().describe("Timestamp when the operation was created.").nullable().optional(),
|
|
39
|
+
project_id: zod.z.string().describe("The project ID this operation belongs to."),
|
|
40
|
+
updated_at: zod.z.string().describe("Timestamp when the operation was last updated.").nullable().optional(),
|
|
41
|
+
endpoint_id: zod.z.string().describe("The endpoint ID this operation is associated with.").nullable().optional(),
|
|
42
|
+
failures_count: zod.z.number().int().describe("Number of failures for this operation.").nullable().optional(),
|
|
43
|
+
total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
|
|
44
|
+
}).passthrough().describe("Information about an operation triggered by starting the endpoint.");
|
|
45
|
+
const NeonStartEndpointForProject_StartEndpointResponseDataSchema = zod.z.object({
|
|
46
|
+
endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),
|
|
47
|
+
operations: zod.z.array(NeonStartEndpointForProject_OperationInfoSchema).describe("List of operations triggered by starting the endpoint. Empty if endpoint was already active.").nullable().optional()
|
|
48
|
+
}).passthrough().describe("Data container for start endpoint response.");
|
|
49
|
+
const NeonStartEndpointForProjectOutput = zod.z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).describe("Response schema for `StartEndpointForProject`");
|
|
50
|
+
const neonStartEndpointForProject = require_action.action("NEON_START_ENDPOINT_FOR_PROJECT", {
|
|
51
|
+
slug: "neon-start-endpoint-for-project",
|
|
52
|
+
name: "Start endpoint for project",
|
|
53
|
+
description: "Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.",
|
|
54
|
+
input: NeonStartEndpointForProjectInput,
|
|
55
|
+
output: NeonStartEndpointForProjectOutput
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
exports.neonStartEndpointForProject = neonStartEndpointForProject;
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=start-endpoint-for-project.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-endpoint-for-project.cjs","names":["z","action"],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema: z.ZodTypeAny = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\"),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\"),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\"),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\"),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique operation identifier.\"),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\"),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\"),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\"),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema: z.ZodTypeAny = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput: z.ZodTypeAny = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/start-endpoint-for-project.d.ts
|
|
4
|
+
declare const NeonStartEndpointForProjectInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonStartEndpointForProjectOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonStartEndpointForProject };
|
|
9
|
+
//# sourceMappingURL=start-endpoint-for-project.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-endpoint-for-project.d.cts","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cA4C9C,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/start-endpoint-for-project.d.ts
|
|
4
|
+
declare const NeonStartEndpointForProjectInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeonStartEndpointForProjectOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neonStartEndpointForProject };
|
|
9
|
+
//# sourceMappingURL=start-endpoint-for-project.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-endpoint-for-project.d.mts","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cA4C9C,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|