@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.
Files changed (890) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/accept-projects-transfer-requests.cjs +24 -0
  7. package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -0
  8. package/dist/actions/accept-projects-transfer-requests.d.cts +9 -0
  9. package/dist/actions/accept-projects-transfer-requests.d.cts.map +1 -0
  10. package/dist/actions/accept-projects-transfer-requests.d.mts +9 -0
  11. package/dist/actions/accept-projects-transfer-requests.d.mts.map +1 -0
  12. package/dist/actions/accept-projects-transfer-requests.mjs +21 -0
  13. package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -0
  14. package/dist/actions/access-project-details-by-id.cjs +96 -0
  15. package/dist/actions/access-project-details-by-id.cjs.map +1 -0
  16. package/dist/actions/access-project-details-by-id.d.cts +9 -0
  17. package/dist/actions/access-project-details-by-id.d.cts.map +1 -0
  18. package/dist/actions/access-project-details-by-id.d.mts +9 -0
  19. package/dist/actions/access-project-details-by-id.d.mts.map +1 -0
  20. package/dist/actions/access-project-details-by-id.mjs +95 -0
  21. package/dist/actions/access-project-details-by-id.mjs.map +1 -0
  22. package/dist/actions/add-new-jwks-to-project-endpoint.cjs +49 -0
  23. package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -0
  24. package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +9 -0
  25. package/dist/actions/add-new-jwks-to-project-endpoint.d.cts.map +1 -0
  26. package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +9 -0
  27. package/dist/actions/add-new-jwks-to-project-endpoint.d.mts.map +1 -0
  28. package/dist/actions/add-new-jwks-to-project-endpoint.mjs +48 -0
  29. package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -0
  30. package/dist/actions/add-project-email-permission.cjs +24 -0
  31. package/dist/actions/add-project-email-permission.cjs.map +1 -0
  32. package/dist/actions/add-project-email-permission.d.cts +9 -0
  33. package/dist/actions/add-project-email-permission.d.cts.map +1 -0
  34. package/dist/actions/add-project-email-permission.d.mts +9 -0
  35. package/dist/actions/add-project-email-permission.d.mts.map +1 -0
  36. package/dist/actions/add-project-email-permission.mjs +23 -0
  37. package/dist/actions/add-project-email-permission.mjs.map +1 -0
  38. package/dist/actions/add-role-to-branch.cjs +44 -0
  39. package/dist/actions/add-role-to-branch.cjs.map +1 -0
  40. package/dist/actions/add-role-to-branch.d.cts +9 -0
  41. package/dist/actions/add-role-to-branch.d.cts.map +1 -0
  42. package/dist/actions/add-role-to-branch.d.mts +9 -0
  43. package/dist/actions/add-role-to-branch.d.mts.map +1 -0
  44. package/dist/actions/add-role-to-branch.mjs +43 -0
  45. package/dist/actions/add-role-to-branch.mjs.map +1 -0
  46. package/dist/actions/count-project-branches.cjs +19 -0
  47. package/dist/actions/count-project-branches.cjs.map +1 -0
  48. package/dist/actions/count-project-branches.d.cts +9 -0
  49. package/dist/actions/count-project-branches.d.cts.map +1 -0
  50. package/dist/actions/count-project-branches.d.mts +9 -0
  51. package/dist/actions/count-project-branches.d.mts.map +1 -0
  52. package/dist/actions/count-project-branches.mjs +16 -0
  53. package/dist/actions/count-project-branches.mjs.map +1 -0
  54. package/dist/actions/create-api-key-for-organization.cjs +25 -0
  55. package/dist/actions/create-api-key-for-organization.cjs.map +1 -0
  56. package/dist/actions/create-api-key-for-organization.d.cts +9 -0
  57. package/dist/actions/create-api-key-for-organization.d.cts.map +1 -0
  58. package/dist/actions/create-api-key-for-organization.d.mts +9 -0
  59. package/dist/actions/create-api-key-for-organization.d.mts.map +1 -0
  60. package/dist/actions/create-api-key-for-organization.mjs +22 -0
  61. package/dist/actions/create-api-key-for-organization.mjs.map +1 -0
  62. package/dist/actions/create-auth-keys.cjs +33 -0
  63. package/dist/actions/create-auth-keys.cjs.map +1 -0
  64. package/dist/actions/create-auth-keys.d.cts +9 -0
  65. package/dist/actions/create-auth-keys.d.cts.map +1 -0
  66. package/dist/actions/create-auth-keys.d.mts +9 -0
  67. package/dist/actions/create-auth-keys.d.mts.map +1 -0
  68. package/dist/actions/create-auth-keys.mjs +30 -0
  69. package/dist/actions/create-auth-keys.mjs.map +1 -0
  70. package/dist/actions/create-auth-user.cjs +21 -0
  71. package/dist/actions/create-auth-user.cjs.map +1 -0
  72. package/dist/actions/create-auth-user.d.cts +9 -0
  73. package/dist/actions/create-auth-user.d.cts.map +1 -0
  74. package/dist/actions/create-auth-user.d.mts +9 -0
  75. package/dist/actions/create-auth-user.d.mts.map +1 -0
  76. package/dist/actions/create-auth-user.mjs +18 -0
  77. package/dist/actions/create-auth-user.mjs.map +1 -0
  78. package/dist/actions/create-branch-database.cjs +46 -0
  79. package/dist/actions/create-branch-database.cjs.map +1 -0
  80. package/dist/actions/create-branch-database.d.cts +9 -0
  81. package/dist/actions/create-branch-database.d.cts.map +1 -0
  82. package/dist/actions/create-branch-database.d.mts +9 -0
  83. package/dist/actions/create-branch-database.d.mts.map +1 -0
  84. package/dist/actions/create-branch-database.mjs +45 -0
  85. package/dist/actions/create-branch-database.mjs.map +1 -0
  86. package/dist/actions/create-branches-auth.cjs +35 -0
  87. package/dist/actions/create-branches-auth.cjs.map +1 -0
  88. package/dist/actions/create-branches-auth.d.cts +9 -0
  89. package/dist/actions/create-branches-auth.d.cts.map +1 -0
  90. package/dist/actions/create-branches-auth.d.mts +9 -0
  91. package/dist/actions/create-branches-auth.d.mts.map +1 -0
  92. package/dist/actions/create-branches-auth.mjs +32 -0
  93. package/dist/actions/create-branches-auth.mjs.map +1 -0
  94. package/dist/actions/create-branches-data-api.cjs +38 -0
  95. package/dist/actions/create-branches-data-api.cjs.map +1 -0
  96. package/dist/actions/create-branches-data-api.d.cts +9 -0
  97. package/dist/actions/create-branches-data-api.d.cts.map +1 -0
  98. package/dist/actions/create-branches-data-api.d.mts +9 -0
  99. package/dist/actions/create-branches-data-api.d.mts.map +1 -0
  100. package/dist/actions/create-branches-data-api.mjs +35 -0
  101. package/dist/actions/create-branches-data-api.mjs.map +1 -0
  102. package/dist/actions/create-branches-snapshot.cjs +46 -0
  103. package/dist/actions/create-branches-snapshot.cjs.map +1 -0
  104. package/dist/actions/create-branches-snapshot.d.cts +9 -0
  105. package/dist/actions/create-branches-snapshot.d.cts.map +1 -0
  106. package/dist/actions/create-branches-snapshot.d.mts +9 -0
  107. package/dist/actions/create-branches-snapshot.d.mts.map +1 -0
  108. package/dist/actions/create-branches-snapshot.mjs +45 -0
  109. package/dist/actions/create-branches-snapshot.mjs.map +1 -0
  110. package/dist/actions/create-compute-endpoint.cjs +87 -0
  111. package/dist/actions/create-compute-endpoint.cjs.map +1 -0
  112. package/dist/actions/create-compute-endpoint.d.cts +9 -0
  113. package/dist/actions/create-compute-endpoint.d.cts.map +1 -0
  114. package/dist/actions/create-compute-endpoint.d.mts +9 -0
  115. package/dist/actions/create-compute-endpoint.d.mts.map +1 -0
  116. package/dist/actions/create-compute-endpoint.mjs +86 -0
  117. package/dist/actions/create-compute-endpoint.mjs.map +1 -0
  118. package/dist/actions/create-new-api-key.cjs +23 -0
  119. package/dist/actions/create-new-api-key.cjs.map +1 -0
  120. package/dist/actions/create-new-api-key.d.cts +9 -0
  121. package/dist/actions/create-new-api-key.d.cts.map +1 -0
  122. package/dist/actions/create-new-api-key.d.mts +9 -0
  123. package/dist/actions/create-new-api-key.d.mts.map +1 -0
  124. package/dist/actions/create-new-api-key.mjs +22 -0
  125. package/dist/actions/create-new-api-key.mjs.map +1 -0
  126. package/dist/actions/create-new-project-branch.cjs +85 -0
  127. package/dist/actions/create-new-project-branch.cjs.map +1 -0
  128. package/dist/actions/create-new-project-branch.d.cts +9 -0
  129. package/dist/actions/create-new-project-branch.d.cts.map +1 -0
  130. package/dist/actions/create-new-project-branch.d.mts +9 -0
  131. package/dist/actions/create-new-project-branch.d.mts.map +1 -0
  132. package/dist/actions/create-new-project-branch.mjs +84 -0
  133. package/dist/actions/create-new-project-branch.mjs.map +1 -0
  134. package/dist/actions/create-project-branch-anonymized.cjs +106 -0
  135. package/dist/actions/create-project-branch-anonymized.cjs.map +1 -0
  136. package/dist/actions/create-project-branch-anonymized.d.cts +9 -0
  137. package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -0
  138. package/dist/actions/create-project-branch-anonymized.d.mts +9 -0
  139. package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -0
  140. package/dist/actions/create-project-branch-anonymized.mjs +105 -0
  141. package/dist/actions/create-project-branch-anonymized.mjs.map +1 -0
  142. package/dist/actions/create-project-with-quota-and-settings.cjs +207 -0
  143. package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -0
  144. package/dist/actions/create-project-with-quota-and-settings.d.cts +9 -0
  145. package/dist/actions/create-project-with-quota-and-settings.d.cts.map +1 -0
  146. package/dist/actions/create-project-with-quota-and-settings.d.mts +9 -0
  147. package/dist/actions/create-project-with-quota-and-settings.d.mts.map +1 -0
  148. package/dist/actions/create-project-with-quota-and-settings.mjs +206 -0
  149. package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -0
  150. package/dist/actions/create-projects-transfer-requests.cjs +24 -0
  151. package/dist/actions/create-projects-transfer-requests.cjs.map +1 -0
  152. package/dist/actions/create-projects-transfer-requests.d.cts +9 -0
  153. package/dist/actions/create-projects-transfer-requests.d.cts.map +1 -0
  154. package/dist/actions/create-projects-transfer-requests.d.mts +9 -0
  155. package/dist/actions/create-projects-transfer-requests.d.mts.map +1 -0
  156. package/dist/actions/create-projects-transfer-requests.mjs +21 -0
  157. package/dist/actions/create-projects-transfer-requests.mjs.map +1 -0
  158. package/dist/actions/create-vpc-endpoint-label.cjs +26 -0
  159. package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -0
  160. package/dist/actions/create-vpc-endpoint-label.d.cts +9 -0
  161. package/dist/actions/create-vpc-endpoint-label.d.cts.map +1 -0
  162. package/dist/actions/create-vpc-endpoint-label.d.mts +9 -0
  163. package/dist/actions/create-vpc-endpoint-label.d.mts.map +1 -0
  164. package/dist/actions/create-vpc-endpoint-label.mjs +23 -0
  165. package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -0
  166. package/dist/actions/create-vpc-endpoint-with-label.cjs +27 -0
  167. package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -0
  168. package/dist/actions/create-vpc-endpoint-with-label.d.cts +9 -0
  169. package/dist/actions/create-vpc-endpoint-with-label.d.cts.map +1 -0
  170. package/dist/actions/create-vpc-endpoint-with-label.d.mts +9 -0
  171. package/dist/actions/create-vpc-endpoint-with-label.d.mts.map +1 -0
  172. package/dist/actions/create-vpc-endpoint-with-label.mjs +24 -0
  173. package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -0
  174. package/dist/actions/delete-api-key-by-id.cjs +25 -0
  175. package/dist/actions/delete-api-key-by-id.cjs.map +1 -0
  176. package/dist/actions/delete-api-key-by-id.d.cts +9 -0
  177. package/dist/actions/delete-api-key-by-id.d.cts.map +1 -0
  178. package/dist/actions/delete-api-key-by-id.d.mts +9 -0
  179. package/dist/actions/delete-api-key-by-id.d.mts.map +1 -0
  180. package/dist/actions/delete-api-key-by-id.mjs +24 -0
  181. package/dist/actions/delete-api-key-by-id.mjs.map +1 -0
  182. package/dist/actions/delete-auth-domains.cjs +30 -0
  183. package/dist/actions/delete-auth-domains.cjs.map +1 -0
  184. package/dist/actions/delete-auth-domains.d.cts +9 -0
  185. package/dist/actions/delete-auth-domains.d.cts.map +1 -0
  186. package/dist/actions/delete-auth-domains.d.mts +9 -0
  187. package/dist/actions/delete-auth-domains.d.mts.map +1 -0
  188. package/dist/actions/delete-auth-domains.mjs +27 -0
  189. package/dist/actions/delete-auth-domains.mjs.map +1 -0
  190. package/dist/actions/delete-auth-oauth-provider.cjs +24 -0
  191. package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -0
  192. package/dist/actions/delete-auth-oauth-provider.d.cts +9 -0
  193. package/dist/actions/delete-auth-oauth-provider.d.cts.map +1 -0
  194. package/dist/actions/delete-auth-oauth-provider.d.mts +9 -0
  195. package/dist/actions/delete-auth-oauth-provider.d.mts.map +1 -0
  196. package/dist/actions/delete-auth-oauth-provider.mjs +21 -0
  197. package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -0
  198. package/dist/actions/delete-auth-user.cjs +24 -0
  199. package/dist/actions/delete-auth-user.cjs.map +1 -0
  200. package/dist/actions/delete-auth-user.d.cts +9 -0
  201. package/dist/actions/delete-auth-user.d.cts.map +1 -0
  202. package/dist/actions/delete-auth-user.d.mts +9 -0
  203. package/dist/actions/delete-auth-user.d.mts.map +1 -0
  204. package/dist/actions/delete-auth-user.mjs +21 -0
  205. package/dist/actions/delete-auth-user.mjs.map +1 -0
  206. package/dist/actions/delete-branch-data-api.cjs +20 -0
  207. package/dist/actions/delete-branch-data-api.cjs.map +1 -0
  208. package/dist/actions/delete-branch-data-api.d.cts +9 -0
  209. package/dist/actions/delete-branch-data-api.d.cts.map +1 -0
  210. package/dist/actions/delete-branch-data-api.d.mts +9 -0
  211. package/dist/actions/delete-branch-data-api.d.mts.map +1 -0
  212. package/dist/actions/delete-branch-data-api.mjs +17 -0
  213. package/dist/actions/delete-branch-data-api.mjs.map +1 -0
  214. package/dist/actions/delete-database-from-branch.cjs +54 -0
  215. package/dist/actions/delete-database-from-branch.cjs.map +1 -0
  216. package/dist/actions/delete-database-from-branch.d.cts +9 -0
  217. package/dist/actions/delete-database-from-branch.d.cts.map +1 -0
  218. package/dist/actions/delete-database-from-branch.d.mts +9 -0
  219. package/dist/actions/delete-database-from-branch.d.mts.map +1 -0
  220. package/dist/actions/delete-database-from-branch.mjs +53 -0
  221. package/dist/actions/delete-database-from-branch.mjs.map +1 -0
  222. package/dist/actions/delete-organization-api-key.cjs +28 -0
  223. package/dist/actions/delete-organization-api-key.cjs.map +1 -0
  224. package/dist/actions/delete-organization-api-key.d.cts +9 -0
  225. package/dist/actions/delete-organization-api-key.d.cts.map +1 -0
  226. package/dist/actions/delete-organization-api-key.d.mts +9 -0
  227. package/dist/actions/delete-organization-api-key.d.mts.map +1 -0
  228. package/dist/actions/delete-organization-api-key.mjs +27 -0
  229. package/dist/actions/delete-organization-api-key.mjs.map +1 -0
  230. package/dist/actions/delete-organization-member.cjs +25 -0
  231. package/dist/actions/delete-organization-member.cjs.map +1 -0
  232. package/dist/actions/delete-organization-member.d.cts +9 -0
  233. package/dist/actions/delete-organization-member.d.cts.map +1 -0
  234. package/dist/actions/delete-organization-member.d.mts +9 -0
  235. package/dist/actions/delete-organization-member.d.mts.map +1 -0
  236. package/dist/actions/delete-organization-member.mjs +22 -0
  237. package/dist/actions/delete-organization-member.mjs.map +1 -0
  238. package/dist/actions/delete-project-branch-by-id.cjs +94 -0
  239. package/dist/actions/delete-project-branch-by-id.cjs.map +1 -0
  240. package/dist/actions/delete-project-branch-by-id.d.cts +9 -0
  241. package/dist/actions/delete-project-branch-by-id.d.cts.map +1 -0
  242. package/dist/actions/delete-project-branch-by-id.d.mts +9 -0
  243. package/dist/actions/delete-project-branch-by-id.d.mts.map +1 -0
  244. package/dist/actions/delete-project-branch-by-id.mjs +93 -0
  245. package/dist/actions/delete-project-branch-by-id.mjs.map +1 -0
  246. package/dist/actions/delete-project-branch-role.cjs +45 -0
  247. package/dist/actions/delete-project-branch-role.cjs.map +1 -0
  248. package/dist/actions/delete-project-branch-role.d.cts +9 -0
  249. package/dist/actions/delete-project-branch-role.d.cts.map +1 -0
  250. package/dist/actions/delete-project-branch-role.d.mts +9 -0
  251. package/dist/actions/delete-project-branch-role.d.mts.map +1 -0
  252. package/dist/actions/delete-project-branch-role.mjs +44 -0
  253. package/dist/actions/delete-project-branch-role.mjs.map +1 -0
  254. package/dist/actions/delete-project-by-id.cjs +27 -0
  255. package/dist/actions/delete-project-by-id.cjs.map +1 -0
  256. package/dist/actions/delete-project-by-id.d.cts +9 -0
  257. package/dist/actions/delete-project-by-id.d.cts.map +1 -0
  258. package/dist/actions/delete-project-by-id.d.mts +9 -0
  259. package/dist/actions/delete-project-by-id.d.mts.map +1 -0
  260. package/dist/actions/delete-project-by-id.mjs +26 -0
  261. package/dist/actions/delete-project-by-id.mjs.map +1 -0
  262. package/dist/actions/delete-project-endpoint.cjs +73 -0
  263. package/dist/actions/delete-project-endpoint.cjs.map +1 -0
  264. package/dist/actions/delete-project-endpoint.d.cts +9 -0
  265. package/dist/actions/delete-project-endpoint.d.cts.map +1 -0
  266. package/dist/actions/delete-project-endpoint.d.mts +9 -0
  267. package/dist/actions/delete-project-endpoint.d.mts.map +1 -0
  268. package/dist/actions/delete-project-endpoint.mjs +72 -0
  269. package/dist/actions/delete-project-endpoint.mjs.map +1 -0
  270. package/dist/actions/delete-project-jwks-by-id.cjs +27 -0
  271. package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -0
  272. package/dist/actions/delete-project-jwks-by-id.d.cts +9 -0
  273. package/dist/actions/delete-project-jwks-by-id.d.cts.map +1 -0
  274. package/dist/actions/delete-project-jwks-by-id.d.mts +9 -0
  275. package/dist/actions/delete-project-jwks-by-id.d.mts.map +1 -0
  276. package/dist/actions/delete-project-jwks-by-id.mjs +24 -0
  277. package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -0
  278. package/dist/actions/delete-project-permission.cjs +25 -0
  279. package/dist/actions/delete-project-permission.cjs.map +1 -0
  280. package/dist/actions/delete-project-permission.d.cts +9 -0
  281. package/dist/actions/delete-project-permission.d.cts.map +1 -0
  282. package/dist/actions/delete-project-permission.d.mts +9 -0
  283. package/dist/actions/delete-project-permission.d.mts.map +1 -0
  284. package/dist/actions/delete-project-permission.mjs +24 -0
  285. package/dist/actions/delete-project-permission.mjs.map +1 -0
  286. package/dist/actions/delete-project-snapshot.cjs +32 -0
  287. package/dist/actions/delete-project-snapshot.cjs.map +1 -0
  288. package/dist/actions/delete-project-snapshot.d.cts +9 -0
  289. package/dist/actions/delete-project-snapshot.d.cts.map +1 -0
  290. package/dist/actions/delete-project-snapshot.d.mts +9 -0
  291. package/dist/actions/delete-project-snapshot.d.mts.map +1 -0
  292. package/dist/actions/delete-project-snapshot.mjs +31 -0
  293. package/dist/actions/delete-project-snapshot.mjs.map +1 -0
  294. package/dist/actions/delete-vpc-endpoint-by-ids.cjs +30 -0
  295. package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -0
  296. package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +9 -0
  297. package/dist/actions/delete-vpc-endpoint-by-ids.d.cts.map +1 -0
  298. package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +9 -0
  299. package/dist/actions/delete-vpc-endpoint-by-ids.d.mts.map +1 -0
  300. package/dist/actions/delete-vpc-endpoint-by-ids.mjs +29 -0
  301. package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -0
  302. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +23 -0
  303. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -0
  304. package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +9 -0
  305. package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts.map +1 -0
  306. package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +9 -0
  307. package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts.map +1 -0
  308. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +20 -0
  309. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -0
  310. package/dist/actions/disable-branches-auth.cjs +20 -0
  311. package/dist/actions/disable-branches-auth.cjs.map +1 -0
  312. package/dist/actions/disable-branches-auth.d.cts +9 -0
  313. package/dist/actions/disable-branches-auth.d.cts.map +1 -0
  314. package/dist/actions/disable-branches-auth.d.mts +9 -0
  315. package/dist/actions/disable-branches-auth.d.mts.map +1 -0
  316. package/dist/actions/disable-branches-auth.mjs +17 -0
  317. package/dist/actions/disable-branches-auth.mjs.map +1 -0
  318. package/dist/actions/fetch-database-for-branch.cjs +27 -0
  319. package/dist/actions/fetch-database-for-branch.cjs.map +1 -0
  320. package/dist/actions/fetch-database-for-branch.d.cts +9 -0
  321. package/dist/actions/fetch-database-for-branch.d.cts.map +1 -0
  322. package/dist/actions/fetch-database-for-branch.d.mts +9 -0
  323. package/dist/actions/fetch-database-for-branch.d.mts.map +1 -0
  324. package/dist/actions/fetch-database-for-branch.mjs +26 -0
  325. package/dist/actions/fetch-database-for-branch.mjs.map +1 -0
  326. package/dist/actions/fetch-organization-members-by-id.cjs +28 -0
  327. package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -0
  328. package/dist/actions/fetch-organization-members-by-id.d.cts +9 -0
  329. package/dist/actions/fetch-organization-members-by-id.d.cts.map +1 -0
  330. package/dist/actions/fetch-organization-members-by-id.d.mts +9 -0
  331. package/dist/actions/fetch-organization-members-by-id.d.mts.map +1 -0
  332. package/dist/actions/fetch-organization-members-by-id.mjs +27 -0
  333. package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -0
  334. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +27 -0
  335. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -0
  336. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +9 -0
  337. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts.map +1 -0
  338. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +9 -0
  339. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts.map +1 -0
  340. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +26 -0
  341. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -0
  342. package/dist/actions/finalize-branch-restore.cjs +34 -0
  343. package/dist/actions/finalize-branch-restore.cjs.map +1 -0
  344. package/dist/actions/finalize-branch-restore.d.cts +9 -0
  345. package/dist/actions/finalize-branch-restore.d.cts.map +1 -0
  346. package/dist/actions/finalize-branch-restore.d.mts +9 -0
  347. package/dist/actions/finalize-branch-restore.d.mts.map +1 -0
  348. package/dist/actions/finalize-branch-restore.mjs +33 -0
  349. package/dist/actions/finalize-branch-restore.mjs.map +1 -0
  350. package/dist/actions/get-auth-allow-localhost.cjs +19 -0
  351. package/dist/actions/get-auth-allow-localhost.cjs.map +1 -0
  352. package/dist/actions/get-auth-allow-localhost.d.cts +9 -0
  353. package/dist/actions/get-auth-allow-localhost.d.cts.map +1 -0
  354. package/dist/actions/get-auth-allow-localhost.d.mts +9 -0
  355. package/dist/actions/get-auth-allow-localhost.d.mts.map +1 -0
  356. package/dist/actions/get-auth-allow-localhost.mjs +16 -0
  357. package/dist/actions/get-auth-allow-localhost.mjs.map +1 -0
  358. package/dist/actions/get-auth-email-provider.cjs +26 -0
  359. package/dist/actions/get-auth-email-provider.cjs.map +1 -0
  360. package/dist/actions/get-auth-email-provider.d.cts +9 -0
  361. package/dist/actions/get-auth-email-provider.d.cts.map +1 -0
  362. package/dist/actions/get-auth-email-provider.d.mts +9 -0
  363. package/dist/actions/get-auth-email-provider.d.mts.map +1 -0
  364. package/dist/actions/get-auth-email-provider.mjs +23 -0
  365. package/dist/actions/get-auth-email-provider.mjs.map +1 -0
  366. package/dist/actions/get-auth.cjs +27 -0
  367. package/dist/actions/get-auth.cjs.map +1 -0
  368. package/dist/actions/get-auth.d.cts +9 -0
  369. package/dist/actions/get-auth.d.cts.map +1 -0
  370. package/dist/actions/get-auth.d.mts +9 -0
  371. package/dist/actions/get-auth.d.mts.map +1 -0
  372. package/dist/actions/get-auth.mjs +26 -0
  373. package/dist/actions/get-auth.mjs.map +1 -0
  374. package/dist/actions/get-available-preload-libraries.cjs +23 -0
  375. package/dist/actions/get-available-preload-libraries.cjs.map +1 -0
  376. package/dist/actions/get-available-preload-libraries.d.cts +9 -0
  377. package/dist/actions/get-available-preload-libraries.d.cts.map +1 -0
  378. package/dist/actions/get-available-preload-libraries.d.mts +9 -0
  379. package/dist/actions/get-available-preload-libraries.d.mts.map +1 -0
  380. package/dist/actions/get-available-preload-libraries.mjs +22 -0
  381. package/dist/actions/get-available-preload-libraries.mjs.map +1 -0
  382. package/dist/actions/get-branch-roles-for-project.cjs +26 -0
  383. package/dist/actions/get-branch-roles-for-project.cjs.map +1 -0
  384. package/dist/actions/get-branch-roles-for-project.d.cts +9 -0
  385. package/dist/actions/get-branch-roles-for-project.d.cts.map +1 -0
  386. package/dist/actions/get-branch-roles-for-project.d.mts +9 -0
  387. package/dist/actions/get-branch-roles-for-project.d.mts.map +1 -0
  388. package/dist/actions/get-branch-roles-for-project.mjs +25 -0
  389. package/dist/actions/get-branch-roles-for-project.mjs.map +1 -0
  390. package/dist/actions/get-branches-anonymized-status.cjs +35 -0
  391. package/dist/actions/get-branches-anonymized-status.cjs.map +1 -0
  392. package/dist/actions/get-branches-anonymized-status.d.cts +9 -0
  393. package/dist/actions/get-branches-anonymized-status.d.cts.map +1 -0
  394. package/dist/actions/get-branches-anonymized-status.d.mts +9 -0
  395. package/dist/actions/get-branches-anonymized-status.d.mts.map +1 -0
  396. package/dist/actions/get-branches-anonymized-status.mjs +34 -0
  397. package/dist/actions/get-branches-anonymized-status.mjs.map +1 -0
  398. package/dist/actions/get-branches-backup-schedule.cjs +26 -0
  399. package/dist/actions/get-branches-backup-schedule.cjs.map +1 -0
  400. package/dist/actions/get-branches-backup-schedule.d.cts +9 -0
  401. package/dist/actions/get-branches-backup-schedule.d.cts.map +1 -0
  402. package/dist/actions/get-branches-backup-schedule.d.mts +9 -0
  403. package/dist/actions/get-branches-backup-schedule.d.mts.map +1 -0
  404. package/dist/actions/get-branches-backup-schedule.mjs +25 -0
  405. package/dist/actions/get-branches-backup-schedule.mjs.map +1 -0
  406. package/dist/actions/get-branches-data-api.cjs +37 -0
  407. package/dist/actions/get-branches-data-api.cjs.map +1 -0
  408. package/dist/actions/get-branches-data-api.d.cts +9 -0
  409. package/dist/actions/get-branches-data-api.d.cts.map +1 -0
  410. package/dist/actions/get-branches-data-api.d.mts +9 -0
  411. package/dist/actions/get-branches-data-api.d.mts.map +1 -0
  412. package/dist/actions/get-branches-data-api.mjs +36 -0
  413. package/dist/actions/get-branches-data-api.mjs.map +1 -0
  414. package/dist/actions/get-branches-for-project.cjs +56 -0
  415. package/dist/actions/get-branches-for-project.cjs.map +1 -0
  416. package/dist/actions/get-branches-for-project.d.cts +9 -0
  417. package/dist/actions/get-branches-for-project.d.cts.map +1 -0
  418. package/dist/actions/get-branches-for-project.d.mts +9 -0
  419. package/dist/actions/get-branches-for-project.d.mts.map +1 -0
  420. package/dist/actions/get-branches-for-project.mjs +55 -0
  421. package/dist/actions/get-branches-for-project.mjs.map +1 -0
  422. package/dist/actions/get-branches-masking-rules.cjs +27 -0
  423. package/dist/actions/get-branches-masking-rules.cjs.map +1 -0
  424. package/dist/actions/get-branches-masking-rules.d.cts +9 -0
  425. package/dist/actions/get-branches-masking-rules.d.cts.map +1 -0
  426. package/dist/actions/get-branches-masking-rules.d.mts +9 -0
  427. package/dist/actions/get-branches-masking-rules.d.mts.map +1 -0
  428. package/dist/actions/get-branches-masking-rules.mjs +26 -0
  429. package/dist/actions/get-branches-masking-rules.mjs.map +1 -0
  430. package/dist/actions/get-consumption-history-projects.cjs +48 -0
  431. package/dist/actions/get-consumption-history-projects.cjs.map +1 -0
  432. package/dist/actions/get-consumption-history-projects.d.cts +9 -0
  433. package/dist/actions/get-consumption-history-projects.d.cts.map +1 -0
  434. package/dist/actions/get-consumption-history-projects.d.mts +9 -0
  435. package/dist/actions/get-consumption-history-projects.d.mts.map +1 -0
  436. package/dist/actions/get-consumption-history-projects.mjs +47 -0
  437. package/dist/actions/get-consumption-history-projects.mjs.map +1 -0
  438. package/dist/actions/get-current-user-information.cjs +37 -0
  439. package/dist/actions/get-current-user-information.cjs.map +1 -0
  440. package/dist/actions/get-current-user-information.d.cts +9 -0
  441. package/dist/actions/get-current-user-information.d.cts.map +1 -0
  442. package/dist/actions/get-current-user-information.d.mts +9 -0
  443. package/dist/actions/get-current-user-information.d.mts.map +1 -0
  444. package/dist/actions/get-current-user-information.mjs +36 -0
  445. package/dist/actions/get-current-user-information.mjs.map +1 -0
  446. package/dist/actions/get-organization-api-keys.cjs +16 -0
  447. package/dist/actions/get-organization-api-keys.cjs.map +1 -0
  448. package/dist/actions/get-organization-api-keys.d.cts +9 -0
  449. package/dist/actions/get-organization-api-keys.d.cts.map +1 -0
  450. package/dist/actions/get-organization-api-keys.d.mts +9 -0
  451. package/dist/actions/get-organization-api-keys.d.mts.map +1 -0
  452. package/dist/actions/get-organization-api-keys.mjs +13 -0
  453. package/dist/actions/get-organization-api-keys.mjs.map +1 -0
  454. package/dist/actions/get-project-branch-role.cjs +43 -0
  455. package/dist/actions/get-project-branch-role.cjs.map +1 -0
  456. package/dist/actions/get-project-branch-role.d.cts +9 -0
  457. package/dist/actions/get-project-branch-role.d.cts.map +1 -0
  458. package/dist/actions/get-project-branch-role.d.mts +9 -0
  459. package/dist/actions/get-project-branch-role.d.mts.map +1 -0
  460. package/dist/actions/get-project-branch-role.mjs +42 -0
  461. package/dist/actions/get-project-branch-role.mjs.map +1 -0
  462. package/dist/actions/get-project-branch-schema-comparison.cjs +25 -0
  463. package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -0
  464. package/dist/actions/get-project-branch-schema-comparison.d.cts +9 -0
  465. package/dist/actions/get-project-branch-schema-comparison.d.cts.map +1 -0
  466. package/dist/actions/get-project-branch-schema-comparison.d.mts +9 -0
  467. package/dist/actions/get-project-branch-schema-comparison.d.mts.map +1 -0
  468. package/dist/actions/get-project-branch-schema-comparison.mjs +22 -0
  469. package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -0
  470. package/dist/actions/get-project-branches.cjs +63 -0
  471. package/dist/actions/get-project-branches.cjs.map +1 -0
  472. package/dist/actions/get-project-branches.d.cts +9 -0
  473. package/dist/actions/get-project-branches.d.cts.map +1 -0
  474. package/dist/actions/get-project-branches.d.mts +9 -0
  475. package/dist/actions/get-project-branches.d.mts.map +1 -0
  476. package/dist/actions/get-project-branches.mjs +62 -0
  477. package/dist/actions/get-project-branches.mjs.map +1 -0
  478. package/dist/actions/get-project-connection-uri.cjs +23 -0
  479. package/dist/actions/get-project-connection-uri.cjs.map +1 -0
  480. package/dist/actions/get-project-connection-uri.d.cts +9 -0
  481. package/dist/actions/get-project-connection-uri.d.cts.map +1 -0
  482. package/dist/actions/get-project-connection-uri.d.mts +9 -0
  483. package/dist/actions/get-project-connection-uri.d.mts.map +1 -0
  484. package/dist/actions/get-project-connection-uri.mjs +20 -0
  485. package/dist/actions/get-project-connection-uri.mjs.map +1 -0
  486. package/dist/actions/get-project-endpoint-information.cjs +38 -0
  487. package/dist/actions/get-project-endpoint-information.cjs.map +1 -0
  488. package/dist/actions/get-project-endpoint-information.d.cts +9 -0
  489. package/dist/actions/get-project-endpoint-information.d.cts.map +1 -0
  490. package/dist/actions/get-project-endpoint-information.d.mts +9 -0
  491. package/dist/actions/get-project-endpoint-information.d.mts.map +1 -0
  492. package/dist/actions/get-project-endpoint-information.mjs +37 -0
  493. package/dist/actions/get-project-endpoint-information.mjs.map +1 -0
  494. package/dist/actions/get-project-operation-by-id.cjs +33 -0
  495. package/dist/actions/get-project-operation-by-id.cjs.map +1 -0
  496. package/dist/actions/get-project-operation-by-id.d.cts +9 -0
  497. package/dist/actions/get-project-operation-by-id.d.cts.map +1 -0
  498. package/dist/actions/get-project-operation-by-id.d.mts +9 -0
  499. package/dist/actions/get-project-operation-by-id.d.mts.map +1 -0
  500. package/dist/actions/get-project-operation-by-id.mjs +32 -0
  501. package/dist/actions/get-project-operation-by-id.mjs.map +1 -0
  502. package/dist/actions/get-schema-for-project-branch.cjs +22 -0
  503. package/dist/actions/get-schema-for-project-branch.cjs.map +1 -0
  504. package/dist/actions/get-schema-for-project-branch.d.cts +9 -0
  505. package/dist/actions/get-schema-for-project-branch.d.cts.map +1 -0
  506. package/dist/actions/get-schema-for-project-branch.d.mts +9 -0
  507. package/dist/actions/get-schema-for-project-branch.d.mts.map +1 -0
  508. package/dist/actions/get-schema-for-project-branch.mjs +19 -0
  509. package/dist/actions/get-schema-for-project-branch.mjs.map +1 -0
  510. package/dist/actions/get-user-organizations.cjs +25 -0
  511. package/dist/actions/get-user-organizations.cjs.map +1 -0
  512. package/dist/actions/get-user-organizations.d.cts +9 -0
  513. package/dist/actions/get-user-organizations.d.cts.map +1 -0
  514. package/dist/actions/get-user-organizations.d.mts +9 -0
  515. package/dist/actions/get-user-organizations.d.mts.map +1 -0
  516. package/dist/actions/get-user-organizations.mjs +24 -0
  517. package/dist/actions/get-user-organizations.mjs.map +1 -0
  518. package/dist/actions/get-vpc-region-endpoints.cjs +29 -0
  519. package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -0
  520. package/dist/actions/get-vpc-region-endpoints.d.cts +9 -0
  521. package/dist/actions/get-vpc-region-endpoints.d.cts.map +1 -0
  522. package/dist/actions/get-vpc-region-endpoints.d.mts +9 -0
  523. package/dist/actions/get-vpc-region-endpoints.d.mts.map +1 -0
  524. package/dist/actions/get-vpc-region-endpoints.mjs +28 -0
  525. package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -0
  526. package/dist/actions/index.cjs +215 -0
  527. package/dist/actions/index.d.cts +108 -0
  528. package/dist/actions/index.d.mts +108 -0
  529. package/dist/actions/index.mjs +108 -0
  530. package/dist/actions/list-api-keys.cjs +16 -0
  531. package/dist/actions/list-api-keys.cjs.map +1 -0
  532. package/dist/actions/list-api-keys.d.cts +9 -0
  533. package/dist/actions/list-api-keys.d.cts.map +1 -0
  534. package/dist/actions/list-api-keys.d.mts +9 -0
  535. package/dist/actions/list-api-keys.d.mts.map +1 -0
  536. package/dist/actions/list-api-keys.mjs +13 -0
  537. package/dist/actions/list-api-keys.mjs.map +1 -0
  538. package/dist/actions/list-auth-domains.cjs +23 -0
  539. package/dist/actions/list-auth-domains.cjs.map +1 -0
  540. package/dist/actions/list-auth-domains.d.cts +9 -0
  541. package/dist/actions/list-auth-domains.d.cts.map +1 -0
  542. package/dist/actions/list-auth-domains.d.mts +9 -0
  543. package/dist/actions/list-auth-domains.d.mts.map +1 -0
  544. package/dist/actions/list-auth-domains.mjs +22 -0
  545. package/dist/actions/list-auth-domains.mjs.map +1 -0
  546. package/dist/actions/list-auth-oauth-providers2.cjs +25 -0
  547. package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -0
  548. package/dist/actions/list-auth-oauth-providers2.d.cts +9 -0
  549. package/dist/actions/list-auth-oauth-providers2.d.cts.map +1 -0
  550. package/dist/actions/list-auth-oauth-providers2.d.mts +9 -0
  551. package/dist/actions/list-auth-oauth-providers2.d.mts.map +1 -0
  552. package/dist/actions/list-auth-oauth-providers2.mjs +24 -0
  553. package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -0
  554. package/dist/actions/list-projects-snapshots.cjs +26 -0
  555. package/dist/actions/list-projects-snapshots.cjs.map +1 -0
  556. package/dist/actions/list-projects-snapshots.d.cts +9 -0
  557. package/dist/actions/list-projects-snapshots.d.cts.map +1 -0
  558. package/dist/actions/list-projects-snapshots.d.mts +9 -0
  559. package/dist/actions/list-projects-snapshots.d.mts.map +1 -0
  560. package/dist/actions/list-projects-snapshots.mjs +25 -0
  561. package/dist/actions/list-projects-snapshots.mjs.map +1 -0
  562. package/dist/actions/list-shared-projects.cjs +38 -0
  563. package/dist/actions/list-shared-projects.cjs.map +1 -0
  564. package/dist/actions/list-shared-projects.d.cts +9 -0
  565. package/dist/actions/list-shared-projects.d.cts.map +1 -0
  566. package/dist/actions/list-shared-projects.d.mts +9 -0
  567. package/dist/actions/list-shared-projects.d.mts.map +1 -0
  568. package/dist/actions/list-shared-projects.mjs +37 -0
  569. package/dist/actions/list-shared-projects.mjs.map +1 -0
  570. package/dist/actions/list-vpc-vpc-endpoints.cjs +21 -0
  571. package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -0
  572. package/dist/actions/list-vpc-vpc-endpoints.d.cts +9 -0
  573. package/dist/actions/list-vpc-vpc-endpoints.d.cts.map +1 -0
  574. package/dist/actions/list-vpc-vpc-endpoints.d.mts +9 -0
  575. package/dist/actions/list-vpc-vpc-endpoints.d.mts.map +1 -0
  576. package/dist/actions/list-vpc-vpc-endpoints.mjs +20 -0
  577. package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -0
  578. package/dist/actions/modify-branch-details-in-project.cjs +85 -0
  579. package/dist/actions/modify-branch-details-in-project.cjs.map +1 -0
  580. package/dist/actions/modify-branch-details-in-project.d.cts +9 -0
  581. package/dist/actions/modify-branch-details-in-project.d.cts.map +1 -0
  582. package/dist/actions/modify-branch-details-in-project.d.mts +9 -0
  583. package/dist/actions/modify-branch-details-in-project.d.mts.map +1 -0
  584. package/dist/actions/modify-branch-details-in-project.mjs +84 -0
  585. package/dist/actions/modify-branch-details-in-project.mjs.map +1 -0
  586. package/dist/actions/patch-branch-database-information.cjs +47 -0
  587. package/dist/actions/patch-branch-database-information.cjs.map +1 -0
  588. package/dist/actions/patch-branch-database-information.d.cts +9 -0
  589. package/dist/actions/patch-branch-database-information.d.cts.map +1 -0
  590. package/dist/actions/patch-branch-database-information.d.mts +9 -0
  591. package/dist/actions/patch-branch-database-information.d.mts.map +1 -0
  592. package/dist/actions/patch-branch-database-information.mjs +46 -0
  593. package/dist/actions/patch-branch-database-information.mjs.map +1 -0
  594. package/dist/actions/reset-role-password-for-branch.cjs +45 -0
  595. package/dist/actions/reset-role-password-for-branch.cjs.map +1 -0
  596. package/dist/actions/reset-role-password-for-branch.d.cts +9 -0
  597. package/dist/actions/reset-role-password-for-branch.d.cts.map +1 -0
  598. package/dist/actions/reset-role-password-for-branch.d.mts +9 -0
  599. package/dist/actions/reset-role-password-for-branch.d.mts.map +1 -0
  600. package/dist/actions/reset-role-password-for-branch.mjs +44 -0
  601. package/dist/actions/reset-role-password-for-branch.mjs.map +1 -0
  602. package/dist/actions/restart-project-endpoint.cjs +51 -0
  603. package/dist/actions/restart-project-endpoint.cjs.map +1 -0
  604. package/dist/actions/restart-project-endpoint.d.cts +9 -0
  605. package/dist/actions/restart-project-endpoint.d.cts.map +1 -0
  606. package/dist/actions/restart-project-endpoint.d.mts +9 -0
  607. package/dist/actions/restart-project-endpoint.d.mts.map +1 -0
  608. package/dist/actions/restart-project-endpoint.mjs +50 -0
  609. package/dist/actions/restart-project-endpoint.mjs.map +1 -0
  610. package/dist/actions/restore-project-branch.cjs +63 -0
  611. package/dist/actions/restore-project-branch.cjs.map +1 -0
  612. package/dist/actions/restore-project-branch.d.cts +9 -0
  613. package/dist/actions/restore-project-branch.d.cts.map +1 -0
  614. package/dist/actions/restore-project-branch.d.mts +9 -0
  615. package/dist/actions/restore-project-branch.d.mts.map +1 -0
  616. package/dist/actions/restore-project-branch.mjs +62 -0
  617. package/dist/actions/restore-project-branch.mjs.map +1 -0
  618. package/dist/actions/restore-snapshot.cjs +74 -0
  619. package/dist/actions/restore-snapshot.cjs.map +1 -0
  620. package/dist/actions/restore-snapshot.d.cts +9 -0
  621. package/dist/actions/restore-snapshot.d.cts.map +1 -0
  622. package/dist/actions/restore-snapshot.d.mts +9 -0
  623. package/dist/actions/restore-snapshot.d.mts.map +1 -0
  624. package/dist/actions/restore-snapshot.mjs +73 -0
  625. package/dist/actions/restore-snapshot.mjs.map +1 -0
  626. package/dist/actions/retrieve-account-consumption-history.cjs +43 -0
  627. package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -0
  628. package/dist/actions/retrieve-account-consumption-history.d.cts +9 -0
  629. package/dist/actions/retrieve-account-consumption-history.d.cts.map +1 -0
  630. package/dist/actions/retrieve-account-consumption-history.d.mts +9 -0
  631. package/dist/actions/retrieve-account-consumption-history.d.mts.map +1 -0
  632. package/dist/actions/retrieve-account-consumption-history.mjs +42 -0
  633. package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -0
  634. package/dist/actions/retrieve-all-regions.cjs +23 -0
  635. package/dist/actions/retrieve-all-regions.cjs.map +1 -0
  636. package/dist/actions/retrieve-all-regions.d.cts +9 -0
  637. package/dist/actions/retrieve-all-regions.d.cts.map +1 -0
  638. package/dist/actions/retrieve-all-regions.d.mts +9 -0
  639. package/dist/actions/retrieve-all-regions.d.mts.map +1 -0
  640. package/dist/actions/retrieve-all-regions.mjs +22 -0
  641. package/dist/actions/retrieve-all-regions.mjs.map +1 -0
  642. package/dist/actions/retrieve-branch-database-details.cjs +28 -0
  643. package/dist/actions/retrieve-branch-database-details.cjs.map +1 -0
  644. package/dist/actions/retrieve-branch-database-details.d.cts +9 -0
  645. package/dist/actions/retrieve-branch-database-details.d.cts.map +1 -0
  646. package/dist/actions/retrieve-branch-database-details.d.mts +9 -0
  647. package/dist/actions/retrieve-branch-database-details.d.mts.map +1 -0
  648. package/dist/actions/retrieve-branch-database-details.mjs +27 -0
  649. package/dist/actions/retrieve-branch-database-details.mjs.map +1 -0
  650. package/dist/actions/retrieve-branch-endpoints.cjs +41 -0
  651. package/dist/actions/retrieve-branch-endpoints.cjs.map +1 -0
  652. package/dist/actions/retrieve-branch-endpoints.d.cts +9 -0
  653. package/dist/actions/retrieve-branch-endpoints.d.cts.map +1 -0
  654. package/dist/actions/retrieve-branch-endpoints.d.mts +9 -0
  655. package/dist/actions/retrieve-branch-endpoints.d.mts.map +1 -0
  656. package/dist/actions/retrieve-branch-endpoints.mjs +40 -0
  657. package/dist/actions/retrieve-branch-endpoints.mjs.map +1 -0
  658. package/dist/actions/retrieve-jwks-for-project.cjs +26 -0
  659. package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -0
  660. package/dist/actions/retrieve-jwks-for-project.d.cts +9 -0
  661. package/dist/actions/retrieve-jwks-for-project.d.cts.map +1 -0
  662. package/dist/actions/retrieve-jwks-for-project.d.mts +9 -0
  663. package/dist/actions/retrieve-jwks-for-project.d.mts.map +1 -0
  664. package/dist/actions/retrieve-jwks-for-project.mjs +25 -0
  665. package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -0
  666. package/dist/actions/retrieve-organization-by-id.cjs +25 -0
  667. package/dist/actions/retrieve-organization-by-id.cjs.map +1 -0
  668. package/dist/actions/retrieve-organization-by-id.d.cts +9 -0
  669. package/dist/actions/retrieve-organization-by-id.d.cts.map +1 -0
  670. package/dist/actions/retrieve-organization-by-id.d.mts +9 -0
  671. package/dist/actions/retrieve-organization-by-id.d.mts.map +1 -0
  672. package/dist/actions/retrieve-organization-by-id.mjs +24 -0
  673. package/dist/actions/retrieve-organization-by-id.mjs.map +1 -0
  674. package/dist/actions/retrieve-organization-invitations.cjs +28 -0
  675. package/dist/actions/retrieve-organization-invitations.cjs.map +1 -0
  676. package/dist/actions/retrieve-organization-invitations.d.cts +9 -0
  677. package/dist/actions/retrieve-organization-invitations.d.cts.map +1 -0
  678. package/dist/actions/retrieve-organization-invitations.d.mts +9 -0
  679. package/dist/actions/retrieve-organization-invitations.d.mts.map +1 -0
  680. package/dist/actions/retrieve-organization-invitations.mjs +27 -0
  681. package/dist/actions/retrieve-organization-invitations.mjs.map +1 -0
  682. package/dist/actions/retrieve-organization-member-info.cjs +26 -0
  683. package/dist/actions/retrieve-organization-member-info.cjs.map +1 -0
  684. package/dist/actions/retrieve-organization-member-info.d.cts +9 -0
  685. package/dist/actions/retrieve-organization-member-info.d.cts.map +1 -0
  686. package/dist/actions/retrieve-organization-member-info.d.mts +9 -0
  687. package/dist/actions/retrieve-organization-member-info.d.mts.map +1 -0
  688. package/dist/actions/retrieve-organization-member-info.mjs +25 -0
  689. package/dist/actions/retrieve-organization-member-info.mjs.map +1 -0
  690. package/dist/actions/retrieve-project-endpoint-details.cjs +46 -0
  691. package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -0
  692. package/dist/actions/retrieve-project-endpoint-details.d.cts +9 -0
  693. package/dist/actions/retrieve-project-endpoint-details.d.cts.map +1 -0
  694. package/dist/actions/retrieve-project-endpoint-details.d.mts +9 -0
  695. package/dist/actions/retrieve-project-endpoint-details.d.mts.map +1 -0
  696. package/dist/actions/retrieve-project-endpoint-details.mjs +45 -0
  697. package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -0
  698. package/dist/actions/retrieve-project-operations.cjs +76 -0
  699. package/dist/actions/retrieve-project-operations.cjs.map +1 -0
  700. package/dist/actions/retrieve-project-operations.d.cts +9 -0
  701. package/dist/actions/retrieve-project-operations.d.cts.map +1 -0
  702. package/dist/actions/retrieve-project-operations.d.mts +9 -0
  703. package/dist/actions/retrieve-project-operations.d.mts.map +1 -0
  704. package/dist/actions/retrieve-project-operations.mjs +75 -0
  705. package/dist/actions/retrieve-project-operations.mjs.map +1 -0
  706. package/dist/actions/retrieve-project-permissions.cjs +16 -0
  707. package/dist/actions/retrieve-project-permissions.cjs.map +1 -0
  708. package/dist/actions/retrieve-project-permissions.d.cts +9 -0
  709. package/dist/actions/retrieve-project-permissions.d.cts.map +1 -0
  710. package/dist/actions/retrieve-project-permissions.d.mts +9 -0
  711. package/dist/actions/retrieve-project-permissions.d.mts.map +1 -0
  712. package/dist/actions/retrieve-project-permissions.mjs +13 -0
  713. package/dist/actions/retrieve-project-permissions.mjs.map +1 -0
  714. package/dist/actions/retrieve-projects-list.cjs +100 -0
  715. package/dist/actions/retrieve-projects-list.cjs.map +1 -0
  716. package/dist/actions/retrieve-projects-list.d.cts +9 -0
  717. package/dist/actions/retrieve-projects-list.d.cts.map +1 -0
  718. package/dist/actions/retrieve-projects-list.d.mts +9 -0
  719. package/dist/actions/retrieve-projects-list.d.mts.map +1 -0
  720. package/dist/actions/retrieve-projects-list.mjs +99 -0
  721. package/dist/actions/retrieve-projects-list.mjs.map +1 -0
  722. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +23 -0
  723. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -0
  724. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +9 -0
  725. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts.map +1 -0
  726. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +9 -0
  727. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts.map +1 -0
  728. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +22 -0
  729. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -0
  730. package/dist/actions/reveal-role-password-in-branch.cjs +20 -0
  731. package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -0
  732. package/dist/actions/reveal-role-password-in-branch.d.cts +9 -0
  733. package/dist/actions/reveal-role-password-in-branch.d.cts.map +1 -0
  734. package/dist/actions/reveal-role-password-in-branch.d.mts +9 -0
  735. package/dist/actions/reveal-role-password-in-branch.d.mts.map +1 -0
  736. package/dist/actions/reveal-role-password-in-branch.mjs +17 -0
  737. package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -0
  738. package/dist/actions/send-auth-test-email.cjs +29 -0
  739. package/dist/actions/send-auth-test-email.cjs.map +1 -0
  740. package/dist/actions/send-auth-test-email.d.cts +9 -0
  741. package/dist/actions/send-auth-test-email.d.cts.map +1 -0
  742. package/dist/actions/send-auth-test-email.d.mts +9 -0
  743. package/dist/actions/send-auth-test-email.d.mts.map +1 -0
  744. package/dist/actions/send-auth-test-email.mjs +26 -0
  745. package/dist/actions/send-auth-test-email.mjs.map +1 -0
  746. package/dist/actions/send-organization-invitations.cjs +30 -0
  747. package/dist/actions/send-organization-invitations.cjs.map +1 -0
  748. package/dist/actions/send-organization-invitations.d.cts +9 -0
  749. package/dist/actions/send-organization-invitations.d.cts.map +1 -0
  750. package/dist/actions/send-organization-invitations.d.mts +9 -0
  751. package/dist/actions/send-organization-invitations.d.mts.map +1 -0
  752. package/dist/actions/send-organization-invitations.mjs +29 -0
  753. package/dist/actions/send-organization-invitations.mjs.map +1 -0
  754. package/dist/actions/set-branch-as-default.cjs +58 -0
  755. package/dist/actions/set-branch-as-default.cjs.map +1 -0
  756. package/dist/actions/set-branch-as-default.d.cts +9 -0
  757. package/dist/actions/set-branch-as-default.d.cts.map +1 -0
  758. package/dist/actions/set-branch-as-default.d.mts +9 -0
  759. package/dist/actions/set-branch-as-default.d.mts.map +1 -0
  760. package/dist/actions/set-branch-as-default.mjs +57 -0
  761. package/dist/actions/set-branch-as-default.mjs.map +1 -0
  762. package/dist/actions/start-branch-anonymization.cjs +35 -0
  763. package/dist/actions/start-branch-anonymization.cjs.map +1 -0
  764. package/dist/actions/start-branch-anonymization.d.cts +9 -0
  765. package/dist/actions/start-branch-anonymization.d.cts.map +1 -0
  766. package/dist/actions/start-branch-anonymization.d.mts +9 -0
  767. package/dist/actions/start-branch-anonymization.d.mts.map +1 -0
  768. package/dist/actions/start-branch-anonymization.mjs +34 -0
  769. package/dist/actions/start-branch-anonymization.mjs.map +1 -0
  770. package/dist/actions/start-endpoint-for-project.cjs +60 -0
  771. package/dist/actions/start-endpoint-for-project.cjs.map +1 -0
  772. package/dist/actions/start-endpoint-for-project.d.cts +9 -0
  773. package/dist/actions/start-endpoint-for-project.d.cts.map +1 -0
  774. package/dist/actions/start-endpoint-for-project.d.mts +9 -0
  775. package/dist/actions/start-endpoint-for-project.d.mts.map +1 -0
  776. package/dist/actions/start-endpoint-for-project.mjs +59 -0
  777. package/dist/actions/start-endpoint-for-project.mjs.map +1 -0
  778. package/dist/actions/suspend-project-endpoint-by-id.cjs +60 -0
  779. package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -0
  780. package/dist/actions/suspend-project-endpoint-by-id.d.cts +9 -0
  781. package/dist/actions/suspend-project-endpoint-by-id.d.cts.map +1 -0
  782. package/dist/actions/suspend-project-endpoint-by-id.d.mts +9 -0
  783. package/dist/actions/suspend-project-endpoint-by-id.d.mts.map +1 -0
  784. package/dist/actions/suspend-project-endpoint-by-id.mjs +59 -0
  785. package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -0
  786. package/dist/actions/transfer-projects-between-organizations.cjs +20 -0
  787. package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -0
  788. package/dist/actions/transfer-projects-between-organizations.d.cts +9 -0
  789. package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -0
  790. package/dist/actions/transfer-projects-between-organizations.d.mts +9 -0
  791. package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -0
  792. package/dist/actions/transfer-projects-between-organizations.mjs +17 -0
  793. package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -0
  794. package/dist/actions/transfer-user-projects-to-organization.cjs +28 -0
  795. package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -0
  796. package/dist/actions/transfer-user-projects-to-organization.d.cts +9 -0
  797. package/dist/actions/transfer-user-projects-to-organization.d.cts.map +1 -0
  798. package/dist/actions/transfer-user-projects-to-organization.d.mts +9 -0
  799. package/dist/actions/transfer-user-projects-to-organization.d.mts.map +1 -0
  800. package/dist/actions/transfer-user-projects-to-organization.mjs +27 -0
  801. package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -0
  802. package/dist/actions/update-auth-allow-localhost.cjs +20 -0
  803. package/dist/actions/update-auth-allow-localhost.cjs.map +1 -0
  804. package/dist/actions/update-auth-allow-localhost.d.cts +9 -0
  805. package/dist/actions/update-auth-allow-localhost.d.cts.map +1 -0
  806. package/dist/actions/update-auth-allow-localhost.d.mts +9 -0
  807. package/dist/actions/update-auth-allow-localhost.d.mts.map +1 -0
  808. package/dist/actions/update-auth-allow-localhost.mjs +17 -0
  809. package/dist/actions/update-auth-allow-localhost.mjs.map +1 -0
  810. package/dist/actions/update-auth-email-provider.cjs +32 -0
  811. package/dist/actions/update-auth-email-provider.cjs.map +1 -0
  812. package/dist/actions/update-auth-email-provider.d.cts +9 -0
  813. package/dist/actions/update-auth-email-provider.d.cts.map +1 -0
  814. package/dist/actions/update-auth-email-provider.d.mts +9 -0
  815. package/dist/actions/update-auth-email-provider.d.mts.map +1 -0
  816. package/dist/actions/update-auth-email-provider.mjs +29 -0
  817. package/dist/actions/update-auth-email-provider.mjs.map +1 -0
  818. package/dist/actions/update-branches-data-api.cjs +30 -0
  819. package/dist/actions/update-branches-data-api.cjs.map +1 -0
  820. package/dist/actions/update-branches-data-api.d.cts +9 -0
  821. package/dist/actions/update-branches-data-api.d.cts.map +1 -0
  822. package/dist/actions/update-branches-data-api.d.mts +9 -0
  823. package/dist/actions/update-branches-data-api.d.mts.map +1 -0
  824. package/dist/actions/update-branches-data-api.mjs +27 -0
  825. package/dist/actions/update-branches-data-api.mjs.map +1 -0
  826. package/dist/actions/update-branches-masking-rules.cjs +35 -0
  827. package/dist/actions/update-branches-masking-rules.cjs.map +1 -0
  828. package/dist/actions/update-branches-masking-rules.d.cts +9 -0
  829. package/dist/actions/update-branches-masking-rules.d.cts.map +1 -0
  830. package/dist/actions/update-branches-masking-rules.d.mts +9 -0
  831. package/dist/actions/update-branches-masking-rules.d.mts.map +1 -0
  832. package/dist/actions/update-branches-masking-rules.mjs +34 -0
  833. package/dist/actions/update-branches-masking-rules.mjs.map +1 -0
  834. package/dist/actions/update-organization-member-role.cjs +26 -0
  835. package/dist/actions/update-organization-member-role.cjs.map +1 -0
  836. package/dist/actions/update-organization-member-role.d.cts +9 -0
  837. package/dist/actions/update-organization-member-role.d.cts.map +1 -0
  838. package/dist/actions/update-organization-member-role.d.mts +9 -0
  839. package/dist/actions/update-organization-member-role.d.mts.map +1 -0
  840. package/dist/actions/update-organization-member-role.mjs +23 -0
  841. package/dist/actions/update-organization-member-role.mjs.map +1 -0
  842. package/dist/actions/update-project-compute-endpoint-settings.cjs +71 -0
  843. package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -0
  844. package/dist/actions/update-project-compute-endpoint-settings.d.cts +9 -0
  845. package/dist/actions/update-project-compute-endpoint-settings.d.cts.map +1 -0
  846. package/dist/actions/update-project-compute-endpoint-settings.d.mts +9 -0
  847. package/dist/actions/update-project-compute-endpoint-settings.d.mts.map +1 -0
  848. package/dist/actions/update-project-compute-endpoint-settings.mjs +70 -0
  849. package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -0
  850. package/dist/actions/update-project-settings-by-id.cjs +104 -0
  851. package/dist/actions/update-project-settings-by-id.cjs.map +1 -0
  852. package/dist/actions/update-project-settings-by-id.d.cts +9 -0
  853. package/dist/actions/update-project-settings-by-id.d.cts.map +1 -0
  854. package/dist/actions/update-project-settings-by-id.d.mts +9 -0
  855. package/dist/actions/update-project-settings-by-id.d.mts.map +1 -0
  856. package/dist/actions/update-project-settings-by-id.mjs +103 -0
  857. package/dist/actions/update-project-settings-by-id.mjs.map +1 -0
  858. package/dist/actions/update-projects-snapshots.cjs +30 -0
  859. package/dist/actions/update-projects-snapshots.cjs.map +1 -0
  860. package/dist/actions/update-projects-snapshots.d.cts +9 -0
  861. package/dist/actions/update-projects-snapshots.d.cts.map +1 -0
  862. package/dist/actions/update-projects-snapshots.d.mts +9 -0
  863. package/dist/actions/update-projects-snapshots.d.mts.map +1 -0
  864. package/dist/actions/update-projects-snapshots.mjs +29 -0
  865. package/dist/actions/update-projects-snapshots.mjs.map +1 -0
  866. package/dist/app.cjs +9 -0
  867. package/dist/app.cjs.map +1 -0
  868. package/dist/app.d.cts +5 -0
  869. package/dist/app.d.cts.map +1 -0
  870. package/dist/app.d.mts +5 -0
  871. package/dist/app.d.mts.map +1 -0
  872. package/dist/app.mjs +10 -0
  873. package/dist/app.mjs.map +1 -0
  874. package/dist/catalog.cjs +15 -0
  875. package/dist/catalog.cjs.map +1 -0
  876. package/dist/catalog.d.cts +14 -0
  877. package/dist/catalog.d.cts.map +1 -0
  878. package/dist/catalog.d.mts +14 -0
  879. package/dist/catalog.d.mts.map +1 -0
  880. package/dist/catalog.mjs +15 -0
  881. package/dist/catalog.mjs.map +1 -0
  882. package/dist/execute.cjs +18 -0
  883. package/dist/execute.cjs.map +1 -0
  884. package/dist/execute.mjs +18 -0
  885. package/dist/execute.mjs.map +1 -0
  886. package/dist/index.cjs +220 -0
  887. package/dist/index.d.cts +110 -0
  888. package/dist/index.d.mts +110 -0
  889. package/dist/index.mjs +111 -0
  890. package/package.json +49 -0
@@ -0,0 +1,85 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-new-project-branch.ts
4
+ const NeonCreateNewProjectBranchInput = zod.z.object({
5
+ project_id: zod.z.string().describe("The Neon project ID. You can find this on the Settings page in the Neon Console or by listing projects. Format: 'adjective-noun-12345678' (e.g., 'autumn-disk-484331')."),
6
+ branch__name: zod.z.string().describe("Name for the new branch. If not specified, an auto-generated name will be used (e.g., 'br-square-base-aehfbgdy'). Max 256 characters.").optional(),
7
+ branch__parent__id: zod.z.string().describe("The branch ID to use as parent for the new branch. If not specified, the project's default branch (usually 'main') is used. Format: 'br-name-id' (e.g., 'br-wispy-dew-591433').").optional(),
8
+ branch__init__source: zod.z.string().describe("How to initialize the branch data. Options: 'parent-data' (default) copies all data from parent, 'schema-only' copies only the schema without data.").optional()
9
+ }).describe("Request schema for `CreateNewProjectBranch`");
10
+ const NeonCreateNewProjectBranch_BranchSchema = zod.z.object({
11
+ id: zod.z.string().describe("The branch identifier with br- prefix."),
12
+ name: zod.z.string().describe("The branch name. Auto-generated if not specified during creation."),
13
+ "default": zod.z.boolean().describe("Whether this is the default branch for the project.").nullable().optional(),
14
+ primary: zod.z.boolean().describe("Deprecated. Use default instead.").nullable().optional(),
15
+ parent_id: zod.z.string().describe("The parent branch identifier.").nullable().optional(),
16
+ protected: zod.z.boolean().describe("Whether the branch is protected from deletion.").nullable().optional(),
17
+ created_at: zod.z.string().describe("Timestamp of when the branch was created."),
18
+ parent_lsn: zod.z.string().describe("The Log Sequence Number (LSN) on the parent branch from which this branch was created.").nullable().optional(),
19
+ project_id: zod.z.string().describe("The project identifier."),
20
+ updated_at: zod.z.string().describe("Timestamp of when the branch was last updated."),
21
+ cpu_used_sec: zod.z.number().int().describe("CPU seconds used by the branch.").nullable().optional(),
22
+ logical_size: zod.z.number().int().describe("The logical size of the branch in bytes.").nullable().optional(),
23
+ current_state: zod.z.string().describe("The current state of the branch (e.g., init, ready)."),
24
+ pending_state: zod.z.string().describe("The state the branch is transitioning to.").nullable().optional(),
25
+ physical_size: zod.z.number().int().describe("The physical size of the branch in bytes.").nullable().optional(),
26
+ written_data_bytes: zod.z.number().int().describe("Number of bytes written.").nullable().optional(),
27
+ active_time_seconds: zod.z.number().int().describe("Active time in seconds.").nullable().optional(),
28
+ data_transfer_bytes: zod.z.number().int().describe("Number of bytes transferred.").nullable().optional(),
29
+ compute_time_seconds: zod.z.number().int().describe("Compute time in seconds.").nullable().optional()
30
+ }).describe("The newly created branch object.");
31
+ const NeonCreateNewProjectBranch_BranchSettingsSchema = zod.z.object({ pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration settings as key-value pairs.").nullable().optional() }).describe("Endpoint settings object.");
32
+ const NeonCreateNewProjectBranch_ComputeEndpointSchema = zod.z.object({
33
+ id: zod.z.string().describe("The endpoint identifier with ep- prefix."),
34
+ host: zod.z.string().describe("The hostname of the compute endpoint for database connections."),
35
+ type: zod.z.string().describe("The compute endpoint type (read_write or read_only)."),
36
+ disabled: zod.z.boolean().describe("Whether the endpoint is disabled."),
37
+ settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),
38
+ branch_id: zod.z.string().describe("The branch identifier this endpoint is associated with."),
39
+ region_id: zod.z.string().describe("The region identifier where the endpoint is located."),
40
+ created_at: zod.z.string().describe("Timestamp of when the endpoint was created."),
41
+ project_id: zod.z.string().describe("The project identifier."),
42
+ proxy_host: zod.z.string().describe("The proxy host for the endpoint connection."),
43
+ updated_at: zod.z.string().describe("Timestamp of when the endpoint was last updated."),
44
+ last_active: zod.z.string().describe("Timestamp of the last activity on this endpoint.").nullable().optional(),
45
+ pooler_mode: zod.z.string().describe("The connection pooler mode (transaction, session, or statement)."),
46
+ provisioner: zod.z.string().describe("The compute provisioner (e.g., k8s-pod, k8s-neonvm).").nullable().optional(),
47
+ current_state: zod.z.string().describe("The current state of the endpoint (e.g., init, active, idle)."),
48
+ pending_state: zod.z.string().describe("The state the endpoint is transitioning to.").nullable().optional(),
49
+ pooler_enabled: zod.z.boolean().describe("Whether connection pooler is enabled."),
50
+ creation_source: zod.z.string().describe("The source that initiated the endpoint creation.").nullable().optional(),
51
+ passwordless_access: zod.z.boolean().describe("Whether passwordless access is enabled."),
52
+ compute_release_version: zod.z.string().describe("The compute release version number.").nullable().optional(),
53
+ suspend_timeout_seconds: zod.z.number().int().describe("Duration of inactivity in seconds after which the endpoint is suspended. 0 uses global default, -1 means never suspend.").nullable().optional(),
54
+ autoscaling_limit_max_cu: zod.z.number().describe("The maximum number of Compute Units for autoscaling."),
55
+ autoscaling_limit_min_cu: zod.z.number().describe("The minimum number of Compute Units for autoscaling.")
56
+ }).describe("Compute endpoint object.");
57
+ const NeonCreateNewProjectBranch_OperationSchema = zod.z.object({
58
+ id: zod.z.string().describe("The operation identifier (UUID)."),
59
+ error: zod.z.string().describe("Error message if the operation failed.").nullable().optional(),
60
+ action: zod.z.string().describe("The action performed by the operation (e.g., create_branch, start_compute, suspend_compute)."),
61
+ status: zod.z.string().describe("The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped)."),
62
+ branch_id: zod.z.string().describe("The branch identifier associated with this operation.").nullable().optional(),
63
+ created_at: zod.z.string().describe("Timestamp of when the operation was created."),
64
+ project_id: zod.z.string().describe("The project identifier."),
65
+ updated_at: zod.z.string().describe("Timestamp of when the operation was last updated."),
66
+ endpoint_id: zod.z.string().describe("The endpoint identifier if the operation involves a compute endpoint.").nullable().optional(),
67
+ failures_count: zod.z.number().int().describe("The number of times the operation failed."),
68
+ total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
69
+ }).describe("Operation object.");
70
+ const NeonCreateNewProjectBranchOutput = zod.z.object({
71
+ branch: NeonCreateNewProjectBranch_BranchSchema.nullable(),
72
+ endpoints: zod.z.array(NeonCreateNewProjectBranch_ComputeEndpointSchema).describe("Array of compute endpoints created with the branch. Empty if no endpoints were requested.").nullable().optional(),
73
+ operations: zod.z.array(NeonCreateNewProjectBranch_OperationSchema).describe("Array of operations initiated by the branch creation request (e.g., create_branch, start_compute).")
74
+ }).describe("Response schema for `CreateNewProjectBranch`");
75
+ const neonCreateNewProjectBranch = require_action.action("NEON_CREATE_NEW_PROJECT_BRANCH", {
76
+ slug: "neon-create-new-project-branch",
77
+ name: "Create new project branch",
78
+ description: "Creates a new branch in a Neon project. Branches are copy-on-write clones of the parent branch's data, perfect for creating development/staging environments, testing features, or previewing database changes without affecting production. The branch is created from the project's default branch unless a parent_id is specified. By default, the branch copies all data from the parent ('parent-data'). Note: A branch is created without a compute endpoint. To connect to the branch, use the 'create_compute_endpoint' action to add a read_write or read_only endpoint.",
79
+ input: NeonCreateNewProjectBranchInput,
80
+ output: NeonCreateNewProjectBranchOutput
81
+ });
82
+ //#endregion
83
+ exports.neonCreateNewProjectBranch = neonCreateNewProjectBranch;
84
+
85
+ //# sourceMappingURL=create-new-project-branch.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-new-project-branch.cjs","names":["z","action"],"sources":["../../src/actions/create-new-project-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateNewProjectBranchInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The Neon project ID. You can find this on the Settings page in the Neon Console or by listing projects. Format: 'adjective-noun-12345678' (e.g., 'autumn-disk-484331').\"),\n branch__name: z.string().describe(\"Name for the new branch. If not specified, an auto-generated name will be used (e.g., 'br-square-base-aehfbgdy'). Max 256 characters.\").optional(),\n branch__parent__id: z.string().describe(\"The branch ID to use as parent for the new branch. If not specified, the project's default branch (usually 'main') is used. Format: 'br-name-id' (e.g., 'br-wispy-dew-591433').\").optional(),\n branch__init__source: z.string().describe(\"How to initialize the branch data. Options: 'parent-data' (default) copies all data from parent, 'schema-only' copies only the schema without data.\").optional(),\n}).describe(\"Request schema for `CreateNewProjectBranch`\");\nconst NeonCreateNewProjectBranch_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\"),\n name: z.string().describe(\"The branch name. Auto-generated if not specified during creation.\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project.\").nullable().optional(),\n primary: z.boolean().describe(\"Deprecated. Use default instead.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent branch identifier.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the branch was created.\"),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project identifier.\"),\n updated_at: z.string().describe(\"Timestamp of when the branch was last updated.\"),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch.\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch (e.g., init, ready).\"),\n pending_state: z.string().describe(\"The state the branch is transitioning to.\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes.\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Number of bytes written.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Number of bytes transferred.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).describe(\"The newly created branch object.\");\nconst NeonCreateNewProjectBranch_BranchSettingsSchema: z.ZodTypeAny = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n}).describe(\"Endpoint settings object.\");\nconst NeonCreateNewProjectBranch_ComputeEndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The endpoint identifier with ep- prefix.\"),\n host: z.string().describe(\"The hostname of the compute endpoint for database connections.\"),\n type: z.string().describe(\"The compute endpoint type (read_write or read_only).\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\"),\n settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),\n branch_id: z.string().describe(\"The branch identifier this endpoint is associated with.\"),\n region_id: z.string().describe(\"The region identifier where the endpoint is located.\"),\n created_at: z.string().describe(\"Timestamp of when the endpoint was created.\"),\n project_id: z.string().describe(\"The project identifier.\"),\n proxy_host: z.string().describe(\"The proxy host for the endpoint connection.\"),\n updated_at: z.string().describe(\"Timestamp of when the endpoint was last updated.\"),\n last_active: z.string().describe(\"Timestamp of the last activity on this endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"The connection pooler mode (transaction, session, or statement).\"),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-pod, k8s-neonvm).\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the endpoint (e.g., init, active, idle).\"),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to.\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooler is enabled.\"),\n creation_source: z.string().describe(\"The source that initiated the endpoint creation.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\"),\n compute_release_version: z.string().describe(\"The compute release version number.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the endpoint is suspended. 0 uses global default, -1 means never suspend.\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of Compute Units for autoscaling.\"),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units for autoscaling.\"),\n}).describe(\"Compute endpoint object.\");\nconst NeonCreateNewProjectBranch_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\"),\n error: z.string().describe(\"Error message if the operation failed.\").nullable().optional(),\n action: z.string().describe(\"The action performed by the operation (e.g., create_branch, start_compute, suspend_compute).\"),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped).\"),\n branch_id: z.string().describe(\"The branch identifier associated with this operation.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the operation was created.\"),\n project_id: z.string().describe(\"The project identifier.\"),\n updated_at: z.string().describe(\"Timestamp of when the operation was last updated.\"),\n endpoint_id: z.string().describe(\"The endpoint identifier if the operation involves a compute endpoint.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of times the operation failed.\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).describe(\"Operation object.\");\nexport const NeonCreateNewProjectBranchOutput: z.ZodTypeAny = z.object({\n branch: NeonCreateNewProjectBranch_BranchSchema.nullable(),\n endpoints: z.array(NeonCreateNewProjectBranch_ComputeEndpointSchema).describe(\"Array of compute endpoints created with the branch. Empty if no endpoints were requested.\").nullable().optional(),\n operations: z.array(NeonCreateNewProjectBranch_OperationSchema).describe(\"Array of operations initiated by the branch creation request (e.g., create_branch, start_compute).\"),\n}).describe(\"Response schema for `CreateNewProjectBranch`\");\n\nexport const neonCreateNewProjectBranch = action(\"NEON_CREATE_NEW_PROJECT_BRANCH\", {\n slug: \"neon-create-new-project-branch\",\n name: \"Create new project branch\",\n description: \"Creates a new branch in a Neon project. Branches are copy-on-write clones of the parent branch's data, perfect for creating development/staging environments, testing features, or previewing database changes without affecting production. The branch is created from the project's default branch unless a parent_id is specified. By default, the branch copies all data from the parent ('parent-data'). Note: A branch is created without a compute endpoint. To connect to the branch, use the 'create_compute_endpoint' action to add a read_write or read_only endpoint.\",\n input: NeonCreateNewProjectBranchInput,\n output: NeonCreateNewProjectBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;CACzM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACpL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACpO,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC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ACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-new-project-branch.d.ts
4
+ declare const NeonCreateNewProjectBranchInput: z.ZodTypeAny;
5
+ declare const NeonCreateNewProjectBranchOutput: z.ZodTypeAny;
6
+ declare const neonCreateNewProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { neonCreateNewProjectBranch };
9
+ //# sourceMappingURL=create-new-project-branch.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-new-project-branch.d.cts","names":[],"sources":["../../src/actions/create-new-project-branch.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKU;AAAA,cA+D7C,gCAAA,EAAkC,CAAA,CAAE,UAIU;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-new-project-branch.d.ts
4
+ declare const NeonCreateNewProjectBranchInput: z.ZodTypeAny;
5
+ declare const NeonCreateNewProjectBranchOutput: z.ZodTypeAny;
6
+ declare const neonCreateNewProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { neonCreateNewProjectBranch };
9
+ //# sourceMappingURL=create-new-project-branch.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-new-project-branch.d.mts","names":[],"sources":["../../src/actions/create-new-project-branch.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKU;AAAA,cA+D7C,gCAAA,EAAkC,CAAA,CAAE,UAIU;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,84 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-new-project-branch.ts
4
+ const NeonCreateNewProjectBranchInput = z.object({
5
+ project_id: z.string().describe("The Neon project ID. You can find this on the Settings page in the Neon Console or by listing projects. Format: 'adjective-noun-12345678' (e.g., 'autumn-disk-484331')."),
6
+ branch__name: z.string().describe("Name for the new branch. If not specified, an auto-generated name will be used (e.g., 'br-square-base-aehfbgdy'). Max 256 characters.").optional(),
7
+ branch__parent__id: z.string().describe("The branch ID to use as parent for the new branch. If not specified, the project's default branch (usually 'main') is used. Format: 'br-name-id' (e.g., 'br-wispy-dew-591433').").optional(),
8
+ branch__init__source: z.string().describe("How to initialize the branch data. Options: 'parent-data' (default) copies all data from parent, 'schema-only' copies only the schema without data.").optional()
9
+ }).describe("Request schema for `CreateNewProjectBranch`");
10
+ const NeonCreateNewProjectBranch_BranchSchema = z.object({
11
+ id: z.string().describe("The branch identifier with br- prefix."),
12
+ name: z.string().describe("The branch name. Auto-generated if not specified during creation."),
13
+ "default": z.boolean().describe("Whether this is the default branch for the project.").nullable().optional(),
14
+ primary: z.boolean().describe("Deprecated. Use default instead.").nullable().optional(),
15
+ parent_id: z.string().describe("The parent branch identifier.").nullable().optional(),
16
+ protected: z.boolean().describe("Whether the branch is protected from deletion.").nullable().optional(),
17
+ created_at: z.string().describe("Timestamp of when the branch was created."),
18
+ parent_lsn: z.string().describe("The Log Sequence Number (LSN) on the parent branch from which this branch was created.").nullable().optional(),
19
+ project_id: z.string().describe("The project identifier."),
20
+ updated_at: z.string().describe("Timestamp of when the branch was last updated."),
21
+ cpu_used_sec: z.number().int().describe("CPU seconds used by the branch.").nullable().optional(),
22
+ logical_size: z.number().int().describe("The logical size of the branch in bytes.").nullable().optional(),
23
+ current_state: z.string().describe("The current state of the branch (e.g., init, ready)."),
24
+ pending_state: z.string().describe("The state the branch is transitioning to.").nullable().optional(),
25
+ physical_size: z.number().int().describe("The physical size of the branch in bytes.").nullable().optional(),
26
+ written_data_bytes: z.number().int().describe("Number of bytes written.").nullable().optional(),
27
+ active_time_seconds: z.number().int().describe("Active time in seconds.").nullable().optional(),
28
+ data_transfer_bytes: z.number().int().describe("Number of bytes transferred.").nullable().optional(),
29
+ compute_time_seconds: z.number().int().describe("Compute time in seconds.").nullable().optional()
30
+ }).describe("The newly created branch object.");
31
+ const NeonCreateNewProjectBranch_BranchSettingsSchema = z.object({ pg_settings: z.record(z.string(), z.unknown()).describe("PostgreSQL configuration settings as key-value pairs.").nullable().optional() }).describe("Endpoint settings object.");
32
+ const NeonCreateNewProjectBranch_ComputeEndpointSchema = z.object({
33
+ id: z.string().describe("The endpoint identifier with ep- prefix."),
34
+ host: z.string().describe("The hostname of the compute endpoint for database connections."),
35
+ type: z.string().describe("The compute endpoint type (read_write or read_only)."),
36
+ disabled: z.boolean().describe("Whether the endpoint is disabled."),
37
+ settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),
38
+ branch_id: z.string().describe("The branch identifier this endpoint is associated with."),
39
+ region_id: z.string().describe("The region identifier where the endpoint is located."),
40
+ created_at: z.string().describe("Timestamp of when the endpoint was created."),
41
+ project_id: z.string().describe("The project identifier."),
42
+ proxy_host: z.string().describe("The proxy host for the endpoint connection."),
43
+ updated_at: z.string().describe("Timestamp of when the endpoint was last updated."),
44
+ last_active: z.string().describe("Timestamp of the last activity on this endpoint.").nullable().optional(),
45
+ pooler_mode: z.string().describe("The connection pooler mode (transaction, session, or statement)."),
46
+ provisioner: z.string().describe("The compute provisioner (e.g., k8s-pod, k8s-neonvm).").nullable().optional(),
47
+ current_state: z.string().describe("The current state of the endpoint (e.g., init, active, idle)."),
48
+ pending_state: z.string().describe("The state the endpoint is transitioning to.").nullable().optional(),
49
+ pooler_enabled: z.boolean().describe("Whether connection pooler is enabled."),
50
+ creation_source: z.string().describe("The source that initiated the endpoint creation.").nullable().optional(),
51
+ passwordless_access: z.boolean().describe("Whether passwordless access is enabled."),
52
+ compute_release_version: z.string().describe("The compute release version number.").nullable().optional(),
53
+ suspend_timeout_seconds: z.number().int().describe("Duration of inactivity in seconds after which the endpoint is suspended. 0 uses global default, -1 means never suspend.").nullable().optional(),
54
+ autoscaling_limit_max_cu: z.number().describe("The maximum number of Compute Units for autoscaling."),
55
+ autoscaling_limit_min_cu: z.number().describe("The minimum number of Compute Units for autoscaling.")
56
+ }).describe("Compute endpoint object.");
57
+ const NeonCreateNewProjectBranch_OperationSchema = z.object({
58
+ id: z.string().describe("The operation identifier (UUID)."),
59
+ error: z.string().describe("Error message if the operation failed.").nullable().optional(),
60
+ action: z.string().describe("The action performed by the operation (e.g., create_branch, start_compute, suspend_compute)."),
61
+ status: z.string().describe("The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped)."),
62
+ branch_id: z.string().describe("The branch identifier associated with this operation.").nullable().optional(),
63
+ created_at: z.string().describe("Timestamp of when the operation was created."),
64
+ project_id: z.string().describe("The project identifier."),
65
+ updated_at: z.string().describe("Timestamp of when the operation was last updated."),
66
+ endpoint_id: z.string().describe("The endpoint identifier if the operation involves a compute endpoint.").nullable().optional(),
67
+ failures_count: z.number().int().describe("The number of times the operation failed."),
68
+ total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
69
+ }).describe("Operation object.");
70
+ const neonCreateNewProjectBranch = action("NEON_CREATE_NEW_PROJECT_BRANCH", {
71
+ slug: "neon-create-new-project-branch",
72
+ name: "Create new project branch",
73
+ description: "Creates a new branch in a Neon project. Branches are copy-on-write clones of the parent branch's data, perfect for creating development/staging environments, testing features, or previewing database changes without affecting production. The branch is created from the project's default branch unless a parent_id is specified. By default, the branch copies all data from the parent ('parent-data'). Note: A branch is created without a compute endpoint. To connect to the branch, use the 'create_compute_endpoint' action to add a read_write or read_only endpoint.",
74
+ input: NeonCreateNewProjectBranchInput,
75
+ output: z.object({
76
+ branch: NeonCreateNewProjectBranch_BranchSchema.nullable(),
77
+ endpoints: z.array(NeonCreateNewProjectBranch_ComputeEndpointSchema).describe("Array of compute endpoints created with the branch. Empty if no endpoints were requested.").nullable().optional(),
78
+ operations: z.array(NeonCreateNewProjectBranch_OperationSchema).describe("Array of operations initiated by the branch creation request (e.g., create_branch, start_compute).")
79
+ }).describe("Response schema for `CreateNewProjectBranch`")
80
+ });
81
+ //#endregion
82
+ export { neonCreateNewProjectBranch };
83
+
84
+ //# sourceMappingURL=create-new-project-branch.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-new-project-branch.mjs","names":[],"sources":["../../src/actions/create-new-project-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateNewProjectBranchInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The Neon project ID. You can find this on the Settings page in the Neon Console or by listing projects. Format: 'adjective-noun-12345678' (e.g., 'autumn-disk-484331').\"),\n branch__name: z.string().describe(\"Name for the new branch. If not specified, an auto-generated name will be used (e.g., 'br-square-base-aehfbgdy'). Max 256 characters.\").optional(),\n branch__parent__id: z.string().describe(\"The branch ID to use as parent for the new branch. If not specified, the project's default branch (usually 'main') is used. Format: 'br-name-id' (e.g., 'br-wispy-dew-591433').\").optional(),\n branch__init__source: z.string().describe(\"How to initialize the branch data. Options: 'parent-data' (default) copies all data from parent, 'schema-only' copies only the schema without data.\").optional(),\n}).describe(\"Request schema for `CreateNewProjectBranch`\");\nconst NeonCreateNewProjectBranch_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\"),\n name: z.string().describe(\"The branch name. Auto-generated if not specified during creation.\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project.\").nullable().optional(),\n primary: z.boolean().describe(\"Deprecated. Use default instead.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent branch identifier.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the branch was created.\"),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project identifier.\"),\n updated_at: z.string().describe(\"Timestamp of when the branch was last updated.\"),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch.\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch (e.g., init, ready).\"),\n pending_state: z.string().describe(\"The state the branch is transitioning to.\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes.\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Number of bytes written.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Number of bytes transferred.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).describe(\"The newly created branch object.\");\nconst NeonCreateNewProjectBranch_BranchSettingsSchema: z.ZodTypeAny = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n}).describe(\"Endpoint settings object.\");\nconst NeonCreateNewProjectBranch_ComputeEndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The endpoint identifier with ep- prefix.\"),\n host: z.string().describe(\"The hostname of the compute endpoint for database connections.\"),\n type: z.string().describe(\"The compute endpoint type (read_write or read_only).\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\"),\n settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),\n branch_id: z.string().describe(\"The branch identifier this endpoint is associated with.\"),\n region_id: z.string().describe(\"The region identifier where the endpoint is located.\"),\n created_at: z.string().describe(\"Timestamp of when the endpoint was created.\"),\n project_id: z.string().describe(\"The project identifier.\"),\n proxy_host: z.string().describe(\"The proxy host for the endpoint connection.\"),\n updated_at: z.string().describe(\"Timestamp of when the endpoint was last updated.\"),\n last_active: z.string().describe(\"Timestamp of the last activity on this endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"The connection pooler mode (transaction, session, or statement).\"),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-pod, k8s-neonvm).\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the endpoint (e.g., init, active, idle).\"),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to.\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooler is enabled.\"),\n creation_source: z.string().describe(\"The source that initiated the endpoint creation.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\"),\n compute_release_version: z.string().describe(\"The compute release version number.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the endpoint is suspended. 0 uses global default, -1 means never suspend.\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of Compute Units for autoscaling.\"),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units for autoscaling.\"),\n}).describe(\"Compute endpoint object.\");\nconst NeonCreateNewProjectBranch_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\"),\n error: z.string().describe(\"Error message if the operation failed.\").nullable().optional(),\n action: z.string().describe(\"The action performed by the operation (e.g., create_branch, start_compute, suspend_compute).\"),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped).\"),\n branch_id: z.string().describe(\"The branch identifier associated with this operation.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the operation was created.\"),\n project_id: z.string().describe(\"The project identifier.\"),\n updated_at: z.string().describe(\"Timestamp of when the operation was last updated.\"),\n endpoint_id: z.string().describe(\"The endpoint identifier if the operation involves a compute endpoint.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of times the operation failed.\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).describe(\"Operation object.\");\nexport const NeonCreateNewProjectBranchOutput: z.ZodTypeAny = z.object({\n branch: NeonCreateNewProjectBranch_BranchSchema.nullable(),\n endpoints: z.array(NeonCreateNewProjectBranch_ComputeEndpointSchema).describe(\"Array of compute endpoints created with the branch. Empty if no endpoints were requested.\").nullable().optional(),\n operations: z.array(NeonCreateNewProjectBranch_OperationSchema).describe(\"Array of operations initiated by the branch creation request (e.g., create_branch, start_compute).\"),\n}).describe(\"Response schema for `CreateNewProjectBranch`\");\n\nexport const neonCreateNewProjectBranch = action(\"NEON_CREATE_NEW_PROJECT_BRANCH\", {\n slug: \"neon-create-new-project-branch\",\n name: \"Create new project branch\",\n description: \"Creates a new branch in a Neon project. Branches are copy-on-write clones of the parent branch's data, perfect for creating development/staging environments, testing features, or previewing database changes without affecting production. The branch is created from the project's default branch unless a parent_id is specified. By default, the branch copies all data from the parent ('parent-data'). Note: A branch is created without a compute endpoint. To connect to the branch, use the 'create_compute_endpoint' action to add a read_write or read_only endpoint.\",\n input: NeonCreateNewProjectBranchInput,\n output: NeonCreateNewProjectBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;CACzM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACpL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACpO,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,WAAW,EAAE,QAAQ,CAAC,C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AC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACrF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAO/B,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4D,EAAE,OAAO;EACrE,QAAQ,wCAAwC,SAAS;EACzD,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/L,YAAY,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oGAAoG;CAC/K,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,106 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-project-branch-anonymized.ts
4
+ const NeonCreateProjectBranchAnonymizedInput = zod.z.object({
5
+ project_id: zod.z.string().describe("The Neon project ID where the anonymized branch will be created."),
6
+ branch_create: zod.z.object({
7
+ name: zod.z.string().describe("The name of the new anonymized branch. If not provided, an auto-generated name will be assigned.").optional(),
8
+ parent_id: zod.z.string().describe("The ID of the parent branch to branch from. If omitted, the project's default branch is used.").optional()
9
+ }).describe("Configuration for creating the new branch").optional(),
10
+ masking_rules: zod.z.array(zod.z.object({
11
+ table_name: zod.z.string().describe("The name of the table containing the column to mask."),
12
+ column_name: zod.z.string().describe("The name of the column to apply masking to."),
13
+ schema_name: zod.z.string().describe("The schema name containing the table (e.g., 'public')."),
14
+ database_name: zod.z.string().describe("The name of the database containing the table to mask (e.g., 'neondb')."),
15
+ masking_function: zod.z.string().describe("The PostgreSQL Anonymizer function to use for masking. Common functions include: anon.dummy_free_email(), anon.random_int_between(min,max), anon.fake_first_name(), anon.fake_last_name(), anon.random_phone().")
16
+ }).describe("A masking rule defining how to anonymize a specific column")).describe("Optional list of masking rules to apply to the branch. Each rule specifies how to anonymize a specific column using PostgreSQL Anonymizer functions.").optional(),
17
+ annotation_value: zod.z.object({}).describe("Optional metadata annotations to attach to the branch.").optional(),
18
+ start_anonymization: zod.z.boolean().describe("If true, automatically starts the anonymization process after branch creation. If false or omitted, masking rules are stored but not applied until manually triggered.").optional()
19
+ }).describe("Request schema for creating an anonymized branch");
20
+ const NeonCreateProjectBranchAnonymized_RoleSchema = zod.z.object({
21
+ name: zod.z.string().describe("The role name"),
22
+ branch_id: zod.z.string().describe("The branch ID"),
23
+ protected: zod.z.boolean().describe("Whether the role is protected").nullable().optional(),
24
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the role was created"),
25
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the role was last updated")
26
+ }).describe("A database role associated with the branch");
27
+ const NeonCreateProjectBranchAnonymized_BranchSchema = zod.z.object({
28
+ id: zod.z.string().describe("The branch ID"),
29
+ name: zod.z.string().describe("The branch name"),
30
+ "default": zod.z.boolean().describe("Whether this is the default branch").nullable().optional(),
31
+ parent_id: zod.z.string().describe("The parent branch ID").nullable().optional(),
32
+ protected: zod.z.boolean().describe("Whether the branch is protected from deletion").nullable().optional(),
33
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the branch was created"),
34
+ project_id: zod.z.string().describe("The project ID"),
35
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the branch was last updated"),
36
+ cpu_used_sec: zod.z.number().int().describe("CPU seconds used by the branch").nullable().optional(),
37
+ logical_size: zod.z.number().int().describe("The logical size of the branch in bytes").nullable().optional(),
38
+ current_state: zod.z.string().describe("The current state of the branch").nullable().optional(),
39
+ physical_size: zod.z.number().int().describe("The physical size of the branch in bytes").nullable().optional()
40
+ }).describe("The created anonymized branch");
41
+ const NeonCreateProjectBranchAnonymized_DatabaseSchema = zod.z.object({
42
+ id: zod.z.number().int().describe("The database ID"),
43
+ name: zod.z.string().describe("The database name"),
44
+ branch_id: zod.z.string().describe("The branch ID"),
45
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the database was created"),
46
+ owner_name: zod.z.string().describe("The name of the role that owns the database"),
47
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the database was last updated")
48
+ }).describe("A database within the branch");
49
+ const NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema = zod.z.object({
50
+ use_defaults: zod.z.boolean().describe("Whether to use default preload libraries"),
51
+ enabled_libraries: zod.z.array(zod.z.string()).describe("List of enabled preload libraries")
52
+ }).describe("Preload libraries configuration for PostgreSQL");
53
+ const NeonCreateProjectBranchAnonymized_EndpointSettingsSchema = zod.z.object({ preload_libraries: NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema.nullable().optional() }).describe("Settings for an endpoint");
54
+ const NeonCreateProjectBranchAnonymized_EndpointSchema = zod.z.object({
55
+ id: zod.z.string().describe("The endpoint ID"),
56
+ host: zod.z.string().describe("The endpoint host").nullable().optional(),
57
+ type: zod.z.string().describe("The endpoint type (e.g., 'read_write', 'read_only')"),
58
+ disabled: zod.z.boolean().describe("Whether the endpoint is disabled").nullable().optional(),
59
+ settings: NeonCreateProjectBranchAnonymized_EndpointSettingsSchema.nullable().optional(),
60
+ branch_id: zod.z.string().describe("The branch ID"),
61
+ region_id: zod.z.string().describe("The region where the endpoint is located").nullable().optional(),
62
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the endpoint was created"),
63
+ project_id: zod.z.string().describe("The project ID"),
64
+ proxy_host: zod.z.string().describe("The proxy host for connections").nullable().optional(),
65
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the endpoint was last updated"),
66
+ pooler_mode: zod.z.string().describe("Connection pooler mode").nullable().optional(),
67
+ current_state: zod.z.string().describe("Current state of the endpoint").nullable().optional(),
68
+ pooler_enabled: zod.z.boolean().describe("Whether connection pooling is enabled").nullable().optional(),
69
+ passwordless_access: zod.z.boolean().describe("Whether passwordless access is enabled").nullable().optional(),
70
+ suspend_timeout_seconds: zod.z.number().int().describe("Timeout before suspending inactive endpoint").nullable().optional(),
71
+ autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling").nullable().optional(),
72
+ autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling").nullable().optional()
73
+ }).describe("A compute endpoint associated with the branch");
74
+ const NeonCreateProjectBranchAnonymized_OperationSchema = zod.z.object({
75
+ id: zod.z.string().describe("The operation ID"),
76
+ error: zod.z.string().describe("Error message if the operation failed").nullable().optional(),
77
+ action: zod.z.string().describe("The action performed (e.g., 'create_branch', 'apply_config')"),
78
+ status: zod.z.string().describe("The operation status (e.g., 'running', 'finished', 'failed')"),
79
+ branch_id: zod.z.string().describe("The branch ID").nullable().optional(),
80
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the operation was created"),
81
+ project_id: zod.z.string().describe("The project ID"),
82
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the operation was last updated"),
83
+ endpoint_id: zod.z.string().describe("The endpoint ID").nullable().optional(),
84
+ failures_count: zod.z.number().int().describe("Number of times the operation failed"),
85
+ total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds")
86
+ }).describe("An operation tracking the branch creation and anonymization");
87
+ const NeonCreateProjectBranchAnonymized_ConnectionUriSchema = zod.z.object({ connection_uri: zod.z.string().describe("The full connection URI string") }).describe("A connection URI for accessing the branch");
88
+ const NeonCreateProjectBranchAnonymizedOutput = zod.z.object({
89
+ roles: zod.z.array(NeonCreateProjectBranchAnonymized_RoleSchema).describe("Database roles available in the branch"),
90
+ branch: NeonCreateProjectBranchAnonymized_BranchSchema.nullable(),
91
+ databases: zod.z.array(NeonCreateProjectBranchAnonymized_DatabaseSchema).describe("Databases within the branch"),
92
+ endpoints: zod.z.array(NeonCreateProjectBranchAnonymized_EndpointSchema).describe("Compute endpoints associated with the branch"),
93
+ operations: zod.z.array(NeonCreateProjectBranchAnonymized_OperationSchema).describe("Operations tracking the branch creation and setup"),
94
+ connection_uris: zod.z.array(NeonCreateProjectBranchAnonymized_ConnectionUriSchema).describe("Connection URIs for accessing the branch").nullable().optional()
95
+ }).describe("Response schema for creating an anonymized branch");
96
+ const neonCreateProjectBranchAnonymized = require_action.action("NEON_CREATE_PROJECT_BRANCH_ANONYMIZED", {
97
+ slug: "neon-create-project-branch-anonymized",
98
+ name: "Create anonymized branch",
99
+ description: "Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. Use when developers need to work with masked production data in a safe development environment.",
100
+ input: NeonCreateProjectBranchAnonymizedInput,
101
+ output: NeonCreateProjectBranchAnonymizedOutput
102
+ });
103
+ //#endregion
104
+ exports.neonCreateProjectBranchAnonymized = neonCreateProjectBranchAnonymized;
105
+
106
+ //# sourceMappingURL=create-project-branch-anonymized.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project-branch-anonymized.cjs","names":["z","action"],"sources":["../../src/actions/create-project-branch-anonymized.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateProjectBranchAnonymizedInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The Neon project ID where the anonymized branch will be created.\"),\n branch_create: z.object({\n name: z.string().describe(\"The name of the new anonymized branch. If not provided, an auto-generated name will be assigned.\").optional(),\n parent_id: z.string().describe(\"The ID of the parent branch to branch from. If omitted, the project's default branch is used.\").optional(),\n}).describe(\"Configuration for creating the new branch\").optional(),\n masking_rules: z.array(z.object({\n table_name: z.string().describe(\"The name of the table containing the column to mask.\"),\n column_name: z.string().describe(\"The name of the column to apply masking to.\"),\n schema_name: z.string().describe(\"The schema name containing the table (e.g., 'public').\"),\n database_name: z.string().describe(\"The name of the database containing the table to mask (e.g., 'neondb').\"),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function to use for masking. Common functions include: anon.dummy_free_email(), anon.random_int_between(min,max), anon.fake_first_name(), anon.fake_last_name(), anon.random_phone().\"),\n}).describe(\"A masking rule defining how to anonymize a specific column\")).describe(\"Optional list of masking rules to apply to the branch. Each rule specifies how to anonymize a specific column using PostgreSQL Anonymizer functions.\").optional(),\n annotation_value: z.object({}).describe(\"Optional metadata annotations to attach to the branch.\").optional(),\n start_anonymization: z.boolean().describe(\"If true, automatically starts the anonymization process after branch creation. If false or omitted, masking rules are stored but not applied until manually triggered.\").optional(),\n}).describe(\"Request schema for creating an anonymized branch\");\nconst NeonCreateProjectBranchAnonymized_RoleSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The role name\"),\n branch_id: z.string().describe(\"The branch ID\"),\n protected: z.boolean().describe(\"Whether the role is protected\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the role was created\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the role was last updated\"),\n}).describe(\"A database role associated with the branch\");\nconst NeonCreateProjectBranchAnonymized_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch ID\"),\n name: z.string().describe(\"The branch name\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch\").nullable().optional(),\n parent_id: z.string().describe(\"The parent branch ID\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the branch was created\"),\n project_id: z.string().describe(\"The project ID\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the branch was last updated\"),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n}).describe(\"The created anonymized branch\");\nconst NeonCreateProjectBranchAnonymized_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The database ID\"),\n name: z.string().describe(\"The database name\"),\n branch_id: z.string().describe(\"The branch ID\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the database was created\"),\n owner_name: z.string().describe(\"The name of the role that owns the database\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the database was last updated\"),\n}).describe(\"A database within the branch\");\nconst NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema: z.ZodTypeAny = z.object({\n use_defaults: z.boolean().describe(\"Whether to use default preload libraries\"),\n enabled_libraries: z.array(z.string()).describe(\"List of enabled preload libraries\"),\n}).describe(\"Preload libraries configuration for PostgreSQL\");\nconst NeonCreateProjectBranchAnonymized_EndpointSettingsSchema: z.ZodTypeAny = z.object({\n preload_libraries: NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema.nullable().optional(),\n}).describe(\"Settings for an endpoint\");\nconst NeonCreateProjectBranchAnonymized_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The endpoint ID\"),\n host: z.string().describe(\"The endpoint host\").nullable().optional(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only')\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: NeonCreateProjectBranchAnonymized_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\"),\n region_id: z.string().describe(\"The region where the endpoint is located\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the endpoint was created\"),\n project_id: z.string().describe(\"The project ID\"),\n proxy_host: z.string().describe(\"The proxy host for connections\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the endpoint was last updated\"),\n pooler_mode: z.string().describe(\"Connection pooler mode\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint\").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 before suspending inactive endpoint\").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}).describe(\"A compute endpoint associated with the branch\");\nconst NeonCreateProjectBranchAnonymized_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation ID\"),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action performed (e.g., 'create_branch', 'apply_config')\"),\n status: z.string().describe(\"The operation status (e.g., 'running', 'finished', 'failed')\"),\n branch_id: z.string().describe(\"The branch ID\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the operation was created\"),\n project_id: z.string().describe(\"The project ID\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the operation was last updated\"),\n endpoint_id: z.string().describe(\"The endpoint ID\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\"),\n}).describe(\"An operation tracking the branch creation and anonymization\");\nconst NeonCreateProjectBranchAnonymized_ConnectionUriSchema: z.ZodTypeAny = z.object({\n connection_uri: z.string().describe(\"The full connection URI string\"),\n}).describe(\"A connection URI for accessing the branch\");\nexport const NeonCreateProjectBranchAnonymizedOutput: z.ZodTypeAny = z.object({\n roles: z.array(NeonCreateProjectBranchAnonymized_RoleSchema).describe(\"Database roles available in the branch\"),\n branch: NeonCreateProjectBranchAnonymized_BranchSchema.nullable(),\n databases: z.array(NeonCreateProjectBranchAnonymized_DatabaseSchema).describe(\"Databases within the branch\"),\n endpoints: z.array(NeonCreateProjectBranchAnonymized_EndpointSchema).describe(\"Compute endpoints associated with the branch\"),\n operations: z.array(NeonCreateProjectBranchAnonymized_OperationSchema).describe(\"Operations tracking the branch creation and setup\"),\n connection_uris: z.array(NeonCreateProjectBranchAnonymized_ConnectionUriSchema).describe(\"Connection URIs for accessing the branch\").nullable().optional(),\n}).describe(\"Response schema for creating an anonymized branch\");\n\nexport const neonCreateProjectBranchAnonymized = action(\"NEON_CREATE_PROJECT_BRANCH_ANONYMIZED\", {\n slug: \"neon-create-project-branch-anonymized\",\n name: \"Create anonymized branch\",\n description: \"Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. Use when developers need to work with masked production data in a safe development environment.\",\n input: NeonCreateProjectBranchAnonymizedInput,\n output: NeonCreateProjectBranchAnonymizedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iNAAiN;CACzP,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnP,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;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C,CAAC,SAAS,2CAA2C;AACvD,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,wCAAwC;CAC9G,QAAQ,+CAA+C,SAAS;CAChE,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6BAA6B;CAC3G,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;CAC5H,YAAYA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mDAAmD;CACnI,iBAAiBA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,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/create-project-branch-anonymized.d.ts
4
+ declare const NeonCreateProjectBranchAnonymizedInput: z.ZodTypeAny;
5
+ declare const NeonCreateProjectBranchAnonymizedOutput: z.ZodTypeAny;
6
+ declare const neonCreateProjectBranchAnonymized: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { neonCreateProjectBranchAnonymized };
9
+ //# sourceMappingURL=create-project-branch-anonymized.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project-branch-anonymized.d.cts","names":[],"sources":["../../src/actions/create-project-branch-anonymized.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAeQ;AAAA,cAyElD,uCAAA,EAAyC,CAAA,CAAE,UAOQ;AAAA,cAEnD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-project-branch-anonymized.d.ts
4
+ declare const NeonCreateProjectBranchAnonymizedInput: z.ZodTypeAny;
5
+ declare const NeonCreateProjectBranchAnonymizedOutput: z.ZodTypeAny;
6
+ declare const neonCreateProjectBranchAnonymized: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { neonCreateProjectBranchAnonymized };
9
+ //# sourceMappingURL=create-project-branch-anonymized.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project-branch-anonymized.d.mts","names":[],"sources":["../../src/actions/create-project-branch-anonymized.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAeQ;AAAA,cAyElD,uCAAA,EAAyC,CAAA,CAAE,UAOQ;AAAA,cAEnD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,105 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-project-branch-anonymized.ts
4
+ const NeonCreateProjectBranchAnonymizedInput = z.object({
5
+ project_id: z.string().describe("The Neon project ID where the anonymized branch will be created."),
6
+ branch_create: z.object({
7
+ name: z.string().describe("The name of the new anonymized branch. If not provided, an auto-generated name will be assigned.").optional(),
8
+ parent_id: z.string().describe("The ID of the parent branch to branch from. If omitted, the project's default branch is used.").optional()
9
+ }).describe("Configuration for creating the new branch").optional(),
10
+ masking_rules: z.array(z.object({
11
+ table_name: z.string().describe("The name of the table containing the column to mask."),
12
+ column_name: z.string().describe("The name of the column to apply masking to."),
13
+ schema_name: z.string().describe("The schema name containing the table (e.g., 'public')."),
14
+ database_name: z.string().describe("The name of the database containing the table to mask (e.g., 'neondb')."),
15
+ masking_function: z.string().describe("The PostgreSQL Anonymizer function to use for masking. Common functions include: anon.dummy_free_email(), anon.random_int_between(min,max), anon.fake_first_name(), anon.fake_last_name(), anon.random_phone().")
16
+ }).describe("A masking rule defining how to anonymize a specific column")).describe("Optional list of masking rules to apply to the branch. Each rule specifies how to anonymize a specific column using PostgreSQL Anonymizer functions.").optional(),
17
+ annotation_value: z.object({}).describe("Optional metadata annotations to attach to the branch.").optional(),
18
+ start_anonymization: z.boolean().describe("If true, automatically starts the anonymization process after branch creation. If false or omitted, masking rules are stored but not applied until manually triggered.").optional()
19
+ }).describe("Request schema for creating an anonymized branch");
20
+ const NeonCreateProjectBranchAnonymized_RoleSchema = z.object({
21
+ name: z.string().describe("The role name"),
22
+ branch_id: z.string().describe("The branch ID"),
23
+ protected: z.boolean().describe("Whether the role is protected").nullable().optional(),
24
+ created_at: z.string().describe("ISO 8601 timestamp when the role was created"),
25
+ updated_at: z.string().describe("ISO 8601 timestamp when the role was last updated")
26
+ }).describe("A database role associated with the branch");
27
+ const NeonCreateProjectBranchAnonymized_BranchSchema = z.object({
28
+ id: z.string().describe("The branch ID"),
29
+ name: z.string().describe("The branch name"),
30
+ "default": z.boolean().describe("Whether this is the default branch").nullable().optional(),
31
+ parent_id: z.string().describe("The parent branch ID").nullable().optional(),
32
+ protected: z.boolean().describe("Whether the branch is protected from deletion").nullable().optional(),
33
+ created_at: z.string().describe("ISO 8601 timestamp when the branch was created"),
34
+ project_id: z.string().describe("The project ID"),
35
+ updated_at: z.string().describe("ISO 8601 timestamp when the branch was last updated"),
36
+ cpu_used_sec: z.number().int().describe("CPU seconds used by the branch").nullable().optional(),
37
+ logical_size: z.number().int().describe("The logical size of the branch in bytes").nullable().optional(),
38
+ current_state: z.string().describe("The current state of the branch").nullable().optional(),
39
+ physical_size: z.number().int().describe("The physical size of the branch in bytes").nullable().optional()
40
+ }).describe("The created anonymized branch");
41
+ const NeonCreateProjectBranchAnonymized_DatabaseSchema = z.object({
42
+ id: z.number().int().describe("The database ID"),
43
+ name: z.string().describe("The database name"),
44
+ branch_id: z.string().describe("The branch ID"),
45
+ created_at: z.string().describe("ISO 8601 timestamp when the database was created"),
46
+ owner_name: z.string().describe("The name of the role that owns the database"),
47
+ updated_at: z.string().describe("ISO 8601 timestamp when the database was last updated")
48
+ }).describe("A database within the branch");
49
+ const NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema = z.object({
50
+ use_defaults: z.boolean().describe("Whether to use default preload libraries"),
51
+ enabled_libraries: z.array(z.string()).describe("List of enabled preload libraries")
52
+ }).describe("Preload libraries configuration for PostgreSQL");
53
+ const NeonCreateProjectBranchAnonymized_EndpointSettingsSchema = z.object({ preload_libraries: NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema.nullable().optional() }).describe("Settings for an endpoint");
54
+ const NeonCreateProjectBranchAnonymized_EndpointSchema = z.object({
55
+ id: z.string().describe("The endpoint ID"),
56
+ host: z.string().describe("The endpoint host").nullable().optional(),
57
+ type: z.string().describe("The endpoint type (e.g., 'read_write', 'read_only')"),
58
+ disabled: z.boolean().describe("Whether the endpoint is disabled").nullable().optional(),
59
+ settings: NeonCreateProjectBranchAnonymized_EndpointSettingsSchema.nullable().optional(),
60
+ branch_id: z.string().describe("The branch ID"),
61
+ region_id: z.string().describe("The region where the endpoint is located").nullable().optional(),
62
+ created_at: z.string().describe("ISO 8601 timestamp when the endpoint was created"),
63
+ project_id: z.string().describe("The project ID"),
64
+ proxy_host: z.string().describe("The proxy host for connections").nullable().optional(),
65
+ updated_at: z.string().describe("ISO 8601 timestamp when the endpoint was last updated"),
66
+ pooler_mode: z.string().describe("Connection pooler mode").nullable().optional(),
67
+ current_state: z.string().describe("Current state of the endpoint").nullable().optional(),
68
+ pooler_enabled: z.boolean().describe("Whether connection pooling is enabled").nullable().optional(),
69
+ passwordless_access: z.boolean().describe("Whether passwordless access is enabled").nullable().optional(),
70
+ suspend_timeout_seconds: z.number().int().describe("Timeout before suspending inactive endpoint").nullable().optional(),
71
+ autoscaling_limit_max_cu: z.number().describe("Maximum compute units for autoscaling").nullable().optional(),
72
+ autoscaling_limit_min_cu: z.number().describe("Minimum compute units for autoscaling").nullable().optional()
73
+ }).describe("A compute endpoint associated with the branch");
74
+ const NeonCreateProjectBranchAnonymized_OperationSchema = z.object({
75
+ id: z.string().describe("The operation ID"),
76
+ error: z.string().describe("Error message if the operation failed").nullable().optional(),
77
+ action: z.string().describe("The action performed (e.g., 'create_branch', 'apply_config')"),
78
+ status: z.string().describe("The operation status (e.g., 'running', 'finished', 'failed')"),
79
+ branch_id: z.string().describe("The branch ID").nullable().optional(),
80
+ created_at: z.string().describe("ISO 8601 timestamp when the operation was created"),
81
+ project_id: z.string().describe("The project ID"),
82
+ updated_at: z.string().describe("ISO 8601 timestamp when the operation was last updated"),
83
+ endpoint_id: z.string().describe("The endpoint ID").nullable().optional(),
84
+ failures_count: z.number().int().describe("Number of times the operation failed"),
85
+ total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds")
86
+ }).describe("An operation tracking the branch creation and anonymization");
87
+ const NeonCreateProjectBranchAnonymized_ConnectionUriSchema = z.object({ connection_uri: z.string().describe("The full connection URI string") }).describe("A connection URI for accessing the branch");
88
+ const neonCreateProjectBranchAnonymized = action("NEON_CREATE_PROJECT_BRANCH_ANONYMIZED", {
89
+ slug: "neon-create-project-branch-anonymized",
90
+ name: "Create anonymized branch",
91
+ description: "Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. Use when developers need to work with masked production data in a safe development environment.",
92
+ input: NeonCreateProjectBranchAnonymizedInput,
93
+ output: z.object({
94
+ roles: z.array(NeonCreateProjectBranchAnonymized_RoleSchema).describe("Database roles available in the branch"),
95
+ branch: NeonCreateProjectBranchAnonymized_BranchSchema.nullable(),
96
+ databases: z.array(NeonCreateProjectBranchAnonymized_DatabaseSchema).describe("Databases within the branch"),
97
+ endpoints: z.array(NeonCreateProjectBranchAnonymized_EndpointSchema).describe("Compute endpoints associated with the branch"),
98
+ operations: z.array(NeonCreateProjectBranchAnonymized_OperationSchema).describe("Operations tracking the branch creation and setup"),
99
+ connection_uris: z.array(NeonCreateProjectBranchAnonymized_ConnectionUriSchema).describe("Connection URIs for accessing the branch").nullable().optional()
100
+ }).describe("Response schema for creating an anonymized branch")
101
+ });
102
+ //#endregion
103
+ export { neonCreateProjectBranchAnonymized };
104
+
105
+ //# sourceMappingURL=create-project-branch-anonymized.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project-branch-anonymized.mjs","names":[],"sources":["../../src/actions/create-project-branch-anonymized.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateProjectBranchAnonymizedInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The Neon project ID where the anonymized branch will be created.\"),\n branch_create: z.object({\n name: z.string().describe(\"The name of the new anonymized branch. If not provided, an auto-generated name will be assigned.\").optional(),\n parent_id: z.string().describe(\"The ID of the parent branch to branch from. If omitted, the project's default branch is used.\").optional(),\n}).describe(\"Configuration for creating the new branch\").optional(),\n masking_rules: z.array(z.object({\n table_name: z.string().describe(\"The name of the table containing the column to mask.\"),\n column_name: z.string().describe(\"The name of the column to apply masking to.\"),\n schema_name: z.string().describe(\"The schema name containing the table (e.g., 'public').\"),\n database_name: z.string().describe(\"The name of the database containing the table to mask (e.g., 'neondb').\"),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function to use for masking. Common functions include: anon.dummy_free_email(), anon.random_int_between(min,max), anon.fake_first_name(), anon.fake_last_name(), anon.random_phone().\"),\n}).describe(\"A masking rule defining how to anonymize a specific column\")).describe(\"Optional list of masking rules to apply to the branch. Each rule specifies how to anonymize a specific column using PostgreSQL Anonymizer functions.\").optional(),\n annotation_value: z.object({}).describe(\"Optional metadata annotations to attach to the branch.\").optional(),\n start_anonymization: z.boolean().describe(\"If true, automatically starts the anonymization process after branch creation. If false or omitted, masking rules are stored but not applied until manually triggered.\").optional(),\n}).describe(\"Request schema for creating an anonymized branch\");\nconst NeonCreateProjectBranchAnonymized_RoleSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The role name\"),\n branch_id: z.string().describe(\"The branch ID\"),\n protected: z.boolean().describe(\"Whether the role is protected\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the role was created\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the role was last updated\"),\n}).describe(\"A database role associated with the branch\");\nconst NeonCreateProjectBranchAnonymized_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch ID\"),\n name: z.string().describe(\"The branch name\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch\").nullable().optional(),\n parent_id: z.string().describe(\"The parent branch ID\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the branch was created\"),\n project_id: z.string().describe(\"The project ID\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the branch was last updated\"),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n}).describe(\"The created anonymized branch\");\nconst NeonCreateProjectBranchAnonymized_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The database ID\"),\n name: z.string().describe(\"The database name\"),\n branch_id: z.string().describe(\"The branch ID\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the database was created\"),\n owner_name: z.string().describe(\"The name of the role that owns the database\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the database was last updated\"),\n}).describe(\"A database within the branch\");\nconst NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema: z.ZodTypeAny = z.object({\n use_defaults: z.boolean().describe(\"Whether to use default preload libraries\"),\n enabled_libraries: z.array(z.string()).describe(\"List of enabled preload libraries\"),\n}).describe(\"Preload libraries configuration for PostgreSQL\");\nconst NeonCreateProjectBranchAnonymized_EndpointSettingsSchema: z.ZodTypeAny = z.object({\n preload_libraries: NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema.nullable().optional(),\n}).describe(\"Settings for an endpoint\");\nconst NeonCreateProjectBranchAnonymized_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The endpoint ID\"),\n host: z.string().describe(\"The endpoint host\").nullable().optional(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only')\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: NeonCreateProjectBranchAnonymized_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\"),\n region_id: z.string().describe(\"The region where the endpoint is located\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the endpoint was created\"),\n project_id: z.string().describe(\"The project ID\"),\n proxy_host: z.string().describe(\"The proxy host for connections\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the endpoint was last updated\"),\n pooler_mode: z.string().describe(\"Connection pooler mode\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint\").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 before suspending inactive endpoint\").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}).describe(\"A compute endpoint associated with the branch\");\nconst NeonCreateProjectBranchAnonymized_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation ID\"),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action performed (e.g., 'create_branch', 'apply_config')\"),\n status: z.string().describe(\"The operation status (e.g., 'running', 'finished', 'failed')\"),\n branch_id: z.string().describe(\"The branch ID\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the operation was created\"),\n project_id: z.string().describe(\"The project ID\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the operation was last updated\"),\n endpoint_id: z.string().describe(\"The endpoint ID\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\"),\n}).describe(\"An operation tracking the branch creation and anonymization\");\nconst NeonCreateProjectBranchAnonymized_ConnectionUriSchema: z.ZodTypeAny = z.object({\n connection_uri: z.string().describe(\"The full connection URI string\"),\n}).describe(\"A connection URI for accessing the branch\");\nexport const NeonCreateProjectBranchAnonymizedOutput: z.ZodTypeAny = z.object({\n roles: z.array(NeonCreateProjectBranchAnonymized_RoleSchema).describe(\"Database roles available in the branch\"),\n branch: NeonCreateProjectBranchAnonymized_BranchSchema.nullable(),\n databases: z.array(NeonCreateProjectBranchAnonymized_DatabaseSchema).describe(\"Databases within the branch\"),\n endpoints: z.array(NeonCreateProjectBranchAnonymized_EndpointSchema).describe(\"Compute endpoints associated with the branch\"),\n operations: z.array(NeonCreateProjectBranchAnonymized_OperationSchema).describe(\"Operations tracking the branch creation and setup\"),\n connection_uris: z.array(NeonCreateProjectBranchAnonymized_ConnectionUriSchema).describe(\"Connection URIs for accessing the branch\").nullable().optional(),\n}).describe(\"Response schema for creating an anonymized branch\");\n\nexport const neonCreateProjectBranchAnonymized = action(\"NEON_CREATE_PROJECT_BRANCH_ANONYMIZED\", {\n slug: \"neon-create-project-branch-anonymized\",\n name: \"Create anonymized branch\",\n description: \"Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. Use when developers need to work with masked production data in a safe development environment.\",\n input: NeonCreateProjectBranchAnonymizedInput,\n output: NeonCreateProjectBranchAnonymizedOutput,\n});\n"],"m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