@keystrokehq/neon 0.1.0 → 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 (857) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/accept-projects-transfer-requests.cjs +1 -1
  4. package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -1
  5. package/dist/actions/accept-projects-transfer-requests.d.cts +15 -3
  6. package/dist/actions/accept-projects-transfer-requests.d.cts.map +1 -1
  7. package/dist/actions/accept-projects-transfer-requests.d.mts +15 -3
  8. package/dist/actions/accept-projects-transfer-requests.d.mts.map +1 -1
  9. package/dist/actions/accept-projects-transfer-requests.mjs +1 -1
  10. package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -1
  11. package/dist/actions/access-project-details-by-id.cjs +17 -17
  12. package/dist/actions/access-project-details-by-id.cjs.map +1 -1
  13. package/dist/actions/access-project-details-by-id.d.cts +81 -3
  14. package/dist/actions/access-project-details-by-id.d.cts.map +1 -1
  15. package/dist/actions/access-project-details-by-id.d.mts +81 -3
  16. package/dist/actions/access-project-details-by-id.d.mts.map +1 -1
  17. package/dist/actions/access-project-details-by-id.mjs +17 -17
  18. package/dist/actions/access-project-details-by-id.mjs.map +1 -1
  19. package/dist/actions/add-new-jwks-to-project-endpoint.cjs +3 -3
  20. package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -1
  21. package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +41 -3
  22. package/dist/actions/add-new-jwks-to-project-endpoint.d.cts.map +1 -1
  23. package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +41 -3
  24. package/dist/actions/add-new-jwks-to-project-endpoint.d.mts.map +1 -1
  25. package/dist/actions/add-new-jwks-to-project-endpoint.mjs +3 -3
  26. package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -1
  27. package/dist/actions/add-project-email-permission.cjs +2 -2
  28. package/dist/actions/add-project-email-permission.cjs.map +1 -1
  29. package/dist/actions/add-project-email-permission.d.cts +15 -3
  30. package/dist/actions/add-project-email-permission.d.cts.map +1 -1
  31. package/dist/actions/add-project-email-permission.d.mts +15 -3
  32. package/dist/actions/add-project-email-permission.d.mts.map +1 -1
  33. package/dist/actions/add-project-email-permission.mjs +2 -2
  34. package/dist/actions/add-project-email-permission.mjs.map +1 -1
  35. package/dist/actions/add-role-to-branch.cjs +5 -5
  36. package/dist/actions/add-role-to-branch.cjs.map +1 -1
  37. package/dist/actions/add-role-to-branch.d.cts +33 -3
  38. package/dist/actions/add-role-to-branch.d.cts.map +1 -1
  39. package/dist/actions/add-role-to-branch.d.mts +33 -3
  40. package/dist/actions/add-role-to-branch.d.mts.map +1 -1
  41. package/dist/actions/add-role-to-branch.mjs +5 -5
  42. package/dist/actions/add-role-to-branch.mjs.map +1 -1
  43. package/dist/actions/count-project-branches.cjs +1 -1
  44. package/dist/actions/count-project-branches.cjs.map +1 -1
  45. package/dist/actions/count-project-branches.d.cts +11 -3
  46. package/dist/actions/count-project-branches.d.cts.map +1 -1
  47. package/dist/actions/count-project-branches.d.mts +11 -3
  48. package/dist/actions/count-project-branches.d.mts.map +1 -1
  49. package/dist/actions/count-project-branches.mjs +1 -1
  50. package/dist/actions/count-project-branches.mjs.map +1 -1
  51. package/dist/actions/create-api-key-for-organization.cjs +6 -6
  52. package/dist/actions/create-api-key-for-organization.cjs.map +1 -1
  53. package/dist/actions/create-api-key-for-organization.d.cts +15 -3
  54. package/dist/actions/create-api-key-for-organization.d.cts.map +1 -1
  55. package/dist/actions/create-api-key-for-organization.d.mts +15 -3
  56. package/dist/actions/create-api-key-for-organization.d.mts.map +1 -1
  57. package/dist/actions/create-api-key-for-organization.mjs +6 -6
  58. package/dist/actions/create-api-key-for-organization.mjs.map +1 -1
  59. package/dist/actions/create-auth-keys.cjs +8 -8
  60. package/dist/actions/create-auth-keys.cjs.map +1 -1
  61. package/dist/actions/create-auth-keys.d.cts +23 -3
  62. package/dist/actions/create-auth-keys.d.cts.map +1 -1
  63. package/dist/actions/create-auth-keys.d.mts +23 -3
  64. package/dist/actions/create-auth-keys.d.mts.map +1 -1
  65. package/dist/actions/create-auth-keys.mjs +8 -8
  66. package/dist/actions/create-auth-keys.mjs.map +1 -1
  67. package/dist/actions/create-auth-user.cjs +1 -1
  68. package/dist/actions/create-auth-user.cjs.map +1 -1
  69. package/dist/actions/create-auth-user.d.cts +15 -3
  70. package/dist/actions/create-auth-user.d.cts.map +1 -1
  71. package/dist/actions/create-auth-user.d.mts +15 -3
  72. package/dist/actions/create-auth-user.d.mts.map +1 -1
  73. package/dist/actions/create-auth-user.mjs +1 -1
  74. package/dist/actions/create-auth-user.mjs.map +1 -1
  75. package/dist/actions/create-branch-database.cjs +17 -17
  76. package/dist/actions/create-branch-database.cjs.map +1 -1
  77. package/dist/actions/create-branch-database.d.cts +36 -3
  78. package/dist/actions/create-branch-database.d.cts.map +1 -1
  79. package/dist/actions/create-branch-database.d.mts +36 -3
  80. package/dist/actions/create-branch-database.d.mts.map +1 -1
  81. package/dist/actions/create-branch-database.mjs +17 -17
  82. package/dist/actions/create-branch-database.mjs.map +1 -1
  83. package/dist/actions/create-branches-auth.cjs +8 -8
  84. package/dist/actions/create-branches-auth.cjs.map +1 -1
  85. package/dist/actions/create-branches-auth.d.cts +27 -3
  86. package/dist/actions/create-branches-auth.d.cts.map +1 -1
  87. package/dist/actions/create-branches-auth.d.mts +27 -3
  88. package/dist/actions/create-branches-auth.d.mts.map +1 -1
  89. package/dist/actions/create-branches-auth.mjs +8 -8
  90. package/dist/actions/create-branches-auth.mjs.map +1 -1
  91. package/dist/actions/create-branches-data-api.cjs +1 -1
  92. package/dist/actions/create-branches-data-api.cjs.map +1 -1
  93. package/dist/actions/create-branches-data-api.d.cts +52 -3
  94. package/dist/actions/create-branches-data-api.d.cts.map +1 -1
  95. package/dist/actions/create-branches-data-api.d.mts +52 -3
  96. package/dist/actions/create-branches-data-api.d.mts.map +1 -1
  97. package/dist/actions/create-branches-data-api.mjs +1 -1
  98. package/dist/actions/create-branches-data-api.mjs.map +1 -1
  99. package/dist/actions/create-branches-snapshot.cjs +14 -14
  100. package/dist/actions/create-branches-snapshot.cjs.map +1 -1
  101. package/dist/actions/create-branches-snapshot.d.cts +38 -3
  102. package/dist/actions/create-branches-snapshot.d.cts.map +1 -1
  103. package/dist/actions/create-branches-snapshot.d.mts +38 -3
  104. package/dist/actions/create-branches-snapshot.d.mts.map +1 -1
  105. package/dist/actions/create-branches-snapshot.mjs +14 -14
  106. package/dist/actions/create-branches-snapshot.mjs.map +1 -1
  107. package/dist/actions/create-compute-endpoint.cjs +16 -16
  108. package/dist/actions/create-compute-endpoint.cjs.map +1 -1
  109. package/dist/actions/create-compute-endpoint.d.cts +94 -3
  110. package/dist/actions/create-compute-endpoint.d.cts.map +1 -1
  111. package/dist/actions/create-compute-endpoint.d.mts +94 -3
  112. package/dist/actions/create-compute-endpoint.d.mts.map +1 -1
  113. package/dist/actions/create-compute-endpoint.mjs +16 -16
  114. package/dist/actions/create-compute-endpoint.mjs.map +1 -1
  115. package/dist/actions/create-new-api-key.cjs +5 -5
  116. package/dist/actions/create-new-api-key.cjs.map +1 -1
  117. package/dist/actions/create-new-api-key.d.cts +15 -3
  118. package/dist/actions/create-new-api-key.d.cts.map +1 -1
  119. package/dist/actions/create-new-api-key.d.mts +15 -3
  120. package/dist/actions/create-new-api-key.d.mts.map +1 -1
  121. package/dist/actions/create-new-api-key.mjs +5 -5
  122. package/dist/actions/create-new-api-key.mjs.map +1 -1
  123. package/dist/actions/create-new-project-branch.cjs +34 -34
  124. package/dist/actions/create-new-project-branch.cjs.map +1 -1
  125. package/dist/actions/create-new-project-branch.d.cts +75 -3
  126. package/dist/actions/create-new-project-branch.d.cts.map +1 -1
  127. package/dist/actions/create-new-project-branch.d.mts +75 -3
  128. package/dist/actions/create-new-project-branch.d.mts.map +1 -1
  129. package/dist/actions/create-new-project-branch.mjs +34 -34
  130. package/dist/actions/create-new-project-branch.mjs.map +1 -1
  131. package/dist/actions/create-project-branch-anonymized.cjs +41 -41
  132. package/dist/actions/create-project-branch-anonymized.cjs.map +1 -1
  133. package/dist/actions/create-project-branch-anonymized.d.cts +105 -3
  134. package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -1
  135. package/dist/actions/create-project-branch-anonymized.d.mts +105 -3
  136. package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -1
  137. package/dist/actions/create-project-branch-anonymized.mjs +41 -41
  138. package/dist/actions/create-project-branch-anonymized.mjs.map +1 -1
  139. package/dist/actions/create-project-with-quota-and-settings.cjs +72 -72
  140. package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -1
  141. package/dist/actions/create-project-with-quota-and-settings.d.cts +213 -3
  142. package/dist/actions/create-project-with-quota-and-settings.d.cts.map +1 -1
  143. package/dist/actions/create-project-with-quota-and-settings.d.mts +213 -3
  144. package/dist/actions/create-project-with-quota-and-settings.d.mts.map +1 -1
  145. package/dist/actions/create-project-with-quota-and-settings.mjs +72 -72
  146. package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -1
  147. package/dist/actions/create-projects-transfer-requests.cjs +5 -5
  148. package/dist/actions/create-projects-transfer-requests.cjs.map +1 -1
  149. package/dist/actions/create-projects-transfer-requests.d.cts +14 -3
  150. package/dist/actions/create-projects-transfer-requests.d.cts.map +1 -1
  151. package/dist/actions/create-projects-transfer-requests.d.mts +14 -3
  152. package/dist/actions/create-projects-transfer-requests.d.mts.map +1 -1
  153. package/dist/actions/create-projects-transfer-requests.mjs +5 -5
  154. package/dist/actions/create-projects-transfer-requests.mjs.map +1 -1
  155. package/dist/actions/create-vpc-endpoint-label.cjs +1 -1
  156. package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -1
  157. package/dist/actions/create-vpc-endpoint-label.d.cts +17 -3
  158. package/dist/actions/create-vpc-endpoint-label.d.cts.map +1 -1
  159. package/dist/actions/create-vpc-endpoint-label.d.mts +17 -3
  160. package/dist/actions/create-vpc-endpoint-label.d.mts.map +1 -1
  161. package/dist/actions/create-vpc-endpoint-label.mjs +1 -1
  162. package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -1
  163. package/dist/actions/create-vpc-endpoint-with-label.cjs +5 -5
  164. package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -1
  165. package/dist/actions/create-vpc-endpoint-with-label.d.cts +19 -3
  166. package/dist/actions/create-vpc-endpoint-with-label.d.cts.map +1 -1
  167. package/dist/actions/create-vpc-endpoint-with-label.d.mts +19 -3
  168. package/dist/actions/create-vpc-endpoint-with-label.d.mts.map +1 -1
  169. package/dist/actions/create-vpc-endpoint-with-label.mjs +5 -5
  170. package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -1
  171. package/dist/actions/delete-api-key-by-id.cjs +6 -6
  172. package/dist/actions/delete-api-key-by-id.cjs.map +1 -1
  173. package/dist/actions/delete-api-key-by-id.d.cts +17 -3
  174. package/dist/actions/delete-api-key-by-id.d.cts.map +1 -1
  175. package/dist/actions/delete-api-key-by-id.d.mts +17 -3
  176. package/dist/actions/delete-api-key-by-id.d.mts.map +1 -1
  177. package/dist/actions/delete-api-key-by-id.mjs +6 -6
  178. package/dist/actions/delete-api-key-by-id.mjs.map +1 -1
  179. package/dist/actions/delete-auth-domains.cjs +3 -3
  180. package/dist/actions/delete-auth-domains.cjs.map +1 -1
  181. package/dist/actions/delete-auth-domains.d.cts +27 -3
  182. package/dist/actions/delete-auth-domains.d.cts.map +1 -1
  183. package/dist/actions/delete-auth-domains.d.mts +27 -3
  184. package/dist/actions/delete-auth-domains.d.mts.map +1 -1
  185. package/dist/actions/delete-auth-domains.mjs +3 -3
  186. package/dist/actions/delete-auth-domains.mjs.map +1 -1
  187. package/dist/actions/delete-auth-oauth-provider.cjs +1 -1
  188. package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -1
  189. package/dist/actions/delete-auth-oauth-provider.d.cts +17 -3
  190. package/dist/actions/delete-auth-oauth-provider.d.cts.map +1 -1
  191. package/dist/actions/delete-auth-oauth-provider.d.mts +17 -3
  192. package/dist/actions/delete-auth-oauth-provider.d.mts.map +1 -1
  193. package/dist/actions/delete-auth-oauth-provider.mjs +1 -1
  194. package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -1
  195. package/dist/actions/delete-auth-user.cjs +1 -1
  196. package/dist/actions/delete-auth-user.cjs.map +1 -1
  197. package/dist/actions/delete-auth-user.d.cts +15 -3
  198. package/dist/actions/delete-auth-user.d.cts.map +1 -1
  199. package/dist/actions/delete-auth-user.d.mts +15 -3
  200. package/dist/actions/delete-auth-user.d.mts.map +1 -1
  201. package/dist/actions/delete-auth-user.mjs +1 -1
  202. package/dist/actions/delete-auth-user.mjs.map +1 -1
  203. package/dist/actions/delete-branch-data-api.cjs +1 -1
  204. package/dist/actions/delete-branch-data-api.cjs.map +1 -1
  205. package/dist/actions/delete-branch-data-api.d.cts +11 -3
  206. package/dist/actions/delete-branch-data-api.d.cts.map +1 -1
  207. package/dist/actions/delete-branch-data-api.d.mts +11 -3
  208. package/dist/actions/delete-branch-data-api.d.mts.map +1 -1
  209. package/dist/actions/delete-branch-data-api.mjs +1 -1
  210. package/dist/actions/delete-branch-data-api.mjs.map +1 -1
  211. package/dist/actions/delete-database-from-branch.cjs +17 -17
  212. package/dist/actions/delete-database-from-branch.cjs.map +1 -1
  213. package/dist/actions/delete-database-from-branch.d.cts +43 -3
  214. package/dist/actions/delete-database-from-branch.d.cts.map +1 -1
  215. package/dist/actions/delete-database-from-branch.d.mts +43 -3
  216. package/dist/actions/delete-database-from-branch.d.mts.map +1 -1
  217. package/dist/actions/delete-database-from-branch.mjs +17 -17
  218. package/dist/actions/delete-database-from-branch.mjs.map +1 -1
  219. package/dist/actions/delete-organization-api-key.cjs +7 -7
  220. package/dist/actions/delete-organization-api-key.cjs.map +1 -1
  221. package/dist/actions/delete-organization-api-key.d.cts +19 -3
  222. package/dist/actions/delete-organization-api-key.d.cts.map +1 -1
  223. package/dist/actions/delete-organization-api-key.d.mts +19 -3
  224. package/dist/actions/delete-organization-api-key.d.mts.map +1 -1
  225. package/dist/actions/delete-organization-api-key.mjs +7 -7
  226. package/dist/actions/delete-organization-api-key.mjs.map +1 -1
  227. package/dist/actions/delete-organization-member.cjs +6 -6
  228. package/dist/actions/delete-organization-member.cjs.map +1 -1
  229. package/dist/actions/delete-organization-member.d.cts +15 -3
  230. package/dist/actions/delete-organization-member.d.cts.map +1 -1
  231. package/dist/actions/delete-organization-member.d.mts +15 -3
  232. package/dist/actions/delete-organization-member.d.mts.map +1 -1
  233. package/dist/actions/delete-organization-member.mjs +6 -6
  234. package/dist/actions/delete-organization-member.mjs.map +1 -1
  235. package/dist/actions/delete-project-branch-by-id.cjs +17 -17
  236. package/dist/actions/delete-project-branch-by-id.cjs.map +1 -1
  237. package/dist/actions/delete-project-branch-by-id.d.cts +82 -3
  238. package/dist/actions/delete-project-branch-by-id.d.cts.map +1 -1
  239. package/dist/actions/delete-project-branch-by-id.d.mts +82 -3
  240. package/dist/actions/delete-project-branch-by-id.d.mts.map +1 -1
  241. package/dist/actions/delete-project-branch-by-id.mjs +17 -17
  242. package/dist/actions/delete-project-branch-by-id.mjs.map +1 -1
  243. package/dist/actions/delete-project-branch-role.cjs +4 -4
  244. package/dist/actions/delete-project-branch-role.cjs.map +1 -1
  245. package/dist/actions/delete-project-branch-role.d.cts +35 -3
  246. package/dist/actions/delete-project-branch-role.d.cts.map +1 -1
  247. package/dist/actions/delete-project-branch-role.d.mts +35 -3
  248. package/dist/actions/delete-project-branch-role.d.mts.map +1 -1
  249. package/dist/actions/delete-project-branch-role.mjs +4 -4
  250. package/dist/actions/delete-project-branch-role.mjs.map +1 -1
  251. package/dist/actions/delete-project-by-id.cjs +1 -1
  252. package/dist/actions/delete-project-by-id.cjs.map +1 -1
  253. package/dist/actions/delete-project-by-id.d.cts +20 -3
  254. package/dist/actions/delete-project-by-id.d.cts.map +1 -1
  255. package/dist/actions/delete-project-by-id.d.mts +20 -3
  256. package/dist/actions/delete-project-by-id.d.mts.map +1 -1
  257. package/dist/actions/delete-project-by-id.mjs +1 -1
  258. package/dist/actions/delete-project-by-id.mjs.map +1 -1
  259. package/dist/actions/delete-project-endpoint.cjs +21 -21
  260. package/dist/actions/delete-project-endpoint.cjs.map +1 -1
  261. package/dist/actions/delete-project-endpoint.d.cts +60 -3
  262. package/dist/actions/delete-project-endpoint.d.cts.map +1 -1
  263. package/dist/actions/delete-project-endpoint.d.mts +60 -3
  264. package/dist/actions/delete-project-endpoint.d.mts.map +1 -1
  265. package/dist/actions/delete-project-endpoint.mjs +21 -21
  266. package/dist/actions/delete-project-endpoint.mjs.map +1 -1
  267. package/dist/actions/delete-project-jwks-by-id.cjs +5 -5
  268. package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -1
  269. package/dist/actions/delete-project-jwks-by-id.d.cts +17 -3
  270. package/dist/actions/delete-project-jwks-by-id.d.cts.map +1 -1
  271. package/dist/actions/delete-project-jwks-by-id.d.mts +17 -3
  272. package/dist/actions/delete-project-jwks-by-id.d.mts.map +1 -1
  273. package/dist/actions/delete-project-jwks-by-id.mjs +5 -5
  274. package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -1
  275. package/dist/actions/delete-project-permission.cjs +6 -6
  276. package/dist/actions/delete-project-permission.cjs.map +1 -1
  277. package/dist/actions/delete-project-permission.d.cts +16 -3
  278. package/dist/actions/delete-project-permission.d.cts.map +1 -1
  279. package/dist/actions/delete-project-permission.d.mts +16 -3
  280. package/dist/actions/delete-project-permission.d.mts.map +1 -1
  281. package/dist/actions/delete-project-permission.mjs +6 -6
  282. package/dist/actions/delete-project-permission.mjs.map +1 -1
  283. package/dist/actions/delete-project-snapshot.cjs +9 -9
  284. package/dist/actions/delete-project-snapshot.cjs.map +1 -1
  285. package/dist/actions/delete-project-snapshot.d.cts +23 -3
  286. package/dist/actions/delete-project-snapshot.d.cts.map +1 -1
  287. package/dist/actions/delete-project-snapshot.d.mts +23 -3
  288. package/dist/actions/delete-project-snapshot.d.mts.map +1 -1
  289. package/dist/actions/delete-project-snapshot.mjs +9 -9
  290. package/dist/actions/delete-project-snapshot.mjs.map +1 -1
  291. package/dist/actions/delete-vpc-endpoint-by-ids.cjs +5 -5
  292. package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -1
  293. package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +22 -3
  294. package/dist/actions/delete-vpc-endpoint-by-ids.d.cts.map +1 -1
  295. package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +22 -3
  296. package/dist/actions/delete-vpc-endpoint-by-ids.d.mts.map +1 -1
  297. package/dist/actions/delete-vpc-endpoint-by-ids.mjs +5 -5
  298. package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -1
  299. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +2 -2
  300. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -1
  301. package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +13 -3
  302. package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts.map +1 -1
  303. package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +13 -3
  304. package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts.map +1 -1
  305. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +2 -2
  306. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -1
  307. package/dist/actions/disable-branches-auth.cjs.map +1 -1
  308. package/dist/actions/disable-branches-auth.d.cts +11 -3
  309. package/dist/actions/disable-branches-auth.d.cts.map +1 -1
  310. package/dist/actions/disable-branches-auth.d.mts +11 -3
  311. package/dist/actions/disable-branches-auth.d.mts.map +1 -1
  312. package/dist/actions/disable-branches-auth.mjs.map +1 -1
  313. package/dist/actions/fetch-database-for-branch.cjs +8 -8
  314. package/dist/actions/fetch-database-for-branch.cjs.map +1 -1
  315. package/dist/actions/fetch-database-for-branch.d.cts +18 -3
  316. package/dist/actions/fetch-database-for-branch.d.cts.map +1 -1
  317. package/dist/actions/fetch-database-for-branch.d.mts +18 -3
  318. package/dist/actions/fetch-database-for-branch.d.mts.map +1 -1
  319. package/dist/actions/fetch-database-for-branch.mjs +8 -8
  320. package/dist/actions/fetch-database-for-branch.mjs.map +1 -1
  321. package/dist/actions/fetch-organization-members-by-id.cjs +9 -9
  322. package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -1
  323. package/dist/actions/fetch-organization-members-by-id.d.cts +20 -3
  324. package/dist/actions/fetch-organization-members-by-id.d.cts.map +1 -1
  325. package/dist/actions/fetch-organization-members-by-id.d.mts +20 -3
  326. package/dist/actions/fetch-organization-members-by-id.d.mts.map +1 -1
  327. package/dist/actions/fetch-organization-members-by-id.mjs +9 -9
  328. package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -1
  329. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +1 -1
  330. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -1
  331. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +19 -3
  332. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts.map +1 -1
  333. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +19 -3
  334. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts.map +1 -1
  335. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +1 -1
  336. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -1
  337. package/dist/actions/finalize-branch-restore.cjs +8 -8
  338. package/dist/actions/finalize-branch-restore.cjs.map +1 -1
  339. package/dist/actions/finalize-branch-restore.d.cts +26 -3
  340. package/dist/actions/finalize-branch-restore.d.cts.map +1 -1
  341. package/dist/actions/finalize-branch-restore.d.mts +26 -3
  342. package/dist/actions/finalize-branch-restore.d.mts.map +1 -1
  343. package/dist/actions/finalize-branch-restore.mjs +8 -8
  344. package/dist/actions/finalize-branch-restore.mjs.map +1 -1
  345. package/dist/actions/get-auth-allow-localhost.cjs +1 -1
  346. package/dist/actions/get-auth-allow-localhost.cjs.map +1 -1
  347. package/dist/actions/get-auth-allow-localhost.d.cts +11 -3
  348. package/dist/actions/get-auth-allow-localhost.d.cts.map +1 -1
  349. package/dist/actions/get-auth-allow-localhost.d.mts +11 -3
  350. package/dist/actions/get-auth-allow-localhost.d.mts.map +1 -1
  351. package/dist/actions/get-auth-allow-localhost.mjs +1 -1
  352. package/dist/actions/get-auth-allow-localhost.mjs.map +1 -1
  353. package/dist/actions/get-auth-email-provider.cjs +1 -1
  354. package/dist/actions/get-auth-email-provider.cjs.map +1 -1
  355. package/dist/actions/get-auth-email-provider.d.cts +16 -3
  356. package/dist/actions/get-auth-email-provider.d.cts.map +1 -1
  357. package/dist/actions/get-auth-email-provider.d.mts +16 -3
  358. package/dist/actions/get-auth-email-provider.d.mts.map +1 -1
  359. package/dist/actions/get-auth-email-provider.mjs +1 -1
  360. package/dist/actions/get-auth-email-provider.mjs.map +1 -1
  361. package/dist/actions/get-auth.cjs +2 -2
  362. package/dist/actions/get-auth.cjs.map +1 -1
  363. package/dist/actions/get-auth.d.cts +13 -3
  364. package/dist/actions/get-auth.d.cts.map +1 -1
  365. package/dist/actions/get-auth.d.mts +13 -3
  366. package/dist/actions/get-auth.d.mts.map +1 -1
  367. package/dist/actions/get-auth.mjs +2 -2
  368. package/dist/actions/get-auth.mjs.map +1 -1
  369. package/dist/actions/get-available-preload-libraries.cjs +7 -7
  370. package/dist/actions/get-available-preload-libraries.cjs.map +1 -1
  371. package/dist/actions/get-available-preload-libraries.d.cts +15 -3
  372. package/dist/actions/get-available-preload-libraries.d.cts.map +1 -1
  373. package/dist/actions/get-available-preload-libraries.d.mts +15 -3
  374. package/dist/actions/get-available-preload-libraries.d.mts.map +1 -1
  375. package/dist/actions/get-available-preload-libraries.mjs +7 -7
  376. package/dist/actions/get-available-preload-libraries.mjs.map +1 -1
  377. package/dist/actions/get-branch-roles-for-project.cjs +7 -7
  378. package/dist/actions/get-branch-roles-for-project.cjs.map +1 -1
  379. package/dist/actions/get-branch-roles-for-project.d.cts +17 -3
  380. package/dist/actions/get-branch-roles-for-project.d.cts.map +1 -1
  381. package/dist/actions/get-branch-roles-for-project.d.mts +17 -3
  382. package/dist/actions/get-branch-roles-for-project.d.mts.map +1 -1
  383. package/dist/actions/get-branch-roles-for-project.mjs +7 -7
  384. package/dist/actions/get-branch-roles-for-project.mjs.map +1 -1
  385. package/dist/actions/get-branches-anonymized-status.cjs +6 -6
  386. package/dist/actions/get-branches-anonymized-status.cjs.map +1 -1
  387. package/dist/actions/get-branches-anonymized-status.d.cts +24 -3
  388. package/dist/actions/get-branches-anonymized-status.d.cts.map +1 -1
  389. package/dist/actions/get-branches-anonymized-status.d.mts +24 -3
  390. package/dist/actions/get-branches-anonymized-status.d.mts.map +1 -1
  391. package/dist/actions/get-branches-anonymized-status.mjs +6 -6
  392. package/dist/actions/get-branches-anonymized-status.mjs.map +1 -1
  393. package/dist/actions/get-branches-backup-schedule.cjs +3 -3
  394. package/dist/actions/get-branches-backup-schedule.cjs.map +1 -1
  395. package/dist/actions/get-branches-backup-schedule.d.cts +17 -3
  396. package/dist/actions/get-branches-backup-schedule.d.cts.map +1 -1
  397. package/dist/actions/get-branches-backup-schedule.d.mts +17 -3
  398. package/dist/actions/get-branches-backup-schedule.d.mts.map +1 -1
  399. package/dist/actions/get-branches-backup-schedule.mjs +3 -3
  400. package/dist/actions/get-branches-backup-schedule.mjs.map +1 -1
  401. package/dist/actions/get-branches-data-api.cjs +4 -4
  402. package/dist/actions/get-branches-data-api.cjs.map +1 -1
  403. package/dist/actions/get-branches-data-api.d.cts +27 -3
  404. package/dist/actions/get-branches-data-api.d.cts.map +1 -1
  405. package/dist/actions/get-branches-data-api.d.mts +27 -3
  406. package/dist/actions/get-branches-data-api.d.mts.map +1 -1
  407. package/dist/actions/get-branches-data-api.mjs +4 -4
  408. package/dist/actions/get-branches-data-api.mjs.map +1 -1
  409. package/dist/actions/get-branches-for-project.cjs +9 -9
  410. package/dist/actions/get-branches-for-project.cjs.map +1 -1
  411. package/dist/actions/get-branches-for-project.d.cts +45 -3
  412. package/dist/actions/get-branches-for-project.d.cts.map +1 -1
  413. package/dist/actions/get-branches-for-project.d.mts +45 -3
  414. package/dist/actions/get-branches-for-project.d.mts.map +1 -1
  415. package/dist/actions/get-branches-for-project.mjs +9 -9
  416. package/dist/actions/get-branches-for-project.mjs.map +1 -1
  417. package/dist/actions/get-branches-masking-rules.cjs +6 -6
  418. package/dist/actions/get-branches-masking-rules.cjs.map +1 -1
  419. package/dist/actions/get-branches-masking-rules.d.cts +18 -3
  420. package/dist/actions/get-branches-masking-rules.d.cts.map +1 -1
  421. package/dist/actions/get-branches-masking-rules.d.mts +18 -3
  422. package/dist/actions/get-branches-masking-rules.d.mts.map +1 -1
  423. package/dist/actions/get-branches-masking-rules.mjs +6 -6
  424. package/dist/actions/get-branches-masking-rules.mjs.map +1 -1
  425. package/dist/actions/get-consumption-history-projects.cjs +15 -15
  426. package/dist/actions/get-consumption-history-projects.cjs.map +1 -1
  427. package/dist/actions/get-consumption-history-projects.d.cts +43 -3
  428. package/dist/actions/get-consumption-history-projects.d.cts.map +1 -1
  429. package/dist/actions/get-consumption-history-projects.d.mts +43 -3
  430. package/dist/actions/get-consumption-history-projects.d.mts.map +1 -1
  431. package/dist/actions/get-consumption-history-projects.mjs +15 -15
  432. package/dist/actions/get-consumption-history-projects.mjs.map +1 -1
  433. package/dist/actions/get-current-user-information.cjs +1 -1
  434. package/dist/actions/get-current-user-information.cjs.map +1 -1
  435. package/dist/actions/get-current-user-information.d.cts +24 -3
  436. package/dist/actions/get-current-user-information.d.cts.map +1 -1
  437. package/dist/actions/get-current-user-information.d.mts +24 -3
  438. package/dist/actions/get-current-user-information.d.mts.map +1 -1
  439. package/dist/actions/get-current-user-information.mjs +1 -1
  440. package/dist/actions/get-current-user-information.mjs.map +1 -1
  441. package/dist/actions/get-organization-api-keys.cjs.map +1 -1
  442. package/dist/actions/get-organization-api-keys.d.cts +7 -3
  443. package/dist/actions/get-organization-api-keys.d.cts.map +1 -1
  444. package/dist/actions/get-organization-api-keys.d.mts +7 -3
  445. package/dist/actions/get-organization-api-keys.d.mts.map +1 -1
  446. package/dist/actions/get-organization-api-keys.mjs.map +1 -1
  447. package/dist/actions/get-project-branch-role.cjs +16 -16
  448. package/dist/actions/get-project-branch-role.cjs.map +1 -1
  449. package/dist/actions/get-project-branch-role.d.cts +32 -3
  450. package/dist/actions/get-project-branch-role.d.cts.map +1 -1
  451. package/dist/actions/get-project-branch-role.d.mts +32 -3
  452. package/dist/actions/get-project-branch-role.d.mts.map +1 -1
  453. package/dist/actions/get-project-branch-role.mjs +16 -16
  454. package/dist/actions/get-project-branch-role.mjs.map +1 -1
  455. package/dist/actions/get-project-branch-schema-comparison.cjs +1 -1
  456. package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -1
  457. package/dist/actions/get-project-branch-schema-comparison.d.cts +23 -3
  458. package/dist/actions/get-project-branch-schema-comparison.d.cts.map +1 -1
  459. package/dist/actions/get-project-branch-schema-comparison.d.mts +23 -3
  460. package/dist/actions/get-project-branch-schema-comparison.d.mts.map +1 -1
  461. package/dist/actions/get-project-branch-schema-comparison.mjs +1 -1
  462. package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -1
  463. package/dist/actions/get-project-branches.cjs +10 -10
  464. package/dist/actions/get-project-branches.cjs.map +1 -1
  465. package/dist/actions/get-project-branches.d.cts +49 -3
  466. package/dist/actions/get-project-branches.d.cts.map +1 -1
  467. package/dist/actions/get-project-branches.d.mts +49 -3
  468. package/dist/actions/get-project-branches.d.mts.map +1 -1
  469. package/dist/actions/get-project-branches.mjs +10 -10
  470. package/dist/actions/get-project-branches.mjs.map +1 -1
  471. package/dist/actions/get-project-connection-uri.cjs +1 -1
  472. package/dist/actions/get-project-connection-uri.cjs.map +1 -1
  473. package/dist/actions/get-project-connection-uri.d.cts +19 -3
  474. package/dist/actions/get-project-connection-uri.d.cts.map +1 -1
  475. package/dist/actions/get-project-connection-uri.d.mts +19 -3
  476. package/dist/actions/get-project-connection-uri.d.mts.map +1 -1
  477. package/dist/actions/get-project-connection-uri.mjs +1 -1
  478. package/dist/actions/get-project-connection-uri.mjs.map +1 -1
  479. package/dist/actions/get-project-endpoint-information.cjs +4 -4
  480. package/dist/actions/get-project-endpoint-information.cjs.map +1 -1
  481. package/dist/actions/get-project-endpoint-information.d.cts +31 -3
  482. package/dist/actions/get-project-endpoint-information.d.cts.map +1 -1
  483. package/dist/actions/get-project-endpoint-information.d.mts +31 -3
  484. package/dist/actions/get-project-endpoint-information.d.mts.map +1 -1
  485. package/dist/actions/get-project-endpoint-information.mjs +4 -4
  486. package/dist/actions/get-project-endpoint-information.mjs.map +1 -1
  487. package/dist/actions/get-project-operation-by-id.cjs +10 -10
  488. package/dist/actions/get-project-operation-by-id.cjs.map +1 -1
  489. package/dist/actions/get-project-operation-by-id.d.cts +24 -3
  490. package/dist/actions/get-project-operation-by-id.d.cts.map +1 -1
  491. package/dist/actions/get-project-operation-by-id.d.mts +24 -3
  492. package/dist/actions/get-project-operation-by-id.d.mts.map +1 -1
  493. package/dist/actions/get-project-operation-by-id.mjs +10 -10
  494. package/dist/actions/get-project-operation-by-id.mjs.map +1 -1
  495. package/dist/actions/get-schema-for-project-branch.cjs +1 -1
  496. package/dist/actions/get-schema-for-project-branch.cjs.map +1 -1
  497. package/dist/actions/get-schema-for-project-branch.d.cts +17 -3
  498. package/dist/actions/get-schema-for-project-branch.d.cts.map +1 -1
  499. package/dist/actions/get-schema-for-project-branch.d.mts +17 -3
  500. package/dist/actions/get-schema-for-project-branch.d.mts.map +1 -1
  501. package/dist/actions/get-schema-for-project-branch.mjs +1 -1
  502. package/dist/actions/get-schema-for-project-branch.mjs.map +1 -1
  503. package/dist/actions/get-user-organizations.cjs +2 -2
  504. package/dist/actions/get-user-organizations.cjs.map +1 -1
  505. package/dist/actions/get-user-organizations.d.cts +13 -3
  506. package/dist/actions/get-user-organizations.d.cts.map +1 -1
  507. package/dist/actions/get-user-organizations.d.mts +13 -3
  508. package/dist/actions/get-user-organizations.d.mts.map +1 -1
  509. package/dist/actions/get-user-organizations.mjs +2 -2
  510. package/dist/actions/get-user-organizations.mjs.map +1 -1
  511. package/dist/actions/get-vpc-region-endpoints.cjs +5 -5
  512. package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -1
  513. package/dist/actions/get-vpc-region-endpoints.d.cts +20 -3
  514. package/dist/actions/get-vpc-region-endpoints.d.cts.map +1 -1
  515. package/dist/actions/get-vpc-region-endpoints.d.mts +20 -3
  516. package/dist/actions/get-vpc-region-endpoints.d.mts.map +1 -1
  517. package/dist/actions/get-vpc-region-endpoints.mjs +5 -5
  518. package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -1
  519. package/dist/actions/list-api-keys.cjs.map +1 -1
  520. package/dist/actions/list-api-keys.d.cts +3 -3
  521. package/dist/actions/list-api-keys.d.cts.map +1 -1
  522. package/dist/actions/list-api-keys.d.mts +3 -3
  523. package/dist/actions/list-api-keys.d.mts.map +1 -1
  524. package/dist/actions/list-api-keys.mjs.map +1 -1
  525. package/dist/actions/list-auth-domains.cjs +4 -4
  526. package/dist/actions/list-auth-domains.cjs.map +1 -1
  527. package/dist/actions/list-auth-domains.d.cts +14 -3
  528. package/dist/actions/list-auth-domains.d.cts.map +1 -1
  529. package/dist/actions/list-auth-domains.d.mts +14 -3
  530. package/dist/actions/list-auth-domains.d.mts.map +1 -1
  531. package/dist/actions/list-auth-domains.mjs +4 -4
  532. package/dist/actions/list-auth-domains.mjs.map +1 -1
  533. package/dist/actions/list-auth-oauth-providers2.cjs +4 -4
  534. package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -1
  535. package/dist/actions/list-auth-oauth-providers2.d.cts +16 -3
  536. package/dist/actions/list-auth-oauth-providers2.d.cts.map +1 -1
  537. package/dist/actions/list-auth-oauth-providers2.d.mts +16 -3
  538. package/dist/actions/list-auth-oauth-providers2.d.mts.map +1 -1
  539. package/dist/actions/list-auth-oauth-providers2.mjs +4 -4
  540. package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -1
  541. package/dist/actions/list-projects-snapshots.cjs +5 -5
  542. package/dist/actions/list-projects-snapshots.cjs.map +1 -1
  543. package/dist/actions/list-projects-snapshots.d.cts +18 -3
  544. package/dist/actions/list-projects-snapshots.d.cts.map +1 -1
  545. package/dist/actions/list-projects-snapshots.d.mts +18 -3
  546. package/dist/actions/list-projects-snapshots.d.mts.map +1 -1
  547. package/dist/actions/list-projects-snapshots.mjs +5 -5
  548. package/dist/actions/list-projects-snapshots.mjs.map +1 -1
  549. package/dist/actions/list-shared-projects.cjs +5 -5
  550. package/dist/actions/list-shared-projects.cjs.map +1 -1
  551. package/dist/actions/list-shared-projects.d.cts +30 -3
  552. package/dist/actions/list-shared-projects.d.cts.map +1 -1
  553. package/dist/actions/list-shared-projects.d.mts +30 -3
  554. package/dist/actions/list-shared-projects.d.mts.map +1 -1
  555. package/dist/actions/list-shared-projects.mjs +5 -5
  556. package/dist/actions/list-shared-projects.mjs.map +1 -1
  557. package/dist/actions/list-vpc-vpc-endpoints.cjs +5 -5
  558. package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -1
  559. package/dist/actions/list-vpc-vpc-endpoints.d.cts +13 -3
  560. package/dist/actions/list-vpc-vpc-endpoints.d.cts.map +1 -1
  561. package/dist/actions/list-vpc-vpc-endpoints.d.mts +13 -3
  562. package/dist/actions/list-vpc-vpc-endpoints.d.mts.map +1 -1
  563. package/dist/actions/list-vpc-vpc-endpoints.mjs +5 -5
  564. package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -1
  565. package/dist/actions/modify-branch-details-in-project.cjs +30 -30
  566. package/dist/actions/modify-branch-details-in-project.cjs.map +1 -1
  567. package/dist/actions/modify-branch-details-in-project.d.cts +74 -3
  568. package/dist/actions/modify-branch-details-in-project.d.cts.map +1 -1
  569. package/dist/actions/modify-branch-details-in-project.d.mts +74 -3
  570. package/dist/actions/modify-branch-details-in-project.d.mts.map +1 -1
  571. package/dist/actions/modify-branch-details-in-project.mjs +30 -30
  572. package/dist/actions/modify-branch-details-in-project.mjs.map +1 -1
  573. package/dist/actions/patch-branch-database-information.cjs +18 -18
  574. package/dist/actions/patch-branch-database-information.cjs.map +1 -1
  575. package/dist/actions/patch-branch-database-information.d.cts +38 -3
  576. package/dist/actions/patch-branch-database-information.d.cts.map +1 -1
  577. package/dist/actions/patch-branch-database-information.d.mts +38 -3
  578. package/dist/actions/patch-branch-database-information.d.mts.map +1 -1
  579. package/dist/actions/patch-branch-database-information.mjs +18 -18
  580. package/dist/actions/patch-branch-database-information.mjs.map +1 -1
  581. package/dist/actions/reset-role-password-for-branch.cjs +4 -4
  582. package/dist/actions/reset-role-password-for-branch.cjs.map +1 -1
  583. package/dist/actions/reset-role-password-for-branch.d.cts +35 -3
  584. package/dist/actions/reset-role-password-for-branch.d.cts.map +1 -1
  585. package/dist/actions/reset-role-password-for-branch.d.mts +35 -3
  586. package/dist/actions/reset-role-password-for-branch.d.mts.map +1 -1
  587. package/dist/actions/reset-role-password-for-branch.mjs +4 -4
  588. package/dist/actions/reset-role-password-for-branch.mjs.map +1 -1
  589. package/dist/actions/restart-project-endpoint.cjs +20 -20
  590. package/dist/actions/restart-project-endpoint.cjs.map +1 -1
  591. package/dist/actions/restart-project-endpoint.d.cts +40 -3
  592. package/dist/actions/restart-project-endpoint.d.cts.map +1 -1
  593. package/dist/actions/restart-project-endpoint.d.mts +40 -3
  594. package/dist/actions/restart-project-endpoint.d.mts.map +1 -1
  595. package/dist/actions/restart-project-endpoint.mjs +20 -20
  596. package/dist/actions/restart-project-endpoint.mjs.map +1 -1
  597. package/dist/actions/restore-project-branch.cjs +19 -19
  598. package/dist/actions/restore-project-branch.cjs.map +1 -1
  599. package/dist/actions/restore-project-branch.d.cts +55 -3
  600. package/dist/actions/restore-project-branch.d.cts.map +1 -1
  601. package/dist/actions/restore-project-branch.d.mts +55 -3
  602. package/dist/actions/restore-project-branch.d.mts.map +1 -1
  603. package/dist/actions/restore-project-branch.mjs +19 -19
  604. package/dist/actions/restore-project-branch.mjs.map +1 -1
  605. package/dist/actions/restore-snapshot.cjs +5 -5
  606. package/dist/actions/restore-snapshot.cjs.map +1 -1
  607. package/dist/actions/restore-snapshot.d.cts +64 -3
  608. package/dist/actions/restore-snapshot.d.cts.map +1 -1
  609. package/dist/actions/restore-snapshot.d.mts +64 -3
  610. package/dist/actions/restore-snapshot.d.mts.map +1 -1
  611. package/dist/actions/restore-snapshot.mjs +5 -5
  612. package/dist/actions/restore-snapshot.mjs.map +1 -1
  613. package/dist/actions/retrieve-account-consumption-history.cjs +10 -10
  614. package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -1
  615. package/dist/actions/retrieve-account-consumption-history.d.cts +36 -3
  616. package/dist/actions/retrieve-account-consumption-history.d.cts.map +1 -1
  617. package/dist/actions/retrieve-account-consumption-history.d.mts +36 -3
  618. package/dist/actions/retrieve-account-consumption-history.d.mts.map +1 -1
  619. package/dist/actions/retrieve-account-consumption-history.mjs +10 -10
  620. package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -1
  621. package/dist/actions/retrieve-all-regions.cjs +7 -7
  622. package/dist/actions/retrieve-all-regions.cjs.map +1 -1
  623. package/dist/actions/retrieve-all-regions.d.cts +11 -3
  624. package/dist/actions/retrieve-all-regions.d.cts.map +1 -1
  625. package/dist/actions/retrieve-all-regions.d.mts +11 -3
  626. package/dist/actions/retrieve-all-regions.d.mts.map +1 -1
  627. package/dist/actions/retrieve-all-regions.mjs +7 -7
  628. package/dist/actions/retrieve-all-regions.mjs.map +1 -1
  629. package/dist/actions/retrieve-branch-database-details.cjs +5 -5
  630. package/dist/actions/retrieve-branch-database-details.cjs.map +1 -1
  631. package/dist/actions/retrieve-branch-database-details.d.cts +20 -3
  632. package/dist/actions/retrieve-branch-database-details.d.cts.map +1 -1
  633. package/dist/actions/retrieve-branch-database-details.d.mts +20 -3
  634. package/dist/actions/retrieve-branch-database-details.d.mts.map +1 -1
  635. package/dist/actions/retrieve-branch-database-details.mjs +5 -5
  636. package/dist/actions/retrieve-branch-database-details.mjs.map +1 -1
  637. package/dist/actions/retrieve-branch-endpoints.cjs +7 -7
  638. package/dist/actions/retrieve-branch-endpoints.cjs.map +1 -1
  639. package/dist/actions/retrieve-branch-endpoints.d.cts +33 -3
  640. package/dist/actions/retrieve-branch-endpoints.d.cts.map +1 -1
  641. package/dist/actions/retrieve-branch-endpoints.d.mts +33 -3
  642. package/dist/actions/retrieve-branch-endpoints.d.mts.map +1 -1
  643. package/dist/actions/retrieve-branch-endpoints.mjs +7 -7
  644. package/dist/actions/retrieve-branch-endpoints.mjs.map +1 -1
  645. package/dist/actions/retrieve-jwks-for-project.cjs +6 -6
  646. package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -1
  647. package/dist/actions/retrieve-jwks-for-project.d.cts +18 -3
  648. package/dist/actions/retrieve-jwks-for-project.d.cts.map +1 -1
  649. package/dist/actions/retrieve-jwks-for-project.d.mts +18 -3
  650. package/dist/actions/retrieve-jwks-for-project.d.mts.map +1 -1
  651. package/dist/actions/retrieve-jwks-for-project.mjs +6 -6
  652. package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -1
  653. package/dist/actions/retrieve-organization-by-id.cjs +1 -1
  654. package/dist/actions/retrieve-organization-by-id.cjs.map +1 -1
  655. package/dist/actions/retrieve-organization-by-id.d.cts +17 -3
  656. package/dist/actions/retrieve-organization-by-id.d.cts.map +1 -1
  657. package/dist/actions/retrieve-organization-by-id.d.mts +17 -3
  658. package/dist/actions/retrieve-organization-by-id.d.mts.map +1 -1
  659. package/dist/actions/retrieve-organization-by-id.mjs +1 -1
  660. package/dist/actions/retrieve-organization-by-id.mjs.map +1 -1
  661. package/dist/actions/retrieve-organization-invitations.cjs +9 -9
  662. package/dist/actions/retrieve-organization-invitations.cjs.map +1 -1
  663. package/dist/actions/retrieve-organization-invitations.d.cts +19 -3
  664. package/dist/actions/retrieve-organization-invitations.d.cts.map +1 -1
  665. package/dist/actions/retrieve-organization-invitations.d.mts +19 -3
  666. package/dist/actions/retrieve-organization-invitations.d.mts.map +1 -1
  667. package/dist/actions/retrieve-organization-invitations.mjs +9 -9
  668. package/dist/actions/retrieve-organization-invitations.mjs.map +1 -1
  669. package/dist/actions/retrieve-organization-member-info.cjs +2 -2
  670. package/dist/actions/retrieve-organization-member-info.cjs.map +1 -1
  671. package/dist/actions/retrieve-organization-member-info.d.cts +17 -3
  672. package/dist/actions/retrieve-organization-member-info.d.cts.map +1 -1
  673. package/dist/actions/retrieve-organization-member-info.d.mts +17 -3
  674. package/dist/actions/retrieve-organization-member-info.d.mts.map +1 -1
  675. package/dist/actions/retrieve-organization-member-info.mjs +2 -2
  676. package/dist/actions/retrieve-organization-member-info.mjs.map +1 -1
  677. package/dist/actions/retrieve-project-endpoint-details.cjs +5 -5
  678. package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -1
  679. package/dist/actions/retrieve-project-endpoint-details.d.cts +38 -3
  680. package/dist/actions/retrieve-project-endpoint-details.d.cts.map +1 -1
  681. package/dist/actions/retrieve-project-endpoint-details.d.mts +38 -3
  682. package/dist/actions/retrieve-project-endpoint-details.d.mts.map +1 -1
  683. package/dist/actions/retrieve-project-endpoint-details.mjs +5 -5
  684. package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -1
  685. package/dist/actions/retrieve-project-operations.cjs +11 -11
  686. package/dist/actions/retrieve-project-operations.cjs.map +1 -1
  687. package/dist/actions/retrieve-project-operations.d.cts +67 -3
  688. package/dist/actions/retrieve-project-operations.d.cts.map +1 -1
  689. package/dist/actions/retrieve-project-operations.d.mts +67 -3
  690. package/dist/actions/retrieve-project-operations.d.mts.map +1 -1
  691. package/dist/actions/retrieve-project-operations.mjs +11 -11
  692. package/dist/actions/retrieve-project-operations.mjs.map +1 -1
  693. package/dist/actions/retrieve-project-permissions.cjs.map +1 -1
  694. package/dist/actions/retrieve-project-permissions.d.cts +7 -3
  695. package/dist/actions/retrieve-project-permissions.d.cts.map +1 -1
  696. package/dist/actions/retrieve-project-permissions.d.mts +7 -3
  697. package/dist/actions/retrieve-project-permissions.d.mts.map +1 -1
  698. package/dist/actions/retrieve-project-permissions.mjs.map +1 -1
  699. package/dist/actions/retrieve-projects-list.cjs +28 -28
  700. package/dist/actions/retrieve-projects-list.cjs.map +1 -1
  701. package/dist/actions/retrieve-projects-list.d.cts +87 -3
  702. package/dist/actions/retrieve-projects-list.d.cts.map +1 -1
  703. package/dist/actions/retrieve-projects-list.d.mts +87 -3
  704. package/dist/actions/retrieve-projects-list.d.mts.map +1 -1
  705. package/dist/actions/retrieve-projects-list.mjs +28 -28
  706. package/dist/actions/retrieve-projects-list.mjs.map +1 -1
  707. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +4 -4
  708. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -1
  709. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +15 -3
  710. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts.map +1 -1
  711. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +15 -3
  712. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts.map +1 -1
  713. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +4 -4
  714. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -1
  715. package/dist/actions/reveal-role-password-in-branch.cjs +1 -1
  716. package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -1
  717. package/dist/actions/reveal-role-password-in-branch.d.cts +13 -3
  718. package/dist/actions/reveal-role-password-in-branch.d.cts.map +1 -1
  719. package/dist/actions/reveal-role-password-in-branch.d.mts +13 -3
  720. package/dist/actions/reveal-role-password-in-branch.d.mts.map +1 -1
  721. package/dist/actions/reveal-role-password-in-branch.mjs +1 -1
  722. package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -1
  723. package/dist/actions/send-auth-test-email.cjs +2 -2
  724. package/dist/actions/send-auth-test-email.cjs.map +1 -1
  725. package/dist/actions/send-auth-test-email.d.cts +26 -3
  726. package/dist/actions/send-auth-test-email.d.cts.map +1 -1
  727. package/dist/actions/send-auth-test-email.d.mts +26 -3
  728. package/dist/actions/send-auth-test-email.d.mts.map +1 -1
  729. package/dist/actions/send-auth-test-email.mjs +2 -2
  730. package/dist/actions/send-auth-test-email.mjs.map +1 -1
  731. package/dist/actions/send-organization-invitations.cjs +9 -9
  732. package/dist/actions/send-organization-invitations.cjs.map +1 -1
  733. package/dist/actions/send-organization-invitations.d.cts +28 -3
  734. package/dist/actions/send-organization-invitations.d.cts.map +1 -1
  735. package/dist/actions/send-organization-invitations.d.mts +28 -3
  736. package/dist/actions/send-organization-invitations.d.mts.map +1 -1
  737. package/dist/actions/send-organization-invitations.mjs +9 -9
  738. package/dist/actions/send-organization-invitations.mjs.map +1 -1
  739. package/dist/actions/set-branch-as-default.cjs +21 -21
  740. package/dist/actions/set-branch-as-default.cjs.map +1 -1
  741. package/dist/actions/set-branch-as-default.d.cts +48 -3
  742. package/dist/actions/set-branch-as-default.d.cts.map +1 -1
  743. package/dist/actions/set-branch-as-default.d.mts +48 -3
  744. package/dist/actions/set-branch-as-default.d.mts.map +1 -1
  745. package/dist/actions/set-branch-as-default.mjs +21 -21
  746. package/dist/actions/set-branch-as-default.mjs.map +1 -1
  747. package/dist/actions/start-branch-anonymization.cjs +7 -7
  748. package/dist/actions/start-branch-anonymization.cjs.map +1 -1
  749. package/dist/actions/start-branch-anonymization.d.cts +24 -3
  750. package/dist/actions/start-branch-anonymization.d.cts.map +1 -1
  751. package/dist/actions/start-branch-anonymization.d.mts +24 -3
  752. package/dist/actions/start-branch-anonymization.d.mts.map +1 -1
  753. package/dist/actions/start-branch-anonymization.mjs +7 -7
  754. package/dist/actions/start-branch-anonymization.mjs.map +1 -1
  755. package/dist/actions/start-endpoint-for-project.cjs +9 -9
  756. package/dist/actions/start-endpoint-for-project.cjs.map +1 -1
  757. package/dist/actions/start-endpoint-for-project.d.cts +50 -3
  758. package/dist/actions/start-endpoint-for-project.d.cts.map +1 -1
  759. package/dist/actions/start-endpoint-for-project.d.mts +50 -3
  760. package/dist/actions/start-endpoint-for-project.d.mts.map +1 -1
  761. package/dist/actions/start-endpoint-for-project.mjs +9 -9
  762. package/dist/actions/start-endpoint-for-project.mjs.map +1 -1
  763. package/dist/actions/suspend-project-endpoint-by-id.cjs +20 -20
  764. package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -1
  765. package/dist/actions/suspend-project-endpoint-by-id.d.cts +48 -3
  766. package/dist/actions/suspend-project-endpoint-by-id.d.cts.map +1 -1
  767. package/dist/actions/suspend-project-endpoint-by-id.d.mts +48 -3
  768. package/dist/actions/suspend-project-endpoint-by-id.d.mts.map +1 -1
  769. package/dist/actions/suspend-project-endpoint-by-id.mjs +20 -20
  770. package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -1
  771. package/dist/actions/transfer-projects-between-organizations.cjs +1 -1
  772. package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -1
  773. package/dist/actions/transfer-projects-between-organizations.d.cts +11 -3
  774. package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -1
  775. package/dist/actions/transfer-projects-between-organizations.d.mts +11 -3
  776. package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -1
  777. package/dist/actions/transfer-projects-between-organizations.mjs +1 -1
  778. package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -1
  779. package/dist/actions/transfer-user-projects-to-organization.cjs +4 -4
  780. package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -1
  781. package/dist/actions/transfer-user-projects-to-organization.d.cts +19 -3
  782. package/dist/actions/transfer-user-projects-to-organization.d.cts.map +1 -1
  783. package/dist/actions/transfer-user-projects-to-organization.d.mts +19 -3
  784. package/dist/actions/transfer-user-projects-to-organization.d.mts.map +1 -1
  785. package/dist/actions/transfer-user-projects-to-organization.mjs +4 -4
  786. package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -1
  787. package/dist/actions/update-auth-allow-localhost.cjs +1 -1
  788. package/dist/actions/update-auth-allow-localhost.cjs.map +1 -1
  789. package/dist/actions/update-auth-allow-localhost.d.cts +13 -3
  790. package/dist/actions/update-auth-allow-localhost.d.cts.map +1 -1
  791. package/dist/actions/update-auth-allow-localhost.d.mts +13 -3
  792. package/dist/actions/update-auth-allow-localhost.d.mts.map +1 -1
  793. package/dist/actions/update-auth-allow-localhost.mjs +1 -1
  794. package/dist/actions/update-auth-allow-localhost.mjs.map +1 -1
  795. package/dist/actions/update-auth-email-provider.cjs +1 -1
  796. package/dist/actions/update-auth-email-provider.cjs.map +1 -1
  797. package/dist/actions/update-auth-email-provider.d.cts +28 -3
  798. package/dist/actions/update-auth-email-provider.d.cts.map +1 -1
  799. package/dist/actions/update-auth-email-provider.d.mts +28 -3
  800. package/dist/actions/update-auth-email-provider.d.mts.map +1 -1
  801. package/dist/actions/update-auth-email-provider.mjs +1 -1
  802. package/dist/actions/update-auth-email-provider.mjs.map +1 -1
  803. package/dist/actions/update-branches-data-api.cjs +1 -1
  804. package/dist/actions/update-branches-data-api.cjs.map +1 -1
  805. package/dist/actions/update-branches-data-api.d.cts +31 -3
  806. package/dist/actions/update-branches-data-api.d.cts.map +1 -1
  807. package/dist/actions/update-branches-data-api.d.mts +31 -3
  808. package/dist/actions/update-branches-data-api.d.mts.map +1 -1
  809. package/dist/actions/update-branches-data-api.mjs +1 -1
  810. package/dist/actions/update-branches-data-api.mjs.map +1 -1
  811. package/dist/actions/update-branches-masking-rules.cjs +7 -7
  812. package/dist/actions/update-branches-masking-rules.cjs.map +1 -1
  813. package/dist/actions/update-branches-masking-rules.d.cts +35 -3
  814. package/dist/actions/update-branches-masking-rules.d.cts.map +1 -1
  815. package/dist/actions/update-branches-masking-rules.d.mts +35 -3
  816. package/dist/actions/update-branches-masking-rules.d.mts.map +1 -1
  817. package/dist/actions/update-branches-masking-rules.mjs +7 -7
  818. package/dist/actions/update-branches-masking-rules.mjs.map +1 -1
  819. package/dist/actions/update-organization-member-role.cjs +6 -6
  820. package/dist/actions/update-organization-member-role.cjs.map +1 -1
  821. package/dist/actions/update-organization-member-role.d.cts +20 -3
  822. package/dist/actions/update-organization-member-role.d.cts.map +1 -1
  823. package/dist/actions/update-organization-member-role.d.mts +20 -3
  824. package/dist/actions/update-organization-member-role.d.mts.map +1 -1
  825. package/dist/actions/update-organization-member-role.mjs +6 -6
  826. package/dist/actions/update-organization-member-role.mjs.map +1 -1
  827. package/dist/actions/update-project-compute-endpoint-settings.cjs +33 -33
  828. package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -1
  829. package/dist/actions/update-project-compute-endpoint-settings.d.cts +73 -3
  830. package/dist/actions/update-project-compute-endpoint-settings.d.cts.map +1 -1
  831. package/dist/actions/update-project-compute-endpoint-settings.d.mts +73 -3
  832. package/dist/actions/update-project-compute-endpoint-settings.d.mts.map +1 -1
  833. package/dist/actions/update-project-compute-endpoint-settings.mjs +33 -33
  834. package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -1
  835. package/dist/actions/update-project-settings-by-id.cjs +12 -12
  836. package/dist/actions/update-project-settings-by-id.cjs.map +1 -1
  837. package/dist/actions/update-project-settings-by-id.d.cts +108 -3
  838. package/dist/actions/update-project-settings-by-id.d.cts.map +1 -1
  839. package/dist/actions/update-project-settings-by-id.d.mts +108 -3
  840. package/dist/actions/update-project-settings-by-id.d.mts.map +1 -1
  841. package/dist/actions/update-project-settings-by-id.mjs +12 -12
  842. package/dist/actions/update-project-settings-by-id.mjs.map +1 -1
  843. package/dist/actions/update-projects-snapshots.cjs +5 -5
  844. package/dist/actions/update-projects-snapshots.cjs.map +1 -1
  845. package/dist/actions/update-projects-snapshots.d.cts +22 -3
  846. package/dist/actions/update-projects-snapshots.d.cts.map +1 -1
  847. package/dist/actions/update-projects-snapshots.d.mts +22 -3
  848. package/dist/actions/update-projects-snapshots.d.mts.map +1 -1
  849. package/dist/actions/update-projects-snapshots.mjs +5 -5
  850. package/dist/actions/update-projects-snapshots.mjs.map +1 -1
  851. package/dist/catalog.cjs +7 -1
  852. package/dist/catalog.cjs.map +1 -1
  853. package/dist/catalog.d.cts +8 -0
  854. package/dist/catalog.d.mts +8 -0
  855. package/dist/catalog.mjs +7 -1
  856. package/dist/catalog.mjs.map +1 -1
  857. package/package.json +2 -2
@@ -6,31 +6,31 @@ const NeonRestartProjectEndpointInput = z.object({
6
6
  endpoint_id: z.string().describe("The Neon compute endpoint ID to restart (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from list project endpoints API.")
7
7
  }).describe("Request schema for `RestartProjectEndpoint`");
8
8
  const NeonRestartProjectEndpoint_EndpointDetailsSchema = z.object({
9
- id: z.string().describe("Endpoint ID"),
10
- host: z.string().describe("Endpoint host URL"),
11
- type: z.string().describe("Endpoint type (e.g., 'read_write')"),
9
+ id: z.string().describe("Endpoint ID").nullable(),
10
+ host: z.string().describe("Endpoint host URL").nullable(),
11
+ type: z.string().describe("Endpoint type (e.g., 'read_write')").nullable(),
12
12
  disabled: z.boolean().default(false).describe("Whether endpoint is disabled").nullable().optional(),
13
- branch_id: z.string().describe("Branch ID"),
14
- region_id: z.string().describe("AWS region (e.g., 'aws-us-west-2')"),
15
- created_at: z.string().describe("Endpoint creation timestamp"),
16
- project_id: z.string().describe("Project ID"),
17
- updated_at: z.string().describe("Endpoint last update timestamp"),
13
+ branch_id: z.string().describe("Branch ID").nullable(),
14
+ region_id: z.string().describe("AWS region (e.g., 'aws-us-west-2')").nullable(),
15
+ created_at: z.string().describe("Endpoint creation timestamp").nullable(),
16
+ project_id: z.string().describe("Project ID").nullable(),
17
+ updated_at: z.string().describe("Endpoint last update timestamp").nullable(),
18
18
  pooler_mode: z.string().default("transaction").describe("Connection pooler mode").nullable().optional(),
19
- current_state: z.string().describe("Current endpoint state (e.g., 'active', 'idle')"),
19
+ current_state: z.string().describe("Current endpoint state (e.g., 'active', 'idle')").nullable(),
20
20
  pending_state: z.string().describe("Pending state during transitions").nullable().optional(),
21
21
  pooler_enabled: z.boolean().default(false).describe("Whether connection pooler is enabled").nullable().optional(),
22
- autoscaling_limit_max_cu: z.number().describe("Maximum compute units for autoscaling"),
23
- autoscaling_limit_min_cu: z.number().describe("Minimum compute units for autoscaling")
22
+ autoscaling_limit_max_cu: z.number().describe("Maximum compute units for autoscaling").nullable(),
23
+ autoscaling_limit_min_cu: z.number().describe("Minimum compute units for autoscaling").nullable()
24
24
  }).passthrough().describe("Schema for endpoint details returned after restart.");
25
25
  const NeonRestartProjectEndpoint_EndpointOperationSchema = z.object({
26
- id: z.string().describe("Unique operation ID"),
27
- action: z.string().describe("Operation action type (e.g., 'suspend_compute', 'start_compute')"),
28
- status: z.string().describe("Operation status (e.g., 'running', 'scheduling', 'finished')"),
29
- branch_id: z.string().describe("Branch ID"),
30
- created_at: z.string().describe("Operation creation timestamp"),
31
- project_id: z.string().describe("Project ID"),
32
- updated_at: z.string().describe("Operation last update timestamp"),
33
- endpoint_id: z.string().describe("Endpoint ID"),
26
+ id: z.string().describe("Unique operation ID").nullable(),
27
+ action: z.string().describe("Operation action type (e.g., 'suspend_compute', 'start_compute')").nullable(),
28
+ status: z.string().describe("Operation status (e.g., 'running', 'scheduling', 'finished')").nullable(),
29
+ branch_id: z.string().describe("Branch ID").nullable(),
30
+ created_at: z.string().describe("Operation creation timestamp").nullable(),
31
+ project_id: z.string().describe("Project ID").nullable(),
32
+ updated_at: z.string().describe("Operation last update timestamp").nullable(),
33
+ endpoint_id: z.string().describe("Endpoint ID").nullable(),
34
34
  failures_count: z.number().int().default(0).describe("Number of failures").nullable().optional()
35
35
  }).passthrough().describe("Schema for an operation triggered by the restart.");
36
36
  const NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema = z.object({
@@ -42,7 +42,7 @@ const neonRestartProjectEndpoint = action("NEON_RESTART_PROJECT_ENDPOINT", {
42
42
  name: "Restart project endpoint",
43
43
  description: "Restarts a Neon compute endpoint (Postgres instance) within a project. The restart operation suspends and then starts the compute endpoint, which is useful for: - Applying configuration changes - Clearing cached data or connections - Troubleshooting connection or performance issues - Recovering from error states The operation triggers two sequential actions: 'suspend_compute' followed by 'start_compute'. During restart, the endpoint will be briefly unavailable. The response includes the updated endpoint details and the operations triggered. Note: If the endpoint is in a 'locked' state (HTTP 423) due to an ongoing operation, wait for it to complete before retrying. If the endpoint is 'idle', it will be started directly without suspension.",
44
44
  input: NeonRestartProjectEndpointInput,
45
- output: z.object({ data: NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema.nullable() }).describe("Response schema for `RestartProjectEndpoint`")
45
+ output: z.object({ data: NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema.nullable() }).passthrough().describe("Response schema for `RestartProjectEndpoint`")
46
46
  });
47
47
  //#endregion
48
48
  export { neonRestartProjectEndpoint };
@@ -1 +1 @@
1
- {"version":3,"file":"restart-project-endpoint.mjs","names":[],"sources":["../../src/actions/restart-project-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestartProjectEndpointInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271'). Can be obtained from list projects API.\"),\n endpoint_id: z.string().describe(\"The Neon compute endpoint ID to restart (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from list project endpoints API.\"),\n}).describe(\"Request schema for `RestartProjectEndpoint`\");\nconst NeonRestartProjectEndpoint_EndpointDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Endpoint ID\"),\n host: z.string().describe(\"Endpoint host URL\"),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write')\"),\n disabled: z.boolean().default(false).describe(\"Whether endpoint is disabled\").nullable().optional(),\n branch_id: z.string().describe(\"Branch ID\"),\n region_id: z.string().describe(\"AWS region (e.g., 'aws-us-west-2')\"),\n created_at: z.string().describe(\"Endpoint creation timestamp\"),\n project_id: z.string().describe(\"Project ID\"),\n updated_at: z.string().describe(\"Endpoint last update timestamp\"),\n pooler_mode: z.string().default(\"transaction\").describe(\"Connection pooler mode\").nullable().optional(),\n current_state: z.string().describe(\"Current endpoint state (e.g., 'active', 'idle')\"),\n pending_state: z.string().describe(\"Pending state during transitions\").nullable().optional(),\n pooler_enabled: z.boolean().default(false).describe(\"Whether connection pooler is enabled\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling\"),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling\"),\n}).passthrough().describe(\"Schema for endpoint details returned after restart.\");\nconst NeonRestartProjectEndpoint_EndpointOperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique operation ID\"),\n action: z.string().describe(\"Operation action type (e.g., 'suspend_compute', 'start_compute')\"),\n status: z.string().describe(\"Operation status (e.g., 'running', 'scheduling', 'finished')\"),\n branch_id: z.string().describe(\"Branch ID\"),\n created_at: z.string().describe(\"Operation creation timestamp\"),\n project_id: z.string().describe(\"Project ID\"),\n updated_at: z.string().describe(\"Operation last update timestamp\"),\n endpoint_id: z.string().describe(\"Endpoint ID\"),\n failures_count: z.number().int().default(0).describe(\"Number of failures\").nullable().optional(),\n}).passthrough().describe(\"Schema for an operation triggered by the restart.\");\nconst NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema: z.ZodTypeAny = z.object({\n endpoint: NeonRestartProjectEndpoint_EndpointDetailsSchema.nullable(),\n operations: z.array(NeonRestartProjectEndpoint_EndpointOperationSchema).describe(\"List of operations triggered by the restart (typically 'suspend_compute' followed by 'start_compute')\").nullable().optional(),\n}).passthrough().describe(\"Response data for restart endpoint operation.\");\nexport const NeonRestartProjectEndpointOutput: z.ZodTypeAny = z.object({\n data: NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema.nullable(),\n}).describe(\"Response schema for `RestartProjectEndpoint`\");\n\nexport const neonRestartProjectEndpoint = action(\"NEON_RESTART_PROJECT_ENDPOINT\", {\n slug: \"neon-restart-project-endpoint\",\n name: \"Restart project endpoint\",\n description: \"Restarts a Neon compute endpoint (Postgres instance) within a project. The restart operation suspends and then starts the compute endpoint, which is useful for: - Applying configuration changes - Clearing cached data or connections - Troubleshooting connection or performance issues - Recovering from error states The operation triggers two sequential actions: 'suspend_compute' followed by 'start_compute'. During restart, the endpoint will be briefly unavailable. The response includes the updated endpoint details and the operations triggered. Note: If the endpoint is in a 'locked' state (HTTP 423) due to an ongoing operation, wait for it to complete before retrying. If the endpoint is 'idle', it will be started directly without suspension.\",\n input: NeonRestartProjectEndpointInput,\n output: NeonRestartProjectEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACpK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACpF,eAAe,EAAE,OAAO,CAAC,CAAC,S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N,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,MAAM,oEAAoE,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"restart-project-endpoint.mjs","names":[],"sources":["../../src/actions/restart-project-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestartProjectEndpointInput = z.object({\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271'). Can be obtained from list projects API.\"),\n endpoint_id: z.string().describe(\"The Neon compute endpoint ID to restart (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from list project endpoints API.\"),\n}).describe(\"Request schema for `RestartProjectEndpoint`\");\nconst NeonRestartProjectEndpoint_EndpointDetailsSchema = z.object({\n id: z.string().describe(\"Endpoint ID\").nullable(),\n host: z.string().describe(\"Endpoint host URL\").nullable(),\n type: z.string().describe(\"Endpoint type (e.g., 'read_write')\").nullable(),\n disabled: z.boolean().default(false).describe(\"Whether endpoint is disabled\").nullable().optional(),\n branch_id: z.string().describe(\"Branch ID\").nullable(),\n region_id: z.string().describe(\"AWS region (e.g., 'aws-us-west-2')\").nullable(),\n created_at: z.string().describe(\"Endpoint creation timestamp\").nullable(),\n project_id: z.string().describe(\"Project ID\").nullable(),\n updated_at: z.string().describe(\"Endpoint last update timestamp\").nullable(),\n pooler_mode: z.string().default(\"transaction\").describe(\"Connection pooler mode\").nullable().optional(),\n current_state: z.string().describe(\"Current endpoint state (e.g., 'active', 'idle')\").nullable(),\n pending_state: z.string().describe(\"Pending state during transitions\").nullable().optional(),\n pooler_enabled: z.boolean().default(false).describe(\"Whether connection pooler is enabled\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"Schema for endpoint details returned after restart.\");\nconst NeonRestartProjectEndpoint_EndpointOperationSchema = z.object({\n id: z.string().describe(\"Unique operation ID\").nullable(),\n action: z.string().describe(\"Operation action type (e.g., 'suspend_compute', 'start_compute')\").nullable(),\n status: z.string().describe(\"Operation status (e.g., 'running', 'scheduling', 'finished')\").nullable(),\n branch_id: z.string().describe(\"Branch ID\").nullable(),\n created_at: z.string().describe(\"Operation creation timestamp\").nullable(),\n project_id: z.string().describe(\"Project ID\").nullable(),\n updated_at: z.string().describe(\"Operation last update timestamp\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint ID\").nullable(),\n failures_count: z.number().int().default(0).describe(\"Number of failures\").nullable().optional(),\n}).passthrough().describe(\"Schema for an operation triggered by the restart.\");\nconst NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema = z.object({\n endpoint: NeonRestartProjectEndpoint_EndpointDetailsSchema.nullable(),\n operations: z.array(NeonRestartProjectEndpoint_EndpointOperationSchema).describe(\"List of operations triggered by the restart (typically 'suspend_compute' followed by 'start_compute')\").nullable().optional(),\n}).passthrough().describe(\"Response data for restart endpoint operation.\");\nexport const NeonRestartProjectEndpointOutput = z.object({\n data: NeonRestartProjectEndpoint_RestartProjectEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `RestartProjectEndpoint`\");\n\nexport const neonRestartProjectEndpoint = action(\"NEON_RESTART_PROJECT_ENDPOINT\", {\n slug: \"neon-restart-project-endpoint\",\n name: \"Restart project endpoint\",\n description: \"Restarts a Neon compute endpoint (Postgres instance) within a project. The restart operation suspends and then starts the compute endpoint, which is useful for: - Applying configuration changes - Clearing cached data or connections - Troubleshooting connection or performance issues - Recovering from error states The operation triggers two sequential actions: 'suspend_compute' followed by 'start_compute'. During restart, the endpoint will be briefly unavailable. The response includes the updated endpoint details and the operations triggered. Note: If the endpoint is in a 'locked' state (HTTP 423) due to an ongoing operation, wait for it to complete before retrying. If the endpoint is 'idle', it will be started directly without suspension.\",\n input: NeonRestartProjectEndpointInput,\n output: NeonRestartProjectEndpointOutput,\n});\n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,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,oEAAoE,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -10,20 +10,20 @@ const NeonRestoreProjectBranchInput = zod.z.object({
10
10
  preserve_under_name: zod.z.string().describe("If provided, the previous state of the branch will be saved to a new branch with this name. Required if the branch has children or if source_branch_id equals the branch id (self-restoration). All existing child branches will be moved to the newly created branch under this name.").optional()
11
11
  }).describe("Request schema for `RestoreProjectBranch`");
12
12
  const NeonRestoreProjectBranch_BranchInfoSchema = zod.z.object({
13
- id: zod.z.string().describe("The unique identifier of the branch."),
14
- name: zod.z.string().describe("The name of the branch."),
15
- "default": zod.z.boolean().describe("Whether this is the default branch."),
16
- primary: zod.z.boolean().describe("Whether this is the primary branch."),
13
+ id: zod.z.string().describe("The unique identifier of the branch.").nullable(),
14
+ name: zod.z.string().describe("The name of the branch.").nullable(),
15
+ "default": zod.z.boolean().describe("Whether this is the default branch.").nullable(),
16
+ primary: zod.z.boolean().describe("Whether this is the primary branch.").nullable(),
17
17
  parent_id: zod.z.string().describe("The parent branch ID, if any.").nullable().optional(),
18
- protected: zod.z.boolean().describe("Whether this branch is protected."),
19
- created_at: zod.z.string().describe("When the branch was created (ISO 8601 format)."),
18
+ protected: zod.z.boolean().describe("Whether this branch is protected.").nullable(),
19
+ created_at: zod.z.string().describe("When the branch was created (ISO 8601 format).").nullable(),
20
20
  parent_lsn: zod.z.string().describe("The parent branch LSN.").nullable().optional(),
21
- project_id: zod.z.string().describe("The project ID this branch belongs to."),
22
- updated_at: zod.z.string().describe("When the branch was last updated (ISO 8601 format)."),
21
+ project_id: zod.z.string().describe("The project ID this branch belongs to.").nullable(),
22
+ updated_at: zod.z.string().describe("When the branch was last updated (ISO 8601 format).").nullable(),
23
23
  init_source: zod.z.string().describe("Initialization source (e.g., 'parent-data').").nullable().optional(),
24
24
  cpu_used_sec: zod.z.number().int().describe("CPU time used in seconds.").nullable().optional(),
25
25
  logical_size: zod.z.number().int().describe("Logical size in bytes.").nullable().optional(),
26
- current_state: zod.z.string().describe("The current state of the branch (e.g., 'ready', 'resetting')."),
26
+ current_state: zod.z.string().describe("The current state of the branch (e.g., 'ready', 'resetting').").nullable(),
27
27
  last_reset_at: zod.z.string().describe("When the branch was last reset/restored.").nullable().optional(),
28
28
  pending_state: zod.z.string().describe("The pending state during transitions.").nullable().optional(),
29
29
  creation_source: zod.z.string().describe("Source of branch creation (e.g., 'console').").nullable().optional(),
@@ -33,23 +33,23 @@ const NeonRestoreProjectBranch_BranchInfoSchema = zod.z.object({
33
33
  active_time_seconds: zod.z.number().int().describe("Active time in seconds.").nullable().optional(),
34
34
  data_transfer_bytes: zod.z.number().int().describe("Data transferred in bytes.").nullable().optional(),
35
35
  compute_time_seconds: zod.z.number().int().describe("Compute time in seconds.").nullable().optional()
36
- }).describe("Branch information returned after restore operation.");
36
+ }).passthrough().describe("Branch information returned after restore operation.");
37
37
  const NeonRestoreProjectBranch_OperationInfoSchema = zod.z.object({
38
- id: zod.z.string().describe("The unique identifier of the operation."),
39
- action: zod.z.string().describe("The type of action (e.g., 'create_branch', 'suspend_compute')."),
40
- status: zod.z.string().describe("The status of the operation (e.g., 'running', 'scheduling')."),
41
- branch_id: zod.z.string().describe("The branch ID this operation affects."),
42
- created_at: zod.z.string().describe("When the operation was created."),
43
- project_id: zod.z.string().describe("The project ID this operation belongs to."),
44
- updated_at: zod.z.string().describe("When the operation was last updated."),
38
+ id: zod.z.string().describe("The unique identifier of the operation.").nullable(),
39
+ action: zod.z.string().describe("The type of action (e.g., 'create_branch', 'suspend_compute').").nullable(),
40
+ status: zod.z.string().describe("The status of the operation (e.g., 'running', 'scheduling').").nullable(),
41
+ branch_id: zod.z.string().describe("The branch ID this operation affects.").nullable(),
42
+ created_at: zod.z.string().describe("When the operation was created.").nullable(),
43
+ project_id: zod.z.string().describe("The project ID this operation belongs to.").nullable(),
44
+ updated_at: zod.z.string().describe("When the operation was last updated.").nullable(),
45
45
  endpoint_id: zod.z.string().describe("The endpoint ID if applicable.").nullable().optional(),
46
46
  failures_count: zod.z.number().int().describe("Number of operation failures.").nullable().optional(),
47
47
  total_duration_ms: zod.z.number().int().describe("Total duration in milliseconds.").nullable().optional()
48
- }).describe("Information about an operation triggered by the restore.");
48
+ }).passthrough().describe("Information about an operation triggered by the restore.");
49
49
  const NeonRestoreProjectBranchOutput = zod.z.object({
50
50
  branch: NeonRestoreProjectBranch_BranchInfoSchema.nullable().optional(),
51
51
  operations: zod.z.array(NeonRestoreProjectBranch_OperationInfoSchema).describe("List of operations triggered by the restore (e.g., create_branch, suspend_compute).").nullable().optional()
52
- }).describe("Response schema for `RestoreProjectBranch`");
52
+ }).passthrough().describe("Response schema for `RestoreProjectBranch`");
53
53
  const neonRestoreProjectBranch = require_action.action("NEON_RESTORE_PROJECT_BRANCH", {
54
54
  slug: "neon-restore-project-branch",
55
55
  name: "Restore project branch",
@@ -1 +1 @@
1
- {"version":3,"file":"restore-project-branch.cjs","names":["z","action"],"sources":["../../src/actions/restore-project-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestoreProjectBranchInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The ID of the branch to restore (the target branch that will receive the restored data).\"),\n project_id: z.string().describe(\"The Neon project ID containing the branch to restore.\"),\n source_lsn: z.string().describe(\"A Log Sequence Number (LSN) on the source branch. The branch will be restored with data from this LSN. Format example: '0/19A3328'.\").optional(),\n source_branch_id: z.string().describe(\"The branch_id of the restore source branch. If source_timestamp and source_lsn are omitted, the branch will be restored to head. If source_branch_id is equal to the branch's id (self-restoration), source_timestamp or source_lsn is required.\"),\n source_timestamp: z.string().describe(\"A timestamp identifying a point in time on the source branch. The branch will be restored with data starting from this point in time. The timestamp must be provided in ISO 8601 format; for example: '2024-02-26T12:00:00Z'.\").optional(),\n preserve_under_name: z.string().describe(\"If provided, the previous state of the branch will be saved to a new branch with this name. Required if the branch has children or if source_branch_id equals the branch id (self-restoration). All existing child branches will be moved to the newly created branch under this name.\").optional(),\n}).describe(\"Request schema for `RestoreProjectBranch`\");\nconst NeonRestoreProjectBranch_BranchInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch.\"),\n name: z.string().describe(\"The name of the branch.\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch.\"),\n primary: z.boolean().describe(\"Whether this is the primary branch.\"),\n parent_id: z.string().describe(\"The parent branch ID, if any.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether this branch is protected.\"),\n created_at: z.string().describe(\"When the branch was created (ISO 8601 format).\"),\n parent_lsn: z.string().describe(\"The parent branch LSN.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this branch belongs to.\"),\n updated_at: z.string().describe(\"When the branch was last updated (ISO 8601 format).\"),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data').\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU time used in seconds.\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical size in bytes.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch (e.g., 'ready', 'resetting').\"),\n last_reset_at: z.string().describe(\"When the branch was last reset/restored.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state during transitions.\").nullable().optional(),\n creation_source: z.string().describe(\"Source of branch creation (e.g., 'console').\").nullable().optional(),\n parent_timestamp: z.string().describe(\"The parent branch timestamp.\").nullable().optional(),\n state_changed_at: z.string().describe(\"When the state last changed (ISO 8601 format).\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Written data in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).describe(\"Branch information returned after restore operation.\");\nconst NeonRestoreProjectBranch_OperationInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the operation.\"),\n action: z.string().describe(\"The type of action (e.g., 'create_branch', 'suspend_compute').\"),\n status: z.string().describe(\"The status of the operation (e.g., 'running', 'scheduling').\"),\n branch_id: z.string().describe(\"The branch ID this operation affects.\"),\n created_at: z.string().describe(\"When the operation was created.\"),\n project_id: z.string().describe(\"The project ID this operation belongs to.\"),\n updated_at: z.string().describe(\"When the operation was last updated.\"),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of operation failures.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration in milliseconds.\").nullable().optional(),\n}).describe(\"Information about an operation triggered by the restore.\");\nexport const NeonRestoreProjectBranchOutput: z.ZodTypeAny = z.object({\n branch: NeonRestoreProjectBranch_BranchInfoSchema.nullable().optional(),\n operations: z.array(NeonRestoreProjectBranch_OperationInfoSchema).describe(\"List of operations triggered by the restore (e.g., create_branch, suspend_compute).\").nullable().optional(),\n}).describe(\"Response schema for `RestoreProjectBranch`\");\n\nexport const neonRestoreProjectBranch = action(\"NEON_RESTORE_PROJECT_BRANCH\", {\n slug: \"neon-restore-project-branch\",\n name: \"Restore project branch\",\n description: \"This endpoint restores a branch to a specific state or point in time. Use it to recover data, revert changes, or create new branch states based on historical data. The restoration uses either a Log Sequence Number (LSN) or timestamp from the source branch. Important: For self-restoration or branches with children, use preserve_under_name to save the current state. Note: Restoration time varies based on data volume and restoration point.\",\n input: NeonRestoreProjectBranchInput,\n output: NeonRestoreProjectBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,YAAYA,IAAAA,EAAE,OAAO,CA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SAAS,yCAAyC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-project-branch.cjs","names":["z","action"],"sources":["../../src/actions/restore-project-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestoreProjectBranchInput = z.object({\n branch_id: z.string().describe(\"The ID of the branch to restore (the target branch that will receive the restored data).\"),\n project_id: z.string().describe(\"The Neon project ID containing the branch to restore.\"),\n source_lsn: z.string().describe(\"A Log Sequence Number (LSN) on the source branch. The branch will be restored with data from this LSN. Format example: '0/19A3328'.\").optional(),\n source_branch_id: z.string().describe(\"The branch_id of the restore source branch. If source_timestamp and source_lsn are omitted, the branch will be restored to head. If source_branch_id is equal to the branch's id (self-restoration), source_timestamp or source_lsn is required.\"),\n source_timestamp: z.string().describe(\"A timestamp identifying a point in time on the source branch. The branch will be restored with data starting from this point in time. The timestamp must be provided in ISO 8601 format; for example: '2024-02-26T12:00:00Z'.\").optional(),\n preserve_under_name: z.string().describe(\"If provided, the previous state of the branch will be saved to a new branch with this name. Required if the branch has children or if source_branch_id equals the branch id (self-restoration). All existing child branches will be moved to the newly created branch under this name.\").optional(),\n}).describe(\"Request schema for `RestoreProjectBranch`\");\nconst NeonRestoreProjectBranch_BranchInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the branch.\").nullable(),\n name: z.string().describe(\"The name of the branch.\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch.\").nullable(),\n primary: z.boolean().describe(\"Whether this is the primary branch.\").nullable(),\n parent_id: z.string().describe(\"The parent branch ID, if any.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether this branch is protected.\").nullable(),\n created_at: z.string().describe(\"When the branch was created (ISO 8601 format).\").nullable(),\n parent_lsn: z.string().describe(\"The parent branch LSN.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this branch belongs to.\").nullable(),\n updated_at: z.string().describe(\"When the branch was last updated (ISO 8601 format).\").nullable(),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data').\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU time used in seconds.\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical size in bytes.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch (e.g., 'ready', 'resetting').\").nullable(),\n last_reset_at: z.string().describe(\"When the branch was last reset/restored.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state during transitions.\").nullable().optional(),\n creation_source: z.string().describe(\"Source of branch creation (e.g., 'console').\").nullable().optional(),\n parent_timestamp: z.string().describe(\"The parent branch timestamp.\").nullable().optional(),\n state_changed_at: z.string().describe(\"When the state last changed (ISO 8601 format).\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Written data in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Branch information returned after restore operation.\");\nconst NeonRestoreProjectBranch_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the operation.\").nullable(),\n action: z.string().describe(\"The type of action (e.g., 'create_branch', 'suspend_compute').\").nullable(),\n status: z.string().describe(\"The status of the operation (e.g., 'running', 'scheduling').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation affects.\").nullable(),\n created_at: z.string().describe(\"When the operation was created.\").nullable(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"When the operation was last updated.\").nullable(),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of operation failures.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by the restore.\");\nexport const NeonRestoreProjectBranchOutput = z.object({\n branch: NeonRestoreProjectBranch_BranchInfoSchema.nullable().optional(),\n operations: z.array(NeonRestoreProjectBranch_OperationInfoSchema).describe(\"List of operations triggered by the restore (e.g., create_branch, suspend_compute).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `RestoreProjectBranch`\");\n\nexport const neonRestoreProjectBranch = action(\"NEON_RESTORE_PROJECT_BRANCH\", {\n slug: \"neon-restore-project-branch\",\n name: \"Restore project branch\",\n description: \"This endpoint restores a branch to a specific state or point in time. Use it to recover data, revert changes, or create new branch states based on historical data. The restoration uses either a Log Sequence Number (LSN) or timestamp from the source branch. Important: For self-restoration or branches with children, use preserve_under_name to save the current state. Note: Restoration time varies based on data volume and restoration point.\",\n input: NeonRestoreProjectBranchInput,\n output: NeonRestoreProjectBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAChL,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CACxR,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;CAChR,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wRAAwR,CAAC,CAAC,SAAS;AAC9U,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IA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CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/restore-project-branch.d.ts
4
- declare const NeonRestoreProjectBranchInput: z.ZodTypeAny;
5
- declare const NeonRestoreProjectBranchOutput: z.ZodTypeAny;
6
- declare const neonRestoreProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonRestoreProjectBranchInput: z.ZodObject<{
5
+ branch_id: z.ZodString;
6
+ project_id: z.ZodString;
7
+ source_lsn: z.ZodOptional<z.ZodString>;
8
+ source_branch_id: z.ZodString;
9
+ source_timestamp: z.ZodOptional<z.ZodString>;
10
+ preserve_under_name: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const NeonRestoreProjectBranchOutput: z.ZodObject<{
13
+ branch: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ default: z.ZodNullable<z.ZodBoolean>;
17
+ primary: z.ZodNullable<z.ZodBoolean>;
18
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ protected: z.ZodNullable<z.ZodBoolean>;
20
+ created_at: z.ZodNullable<z.ZodString>;
21
+ parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ project_id: z.ZodNullable<z.ZodString>;
23
+ updated_at: z.ZodNullable<z.ZodString>;
24
+ init_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ cpu_used_sec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ logical_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ current_state: z.ZodNullable<z.ZodString>;
28
+ last_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ creation_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ parent_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ state_changed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ written_data_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ }, z.core.$loose>>>;
38
+ operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39
+ id: z.ZodNullable<z.ZodString>;
40
+ action: z.ZodNullable<z.ZodString>;
41
+ status: z.ZodNullable<z.ZodString>;
42
+ branch_id: z.ZodNullable<z.ZodString>;
43
+ created_at: z.ZodNullable<z.ZodString>;
44
+ project_id: z.ZodNullable<z.ZodString>;
45
+ updated_at: z.ZodNullable<z.ZodString>;
46
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ failures_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ }, z.core.$loose>>>>;
50
+ }, z.core.$loose>;
51
+ declare const neonRestoreProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
52
+ branch_id: string;
53
+ project_id: string;
54
+ source_branch_id: string;
55
+ source_lsn?: string | undefined;
56
+ source_timestamp?: string | undefined;
57
+ preserve_under_name?: string | undefined;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { neonRestoreProjectBranch };
9
61
  //# sourceMappingURL=restore-project-branch.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restore-project-branch.d.cts","names":[],"sources":["../../src/actions/restore-project-branch.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAOU;AAAA,cAsC3C,8BAAA,EAAgC,CAAA,CAAE,UAGU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"restore-project-branch.d.cts","names":[],"sources":["../../src/actions/restore-project-branch.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cA6C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/restore-project-branch.d.ts
4
- declare const NeonRestoreProjectBranchInput: z.ZodTypeAny;
5
- declare const NeonRestoreProjectBranchOutput: z.ZodTypeAny;
6
- declare const neonRestoreProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonRestoreProjectBranchInput: z.ZodObject<{
5
+ branch_id: z.ZodString;
6
+ project_id: z.ZodString;
7
+ source_lsn: z.ZodOptional<z.ZodString>;
8
+ source_branch_id: z.ZodString;
9
+ source_timestamp: z.ZodOptional<z.ZodString>;
10
+ preserve_under_name: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const NeonRestoreProjectBranchOutput: z.ZodObject<{
13
+ branch: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ default: z.ZodNullable<z.ZodBoolean>;
17
+ primary: z.ZodNullable<z.ZodBoolean>;
18
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ protected: z.ZodNullable<z.ZodBoolean>;
20
+ created_at: z.ZodNullable<z.ZodString>;
21
+ parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ project_id: z.ZodNullable<z.ZodString>;
23
+ updated_at: z.ZodNullable<z.ZodString>;
24
+ init_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ cpu_used_sec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ logical_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ current_state: z.ZodNullable<z.ZodString>;
28
+ last_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ creation_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ parent_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ state_changed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ written_data_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ }, z.core.$loose>>>;
38
+ operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39
+ id: z.ZodNullable<z.ZodString>;
40
+ action: z.ZodNullable<z.ZodString>;
41
+ status: z.ZodNullable<z.ZodString>;
42
+ branch_id: z.ZodNullable<z.ZodString>;
43
+ created_at: z.ZodNullable<z.ZodString>;
44
+ project_id: z.ZodNullable<z.ZodString>;
45
+ updated_at: z.ZodNullable<z.ZodString>;
46
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ failures_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ }, z.core.$loose>>>>;
50
+ }, z.core.$loose>;
51
+ declare const neonRestoreProjectBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
52
+ branch_id: string;
53
+ project_id: string;
54
+ source_branch_id: string;
55
+ source_lsn?: string | undefined;
56
+ source_timestamp?: string | undefined;
57
+ preserve_under_name?: string | undefined;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { neonRestoreProjectBranch };
9
61
  //# sourceMappingURL=restore-project-branch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restore-project-branch.d.mts","names":[],"sources":["../../src/actions/restore-project-branch.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAOU;AAAA,cAsC3C,8BAAA,EAAgC,CAAA,CAAE,UAGU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"restore-project-branch.d.mts","names":[],"sources":["../../src/actions/restore-project-branch.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cA6C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -10,20 +10,20 @@ const NeonRestoreProjectBranchInput = z.object({
10
10
  preserve_under_name: z.string().describe("If provided, the previous state of the branch will be saved to a new branch with this name. Required if the branch has children or if source_branch_id equals the branch id (self-restoration). All existing child branches will be moved to the newly created branch under this name.").optional()
11
11
  }).describe("Request schema for `RestoreProjectBranch`");
12
12
  const NeonRestoreProjectBranch_BranchInfoSchema = z.object({
13
- id: z.string().describe("The unique identifier of the branch."),
14
- name: z.string().describe("The name of the branch."),
15
- "default": z.boolean().describe("Whether this is the default branch."),
16
- primary: z.boolean().describe("Whether this is the primary branch."),
13
+ id: z.string().describe("The unique identifier of the branch.").nullable(),
14
+ name: z.string().describe("The name of the branch.").nullable(),
15
+ "default": z.boolean().describe("Whether this is the default branch.").nullable(),
16
+ primary: z.boolean().describe("Whether this is the primary branch.").nullable(),
17
17
  parent_id: z.string().describe("The parent branch ID, if any.").nullable().optional(),
18
- protected: z.boolean().describe("Whether this branch is protected."),
19
- created_at: z.string().describe("When the branch was created (ISO 8601 format)."),
18
+ protected: z.boolean().describe("Whether this branch is protected.").nullable(),
19
+ created_at: z.string().describe("When the branch was created (ISO 8601 format).").nullable(),
20
20
  parent_lsn: z.string().describe("The parent branch LSN.").nullable().optional(),
21
- project_id: z.string().describe("The project ID this branch belongs to."),
22
- updated_at: z.string().describe("When the branch was last updated (ISO 8601 format)."),
21
+ project_id: z.string().describe("The project ID this branch belongs to.").nullable(),
22
+ updated_at: z.string().describe("When the branch was last updated (ISO 8601 format).").nullable(),
23
23
  init_source: z.string().describe("Initialization source (e.g., 'parent-data').").nullable().optional(),
24
24
  cpu_used_sec: z.number().int().describe("CPU time used in seconds.").nullable().optional(),
25
25
  logical_size: z.number().int().describe("Logical size in bytes.").nullable().optional(),
26
- current_state: z.string().describe("The current state of the branch (e.g., 'ready', 'resetting')."),
26
+ current_state: z.string().describe("The current state of the branch (e.g., 'ready', 'resetting').").nullable(),
27
27
  last_reset_at: z.string().describe("When the branch was last reset/restored.").nullable().optional(),
28
28
  pending_state: z.string().describe("The pending state during transitions.").nullable().optional(),
29
29
  creation_source: z.string().describe("Source of branch creation (e.g., 'console').").nullable().optional(),
@@ -33,19 +33,19 @@ const NeonRestoreProjectBranch_BranchInfoSchema = z.object({
33
33
  active_time_seconds: z.number().int().describe("Active time in seconds.").nullable().optional(),
34
34
  data_transfer_bytes: z.number().int().describe("Data transferred in bytes.").nullable().optional(),
35
35
  compute_time_seconds: z.number().int().describe("Compute time in seconds.").nullable().optional()
36
- }).describe("Branch information returned after restore operation.");
36
+ }).passthrough().describe("Branch information returned after restore operation.");
37
37
  const NeonRestoreProjectBranch_OperationInfoSchema = z.object({
38
- id: z.string().describe("The unique identifier of the operation."),
39
- action: z.string().describe("The type of action (e.g., 'create_branch', 'suspend_compute')."),
40
- status: z.string().describe("The status of the operation (e.g., 'running', 'scheduling')."),
41
- branch_id: z.string().describe("The branch ID this operation affects."),
42
- created_at: z.string().describe("When the operation was created."),
43
- project_id: z.string().describe("The project ID this operation belongs to."),
44
- updated_at: z.string().describe("When the operation was last updated."),
38
+ id: z.string().describe("The unique identifier of the operation.").nullable(),
39
+ action: z.string().describe("The type of action (e.g., 'create_branch', 'suspend_compute').").nullable(),
40
+ status: z.string().describe("The status of the operation (e.g., 'running', 'scheduling').").nullable(),
41
+ branch_id: z.string().describe("The branch ID this operation affects.").nullable(),
42
+ created_at: z.string().describe("When the operation was created.").nullable(),
43
+ project_id: z.string().describe("The project ID this operation belongs to.").nullable(),
44
+ updated_at: z.string().describe("When the operation was last updated.").nullable(),
45
45
  endpoint_id: z.string().describe("The endpoint ID if applicable.").nullable().optional(),
46
46
  failures_count: z.number().int().describe("Number of operation failures.").nullable().optional(),
47
47
  total_duration_ms: z.number().int().describe("Total duration in milliseconds.").nullable().optional()
48
- }).describe("Information about an operation triggered by the restore.");
48
+ }).passthrough().describe("Information about an operation triggered by the restore.");
49
49
  const neonRestoreProjectBranch = action("NEON_RESTORE_PROJECT_BRANCH", {
50
50
  slug: "neon-restore-project-branch",
51
51
  name: "Restore project branch",
@@ -54,7 +54,7 @@ const neonRestoreProjectBranch = action("NEON_RESTORE_PROJECT_BRANCH", {
54
54
  output: z.object({
55
55
  branch: NeonRestoreProjectBranch_BranchInfoSchema.nullable().optional(),
56
56
  operations: z.array(NeonRestoreProjectBranch_OperationInfoSchema).describe("List of operations triggered by the restore (e.g., create_branch, suspend_compute).").nullable().optional()
57
- }).describe("Response schema for `RestoreProjectBranch`")
57
+ }).passthrough().describe("Response schema for `RestoreProjectBranch`")
58
58
  });
59
59
  //#endregion
60
60
  export { neonRestoreProjectBranch };
@@ -1 +1 @@
1
- {"version":3,"file":"restore-project-branch.mjs","names":[],"sources":["../../src/actions/restore-project-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestoreProjectBranchInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The ID of the branch to restore (the target branch that will receive the restored data).\"),\n project_id: z.string().describe(\"The Neon project ID containing the branch to restore.\"),\n source_lsn: z.string().describe(\"A Log Sequence Number (LSN) on the source branch. The branch will be restored with data from this LSN. Format example: '0/19A3328'.\").optional(),\n source_branch_id: z.string().describe(\"The branch_id of the restore source branch. If source_timestamp and source_lsn are omitted, the branch will be restored to head. If source_branch_id is equal to the branch's id (self-restoration), source_timestamp or source_lsn is required.\"),\n source_timestamp: z.string().describe(\"A timestamp identifying a point in time on the source branch. The branch will be restored with data starting from this point in time. The timestamp must be provided in ISO 8601 format; for example: '2024-02-26T12:00:00Z'.\").optional(),\n preserve_under_name: z.string().describe(\"If provided, the previous state of the branch will be saved to a new branch with this name. Required if the branch has children or if source_branch_id equals the branch id (self-restoration). All existing child branches will be moved to the newly created branch under this name.\").optional(),\n}).describe(\"Request schema for `RestoreProjectBranch`\");\nconst NeonRestoreProjectBranch_BranchInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch.\"),\n name: z.string().describe(\"The name of the branch.\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch.\"),\n primary: z.boolean().describe(\"Whether this is the primary branch.\"),\n parent_id: z.string().describe(\"The parent branch ID, if any.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether this branch is protected.\"),\n created_at: z.string().describe(\"When the branch was created (ISO 8601 format).\"),\n parent_lsn: z.string().describe(\"The parent branch LSN.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this branch belongs to.\"),\n updated_at: z.string().describe(\"When the branch was last updated (ISO 8601 format).\"),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data').\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU time used in seconds.\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical size in bytes.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch (e.g., 'ready', 'resetting').\"),\n last_reset_at: z.string().describe(\"When the branch was last reset/restored.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state during transitions.\").nullable().optional(),\n creation_source: z.string().describe(\"Source of branch creation (e.g., 'console').\").nullable().optional(),\n parent_timestamp: z.string().describe(\"The parent branch timestamp.\").nullable().optional(),\n state_changed_at: z.string().describe(\"When the state last changed (ISO 8601 format).\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Written data in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).describe(\"Branch information returned after restore operation.\");\nconst NeonRestoreProjectBranch_OperationInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the operation.\"),\n action: z.string().describe(\"The type of action (e.g., 'create_branch', 'suspend_compute').\"),\n status: z.string().describe(\"The status of the operation (e.g., 'running', 'scheduling').\"),\n branch_id: z.string().describe(\"The branch ID this operation affects.\"),\n created_at: z.string().describe(\"When the operation was created.\"),\n project_id: z.string().describe(\"The project ID this operation belongs to.\"),\n updated_at: z.string().describe(\"When the operation was last updated.\"),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of operation failures.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration in milliseconds.\").nullable().optional(),\n}).describe(\"Information about an operation triggered by the restore.\");\nexport const NeonRestoreProjectBranchOutput: z.ZodTypeAny = z.object({\n branch: NeonRestoreProjectBranch_BranchInfoSchema.nullable().optional(),\n operations: z.array(NeonRestoreProjectBranch_OperationInfoSchema).describe(\"List of operations triggered by the restore (e.g., create_branch, suspend_compute).\").nullable().optional(),\n}).describe(\"Response schema for `RestoreProjectBranch`\");\n\nexport const neonRestoreProjectBranch = action(\"NEON_RESTORE_PROJECT_BRANCH\", {\n slug: \"neon-restore-project-branch\",\n name: \"Restore project branch\",\n description: \"This endpoint restores a branch to a specific state or point in time. Use it to recover data, revert changes, or create new branch states based on historical data. The restoration uses either a Log Sequence Number (LSN) or timestamp from the source branch. Important: For self-restoration or branches with children, use preserve_under_name to save the current state. Note: Restoration time varies based on data volume and restoration point.\",\n input: NeonRestoreProjectBranchInput,\n output: NeonRestoreProjectBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAChL,kBAAkB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AAC,CAAC,SAAS,sCAAsC;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"restore-project-branch.mjs","names":[],"sources":["../../src/actions/restore-project-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestoreProjectBranchInput = z.object({\n branch_id: z.string().describe(\"The ID of the branch to restore (the target branch that will receive the restored data).\"),\n project_id: z.string().describe(\"The Neon project ID containing the branch to restore.\"),\n source_lsn: z.string().describe(\"A Log Sequence Number (LSN) on the source branch. The branch will be restored with data from this LSN. Format example: '0/19A3328'.\").optional(),\n source_branch_id: z.string().describe(\"The branch_id of the restore source branch. If source_timestamp and source_lsn are omitted, the branch will be restored to head. If source_branch_id is equal to the branch's id (self-restoration), source_timestamp or source_lsn is required.\"),\n source_timestamp: z.string().describe(\"A timestamp identifying a point in time on the source branch. The branch will be restored with data starting from this point in time. The timestamp must be provided in ISO 8601 format; for example: '2024-02-26T12:00:00Z'.\").optional(),\n preserve_under_name: z.string().describe(\"If provided, the previous state of the branch will be saved to a new branch with this name. Required if the branch has children or if source_branch_id equals the branch id (self-restoration). All existing child branches will be moved to the newly created branch under this name.\").optional(),\n}).describe(\"Request schema for `RestoreProjectBranch`\");\nconst NeonRestoreProjectBranch_BranchInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the branch.\").nullable(),\n name: z.string().describe(\"The name of the branch.\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch.\").nullable(),\n primary: z.boolean().describe(\"Whether this is the primary branch.\").nullable(),\n parent_id: z.string().describe(\"The parent branch ID, if any.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether this branch is protected.\").nullable(),\n created_at: z.string().describe(\"When the branch was created (ISO 8601 format).\").nullable(),\n parent_lsn: z.string().describe(\"The parent branch LSN.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this branch belongs to.\").nullable(),\n updated_at: z.string().describe(\"When the branch was last updated (ISO 8601 format).\").nullable(),\n init_source: z.string().describe(\"Initialization source (e.g., 'parent-data').\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU time used in seconds.\").nullable().optional(),\n logical_size: z.number().int().describe(\"Logical size in bytes.\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch (e.g., 'ready', 'resetting').\").nullable(),\n last_reset_at: z.string().describe(\"When the branch was last reset/restored.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state during transitions.\").nullable().optional(),\n creation_source: z.string().describe(\"Source of branch creation (e.g., 'console').\").nullable().optional(),\n parent_timestamp: z.string().describe(\"The parent branch timestamp.\").nullable().optional(),\n state_changed_at: z.string().describe(\"When the state last changed (ISO 8601 format).\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Written data in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Active time in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Data transferred in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Compute time in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Branch information returned after restore operation.\");\nconst NeonRestoreProjectBranch_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the operation.\").nullable(),\n action: z.string().describe(\"The type of action (e.g., 'create_branch', 'suspend_compute').\").nullable(),\n status: z.string().describe(\"The status of the operation (e.g., 'running', 'scheduling').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation affects.\").nullable(),\n created_at: z.string().describe(\"When the operation was created.\").nullable(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"When the operation was last updated.\").nullable(),\n endpoint_id: z.string().describe(\"The endpoint ID if applicable.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of operation failures.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by the restore.\");\nexport const NeonRestoreProjectBranchOutput = z.object({\n branch: NeonRestoreProjectBranch_BranchInfoSchema.nullable().optional(),\n operations: z.array(NeonRestoreProjectBranch_OperationInfoSchema).describe(\"List of operations triggered by the restore (e.g., create_branch, suspend_compute).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `RestoreProjectBranch`\");\n\nexport const neonRestoreProjectBranch = action(\"NEON_RESTORE_PROJECT_BRANCH\", {\n slug: \"neon-restore-project-branch\",\n name: \"Restore project branch\",\n description: \"This endpoint restores a branch to a specific state or point in time. Use it to recover data, revert changes, or create new branch states based on historical data. The restoration uses either a Log Sequence Number (LSN) or timestamp from the source branch. Important: For self-restoration or branches with children, use preserve_under_name to save the current state. Note: Restoration time varies based on data volume and restoration point.\",\n input: NeonRestoreProjectBranchInput,\n output: NeonRestoreProjectBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,YAAY,EAA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EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAMpF,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -21,13 +21,13 @@ const NeonRestoreSnapshot_BranchInfoSchema = zod.z.object({
21
21
  pending_state: zod.z.string().describe("The pending state of the branch (if transitioning)").nullable().optional(),
22
22
  physical_size: zod.z.number().int().describe("The physical size of the branch data in bytes").nullable().optional(),
23
23
  parent_timestamp: zod.z.string().describe("The timestamp when the branch was created from parent").nullable().optional()
24
- }).describe("Information about the restored branch.");
24
+ }).passthrough().describe("Information about the restored branch.");
25
25
  const NeonRestoreSnapshot_EndpointInfoSchema = zod.z.object({
26
26
  id: zod.z.string().describe("The unique identifier of the endpoint").nullable().optional(),
27
27
  host: zod.z.string().describe("The host address of the endpoint").nullable().optional(),
28
28
  type: zod.z.string().describe("The type of endpoint").nullable().optional(),
29
29
  disabled: zod.z.boolean().describe("Whether the endpoint is disabled").nullable().optional(),
30
- settings: zod.z.object({}).describe("Additional settings for the endpoint").nullable().optional(),
30
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional settings for the endpoint").nullable().optional(),
31
31
  branch_id: zod.z.string().describe("The branch ID that this endpoint is connected to").nullable().optional(),
32
32
  region_id: zod.z.string().describe("The region where the endpoint is located").nullable().optional(),
33
33
  created_at: zod.z.string().describe("Timestamp when the endpoint was created").nullable().optional(),
@@ -43,7 +43,7 @@ const NeonRestoreSnapshot_EndpointInfoSchema = zod.z.object({
43
43
  suspend_timeout_seconds: zod.z.number().int().describe("Timeout in seconds before the compute is suspended").nullable().optional(),
44
44
  autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling").nullable().optional(),
45
45
  autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling").nullable().optional()
46
- }).describe("Information about compute endpoints.");
46
+ }).passthrough().describe("Information about compute endpoints.");
47
47
  const NeonRestoreSnapshot_OperationInfoSchema = zod.z.object({
48
48
  id: zod.z.string().describe("The unique identifier of the operation").nullable().optional(),
49
49
  action: zod.z.string().describe("The action being performed").nullable().optional(),
@@ -55,12 +55,12 @@ const NeonRestoreSnapshot_OperationInfoSchema = zod.z.object({
55
55
  endpoint_id: zod.z.string().describe("The endpoint ID associated with this operation").nullable().optional(),
56
56
  failures_count: zod.z.number().int().describe("The number of failures encountered").nullable().optional(),
57
57
  total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds").nullable().optional()
58
- }).describe("Information about an operation.");
58
+ }).passthrough().describe("Information about an operation.");
59
59
  const NeonRestoreSnapshotOutput = zod.z.object({
60
60
  branch: NeonRestoreSnapshot_BranchInfoSchema.nullable(),
61
61
  endpoints: zod.z.array(NeonRestoreSnapshot_EndpointInfoSchema).describe("List of endpoints associated with the restored branch").nullable().optional(),
62
62
  operations: zod.z.array(NeonRestoreSnapshot_OperationInfoSchema).describe("List of operations performed during the restore")
63
- }).describe("Response model containing the restored branch and operation details.");
63
+ }).passthrough().describe("Response model containing the restored branch and operation details.");
64
64
  const neonRestoreSnapshot = require_action.action("NEON_RESTORE_SNAPSHOT", {
65
65
  slug: "neon-restore-snapshot",
66
66
  name: "Restore snapshot to new branch",
@@ -1 +1 @@
1
- {"version":3,"file":"restore-snapshot.cjs","names":["z","action"],"sources":["../../src/actions/restore-snapshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestoreSnapshotInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"A name for the newly restored branch. If omitted, a default name will be generated.\").optional(),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'proud-meadow-87189985'). You can obtain the project_id by listing projects for your Neon account.\"),\n snapshot_id: z.string().describe(\"The snapshot ID to restore (e.g., 'snap-wispy-union-ahw80v1u'). You can obtain snapshot IDs by listing snapshots for a project.\"),\n finalize_restore: z.boolean().default(false).describe(\"Set to true to finalize the restore operation immediately. This will complete the restore and move any associated computes to the new branch. Defaults to false to allow previewing the restored snapshot data first.\").optional(),\n target_branch_id: z.string().describe(\"The ID of the branch to restore the snapshot into. If not specified, the branch from which the snapshot was originally created will be used.\").optional(),\n}).describe(\"Request model for restoring a Neon snapshot to a new branch.\");\nconst NeonRestoreSnapshot_BranchInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch\").nullable().optional(),\n name: z.string().describe(\"The name of the branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) of the parent branch\").nullable().optional(),\n project_id: z.string().describe(\"The project ID that this branch belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the branch was last updated\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch data in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch (if transitioning)\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch data in bytes\").nullable().optional(),\n parent_timestamp: z.string().describe(\"The timestamp when the branch was created from parent\").nullable().optional(),\n}).describe(\"Information about the restored branch.\");\nconst NeonRestoreSnapshot_EndpointInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the endpoint\").nullable().optional(),\n host: z.string().describe(\"The host address of the endpoint\").nullable().optional(),\n type: z.string().describe(\"The type of endpoint\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.object({}).describe(\"Additional settings for the endpoint\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID that this endpoint is connected to\").nullable().optional(),\n region_id: z.string().describe(\"The region where the endpoint is located\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable().optional(),\n project_id: z.string().describe(\"The project ID that this endpoint belongs to\").nullable().optional(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable().optional(),\n pooler_mode: z.string().describe(\"The connection pooler mode\").nullable().optional(),\n provisioner: z.string().describe(\"The provisioner used for this endpoint\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the endpoint (if transitioning)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the compute is suspended\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling\").nullable().optional(),\n}).describe(\"Information about compute endpoints.\");\nconst NeonRestoreSnapshot_OperationInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the operation\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable().optional(),\n status: z.string().describe(\"The current status of the operation\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID associated with this operation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable().optional(),\n project_id: z.string().describe(\"The project ID associated with this operation\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID associated with this operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures encountered\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).describe(\"Information about an operation.\");\nexport const NeonRestoreSnapshotOutput: z.ZodTypeAny = z.object({\n branch: NeonRestoreSnapshot_BranchInfoSchema.nullable(),\n endpoints: z.array(NeonRestoreSnapshot_EndpointInfoSchema).describe(\"List of endpoints associated with the restored branch\").nullable().optional(),\n operations: z.array(NeonRestoreSnapshot_OperationInfoSchema).describe(\"List of operations performed during the restore\"),\n}).describe(\"Response model containing the restored branch and operation details.\");\n\nexport const neonRestoreSnapshot = action(\"NEON_RESTORE_SNAPSHOT\", {\n slug: \"neon-restore-snapshot\",\n name: \"Restore snapshot to new branch\",\n description: \"Tool to restore a Neon snapshot to a new branch. Use when you need to recover data from a snapshot or create a branch from a previous point in time. This endpoint is currently in Beta.\",\n input: NeonRestoreS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AO;CAC9D,QAAQ,qCAAqC,SAAS;CACtD,WAAWA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,YAAYA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD;AACzH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-snapshot.cjs","names":["z","action"],"sources":["../../src/actions/restore-snapshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonRestoreSnapshotInput = z.object({\n name: z.string().describe(\"A name for the newly restored branch. If omitted, a default name will be generated.\").optional(),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'proud-meadow-87189985'). You can obtain the project_id by listing projects for your Neon account.\"),\n snapshot_id: z.string().describe(\"The snapshot ID to restore (e.g., 'snap-wispy-union-ahw80v1u'). You can obtain snapshot IDs by listing snapshots for a project.\"),\n finalize_restore: z.boolean().default(false).describe(\"Set to true to finalize the restore operation immediately. This will complete the restore and move any associated computes to the new branch. Defaults to false to allow previewing the restored snapshot data first.\").optional(),\n target_branch_id: z.string().describe(\"The ID of the branch to restore the snapshot into. If not specified, the branch from which the snapshot was originally created will be used.\").optional(),\n}).describe(\"Request model for restoring a Neon snapshot to a new branch.\");\nconst NeonRestoreSnapshot_BranchInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the branch\").nullable().optional(),\n name: z.string().describe(\"The name of the branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the branch was created\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) of the parent branch\").nullable().optional(),\n project_id: z.string().describe(\"The project ID that this branch belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the branch was last updated\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch data in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the branch\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch (if transitioning)\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch data in bytes\").nullable().optional(),\n parent_timestamp: z.string().describe(\"The timestamp when the branch was created from parent\").nullable().optional(),\n}).passthrough().describe(\"Information about the restored branch.\");\nconst NeonRestoreSnapshot_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the endpoint\").nullable().optional(),\n host: z.string().describe(\"The host address of the endpoint\").nullable().optional(),\n type: z.string().describe(\"The type of endpoint\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Additional settings for the endpoint\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID that this endpoint is connected to\").nullable().optional(),\n region_id: z.string().describe(\"The region where the endpoint is located\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable().optional(),\n project_id: z.string().describe(\"The project ID that this endpoint belongs to\").nullable().optional(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable().optional(),\n pooler_mode: z.string().describe(\"The connection pooler mode\").nullable().optional(),\n provisioner: z.string().describe(\"The provisioner used for this endpoint\").nullable().optional(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the endpoint (if transitioning)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the compute is suspended\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling\").nullable().optional(),\n}).passthrough().describe(\"Information about compute endpoints.\");\nconst NeonRestoreSnapshot_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the operation\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable().optional(),\n status: z.string().describe(\"The current status of the operation\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID associated with this operation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable().optional(),\n project_id: z.string().describe(\"The project ID associated with this operation\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID associated with this operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The number of failures encountered\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation.\");\nexport const NeonRestoreSnapshotOutput = z.object({\n branch: NeonRestoreSnapshot_BranchInfoSchema.nullable(),\n endpoints: z.array(NeonRestoreSnapshot_EndpointInfoSchema).describe(\"List of endpoints associated with the restored branch\").nullable().optional(),\n operations: z.array(NeonRestoreSnapshot_OperationInfoSchema).describe(\"List of operations performed during the restore\"),\n}).passthrough().describe(\"Response model containing the restored branch and operation details.\");\n\nexport const neonRestoreSnapshot = action(\"NEON_RESTORE_SNAPSHOT\", {\n slug: \"neon-restore-snapshot\",\n name: \"Restore snapshot to new branch\",\n description: \"Tool to restore a Neon snapshot to a new branch. Use when you need to recover data from a snapshot or create a branch from a previous point in time. This endpoint is currently in Beta.\",\n input: NeonRestoreSnapshotInput,\n output: NeonRestoreSnapshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,S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