@keystrokehq/neon 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (615) hide show
  1. package/dist/actions/accept-projects-transfer-requests.cjs +1 -1
  2. package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -1
  3. package/dist/actions/accept-projects-transfer-requests.d.cts +1 -1
  4. package/dist/actions/accept-projects-transfer-requests.d.mts +1 -1
  5. package/dist/actions/accept-projects-transfer-requests.mjs +1 -1
  6. package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -1
  7. package/dist/actions/access-project-details-by-id.cjs +1 -1
  8. package/dist/actions/access-project-details-by-id.cjs.map +1 -1
  9. package/dist/actions/access-project-details-by-id.d.cts +1 -1
  10. package/dist/actions/access-project-details-by-id.d.mts +1 -1
  11. package/dist/actions/access-project-details-by-id.mjs +1 -1
  12. package/dist/actions/access-project-details-by-id.mjs.map +1 -1
  13. package/dist/actions/add-new-jwks-to-project-endpoint.cjs +3 -3
  14. package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -1
  15. package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +3 -3
  16. package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +3 -3
  17. package/dist/actions/add-new-jwks-to-project-endpoint.mjs +3 -3
  18. package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -1
  19. package/dist/actions/add-project-email-permission.cjs +2 -2
  20. package/dist/actions/add-project-email-permission.cjs.map +1 -1
  21. package/dist/actions/add-project-email-permission.d.cts +2 -2
  22. package/dist/actions/add-project-email-permission.d.mts +2 -2
  23. package/dist/actions/add-project-email-permission.mjs +2 -2
  24. package/dist/actions/add-project-email-permission.mjs.map +1 -1
  25. package/dist/actions/add-role-to-branch.cjs +3 -3
  26. package/dist/actions/add-role-to-branch.cjs.map +1 -1
  27. package/dist/actions/add-role-to-branch.d.cts +3 -3
  28. package/dist/actions/add-role-to-branch.d.mts +3 -3
  29. package/dist/actions/add-role-to-branch.mjs +3 -3
  30. package/dist/actions/add-role-to-branch.mjs.map +1 -1
  31. package/dist/actions/count-project-branches.cjs +1 -1
  32. package/dist/actions/count-project-branches.cjs.map +1 -1
  33. package/dist/actions/count-project-branches.d.cts +1 -1
  34. package/dist/actions/count-project-branches.d.mts +1 -1
  35. package/dist/actions/count-project-branches.mjs +1 -1
  36. package/dist/actions/count-project-branches.mjs.map +1 -1
  37. package/dist/actions/create-api-key-for-organization.cjs +1 -1
  38. package/dist/actions/create-api-key-for-organization.cjs.map +1 -1
  39. package/dist/actions/create-api-key-for-organization.d.cts +1 -1
  40. package/dist/actions/create-api-key-for-organization.d.mts +1 -1
  41. package/dist/actions/create-api-key-for-organization.mjs +1 -1
  42. package/dist/actions/create-api-key-for-organization.mjs.map +1 -1
  43. package/dist/actions/create-auth-keys.cjs +1 -1
  44. package/dist/actions/create-auth-keys.cjs.map +1 -1
  45. package/dist/actions/create-auth-keys.d.cts +1 -1
  46. package/dist/actions/create-auth-keys.d.mts +1 -1
  47. package/dist/actions/create-auth-keys.mjs +1 -1
  48. package/dist/actions/create-auth-keys.mjs.map +1 -1
  49. package/dist/actions/create-auth-user.cjs +1 -1
  50. package/dist/actions/create-auth-user.cjs.map +1 -1
  51. package/dist/actions/create-auth-user.d.cts +1 -1
  52. package/dist/actions/create-auth-user.d.mts +1 -1
  53. package/dist/actions/create-auth-user.mjs +1 -1
  54. package/dist/actions/create-auth-user.mjs.map +1 -1
  55. package/dist/actions/create-branch-database.cjs +3 -3
  56. package/dist/actions/create-branch-database.cjs.map +1 -1
  57. package/dist/actions/create-branch-database.d.cts +3 -3
  58. package/dist/actions/create-branch-database.d.mts +3 -3
  59. package/dist/actions/create-branch-database.mjs +3 -3
  60. package/dist/actions/create-branch-database.mjs.map +1 -1
  61. package/dist/actions/create-branches-auth.cjs +1 -1
  62. package/dist/actions/create-branches-auth.cjs.map +1 -1
  63. package/dist/actions/create-branches-auth.d.cts +1 -1
  64. package/dist/actions/create-branches-auth.d.mts +1 -1
  65. package/dist/actions/create-branches-auth.mjs +1 -1
  66. package/dist/actions/create-branches-auth.mjs.map +1 -1
  67. package/dist/actions/create-branches-data-api.cjs +1 -1
  68. package/dist/actions/create-branches-data-api.cjs.map +1 -1
  69. package/dist/actions/create-branches-data-api.d.cts +1 -1
  70. package/dist/actions/create-branches-data-api.d.mts +1 -1
  71. package/dist/actions/create-branches-data-api.mjs +1 -1
  72. package/dist/actions/create-branches-data-api.mjs.map +1 -1
  73. package/dist/actions/create-branches-snapshot.cjs +3 -3
  74. package/dist/actions/create-branches-snapshot.cjs.map +1 -1
  75. package/dist/actions/create-branches-snapshot.d.cts +3 -3
  76. package/dist/actions/create-branches-snapshot.d.mts +3 -3
  77. package/dist/actions/create-branches-snapshot.mjs +3 -3
  78. package/dist/actions/create-branches-snapshot.mjs.map +1 -1
  79. package/dist/actions/create-compute-endpoint.cjs +6 -6
  80. package/dist/actions/create-compute-endpoint.cjs.map +1 -1
  81. package/dist/actions/create-compute-endpoint.d.cts +8 -8
  82. package/dist/actions/create-compute-endpoint.d.mts +8 -8
  83. package/dist/actions/create-compute-endpoint.mjs +6 -6
  84. package/dist/actions/create-compute-endpoint.mjs.map +1 -1
  85. package/dist/actions/create-new-api-key.cjs +1 -1
  86. package/dist/actions/create-new-api-key.cjs.map +1 -1
  87. package/dist/actions/create-new-api-key.d.cts +1 -1
  88. package/dist/actions/create-new-api-key.d.mts +1 -1
  89. package/dist/actions/create-new-api-key.mjs +1 -1
  90. package/dist/actions/create-new-api-key.mjs.map +1 -1
  91. package/dist/actions/create-new-project-branch.cjs +5 -5
  92. package/dist/actions/create-new-project-branch.cjs.map +1 -1
  93. package/dist/actions/create-new-project-branch.d.cts +5 -5
  94. package/dist/actions/create-new-project-branch.d.mts +5 -5
  95. package/dist/actions/create-new-project-branch.mjs +5 -5
  96. package/dist/actions/create-new-project-branch.mjs.map +1 -1
  97. package/dist/actions/create-project-branch-anonymized.cjs +11 -11
  98. package/dist/actions/create-project-branch-anonymized.cjs.map +1 -1
  99. package/dist/actions/create-project-branch-anonymized.d.cts +13 -12
  100. package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -1
  101. package/dist/actions/create-project-branch-anonymized.d.mts +13 -12
  102. package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -1
  103. package/dist/actions/create-project-branch-anonymized.mjs +11 -11
  104. package/dist/actions/create-project-branch-anonymized.mjs.map +1 -1
  105. package/dist/actions/create-project-with-quota-and-settings.cjs +21 -21
  106. package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -1
  107. package/dist/actions/create-project-with-quota-and-settings.d.cts +23 -23
  108. package/dist/actions/create-project-with-quota-and-settings.d.mts +23 -23
  109. package/dist/actions/create-project-with-quota-and-settings.mjs +21 -21
  110. package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -1
  111. package/dist/actions/create-projects-transfer-requests.cjs +1 -1
  112. package/dist/actions/create-projects-transfer-requests.cjs.map +1 -1
  113. package/dist/actions/create-projects-transfer-requests.d.cts +1 -1
  114. package/dist/actions/create-projects-transfer-requests.d.mts +1 -1
  115. package/dist/actions/create-projects-transfer-requests.mjs +1 -1
  116. package/dist/actions/create-projects-transfer-requests.mjs.map +1 -1
  117. package/dist/actions/create-vpc-endpoint-label.cjs +1 -1
  118. package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -1
  119. package/dist/actions/create-vpc-endpoint-label.d.cts +1 -1
  120. package/dist/actions/create-vpc-endpoint-label.d.mts +1 -1
  121. package/dist/actions/create-vpc-endpoint-label.mjs +1 -1
  122. package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -1
  123. package/dist/actions/create-vpc-endpoint-with-label.cjs +1 -1
  124. package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -1
  125. package/dist/actions/create-vpc-endpoint-with-label.d.cts +1 -1
  126. package/dist/actions/create-vpc-endpoint-with-label.d.mts +1 -1
  127. package/dist/actions/create-vpc-endpoint-with-label.mjs +1 -1
  128. package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -1
  129. package/dist/actions/delete-api-key-by-id.cjs +1 -1
  130. package/dist/actions/delete-api-key-by-id.cjs.map +1 -1
  131. package/dist/actions/delete-api-key-by-id.d.cts +1 -1
  132. package/dist/actions/delete-api-key-by-id.d.mts +1 -1
  133. package/dist/actions/delete-api-key-by-id.mjs +1 -1
  134. package/dist/actions/delete-api-key-by-id.mjs.map +1 -1
  135. package/dist/actions/delete-auth-domains.cjs +2 -2
  136. package/dist/actions/delete-auth-domains.cjs.map +1 -1
  137. package/dist/actions/delete-auth-domains.d.cts +3 -2
  138. package/dist/actions/delete-auth-domains.d.mts +3 -2
  139. package/dist/actions/delete-auth-domains.mjs +2 -2
  140. package/dist/actions/delete-auth-domains.mjs.map +1 -1
  141. package/dist/actions/delete-auth-oauth-provider.cjs +1 -1
  142. package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -1
  143. package/dist/actions/delete-auth-oauth-provider.d.cts +1 -1
  144. package/dist/actions/delete-auth-oauth-provider.d.mts +1 -1
  145. package/dist/actions/delete-auth-oauth-provider.mjs +1 -1
  146. package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -1
  147. package/dist/actions/delete-auth-user.cjs +1 -1
  148. package/dist/actions/delete-auth-user.cjs.map +1 -1
  149. package/dist/actions/delete-auth-user.d.cts +1 -1
  150. package/dist/actions/delete-auth-user.d.mts +1 -1
  151. package/dist/actions/delete-auth-user.mjs +1 -1
  152. package/dist/actions/delete-auth-user.mjs.map +1 -1
  153. package/dist/actions/delete-branch-data-api.cjs +1 -1
  154. package/dist/actions/delete-branch-data-api.cjs.map +1 -1
  155. package/dist/actions/delete-branch-data-api.d.cts +1 -1
  156. package/dist/actions/delete-branch-data-api.d.cts.map +1 -1
  157. package/dist/actions/delete-branch-data-api.d.mts +1 -1
  158. package/dist/actions/delete-branch-data-api.d.mts.map +1 -1
  159. package/dist/actions/delete-branch-data-api.mjs +1 -1
  160. package/dist/actions/delete-branch-data-api.mjs.map +1 -1
  161. package/dist/actions/delete-database-from-branch.cjs +3 -3
  162. package/dist/actions/delete-database-from-branch.cjs.map +1 -1
  163. package/dist/actions/delete-database-from-branch.d.cts +3 -3
  164. package/dist/actions/delete-database-from-branch.d.mts +3 -3
  165. package/dist/actions/delete-database-from-branch.mjs +3 -3
  166. package/dist/actions/delete-database-from-branch.mjs.map +1 -1
  167. package/dist/actions/delete-organization-api-key.cjs +2 -2
  168. package/dist/actions/delete-organization-api-key.cjs.map +1 -1
  169. package/dist/actions/delete-organization-api-key.d.cts +2 -2
  170. package/dist/actions/delete-organization-api-key.d.mts +2 -2
  171. package/dist/actions/delete-organization-api-key.mjs +2 -2
  172. package/dist/actions/delete-organization-api-key.mjs.map +1 -1
  173. package/dist/actions/delete-organization-member.cjs +1 -1
  174. package/dist/actions/delete-organization-member.cjs.map +1 -1
  175. package/dist/actions/delete-organization-member.d.cts +1 -1
  176. package/dist/actions/delete-organization-member.d.mts +1 -1
  177. package/dist/actions/delete-organization-member.mjs +1 -1
  178. package/dist/actions/delete-organization-member.mjs.map +1 -1
  179. package/dist/actions/delete-project-branch-by-id.cjs +3 -3
  180. package/dist/actions/delete-project-branch-by-id.cjs.map +1 -1
  181. package/dist/actions/delete-project-branch-by-id.d.cts +3 -3
  182. package/dist/actions/delete-project-branch-by-id.d.mts +3 -3
  183. package/dist/actions/delete-project-branch-by-id.mjs +3 -3
  184. package/dist/actions/delete-project-branch-by-id.mjs.map +1 -1
  185. package/dist/actions/delete-project-branch-role.cjs +4 -4
  186. package/dist/actions/delete-project-branch-role.cjs.map +1 -1
  187. package/dist/actions/delete-project-branch-role.d.cts +4 -4
  188. package/dist/actions/delete-project-branch-role.d.mts +4 -4
  189. package/dist/actions/delete-project-branch-role.mjs +4 -4
  190. package/dist/actions/delete-project-branch-role.mjs.map +1 -1
  191. package/dist/actions/delete-project-by-id.cjs +1 -1
  192. package/dist/actions/delete-project-by-id.cjs.map +1 -1
  193. package/dist/actions/delete-project-by-id.d.cts +1 -1
  194. package/dist/actions/delete-project-by-id.d.mts +1 -1
  195. package/dist/actions/delete-project-by-id.mjs +1 -1
  196. package/dist/actions/delete-project-by-id.mjs.map +1 -1
  197. package/dist/actions/delete-project-endpoint.cjs +6 -6
  198. package/dist/actions/delete-project-endpoint.cjs.map +1 -1
  199. package/dist/actions/delete-project-endpoint.d.cts +6 -6
  200. package/dist/actions/delete-project-endpoint.d.mts +6 -6
  201. package/dist/actions/delete-project-endpoint.mjs +6 -6
  202. package/dist/actions/delete-project-endpoint.mjs.map +1 -1
  203. package/dist/actions/delete-project-jwks-by-id.cjs +1 -1
  204. package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -1
  205. package/dist/actions/delete-project-jwks-by-id.d.cts +1 -1
  206. package/dist/actions/delete-project-jwks-by-id.d.mts +1 -1
  207. package/dist/actions/delete-project-jwks-by-id.mjs +1 -1
  208. package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -1
  209. package/dist/actions/delete-project-permission.cjs +2 -2
  210. package/dist/actions/delete-project-permission.cjs.map +1 -1
  211. package/dist/actions/delete-project-permission.d.cts +2 -2
  212. package/dist/actions/delete-project-permission.d.mts +2 -2
  213. package/dist/actions/delete-project-permission.mjs +2 -2
  214. package/dist/actions/delete-project-permission.mjs.map +1 -1
  215. package/dist/actions/delete-project-snapshot.cjs +2 -2
  216. package/dist/actions/delete-project-snapshot.cjs.map +1 -1
  217. package/dist/actions/delete-project-snapshot.d.cts +2 -2
  218. package/dist/actions/delete-project-snapshot.d.mts +2 -2
  219. package/dist/actions/delete-project-snapshot.mjs +2 -2
  220. package/dist/actions/delete-project-snapshot.mjs.map +1 -1
  221. package/dist/actions/delete-vpc-endpoint-by-ids.cjs +2 -2
  222. package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -1
  223. package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +2 -2
  224. package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +2 -2
  225. package/dist/actions/delete-vpc-endpoint-by-ids.mjs +2 -2
  226. package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -1
  227. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +1 -1
  228. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -1
  229. package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +1 -1
  230. package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +1 -1
  231. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +1 -1
  232. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -1
  233. package/dist/actions/fetch-database-for-branch.cjs +2 -2
  234. package/dist/actions/fetch-database-for-branch.cjs.map +1 -1
  235. package/dist/actions/fetch-database-for-branch.d.cts +2 -2
  236. package/dist/actions/fetch-database-for-branch.d.mts +2 -2
  237. package/dist/actions/fetch-database-for-branch.mjs +2 -2
  238. package/dist/actions/fetch-database-for-branch.mjs.map +1 -1
  239. package/dist/actions/fetch-organization-members-by-id.cjs +4 -4
  240. package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -1
  241. package/dist/actions/fetch-organization-members-by-id.d.cts +4 -4
  242. package/dist/actions/fetch-organization-members-by-id.d.mts +4 -4
  243. package/dist/actions/fetch-organization-members-by-id.mjs +4 -4
  244. package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -1
  245. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +1 -1
  246. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -1
  247. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +1 -1
  248. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +1 -1
  249. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +1 -1
  250. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -1
  251. package/dist/actions/finalize-branch-restore.cjs +1 -1
  252. package/dist/actions/finalize-branch-restore.cjs.map +1 -1
  253. package/dist/actions/finalize-branch-restore.d.cts +1 -1
  254. package/dist/actions/finalize-branch-restore.d.mts +1 -1
  255. package/dist/actions/finalize-branch-restore.mjs +1 -1
  256. package/dist/actions/finalize-branch-restore.mjs.map +1 -1
  257. package/dist/actions/get-auth-allow-localhost.cjs +1 -1
  258. package/dist/actions/get-auth-allow-localhost.cjs.map +1 -1
  259. package/dist/actions/get-auth-allow-localhost.d.cts +1 -1
  260. package/dist/actions/get-auth-allow-localhost.d.mts +1 -1
  261. package/dist/actions/get-auth-allow-localhost.mjs +1 -1
  262. package/dist/actions/get-auth-allow-localhost.mjs.map +1 -1
  263. package/dist/actions/get-auth-email-provider.cjs +1 -1
  264. package/dist/actions/get-auth-email-provider.cjs.map +1 -1
  265. package/dist/actions/get-auth-email-provider.d.cts +1 -1
  266. package/dist/actions/get-auth-email-provider.d.mts +1 -1
  267. package/dist/actions/get-auth-email-provider.mjs +1 -1
  268. package/dist/actions/get-auth-email-provider.mjs.map +1 -1
  269. package/dist/actions/get-auth.cjs +1 -1
  270. package/dist/actions/get-auth.cjs.map +1 -1
  271. package/dist/actions/get-auth.d.cts +1 -1
  272. package/dist/actions/get-auth.d.mts +1 -1
  273. package/dist/actions/get-auth.mjs +1 -1
  274. package/dist/actions/get-auth.mjs.map +1 -1
  275. package/dist/actions/get-available-preload-libraries.cjs +2 -2
  276. package/dist/actions/get-available-preload-libraries.cjs.map +1 -1
  277. package/dist/actions/get-available-preload-libraries.d.cts +2 -2
  278. package/dist/actions/get-available-preload-libraries.d.mts +2 -2
  279. package/dist/actions/get-available-preload-libraries.mjs +2 -2
  280. package/dist/actions/get-available-preload-libraries.mjs.map +1 -1
  281. package/dist/actions/get-branch-roles-for-project.cjs +2 -2
  282. package/dist/actions/get-branch-roles-for-project.cjs.map +1 -1
  283. package/dist/actions/get-branch-roles-for-project.d.cts +2 -2
  284. package/dist/actions/get-branch-roles-for-project.d.mts +2 -2
  285. package/dist/actions/get-branch-roles-for-project.mjs +2 -2
  286. package/dist/actions/get-branch-roles-for-project.mjs.map +1 -1
  287. package/dist/actions/get-branches-anonymized-status.cjs +1 -1
  288. package/dist/actions/get-branches-anonymized-status.cjs.map +1 -1
  289. package/dist/actions/get-branches-anonymized-status.d.cts +1 -1
  290. package/dist/actions/get-branches-anonymized-status.d.mts +1 -1
  291. package/dist/actions/get-branches-anonymized-status.mjs +1 -1
  292. package/dist/actions/get-branches-anonymized-status.mjs.map +1 -1
  293. package/dist/actions/get-branches-backup-schedule.cjs +2 -2
  294. package/dist/actions/get-branches-backup-schedule.cjs.map +1 -1
  295. package/dist/actions/get-branches-backup-schedule.d.cts +2 -2
  296. package/dist/actions/get-branches-backup-schedule.d.mts +2 -2
  297. package/dist/actions/get-branches-backup-schedule.mjs +2 -2
  298. package/dist/actions/get-branches-backup-schedule.mjs.map +1 -1
  299. package/dist/actions/get-branches-data-api.cjs +2 -2
  300. package/dist/actions/get-branches-data-api.cjs.map +1 -1
  301. package/dist/actions/get-branches-data-api.d.cts +2 -2
  302. package/dist/actions/get-branches-data-api.d.mts +2 -2
  303. package/dist/actions/get-branches-data-api.mjs +2 -2
  304. package/dist/actions/get-branches-data-api.mjs.map +1 -1
  305. package/dist/actions/get-branches-for-project.cjs +4 -4
  306. package/dist/actions/get-branches-for-project.cjs.map +1 -1
  307. package/dist/actions/get-branches-for-project.d.cts +4 -4
  308. package/dist/actions/get-branches-for-project.d.mts +4 -4
  309. package/dist/actions/get-branches-for-project.mjs +4 -4
  310. package/dist/actions/get-branches-for-project.mjs.map +1 -1
  311. package/dist/actions/get-branches-masking-rules.cjs +2 -2
  312. package/dist/actions/get-branches-masking-rules.cjs.map +1 -1
  313. package/dist/actions/get-branches-masking-rules.d.cts +2 -2
  314. package/dist/actions/get-branches-masking-rules.d.mts +2 -2
  315. package/dist/actions/get-branches-masking-rules.mjs +2 -2
  316. package/dist/actions/get-branches-masking-rules.mjs.map +1 -1
  317. package/dist/actions/get-consumption-history-projects.cjs +4 -4
  318. package/dist/actions/get-consumption-history-projects.cjs.map +1 -1
  319. package/dist/actions/get-consumption-history-projects.d.cts +4 -4
  320. package/dist/actions/get-consumption-history-projects.d.mts +4 -4
  321. package/dist/actions/get-consumption-history-projects.mjs +4 -4
  322. package/dist/actions/get-consumption-history-projects.mjs.map +1 -1
  323. package/dist/actions/get-current-user-information.cjs +1 -1
  324. package/dist/actions/get-current-user-information.cjs.map +1 -1
  325. package/dist/actions/get-current-user-information.d.cts +1 -1
  326. package/dist/actions/get-current-user-information.d.mts +1 -1
  327. package/dist/actions/get-current-user-information.mjs +1 -1
  328. package/dist/actions/get-current-user-information.mjs.map +1 -1
  329. package/dist/actions/get-project-branch-role.cjs +3 -3
  330. package/dist/actions/get-project-branch-role.cjs.map +1 -1
  331. package/dist/actions/get-project-branch-role.d.cts +3 -3
  332. package/dist/actions/get-project-branch-role.d.mts +3 -3
  333. package/dist/actions/get-project-branch-role.mjs +3 -3
  334. package/dist/actions/get-project-branch-role.mjs.map +1 -1
  335. package/dist/actions/get-project-branch-schema-comparison.cjs +1 -1
  336. package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -1
  337. package/dist/actions/get-project-branch-schema-comparison.d.cts +1 -1
  338. package/dist/actions/get-project-branch-schema-comparison.d.mts +1 -1
  339. package/dist/actions/get-project-branch-schema-comparison.mjs +1 -1
  340. package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -1
  341. package/dist/actions/get-project-branches.cjs +5 -5
  342. package/dist/actions/get-project-branches.cjs.map +1 -1
  343. package/dist/actions/get-project-branches.d.cts +5 -5
  344. package/dist/actions/get-project-branches.d.mts +5 -5
  345. package/dist/actions/get-project-branches.mjs +5 -5
  346. package/dist/actions/get-project-branches.mjs.map +1 -1
  347. package/dist/actions/get-project-connection-uri.cjs +1 -1
  348. package/dist/actions/get-project-connection-uri.cjs.map +1 -1
  349. package/dist/actions/get-project-connection-uri.d.cts +1 -1
  350. package/dist/actions/get-project-connection-uri.d.mts +1 -1
  351. package/dist/actions/get-project-connection-uri.mjs +1 -1
  352. package/dist/actions/get-project-connection-uri.mjs.map +1 -1
  353. package/dist/actions/get-project-operation-by-id.cjs +2 -2
  354. package/dist/actions/get-project-operation-by-id.cjs.map +1 -1
  355. package/dist/actions/get-project-operation-by-id.d.cts +2 -2
  356. package/dist/actions/get-project-operation-by-id.d.mts +2 -2
  357. package/dist/actions/get-project-operation-by-id.mjs +2 -2
  358. package/dist/actions/get-project-operation-by-id.mjs.map +1 -1
  359. package/dist/actions/get-schema-for-project-branch.cjs +1 -1
  360. package/dist/actions/get-schema-for-project-branch.cjs.map +1 -1
  361. package/dist/actions/get-schema-for-project-branch.d.cts +1 -1
  362. package/dist/actions/get-schema-for-project-branch.d.mts +1 -1
  363. package/dist/actions/get-schema-for-project-branch.mjs +1 -1
  364. package/dist/actions/get-schema-for-project-branch.mjs.map +1 -1
  365. package/dist/actions/get-user-organizations.cjs +2 -2
  366. package/dist/actions/get-user-organizations.cjs.map +1 -1
  367. package/dist/actions/get-user-organizations.d.cts +2 -2
  368. package/dist/actions/get-user-organizations.d.mts +2 -2
  369. package/dist/actions/get-user-organizations.mjs +2 -2
  370. package/dist/actions/get-user-organizations.mjs.map +1 -1
  371. package/dist/actions/get-vpc-region-endpoints.cjs +2 -2
  372. package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -1
  373. package/dist/actions/get-vpc-region-endpoints.d.cts +2 -2
  374. package/dist/actions/get-vpc-region-endpoints.d.mts +2 -2
  375. package/dist/actions/get-vpc-region-endpoints.mjs +2 -2
  376. package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -1
  377. package/dist/actions/list-auth-domains.cjs +2 -2
  378. package/dist/actions/list-auth-domains.cjs.map +1 -1
  379. package/dist/actions/list-auth-domains.d.cts +2 -2
  380. package/dist/actions/list-auth-domains.d.mts +2 -2
  381. package/dist/actions/list-auth-domains.mjs +2 -2
  382. package/dist/actions/list-auth-domains.mjs.map +1 -1
  383. package/dist/actions/list-auth-oauth-providers2.cjs +2 -2
  384. package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -1
  385. package/dist/actions/list-auth-oauth-providers2.d.cts +2 -2
  386. package/dist/actions/list-auth-oauth-providers2.d.mts +2 -2
  387. package/dist/actions/list-auth-oauth-providers2.mjs +2 -2
  388. package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -1
  389. package/dist/actions/list-projects-snapshots.cjs +2 -2
  390. package/dist/actions/list-projects-snapshots.cjs.map +1 -1
  391. package/dist/actions/list-projects-snapshots.d.cts +2 -2
  392. package/dist/actions/list-projects-snapshots.d.mts +2 -2
  393. package/dist/actions/list-projects-snapshots.mjs +2 -2
  394. package/dist/actions/list-projects-snapshots.mjs.map +1 -1
  395. package/dist/actions/list-shared-projects.cjs +5 -5
  396. package/dist/actions/list-shared-projects.cjs.map +1 -1
  397. package/dist/actions/list-shared-projects.d.cts +5 -5
  398. package/dist/actions/list-shared-projects.d.mts +5 -5
  399. package/dist/actions/list-shared-projects.mjs +5 -5
  400. package/dist/actions/list-shared-projects.mjs.map +1 -1
  401. package/dist/actions/list-vpc-vpc-endpoints.cjs +2 -2
  402. package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -1
  403. package/dist/actions/list-vpc-vpc-endpoints.d.cts +2 -2
  404. package/dist/actions/list-vpc-vpc-endpoints.d.mts +2 -2
  405. package/dist/actions/list-vpc-vpc-endpoints.mjs +2 -2
  406. package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -1
  407. package/dist/actions/modify-branch-details-in-project.cjs +1 -1
  408. package/dist/actions/modify-branch-details-in-project.cjs.map +1 -1
  409. package/dist/actions/modify-branch-details-in-project.d.cts +1 -1
  410. package/dist/actions/modify-branch-details-in-project.d.mts +1 -1
  411. package/dist/actions/modify-branch-details-in-project.mjs +1 -1
  412. package/dist/actions/modify-branch-details-in-project.mjs.map +1 -1
  413. package/dist/actions/patch-branch-database-information.cjs +3 -3
  414. package/dist/actions/patch-branch-database-information.cjs.map +1 -1
  415. package/dist/actions/patch-branch-database-information.d.cts +3 -3
  416. package/dist/actions/patch-branch-database-information.d.mts +3 -3
  417. package/dist/actions/patch-branch-database-information.mjs +3 -3
  418. package/dist/actions/patch-branch-database-information.mjs.map +1 -1
  419. package/dist/actions/reset-role-password-for-branch.cjs +4 -4
  420. package/dist/actions/reset-role-password-for-branch.cjs.map +1 -1
  421. package/dist/actions/reset-role-password-for-branch.d.cts +4 -4
  422. package/dist/actions/reset-role-password-for-branch.d.mts +4 -4
  423. package/dist/actions/reset-role-password-for-branch.mjs +4 -4
  424. package/dist/actions/reset-role-password-for-branch.mjs.map +1 -1
  425. package/dist/actions/restart-project-endpoint.cjs +1 -1
  426. package/dist/actions/restart-project-endpoint.cjs.map +1 -1
  427. package/dist/actions/restart-project-endpoint.d.cts +1 -1
  428. package/dist/actions/restart-project-endpoint.d.mts +1 -1
  429. package/dist/actions/restart-project-endpoint.mjs +1 -1
  430. package/dist/actions/restart-project-endpoint.mjs.map +1 -1
  431. package/dist/actions/restore-project-branch.cjs +3 -3
  432. package/dist/actions/restore-project-branch.cjs.map +1 -1
  433. package/dist/actions/restore-project-branch.d.cts +3 -3
  434. package/dist/actions/restore-project-branch.d.mts +3 -3
  435. package/dist/actions/restore-project-branch.mjs +3 -3
  436. package/dist/actions/restore-project-branch.mjs.map +1 -1
  437. package/dist/actions/restore-snapshot.cjs +5 -5
  438. package/dist/actions/restore-snapshot.cjs.map +1 -1
  439. package/dist/actions/restore-snapshot.d.cts +5 -5
  440. package/dist/actions/restore-snapshot.d.mts +5 -5
  441. package/dist/actions/restore-snapshot.mjs +5 -5
  442. package/dist/actions/restore-snapshot.mjs.map +1 -1
  443. package/dist/actions/retrieve-account-consumption-history.cjs +3 -3
  444. package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -1
  445. package/dist/actions/retrieve-account-consumption-history.d.cts +3 -3
  446. package/dist/actions/retrieve-account-consumption-history.d.mts +3 -3
  447. package/dist/actions/retrieve-account-consumption-history.mjs +3 -3
  448. package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -1
  449. package/dist/actions/retrieve-all-regions.cjs +2 -2
  450. package/dist/actions/retrieve-all-regions.cjs.map +1 -1
  451. package/dist/actions/retrieve-all-regions.d.cts +2 -2
  452. package/dist/actions/retrieve-all-regions.d.mts +2 -2
  453. package/dist/actions/retrieve-all-regions.mjs +2 -2
  454. package/dist/actions/retrieve-all-regions.mjs.map +1 -1
  455. package/dist/actions/retrieve-branch-database-details.cjs +2 -2
  456. package/dist/actions/retrieve-branch-database-details.cjs.map +1 -1
  457. package/dist/actions/retrieve-branch-database-details.d.cts +2 -2
  458. package/dist/actions/retrieve-branch-database-details.d.mts +2 -2
  459. package/dist/actions/retrieve-branch-database-details.mjs +2 -2
  460. package/dist/actions/retrieve-branch-database-details.mjs.map +1 -1
  461. package/dist/actions/retrieve-jwks-for-project.cjs +2 -2
  462. package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -1
  463. package/dist/actions/retrieve-jwks-for-project.d.cts +2 -2
  464. package/dist/actions/retrieve-jwks-for-project.d.mts +2 -2
  465. package/dist/actions/retrieve-jwks-for-project.mjs +2 -2
  466. package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -1
  467. package/dist/actions/retrieve-organization-by-id.cjs +1 -1
  468. package/dist/actions/retrieve-organization-by-id.cjs.map +1 -1
  469. package/dist/actions/retrieve-organization-by-id.d.cts +1 -1
  470. package/dist/actions/retrieve-organization-by-id.d.mts +1 -1
  471. package/dist/actions/retrieve-organization-by-id.mjs +1 -1
  472. package/dist/actions/retrieve-organization-by-id.mjs.map +1 -1
  473. package/dist/actions/retrieve-organization-invitations.cjs +3 -3
  474. package/dist/actions/retrieve-organization-invitations.cjs.map +1 -1
  475. package/dist/actions/retrieve-organization-invitations.d.cts +3 -3
  476. package/dist/actions/retrieve-organization-invitations.d.mts +3 -3
  477. package/dist/actions/retrieve-organization-invitations.mjs +3 -3
  478. package/dist/actions/retrieve-organization-invitations.mjs.map +1 -1
  479. package/dist/actions/retrieve-organization-member-info.cjs +2 -2
  480. package/dist/actions/retrieve-organization-member-info.cjs.map +1 -1
  481. package/dist/actions/retrieve-organization-member-info.d.cts +2 -2
  482. package/dist/actions/retrieve-organization-member-info.d.mts +2 -2
  483. package/dist/actions/retrieve-organization-member-info.mjs +2 -2
  484. package/dist/actions/retrieve-organization-member-info.mjs.map +1 -1
  485. package/dist/actions/retrieve-project-endpoint-details.cjs +1 -1
  486. package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -1
  487. package/dist/actions/retrieve-project-endpoint-details.d.cts +1 -1
  488. package/dist/actions/retrieve-project-endpoint-details.d.mts +1 -1
  489. package/dist/actions/retrieve-project-endpoint-details.mjs +1 -1
  490. package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -1
  491. package/dist/actions/retrieve-project-operations.cjs +3 -3
  492. package/dist/actions/retrieve-project-operations.cjs.map +1 -1
  493. package/dist/actions/retrieve-project-operations.d.cts +3 -3
  494. package/dist/actions/retrieve-project-operations.d.mts +3 -3
  495. package/dist/actions/retrieve-project-operations.mjs +3 -3
  496. package/dist/actions/retrieve-project-operations.mjs.map +1 -1
  497. package/dist/actions/retrieve-projects-list.cjs +13 -13
  498. package/dist/actions/retrieve-projects-list.cjs.map +1 -1
  499. package/dist/actions/retrieve-projects-list.d.cts +13 -13
  500. package/dist/actions/retrieve-projects-list.d.mts +13 -13
  501. package/dist/actions/retrieve-projects-list.mjs +13 -13
  502. package/dist/actions/retrieve-projects-list.mjs.map +1 -1
  503. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +2 -2
  504. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -1
  505. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +2 -2
  506. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +2 -2
  507. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +2 -2
  508. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -1
  509. package/dist/actions/reveal-role-password-in-branch.cjs +1 -1
  510. package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -1
  511. package/dist/actions/reveal-role-password-in-branch.d.cts +1 -1
  512. package/dist/actions/reveal-role-password-in-branch.d.mts +1 -1
  513. package/dist/actions/reveal-role-password-in-branch.mjs +1 -1
  514. package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -1
  515. package/dist/actions/send-auth-test-email.cjs +1 -1
  516. package/dist/actions/send-auth-test-email.cjs.map +1 -1
  517. package/dist/actions/send-auth-test-email.d.cts +1 -1
  518. package/dist/actions/send-auth-test-email.d.mts +1 -1
  519. package/dist/actions/send-auth-test-email.mjs +1 -1
  520. package/dist/actions/send-auth-test-email.mjs.map +1 -1
  521. package/dist/actions/send-organization-invitations.cjs +3 -3
  522. package/dist/actions/send-organization-invitations.cjs.map +1 -1
  523. package/dist/actions/send-organization-invitations.d.cts +4 -3
  524. package/dist/actions/send-organization-invitations.d.mts +4 -3
  525. package/dist/actions/send-organization-invitations.mjs +3 -3
  526. package/dist/actions/send-organization-invitations.mjs.map +1 -1
  527. package/dist/actions/set-branch-as-default.cjs +3 -3
  528. package/dist/actions/set-branch-as-default.cjs.map +1 -1
  529. package/dist/actions/set-branch-as-default.d.cts +3 -3
  530. package/dist/actions/set-branch-as-default.d.mts +3 -3
  531. package/dist/actions/set-branch-as-default.mjs +3 -3
  532. package/dist/actions/set-branch-as-default.mjs.map +1 -1
  533. package/dist/actions/start-branch-anonymization.cjs +2 -2
  534. package/dist/actions/start-branch-anonymization.cjs.map +1 -1
  535. package/dist/actions/start-branch-anonymization.d.cts +2 -2
  536. package/dist/actions/start-branch-anonymization.d.mts +2 -2
  537. package/dist/actions/start-branch-anonymization.mjs +2 -2
  538. package/dist/actions/start-branch-anonymization.mjs.map +1 -1
  539. package/dist/actions/start-endpoint-for-project.cjs +1 -1
  540. package/dist/actions/start-endpoint-for-project.cjs.map +1 -1
  541. package/dist/actions/start-endpoint-for-project.d.cts +1 -1
  542. package/dist/actions/start-endpoint-for-project.d.mts +1 -1
  543. package/dist/actions/start-endpoint-for-project.mjs +1 -1
  544. package/dist/actions/start-endpoint-for-project.mjs.map +1 -1
  545. package/dist/actions/suspend-project-endpoint-by-id.cjs +3 -3
  546. package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -1
  547. package/dist/actions/suspend-project-endpoint-by-id.d.cts +3 -3
  548. package/dist/actions/suspend-project-endpoint-by-id.d.mts +3 -3
  549. package/dist/actions/suspend-project-endpoint-by-id.mjs +3 -3
  550. package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -1
  551. package/dist/actions/transfer-projects-between-organizations.cjs +1 -1
  552. package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -1
  553. package/dist/actions/transfer-projects-between-organizations.d.cts +1 -1
  554. package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -1
  555. package/dist/actions/transfer-projects-between-organizations.d.mts +1 -1
  556. package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -1
  557. package/dist/actions/transfer-projects-between-organizations.mjs +1 -1
  558. package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -1
  559. package/dist/actions/transfer-user-projects-to-organization.cjs +2 -2
  560. package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -1
  561. package/dist/actions/transfer-user-projects-to-organization.d.cts +2 -2
  562. package/dist/actions/transfer-user-projects-to-organization.d.mts +2 -2
  563. package/dist/actions/transfer-user-projects-to-organization.mjs +2 -2
  564. package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -1
  565. package/dist/actions/update-auth-allow-localhost.cjs +1 -1
  566. package/dist/actions/update-auth-allow-localhost.cjs.map +1 -1
  567. package/dist/actions/update-auth-allow-localhost.d.cts +1 -1
  568. package/dist/actions/update-auth-allow-localhost.d.mts +1 -1
  569. package/dist/actions/update-auth-allow-localhost.mjs +1 -1
  570. package/dist/actions/update-auth-allow-localhost.mjs.map +1 -1
  571. package/dist/actions/update-auth-email-provider.cjs +1 -1
  572. package/dist/actions/update-auth-email-provider.cjs.map +1 -1
  573. package/dist/actions/update-auth-email-provider.d.cts +1 -1
  574. package/dist/actions/update-auth-email-provider.d.mts +1 -1
  575. package/dist/actions/update-auth-email-provider.mjs +1 -1
  576. package/dist/actions/update-auth-email-provider.mjs.map +1 -1
  577. package/dist/actions/update-branches-data-api.cjs +1 -1
  578. package/dist/actions/update-branches-data-api.cjs.map +1 -1
  579. package/dist/actions/update-branches-data-api.d.cts +1 -1
  580. package/dist/actions/update-branches-data-api.d.cts.map +1 -1
  581. package/dist/actions/update-branches-data-api.d.mts +1 -1
  582. package/dist/actions/update-branches-data-api.d.mts.map +1 -1
  583. package/dist/actions/update-branches-data-api.mjs +1 -1
  584. package/dist/actions/update-branches-data-api.mjs.map +1 -1
  585. package/dist/actions/update-branches-masking-rules.cjs +3 -3
  586. package/dist/actions/update-branches-masking-rules.cjs.map +1 -1
  587. package/dist/actions/update-branches-masking-rules.d.cts +4 -3
  588. package/dist/actions/update-branches-masking-rules.d.mts +4 -3
  589. package/dist/actions/update-branches-masking-rules.mjs +3 -3
  590. package/dist/actions/update-branches-masking-rules.mjs.map +1 -1
  591. package/dist/actions/update-organization-member-role.cjs +1 -1
  592. package/dist/actions/update-organization-member-role.cjs.map +1 -1
  593. package/dist/actions/update-organization-member-role.d.cts +1 -1
  594. package/dist/actions/update-organization-member-role.d.mts +1 -1
  595. package/dist/actions/update-organization-member-role.mjs +1 -1
  596. package/dist/actions/update-organization-member-role.mjs.map +1 -1
  597. package/dist/actions/update-project-compute-endpoint-settings.cjs +6 -6
  598. package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -1
  599. package/dist/actions/update-project-compute-endpoint-settings.d.cts +8 -8
  600. package/dist/actions/update-project-compute-endpoint-settings.d.mts +8 -8
  601. package/dist/actions/update-project-compute-endpoint-settings.mjs +6 -6
  602. package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -1
  603. package/dist/actions/update-project-settings-by-id.cjs +12 -12
  604. package/dist/actions/update-project-settings-by-id.cjs.map +1 -1
  605. package/dist/actions/update-project-settings-by-id.d.cts +14 -14
  606. package/dist/actions/update-project-settings-by-id.d.mts +14 -14
  607. package/dist/actions/update-project-settings-by-id.mjs +12 -12
  608. package/dist/actions/update-project-settings-by-id.mjs.map +1 -1
  609. package/dist/actions/update-projects-snapshots.cjs +2 -2
  610. package/dist/actions/update-projects-snapshots.cjs.map +1 -1
  611. package/dist/actions/update-projects-snapshots.d.cts +2 -2
  612. package/dist/actions/update-projects-snapshots.d.mts +2 -2
  613. package/dist/actions/update-projects-snapshots.mjs +2 -2
  614. package/dist/actions/update-projects-snapshots.mjs.map +1 -1
  615. package/package.json +1 -1
@@ -11,17 +11,17 @@ const NeonCreateComputeEndpointInput = z.object({
11
11
  endpoint__pooler__mode: z.enum(["transaction"]).describe("The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.").optional(),
12
12
  endpoint__pooler__enabled: z.boolean().describe("Whether to enable connection pooling for the compute endpoint").optional(),
13
13
  endpoint__passwordless__access: z.boolean().describe("NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.").optional(),
14
- endpoint__settings__pg__settings: z.object({}).describe("A raw representation of Postgres settings").optional(),
14
+ endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe("A raw representation of Postgres settings").optional(),
15
15
  endpoint__suspend__timeout__seconds: z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).").optional(),
16
16
  endpoint__autoscaling__limit__max__cu: z.number().int().describe("Autoscaling Limit Max Cu").optional(),
17
17
  endpoint__autoscaling__limit__min__cu: z.number().int().describe("Autoscaling Limit Min Cu").optional(),
18
- endpoint__settings__pgbouncer__settings: z.object({}).describe("A raw representation of PgBouncer settings").optional()
18
+ endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe("A raw representation of PgBouncer settings").optional()
19
19
  }).describe("Request schema for `CreateComputeEndpoint`");
20
20
  const NeonCreateComputeEndpoint_TypeEnmSchema = z.enum(["read_only", "read_write"]);
21
21
  const NeonCreateComputeEndpoint_EndpointSettingsSchema = z.object({
22
22
  pg_settings: z.record(z.string(), z.unknown()).describe("PostgreSQL configuration parameters as key-value pairs.").nullable().optional(),
23
23
  pgbouncer_settings: z.record(z.string(), z.unknown()).describe("PgBouncer connection pooling configuration parameters as key-value pairs.").nullable().optional()
24
- }).describe("Configuration settings for the endpoint.");
24
+ }).passthrough().describe("Configuration settings for the endpoint.");
25
25
  const NeonCreateComputeEndpoint_ProvisionerEnmSchema = z.enum(["k8s-pod", "k8s-neonvm"]);
26
26
  const NeonCreateComputeEndpoint_EndpointSchema = z.object({
27
27
  id: z.string().describe("The compute endpoint identifier. Unique within the project.").nullable(),
@@ -49,7 +49,7 @@ const NeonCreateComputeEndpoint_EndpointSchema = z.object({
49
49
  suspend_timeout_seconds: z.number().int().describe("The duration of inactivity in seconds after which the compute endpoint is automatically suspended. A value of 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes).").nullable().optional(),
50
50
  autoscaling_limit_max_cu: z.number().describe("The maximum number of compute units for autoscaling.").nullable().optional(),
51
51
  autoscaling_limit_min_cu: z.number().describe("The minimum number of compute units for autoscaling.").nullable().optional()
52
- }).describe("The created compute endpoint object.");
52
+ }).passthrough().describe("The created compute endpoint object.");
53
53
  const NeonCreateComputeEndpoint_OperationStatusEnmSchema = z.enum([
54
54
  "scheduling",
55
55
  "running",
@@ -69,7 +69,7 @@ const NeonCreateComputeEndpoint_OperationSchema = z.object({
69
69
  updated_at: z.string().describe("The timestamp when the operation status was last updated.").nullable(),
70
70
  endpoint_id: z.string().describe("The compute endpoint on which the operation occurred.").nullable().optional(),
71
71
  failures_count: z.number().int().describe("The number of failures encountered during the operation.").nullable()
72
- }).describe("An operation initiated by the endpoint creation request.");
72
+ }).passthrough().describe("An operation initiated by the endpoint creation request.");
73
73
  const neonCreateComputeEndpoint = action("NEON_CREATE_COMPUTE_ENDPOINT", {
74
74
  slug: "neon-create-compute-endpoint",
75
75
  name: "Create compute endpoint",
@@ -78,7 +78,7 @@ const neonCreateComputeEndpoint = action("NEON_CREATE_COMPUTE_ENDPOINT", {
78
78
  output: z.object({
79
79
  endpoint: NeonCreateComputeEndpoint_EndpointSchema.nullable(),
80
80
  operations: z.array(NeonCreateComputeEndpoint_OperationSchema).describe("An array of operations initiated by the endpoint creation request.")
81
- }).describe("Response schema for `CreateComputeEndpoint`")
81
+ }).passthrough().describe("Response schema for `CreateComputeEndpoint`")
82
82
  });
83
83
  //#endregion
84
84
  export { neonCreateComputeEndpoint };
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-endpoint.mjs","names":[],"sources":["../../src/actions/create-compute-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateComputeEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint__type: z.enum([\"read_only\", \"read_write\"]).describe(\"The compute endpoint type. Either `read_write` or `read_only`.\").optional(),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"The ID of the branch the compute endpoint will be associated with\").optional(),\n endpoint__region__id: z.string().describe(\"The region where the compute endpoint will be created. Only the project\\\"s `region_id` is permitted.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.object({}).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.object({}).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `CreateComputeEndpoint`\");\nconst NeonCreateComputeEndpoint_TypeEnmSchema = z.enum([\"read_only\", \"read_write\"]);\nconst NeonCreateComputeEndpoint_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters as key-value pairs.\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer connection pooling configuration parameters as key-value pairs.\").nullable().optional(),\n}).describe(\"Configuration settings for the endpoint.\");\nconst NeonCreateComputeEndpoint_ProvisionerEnmSchema = z.enum([\"k8s-pod\", \"k8s-neonvm\"]);\nconst NeonCreateComputeEndpoint_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier. Unique within the project.\").nullable(),\n host: z.string().describe(\"The hostname used to connect to the compute endpoint.\").nullable(),\n name: z.string().describe(\"The user-specified name of the endpoint.\").nullable().optional(),\n type: NeonCreateComputeEndpoint_TypeEnmSchema.nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled.\").nullable().optional(),\n settings: NeonCreateComputeEndpoint_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier that this endpoint is associated with.\").nullable().optional(),\n region_id: z.string().describe(\"The region identifier where the compute endpoint is located (e.g., aws-us-east-2, aws-ap-southeast-1).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of when the endpoint was created.\").nullable(),\n project_id: z.string().describe(\"The project identifier that this endpoint belongs to.\").nullable().optional(),\n proxy_host: z.string().describe(\"The proxy host address for the endpoint (e.g., us-east-2.aws.neon.tech).\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of when the endpoint was last updated.\").nullable(),\n last_active: z.string().describe(\"The timestamp of the last activity on this endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session).\").nullable().optional(),\n provisioner: NeonCreateComputeEndpoint_ProvisionerEnmSchema.nullable().optional(),\n suspended_at: z.string().describe(\"The timestamp when the endpoint was suspended.\").nullable().optional(),\n compute_units: z.number().describe(\"The allocated compute units for the endpoint.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the compute endpoint (e.g., init, idle, active).\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state that the endpoint is transitioning to (e.g., active, ready).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for this endpoint.\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the endpoint was created (e.g., console, api).\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled for this endpoint.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"The duration of inactivity in seconds after which the compute endpoint is automatically suspended. A value of 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling.\").nullable().optional(),\n}).describe(\"The created compute endpoint object.\");\nconst NeonCreateComputeEndpoint_OperationStatusEnmSchema = z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"cancelling\", \"cancelled\", \"skipped\"]);\nconst NeonCreateComputeEndpoint_OperationSchema = z.object({\n id: z.string().describe(\"The unique identifier for the operation.\").nullable(),\n action: z.string().describe(\"The action performed by the operation (e.g., start_compute, suspend_compute, check_availability, apply_config, create_branch).\").nullable(),\n status: NeonCreateComputeEndpoint_OperationStatusEnmSchema.nullable(),\n branch_id: z.string().describe(\"The branch on which the operation was performed.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the operation was initiated.\").nullable(),\n project_id: z.string().describe(\"The project identifier associated with the operation.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the operation status was last updated.\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint on which the operation occurred.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures encountered during the operation.\").nullable(),\n}).describe(\"An operation initiated by the endpoint creation request.\");\nexport const NeonCreateComputeEndpointOutput = z.object({\n endpoint: NeonCreateComputeEndpoint_EndpointSchema.nullable(),\n operations: z.array(NeonCreateComputeEndpoint_OperationSchema).describe(\"An array of operations initiated by the endpoint creation request.\"),\n}).describe(\"Response schema for `CreateComputeEndpoint`\");\n\nexport const neonCreateComputeEndpoint = action(\"NEON_CREATE_COMPUTE_ENDPOINT\", {\n slug: \"neon-create-compute-endpoint\",\n name: \"Create compute endpoint\",\n description: \"Creates a new compute endpoint for a specified branch within a Neon project. This endpoint allows for detailed configuration of database resources, including read/write capabilities, regional placement, autoscaling limits, and connection pooling settings. It's primarily used when setting up new database instances or modifying existing database configurations to meet specific performance, scaling, or operational requirements. The endpoint provides fine-grained control over compute resources, enabling optimized database operations for various use cases from development to production environments.\",\n input: NeonCreateComputeEndpointInput,\n output: NeonCreateComputeEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,gBAAgB,EAAE,KAAK,CAAC,aA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,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,QAAQ,mDAAmD,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,UAAU,yCAAyC,SAAS;EAC5D,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oEAAoE;CAC9I,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-compute-endpoint.mjs","names":[],"sources":["../../src/actions/create-compute-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateComputeEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint__type: z.enum([\"read_only\", \"read_write\"]).describe(\"The compute endpoint type. Either `read_write` or `read_only`.\").optional(),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"The ID of the branch the compute endpoint will be associated with\").optional(),\n endpoint__region__id: z.string().describe(\"The region where the compute endpoint will be created. Only the project\\\"s `region_id` is permitted.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `CreateComputeEndpoint`\");\nconst NeonCreateComputeEndpoint_TypeEnmSchema = z.enum([\"read_only\", \"read_write\"]);\nconst NeonCreateComputeEndpoint_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters as key-value pairs.\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer connection pooling configuration parameters as key-value pairs.\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the endpoint.\");\nconst NeonCreateComputeEndpoint_ProvisionerEnmSchema = z.enum([\"k8s-pod\", \"k8s-neonvm\"]);\nconst NeonCreateComputeEndpoint_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier. Unique within the project.\").nullable(),\n host: z.string().describe(\"The hostname used to connect to the compute endpoint.\").nullable(),\n name: z.string().describe(\"The user-specified name of the endpoint.\").nullable().optional(),\n type: NeonCreateComputeEndpoint_TypeEnmSchema.nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled.\").nullable().optional(),\n settings: NeonCreateComputeEndpoint_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier that this endpoint is associated with.\").nullable().optional(),\n region_id: z.string().describe(\"The region identifier where the compute endpoint is located (e.g., aws-us-east-2, aws-ap-southeast-1).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of when the endpoint was created.\").nullable(),\n project_id: z.string().describe(\"The project identifier that this endpoint belongs to.\").nullable().optional(),\n proxy_host: z.string().describe(\"The proxy host address for the endpoint (e.g., us-east-2.aws.neon.tech).\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of when the endpoint was last updated.\").nullable(),\n last_active: z.string().describe(\"The timestamp of the last activity on this endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session).\").nullable().optional(),\n provisioner: NeonCreateComputeEndpoint_ProvisionerEnmSchema.nullable().optional(),\n suspended_at: z.string().describe(\"The timestamp when the endpoint was suspended.\").nullable().optional(),\n compute_units: z.number().describe(\"The allocated compute units for the endpoint.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the compute endpoint (e.g., init, idle, active).\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state that the endpoint is transitioning to (e.g., active, ready).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for this endpoint.\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the endpoint was created (e.g., console, api).\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled for this endpoint.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"The duration of inactivity in seconds after which the compute endpoint is automatically suspended. A value of 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"The created compute endpoint object.\");\nconst NeonCreateComputeEndpoint_OperationStatusEnmSchema = z.enum([\"scheduling\", \"running\", \"finished\", \"failed\", \"cancelling\", \"cancelled\", \"skipped\"]);\nconst NeonCreateComputeEndpoint_OperationSchema = z.object({\n id: z.string().describe(\"The unique identifier for the operation.\").nullable(),\n action: z.string().describe(\"The action performed by the operation (e.g., start_compute, suspend_compute, check_availability, apply_config, create_branch).\").nullable(),\n status: NeonCreateComputeEndpoint_OperationStatusEnmSchema.nullable(),\n branch_id: z.string().describe(\"The branch on which the operation was performed.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the operation was initiated.\").nullable(),\n project_id: z.string().describe(\"The project identifier associated with the operation.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the operation status was last updated.\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint on which the operation occurred.\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures encountered during the operation.\").nullable(),\n}).passthrough().describe(\"An operation initiated by the endpoint creation request.\");\nexport const NeonCreateComputeEndpointOutput = z.object({\n endpoint: NeonCreateComputeEndpoint_EndpointSchema.nullable(),\n operations: z.array(NeonCreateComputeEndpoint_OperationSchema).describe(\"An array of operations initiated by the endpoint creation request.\"),\n}).passthrough().describe(\"Response schema for `CreateComputeEndpoint`\");\n\nexport const neonCreateComputeEndpoint = action(\"NEON_CREATE_COMPUTE_ENDPOINT\", {\n slug: \"neon-create-compute-endpoint\",\n name: \"Create compute endpoint\",\n description: \"Creates a new compute endpoint for a specified branch within a Neon project. This endpoint allows for detailed configuration of database resources, including read/write capabilities, regional placement, autoscaling limits, and connection pooling settings. It's primarily used when setting up new database instances or modifying existing database configurations to meet specific performance, scaling, or operational requirements. The endpoint provides fine-grained control over compute resources, enabling optimized database operations for various use cases from development to production environments.\",\n input: NeonCreateComputeEndpointInput,\n output: NeonCreateComputeEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,gBAAgB,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;CACnV,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC3J,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4WAA4W,CAAC,CAAC,SAAS;CACla,wBAAwB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACrJ,kCAAkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAA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DAA0D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAMpF,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,UAAU,yCAAyC,SAAS;EAC5D,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oEAAoE;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const NeonCreateNewApiKey_ApiKeyDataSchema = zod.z.object({
9
9
  created_at: zod.z.string().describe("The timestamp when the API key was created (ISO 8601 format).").nullable(),
10
10
  created_by: zod.z.string().describe("The UUID of the user who created the API key.").nullable().optional()
11
11
  }).passthrough().describe("Details of the created API key.");
12
- const NeonCreateNewApiKeyOutput = zod.z.object({ data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable() }).describe("Response schema for `CreateNewApiKey`");
12
+ const NeonCreateNewApiKeyOutput = zod.z.object({ data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable() }).passthrough().describe("Response schema for `CreateNewApiKey`");
13
13
  const neonCreateNewApiKey = require_action.action("NEON_CREATE_NEW_API_KEY", {
14
14
  slug: "neon-create-new-api-key",
15
15
  name: "Create New API Key",
@@ -1 +1 @@
1
- {"version":3,"file":"create-new-api-key.cjs","names":["z","action"],"sources":["../../src/actions/create-new-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateNewApiKeyInput = z.object({\n key_name: z.string().describe(\"A user-specified name for the API key (e.g., 'production-backend', 'ci-cd-pipeline'). Used to identify the key in the Neon console. Must be non-empty.\"),\n}).describe(\"Request schema for `CreateNewApiKey`\");\nconst NeonCreateNewApiKey_ApiKeyDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the API key.\").nullable(),\n key: z.string().describe(\"The API key value. Store this securely as it cannot be retrieved again after creation.\").nullable(),\n name: z.string().describe(\"The user-specified name of the API key.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the API key was created (ISO 8601 format).\").nullable(),\n created_by: z.string().describe(\"The UUID of the user who created the API key.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created API key.\");\nexport const NeonCreateNewApiKeyOutput = z.object({\n data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable(),\n}).describe(\"Response schema for `CreateNewApiKey`\");\n\nexport const neonCreateNewApiKey = action(\"NEON_CREATE_NEW_API_KEY\", {\n slug: \"neon-create-new-api-key\",\n name: \"Create New API Key\",\n description: \"Creates a new personal API key for the authenticated Neon user account. Use this action to generate API keys for programmatic access to Neon services, such as CI/CD pipelines, backend integrations, or development environments. Each key should have a descriptive name to help identify its purpose. IMPORTANT: The returned 'key' value is shown only once - store it securely immediately after creation. To manage organization-level API keys, use the organization API key endpoints instead.\",\n input: NeonCreateNewApiKeyInput,\n output: NeonCreateNewApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EACxL,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-new-api-key.cjs","names":["z","action"],"sources":["../../src/actions/create-new-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateNewApiKeyInput = z.object({\n key_name: z.string().describe(\"A user-specified name for the API key (e.g., 'production-backend', 'ci-cd-pipeline'). Used to identify the key in the Neon console. Must be non-empty.\"),\n}).describe(\"Request schema for `CreateNewApiKey`\");\nconst NeonCreateNewApiKey_ApiKeyDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the API key.\").nullable(),\n key: z.string().describe(\"The API key value. Store this securely as it cannot be retrieved again after creation.\").nullable(),\n name: z.string().describe(\"The user-specified name of the API key.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the API key was created (ISO 8601 format).\").nullable(),\n created_by: z.string().describe(\"The UUID of the user who created the API key.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created API key.\");\nexport const NeonCreateNewApiKeyOutput = z.object({\n data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `CreateNewApiKey`\");\n\nexport const neonCreateNewApiKey = action(\"NEON_CREATE_NEW_API_KEY\", {\n slug: \"neon-create-new-api-key\",\n name: \"Create New API Key\",\n description: \"Creates a new personal API key for the authenticated Neon user account. Use this action to generate API keys for programmatic access to Neon services, such as CI/CD pipelines, backend integrations, or development environments. Each key should have a descriptive name to help identify its purpose. IMPORTANT: The returned 'key' value is shown only once - store it securely immediately after creation. To manage organization-level API keys, use the organization API key endpoints instead.\",\n input: NeonCreateNewApiKeyInput,\n output: NeonCreateNewApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EACxL,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const NeonCreateNewApiKeyOutput: z.ZodObject<{
12
12
  created_at: z.ZodNullable<z.ZodString>;
13
13
  created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  }, z.core.$loose>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const neonCreateNewApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  key_name: string;
18
18
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,7 +12,7 @@ declare const NeonCreateNewApiKeyOutput: z.ZodObject<{
12
12
  created_at: z.ZodNullable<z.ZodString>;
13
13
  created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  }, z.core.$loose>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const neonCreateNewApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  key_name: string;
18
18
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,7 +14,7 @@ const neonCreateNewApiKey = action("NEON_CREATE_NEW_API_KEY", {
14
14
  name: "Create New API Key",
15
15
  description: "Creates a new personal API key for the authenticated Neon user account. Use this action to generate API keys for programmatic access to Neon services, such as CI/CD pipelines, backend integrations, or development environments. Each key should have a descriptive name to help identify its purpose. IMPORTANT: The returned 'key' value is shown only once - store it securely immediately after creation. To manage organization-level API keys, use the organization API key endpoints instead.",
16
16
  input: NeonCreateNewApiKeyInput,
17
- output: z.object({ data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable() }).describe("Response schema for `CreateNewApiKey`")
17
+ output: z.object({ data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable() }).passthrough().describe("Response schema for `CreateNewApiKey`")
18
18
  });
19
19
  //#endregion
20
20
  export { neonCreateNewApiKey };
@@ -1 +1 @@
1
- {"version":3,"file":"create-new-api-key.mjs","names":[],"sources":["../../src/actions/create-new-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateNewApiKeyInput = z.object({\n key_name: z.string().describe(\"A user-specified name for the API key (e.g., 'production-backend', 'ci-cd-pipeline'). Used to identify the key in the Neon console. Must be non-empty.\"),\n}).describe(\"Request schema for `CreateNewApiKey`\");\nconst NeonCreateNewApiKey_ApiKeyDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the API key.\").nullable(),\n key: z.string().describe(\"The API key value. Store this securely as it cannot be retrieved again after creation.\").nullable(),\n name: z.string().describe(\"The user-specified name of the API key.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the API key was created (ISO 8601 format).\").nullable(),\n created_by: z.string().describe(\"The UUID of the user who created the API key.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created API key.\");\nexport const NeonCreateNewApiKeyOutput = z.object({\n data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable(),\n}).describe(\"Response schema for `CreateNewApiKey`\");\n\nexport const neonCreateNewApiKey = action(\"NEON_CREATE_NEW_API_KEY\", {\n slug: \"neon-create-new-api-key\",\n name: \"Create New API Key\",\n description: \"Creates a new personal API key for the authenticated Neon user account. Use this action to generate API keys for programmatic access to Neon services, such as CI/CD pipelines, backend integrations, or development environments. Each key should have a descriptive name to help identify its purpose. IMPORTANT: The returned 'key' value is shown only once - store it securely immediately after creation. To manage organization-level API keys, use the organization API key endpoints instead.\",\n input: NeonCreateNewApiKeyInput,\n output: NeonCreateNewApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EACxL,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-new-api-key.mjs","names":[],"sources":["../../src/actions/create-new-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonCreateNewApiKeyInput = z.object({\n key_name: z.string().describe(\"A user-specified name for the API key (e.g., 'production-backend', 'ci-cd-pipeline'). Used to identify the key in the Neon console. Must be non-empty.\"),\n}).describe(\"Request schema for `CreateNewApiKey`\");\nconst NeonCreateNewApiKey_ApiKeyDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the API key.\").nullable(),\n key: z.string().describe(\"The API key value. Store this securely as it cannot be retrieved again after creation.\").nullable(),\n name: z.string().describe(\"The user-specified name of the API key.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the API key was created (ISO 8601 format).\").nullable(),\n created_by: z.string().describe(\"The UUID of the user who created the API key.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created API key.\");\nexport const NeonCreateNewApiKeyOutput = z.object({\n data: NeonCreateNewApiKey_ApiKeyDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `CreateNewApiKey`\");\n\nexport const neonCreateNewApiKey = action(\"NEON_CREATE_NEW_API_KEY\", {\n slug: \"neon-create-new-api-key\",\n name: \"Create New API Key\",\n description: \"Creates a new personal API key for the authenticated Neon user account. Use this action to generate API keys for programmatic access to Neon services, such as CI/CD pipelines, backend integrations, or development environments. Each key should have a descriptive name to help identify its purpose. IMPORTANT: The returned 'key' value is shown only once - store it securely immediately after creation. To manage organization-level API keys, use the organization API key endpoints instead.\",\n input: NeonCreateNewApiKeyInput,\n output: NeonCreateNewApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EACxL,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -27,8 +27,8 @@ const NeonCreateNewProjectBranch_BranchSchema = zod.z.object({
27
27
  active_time_seconds: zod.z.number().int().describe("Active time in seconds.").nullable().optional(),
28
28
  data_transfer_bytes: zod.z.number().int().describe("Number of bytes transferred.").nullable().optional(),
29
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.");
30
+ }).passthrough().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() }).passthrough().describe("Endpoint settings object.");
32
32
  const NeonCreateNewProjectBranch_ComputeEndpointSchema = zod.z.object({
33
33
  id: zod.z.string().describe("The endpoint identifier with ep- prefix.").nullable(),
34
34
  host: zod.z.string().describe("The hostname of the compute endpoint for database connections.").nullable(),
@@ -53,7 +53,7 @@ const NeonCreateNewProjectBranch_ComputeEndpointSchema = zod.z.object({
53
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
54
  autoscaling_limit_max_cu: zod.z.number().describe("The maximum number of Compute Units for autoscaling.").nullable(),
55
55
  autoscaling_limit_min_cu: zod.z.number().describe("The minimum number of Compute Units for autoscaling.").nullable()
56
- }).describe("Compute endpoint object.");
56
+ }).passthrough().describe("Compute endpoint object.");
57
57
  const NeonCreateNewProjectBranch_OperationSchema = zod.z.object({
58
58
  id: zod.z.string().describe("The operation identifier (UUID).").nullable(),
59
59
  error: zod.z.string().describe("Error message if the operation failed.").nullable().optional(),
@@ -66,12 +66,12 @@ const NeonCreateNewProjectBranch_OperationSchema = zod.z.object({
66
66
  endpoint_id: zod.z.string().describe("The endpoint identifier if the operation involves a compute endpoint.").nullable().optional(),
67
67
  failures_count: zod.z.number().int().describe("The number of times the operation failed.").nullable(),
68
68
  total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
69
- }).describe("Operation object.");
69
+ }).passthrough().describe("Operation object.");
70
70
  const NeonCreateNewProjectBranchOutput = zod.z.object({
71
71
  branch: NeonCreateNewProjectBranch_BranchSchema.nullable(),
72
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
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`");
74
+ }).passthrough().describe("Response schema for `CreateNewProjectBranch`");
75
75
  const neonCreateNewProjectBranch = require_action.action("NEON_CREATE_NEW_PROJECT_BRANCH", {
76
76
  slug: "neon-create-new-project-branch",
77
77
  name: "Create new project branch",
@@ -1 +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.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.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name. Auto-generated if not specified during creation.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\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).\").nullable(),\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.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.object({\n id: z.string().describe(\"The endpoint identifier with ep- prefix.\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint for database connections.\").nullable(),\n type: z.string().describe(\"The compute endpoint type (read_write or read_only).\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable(),\n settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),\n branch_id: z.string().describe(\"The branch identifier this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The region identifier where the endpoint is located.\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the endpoint was created.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint connection.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the endpoint was last updated.\").nullable(),\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).\").nullable(),\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).\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units for autoscaling.\").nullable(),\n}).describe(\"Compute endpoint object.\");\nconst NeonCreateNewProjectBranch_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\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).\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped).\").nullable(),\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.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the operation was last updated.\").nullable(),\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.\").nullable(),\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.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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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C,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAC/B,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oGAAoG;AAC/K,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name. Auto-generated if not specified during creation.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\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).\").nullable(),\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}).passthrough().describe(\"The newly created branch object.\");\nconst NeonCreateNewProjectBranch_BranchSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n}).passthrough().describe(\"Endpoint settings object.\");\nconst NeonCreateNewProjectBranch_ComputeEndpointSchema = z.object({\n id: z.string().describe(\"The endpoint identifier with ep- prefix.\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint for database connections.\").nullable(),\n type: z.string().describe(\"The compute endpoint type (read_write or read_only).\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable(),\n settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),\n branch_id: z.string().describe(\"The branch identifier this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The region identifier where the endpoint is located.\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the endpoint was created.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint connection.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the endpoint was last updated.\").nullable(),\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).\").nullable(),\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).\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units for autoscaling.\").nullable(),\n}).passthrough().describe(\"Compute endpoint object.\");\nconst NeonCreateNewProjectBranch_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\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).\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped).\").nullable(),\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.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the operation was last updated.\").nullable(),\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.\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Operation object.\");\nexport const NeonCreateNewProjectBranchOutput = 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}).passthrough().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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,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AAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mBAAmB;AAC7C,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oGAAoG;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,7 +28,7 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
28
28
  active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
29
  data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33
33
  id: z.ZodNullable<z.ZodString>;
34
34
  host: z.ZodNullable<z.ZodString>;
@@ -36,7 +36,7 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
36
36
  disabled: z.ZodNullable<z.ZodBoolean>;
37
37
  settings: z.ZodNullable<z.ZodObject<{
38
38
  pg_settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  branch_id: z.ZodNullable<z.ZodString>;
41
41
  region_id: z.ZodNullable<z.ZodString>;
42
42
  created_at: z.ZodNullable<z.ZodString>;
@@ -55,7 +55,7 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
55
55
  suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
56
  autoscaling_limit_max_cu: z.ZodNullable<z.ZodNumber>;
57
57
  autoscaling_limit_min_cu: z.ZodNullable<z.ZodNumber>;
58
- }, z.core.$strip>>>>;
58
+ }, z.core.$loose>>>>;
59
59
  operations: z.ZodArray<z.ZodObject<{
60
60
  id: z.ZodNullable<z.ZodString>;
61
61
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -68,8 +68,8 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
68
68
  endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  failures_count: z.ZodNullable<z.ZodNumber>;
70
70
  total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
- }, z.core.$strip>>;
72
- }, z.core.$strip>;
71
+ }, z.core.$loose>>;
72
+ }, z.core.$loose>;
73
73
  declare const neonCreateNewProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
74
74
  project_id: string;
75
75
  branch__name?: string | undefined;
@@ -28,7 +28,7 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
28
28
  active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
29
  data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33
33
  id: z.ZodNullable<z.ZodString>;
34
34
  host: z.ZodNullable<z.ZodString>;
@@ -36,7 +36,7 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
36
36
  disabled: z.ZodNullable<z.ZodBoolean>;
37
37
  settings: z.ZodNullable<z.ZodObject<{
38
38
  pg_settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  branch_id: z.ZodNullable<z.ZodString>;
41
41
  region_id: z.ZodNullable<z.ZodString>;
42
42
  created_at: z.ZodNullable<z.ZodString>;
@@ -55,7 +55,7 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
55
55
  suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
56
  autoscaling_limit_max_cu: z.ZodNullable<z.ZodNumber>;
57
57
  autoscaling_limit_min_cu: z.ZodNullable<z.ZodNumber>;
58
- }, z.core.$strip>>>>;
58
+ }, z.core.$loose>>>>;
59
59
  operations: z.ZodArray<z.ZodObject<{
60
60
  id: z.ZodNullable<z.ZodString>;
61
61
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -68,8 +68,8 @@ declare const NeonCreateNewProjectBranchOutput: z.ZodObject<{
68
68
  endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  failures_count: z.ZodNullable<z.ZodNumber>;
70
70
  total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
- }, z.core.$strip>>;
72
- }, z.core.$strip>;
71
+ }, z.core.$loose>>;
72
+ }, z.core.$loose>;
73
73
  declare const neonCreateNewProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
74
74
  project_id: string;
75
75
  branch__name?: string | undefined;
@@ -27,8 +27,8 @@ const NeonCreateNewProjectBranch_BranchSchema = z.object({
27
27
  active_time_seconds: z.number().int().describe("Active time in seconds.").nullable().optional(),
28
28
  data_transfer_bytes: z.number().int().describe("Number of bytes transferred.").nullable().optional(),
29
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.");
30
+ }).passthrough().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() }).passthrough().describe("Endpoint settings object.");
32
32
  const NeonCreateNewProjectBranch_ComputeEndpointSchema = z.object({
33
33
  id: z.string().describe("The endpoint identifier with ep- prefix.").nullable(),
34
34
  host: z.string().describe("The hostname of the compute endpoint for database connections.").nullable(),
@@ -53,7 +53,7 @@ const NeonCreateNewProjectBranch_ComputeEndpointSchema = z.object({
53
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
54
  autoscaling_limit_max_cu: z.number().describe("The maximum number of Compute Units for autoscaling.").nullable(),
55
55
  autoscaling_limit_min_cu: z.number().describe("The minimum number of Compute Units for autoscaling.").nullable()
56
- }).describe("Compute endpoint object.");
56
+ }).passthrough().describe("Compute endpoint object.");
57
57
  const NeonCreateNewProjectBranch_OperationSchema = z.object({
58
58
  id: z.string().describe("The operation identifier (UUID).").nullable(),
59
59
  error: z.string().describe("Error message if the operation failed.").nullable().optional(),
@@ -66,7 +66,7 @@ const NeonCreateNewProjectBranch_OperationSchema = z.object({
66
66
  endpoint_id: z.string().describe("The endpoint identifier if the operation involves a compute endpoint.").nullable().optional(),
67
67
  failures_count: z.number().int().describe("The number of times the operation failed.").nullable(),
68
68
  total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds.").nullable().optional()
69
- }).describe("Operation object.");
69
+ }).passthrough().describe("Operation object.");
70
70
  const neonCreateNewProjectBranch = action("NEON_CREATE_NEW_PROJECT_BRANCH", {
71
71
  slug: "neon-create-new-project-branch",
72
72
  name: "Create new project branch",
@@ -76,7 +76,7 @@ const neonCreateNewProjectBranch = action("NEON_CREATE_NEW_PROJECT_BRANCH", {
76
76
  branch: NeonCreateNewProjectBranch_BranchSchema.nullable(),
77
77
  endpoints: z.array(NeonCreateNewProjectBranch_ComputeEndpointSchema).describe("Array of compute endpoints created with the branch. Empty if no endpoints were requested.").nullable().optional(),
78
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`")
79
+ }).passthrough().describe("Response schema for `CreateNewProjectBranch`")
80
80
  });
81
81
  //#endregion
82
82
  export { neonCreateNewProjectBranch };
@@ -1 +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.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.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name. Auto-generated if not specified during creation.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\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).\").nullable(),\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.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.object({\n id: z.string().describe(\"The endpoint identifier with ep- prefix.\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint for database connections.\").nullable(),\n type: z.string().describe(\"The compute endpoint type (read_write or read_only).\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable(),\n settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),\n branch_id: z.string().describe(\"The branch identifier this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The region identifier where the endpoint is located.\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the endpoint was created.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint connection.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the endpoint was last updated.\").nullable(),\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).\").nullable(),\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).\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units for autoscaling.\").nullable(),\n}).describe(\"Compute endpoint object.\");\nconst NeonCreateNewProjectBranch_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\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).\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped).\").nullable(),\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.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the operation was last updated.\").nullable(),\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.\").nullable(),\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.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,kCAAkC,EAAE,OAAO;CACtD,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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S;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"}
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.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.object({\n id: z.string().describe(\"The branch identifier with br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name. Auto-generated if not specified during creation.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the branch was last updated.\").nullable(),\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).\").nullable(),\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}).passthrough().describe(\"The newly created branch object.\");\nconst NeonCreateNewProjectBranch_BranchSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n}).passthrough().describe(\"Endpoint settings object.\");\nconst NeonCreateNewProjectBranch_ComputeEndpointSchema = z.object({\n id: z.string().describe(\"The endpoint identifier with ep- prefix.\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint for database connections.\").nullable(),\n type: z.string().describe(\"The compute endpoint type (read_write or read_only).\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable(),\n settings: NeonCreateNewProjectBranch_BranchSettingsSchema.nullable(),\n branch_id: z.string().describe(\"The branch identifier this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The region identifier where the endpoint is located.\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the endpoint was created.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint connection.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the endpoint was last updated.\").nullable(),\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).\").nullable(),\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).\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of Compute Units for autoscaling.\").nullable(),\n}).passthrough().describe(\"Compute endpoint object.\");\nconst NeonCreateNewProjectBranch_OperationSchema = z.object({\n id: z.string().describe(\"The operation identifier (UUID).\").nullable(),\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).\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped).\").nullable(),\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.\").nullable(),\n project_id: z.string().describe(\"The project identifier.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of when the operation was last updated.\").nullable(),\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.\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Operation object.\");\nexport const NeonCreateNewProjectBranchOutput = 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}).passthrough().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,kCAAkC,EAAE,OAAO;CACtD,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,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CA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13
13
  schema_name: zod.z.string().describe("The schema name containing the table (e.g., 'public')."),
14
14
  database_name: zod.z.string().describe("The name of the database containing the table to mask (e.g., 'neondb')."),
15
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(),
16
+ }).passthrough().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.record(zod.z.string(), zod.z.unknown()).describe("Optional metadata annotations to attach to the branch.").optional(),
18
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
19
  }).describe("Request schema for creating an anonymized branch");
20
20
  const NeonCreateProjectBranchAnonymized_RoleSchema = zod.z.object({
@@ -23,7 +23,7 @@ const NeonCreateProjectBranchAnonymized_RoleSchema = zod.z.object({
23
23
  protected: zod.z.boolean().describe("Whether the role is protected").nullable().optional(),
24
24
  created_at: zod.z.string().describe("ISO 8601 timestamp when the role was created").nullable(),
25
25
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the role was last updated").nullable()
26
- }).describe("A database role associated with the branch");
26
+ }).passthrough().describe("A database role associated with the branch");
27
27
  const NeonCreateProjectBranchAnonymized_BranchSchema = zod.z.object({
28
28
  id: zod.z.string().describe("The branch ID").nullable(),
29
29
  name: zod.z.string().describe("The branch name").nullable(),
@@ -37,7 +37,7 @@ const NeonCreateProjectBranchAnonymized_BranchSchema = zod.z.object({
37
37
  logical_size: zod.z.number().int().describe("The logical size of the branch in bytes").nullable().optional(),
38
38
  current_state: zod.z.string().describe("The current state of the branch").nullable().optional(),
39
39
  physical_size: zod.z.number().int().describe("The physical size of the branch in bytes").nullable().optional()
40
- }).describe("The created anonymized branch");
40
+ }).passthrough().describe("The created anonymized branch");
41
41
  const NeonCreateProjectBranchAnonymized_DatabaseSchema = zod.z.object({
42
42
  id: zod.z.number().int().describe("The database ID").nullable(),
43
43
  name: zod.z.string().describe("The database name").nullable(),
@@ -45,12 +45,12 @@ const NeonCreateProjectBranchAnonymized_DatabaseSchema = zod.z.object({
45
45
  created_at: zod.z.string().describe("ISO 8601 timestamp when the database was created").nullable(),
46
46
  owner_name: zod.z.string().describe("The name of the role that owns the database").nullable(),
47
47
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the database was last updated").nullable()
48
- }).describe("A database within the branch");
48
+ }).passthrough().describe("A database within the branch");
49
49
  const NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema = zod.z.object({
50
50
  use_defaults: zod.z.boolean().describe("Whether to use default preload libraries").nullable(),
51
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");
52
+ }).passthrough().describe("Preload libraries configuration for PostgreSQL");
53
+ const NeonCreateProjectBranchAnonymized_EndpointSettingsSchema = zod.z.object({ preload_libraries: NeonCreateProjectBranchAnonymized_PreloadLibrariesSchema.nullable().optional() }).passthrough().describe("Settings for an endpoint");
54
54
  const NeonCreateProjectBranchAnonymized_EndpointSchema = zod.z.object({
55
55
  id: zod.z.string().describe("The endpoint ID").nullable(),
56
56
  host: zod.z.string().describe("The endpoint host").nullable().optional(),
@@ -70,7 +70,7 @@ const NeonCreateProjectBranchAnonymized_EndpointSchema = zod.z.object({
70
70
  suspend_timeout_seconds: zod.z.number().int().describe("Timeout before suspending inactive endpoint").nullable().optional(),
71
71
  autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling").nullable().optional(),
72
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");
73
+ }).passthrough().describe("A compute endpoint associated with the branch");
74
74
  const NeonCreateProjectBranchAnonymized_OperationSchema = zod.z.object({
75
75
  id: zod.z.string().describe("The operation ID").nullable(),
76
76
  error: zod.z.string().describe("Error message if the operation failed").nullable().optional(),
@@ -83,8 +83,8 @@ const NeonCreateProjectBranchAnonymized_OperationSchema = zod.z.object({
83
83
  endpoint_id: zod.z.string().describe("The endpoint ID").nullable().optional(),
84
84
  failures_count: zod.z.number().int().describe("Number of times the operation failed").nullable(),
85
85
  total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds").nullable()
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").nullable() }).describe("A connection URI for accessing the branch");
86
+ }).passthrough().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").nullable() }).passthrough().describe("A connection URI for accessing the branch");
88
88
  const NeonCreateProjectBranchAnonymizedOutput = zod.z.object({
89
89
  roles: zod.z.array(NeonCreateProjectBranchAnonymized_RoleSchema).describe("Database roles available in the branch"),
90
90
  branch: NeonCreateProjectBranchAnonymized_BranchSchema.nullable(),
@@ -92,7 +92,7 @@ const NeonCreateProjectBranchAnonymizedOutput = zod.z.object({
92
92
  endpoints: zod.z.array(NeonCreateProjectBranchAnonymized_EndpointSchema).describe("Compute endpoints associated with the branch"),
93
93
  operations: zod.z.array(NeonCreateProjectBranchAnonymized_OperationSchema).describe("Operations tracking the branch creation and setup"),
94
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");
95
+ }).passthrough().describe("Response schema for creating an anonymized branch");
96
96
  const neonCreateProjectBranchAnonymized = require_action.action("NEON_CREATE_PROJECT_BRANCH_ANONYMIZED", {
97
97
  slug: "neon-create-project-branch-anonymized",
98
98
  name: "Create anonymized branch",