@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
@@ -1 +1 @@
1
- {"version":3,"file":"modify-branch-details-in-project.cjs","names":["z","action"],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonModifyBranchDetailsInProjectInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\"),\n name: z.string().describe(\"The branch name\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\"),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\"),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\"),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The endpoint ID\"),\n host: z.string().describe(\"The hostname of the compute endpoint\"),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\"),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\"),\n region_id: z.string().describe(\"The region ID where the endpoint is located\"),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\"),\n project_id: z.string().describe(\"The project ID\"),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\"),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\"),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\"),\n current_state: z.string().describe(\"The current state of the endpoint\"),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\"),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\"),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\"),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\"),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation ID\"),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\"),\n status: z.string().describe(\"The status of the operation\"),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\"),\n created_at: z.string().describe(\"Timestamp when the operation was created\"),\n project_id: z.string().describe(\"The project ID\"),\n updated_at: z.string().describe(\"Timestamp 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(\"The number of failures for this operation\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput: z.ZodTypeAny = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAA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AS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACrF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,QAAQ,8CAA8C,SAAS;CAC/D,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,YAAYA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"modify-branch-details-in-project.cjs","names":["z","action"],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonModifyBranchDetailsInProjectInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\").nullable(),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable(),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\").nullable(),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema = z.object({\n id: z.string().describe(\"The endpoint ID\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint\").nullable(),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\").nullable(),\n region_id: z.string().describe(\"The region ID where the endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\").nullable(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable(),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema = z.object({\n id: z.string().describe(\"The operation ID\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable(),\n status: z.string().describe(\"The status of the operation\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n updated_at: z.string().describe(\"Timestamp 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(\"The number of failures for this operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,80 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/modify-branch-details-in-project.d.ts
4
- declare const NeonModifyBranchDetailsInProjectInput: z.ZodTypeAny;
5
- declare const NeonModifyBranchDetailsInProjectOutput: z.ZodTypeAny;
6
- declare const neonModifyBranchDetailsInProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonModifyBranchDetailsInProjectInput: z.ZodObject<{
5
+ branch_id: z.ZodString;
6
+ project_id: z.ZodString;
7
+ branch__name: z.ZodOptional<z.ZodString>;
8
+ branch__protected: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const NeonModifyBranchDetailsInProjectOutput: z.ZodObject<{
11
+ branch: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ protected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ created_at: z.ZodNullable<z.ZodString>;
19
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ project_id: z.ZodNullable<z.ZodString>;
22
+ updated_at: z.ZodNullable<z.ZodString>;
23
+ restored_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ cpu_used_sec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ logical_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ current_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ physical_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ restored_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ creation_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ written_data_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ ttl_interval_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ }, z.core.$loose>>;
37
+ endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ id: z.ZodNullable<z.ZodString>;
39
+ host: z.ZodNullable<z.ZodString>;
40
+ type: z.ZodNullable<z.ZodString>;
41
+ disabled: z.ZodNullable<z.ZodBoolean>;
42
+ settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ branch_id: z.ZodNullable<z.ZodString>;
44
+ region_id: z.ZodNullable<z.ZodString>;
45
+ created_at: z.ZodNullable<z.ZodString>;
46
+ project_id: z.ZodNullable<z.ZodString>;
47
+ proxy_host: z.ZodNullable<z.ZodString>;
48
+ updated_at: z.ZodNullable<z.ZodString>;
49
+ pooler_mode: z.ZodNullable<z.ZodString>;
50
+ current_state: z.ZodNullable<z.ZodString>;
51
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ pooler_enabled: z.ZodNullable<z.ZodBoolean>;
53
+ passwordless_access: z.ZodNullable<z.ZodBoolean>;
54
+ autoscaling_limit_max_cu: z.ZodNullable<z.ZodNumber>;
55
+ autoscaling_limit_min_cu: z.ZodNullable<z.ZodNumber>;
56
+ }, z.core.$loose>>>>;
57
+ operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ id: z.ZodNullable<z.ZodString>;
59
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ action: z.ZodNullable<z.ZodString>;
61
+ status: z.ZodNullable<z.ZodString>;
62
+ retry_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ branch_id: z.ZodNullable<z.ZodString>;
64
+ created_at: z.ZodNullable<z.ZodString>;
65
+ project_id: z.ZodNullable<z.ZodString>;
66
+ updated_at: z.ZodNullable<z.ZodString>;
67
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ failures_count: z.ZodNullable<z.ZodNumber>;
69
+ total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
+ }, z.core.$loose>>>>;
71
+ }, z.core.$loose>;
72
+ declare const neonModifyBranchDetailsInProject: import("@keystrokehq/action").WorkflowActionDefinition<{
73
+ branch_id: string;
74
+ project_id: string;
75
+ branch__name?: string | undefined;
76
+ branch__protected?: boolean | undefined;
77
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
78
  //#endregion
8
79
  export { neonModifyBranchDetailsInProject };
9
80
  //# sourceMappingURL=modify-branch-details-in-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modify-branch-details-in-project.d.cts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKU;AAAA,cA6DnD,sCAAA,EAAwC,CAAA,CAAE,UAIU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"modify-branch-details-in-project.d.cts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAkErC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,80 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/modify-branch-details-in-project.d.ts
4
- declare const NeonModifyBranchDetailsInProjectInput: z.ZodTypeAny;
5
- declare const NeonModifyBranchDetailsInProjectOutput: z.ZodTypeAny;
6
- declare const neonModifyBranchDetailsInProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonModifyBranchDetailsInProjectInput: z.ZodObject<{
5
+ branch_id: z.ZodString;
6
+ project_id: z.ZodString;
7
+ branch__name: z.ZodOptional<z.ZodString>;
8
+ branch__protected: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const NeonModifyBranchDetailsInProjectOutput: z.ZodObject<{
11
+ branch: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ protected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ created_at: z.ZodNullable<z.ZodString>;
19
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ parent_lsn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ project_id: z.ZodNullable<z.ZodString>;
22
+ updated_at: z.ZodNullable<z.ZodString>;
23
+ restored_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ cpu_used_sec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ logical_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ current_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ physical_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ restored_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ creation_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ written_data_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ active_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ data_transfer_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ compute_time_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ ttl_interval_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ }, z.core.$loose>>;
37
+ endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ id: z.ZodNullable<z.ZodString>;
39
+ host: z.ZodNullable<z.ZodString>;
40
+ type: z.ZodNullable<z.ZodString>;
41
+ disabled: z.ZodNullable<z.ZodBoolean>;
42
+ settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ branch_id: z.ZodNullable<z.ZodString>;
44
+ region_id: z.ZodNullable<z.ZodString>;
45
+ created_at: z.ZodNullable<z.ZodString>;
46
+ project_id: z.ZodNullable<z.ZodString>;
47
+ proxy_host: z.ZodNullable<z.ZodString>;
48
+ updated_at: z.ZodNullable<z.ZodString>;
49
+ pooler_mode: z.ZodNullable<z.ZodString>;
50
+ current_state: z.ZodNullable<z.ZodString>;
51
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ pooler_enabled: z.ZodNullable<z.ZodBoolean>;
53
+ passwordless_access: z.ZodNullable<z.ZodBoolean>;
54
+ autoscaling_limit_max_cu: z.ZodNullable<z.ZodNumber>;
55
+ autoscaling_limit_min_cu: z.ZodNullable<z.ZodNumber>;
56
+ }, z.core.$loose>>>>;
57
+ operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ id: z.ZodNullable<z.ZodString>;
59
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ action: z.ZodNullable<z.ZodString>;
61
+ status: z.ZodNullable<z.ZodString>;
62
+ retry_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ branch_id: z.ZodNullable<z.ZodString>;
64
+ created_at: z.ZodNullable<z.ZodString>;
65
+ project_id: z.ZodNullable<z.ZodString>;
66
+ updated_at: z.ZodNullable<z.ZodString>;
67
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ failures_count: z.ZodNullable<z.ZodNumber>;
69
+ total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
+ }, z.core.$loose>>>>;
71
+ }, z.core.$loose>;
72
+ declare const neonModifyBranchDetailsInProject: import("@keystrokehq/action").WorkflowActionDefinition<{
73
+ branch_id: string;
74
+ project_id: string;
75
+ branch__name?: string | undefined;
76
+ branch__protected?: boolean | undefined;
77
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
78
  //#endregion
8
79
  export { neonModifyBranchDetailsInProject };
9
80
  //# sourceMappingURL=modify-branch-details-in-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modify-branch-details-in-project.d.mts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKU;AAAA,cA6DnD,sCAAA,EAAwC,CAAA,CAAE,UAIU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"modify-branch-details-in-project.d.mts","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAkErC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
@@ -8,17 +8,17 @@ const NeonModifyBranchDetailsInProjectInput = z.object({
8
8
  branch__protected: z.boolean().describe("Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.").optional()
9
9
  }).describe("Request schema for `ModifyBranchDetailsInProject`");
10
10
  const NeonModifyBranchDetailsInProject_BranchSchema = z.object({
11
- id: z.string().describe("The branch ID. Branch IDs have a br- prefix."),
12
- name: z.string().describe("The branch name"),
11
+ id: z.string().describe("The branch ID. Branch IDs have a br- prefix.").nullable(),
12
+ name: z.string().describe("The branch name").nullable(),
13
13
  "default": z.boolean().describe("Whether this is the default branch for the project").nullable().optional(),
14
14
  primary: z.boolean().describe("Whether this is the primary branch").nullable().optional(),
15
15
  parent_id: z.string().describe("The ID of the parent branch. Only set for branches that have a parent.").nullable().optional(),
16
16
  protected: z.boolean().describe("Whether the branch is protected from deletion").nullable().optional(),
17
- created_at: z.string().describe("A timestamp indicating when the branch was created, in ISO 8601 format"),
17
+ created_at: z.string().describe("A timestamp indicating when the branch was created, in ISO 8601 format").nullable(),
18
18
  expires_at: z.string().describe("A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format").nullable().optional(),
19
19
  parent_lsn: z.string().describe("The Log Sequence Number (LSN) on the parent branch from which this branch was created").nullable().optional(),
20
- project_id: z.string().describe("The Neon project ID"),
21
- updated_at: z.string().describe("A timestamp indicating when the branch was last updated, in ISO 8601 format"),
20
+ project_id: z.string().describe("The Neon project ID").nullable(),
21
+ updated_at: z.string().describe("A timestamp indicating when the branch was last updated, in ISO 8601 format").nullable(),
22
22
  restored_as: z.string().describe("The ID of the branch that was replaced during restoration").nullable().optional(),
23
23
  cpu_used_sec: z.number().int().describe("CPU seconds used by the branch").nullable().optional(),
24
24
  logical_size: z.number().int().describe("The logical size of the branch in bytes").nullable().optional(),
@@ -34,37 +34,37 @@ const NeonModifyBranchDetailsInProject_BranchSchema = z.object({
34
34
  ttl_interval_seconds: z.number().int().describe("The time-to-live (TTL) interval for the branch in seconds (read-only)").nullable().optional()
35
35
  }).passthrough().describe("Details of a Neon branch after modification.");
36
36
  const NeonModifyBranchDetailsInProject_EndpointSchema = z.object({
37
- id: z.string().describe("The endpoint ID"),
38
- host: z.string().describe("The hostname of the compute endpoint"),
39
- type: z.string().describe("The type of endpoint (e.g., read_write, read_only)"),
40
- disabled: z.boolean().describe("Whether the endpoint is disabled"),
37
+ id: z.string().describe("The endpoint ID").nullable(),
38
+ host: z.string().describe("The hostname of the compute endpoint").nullable(),
39
+ type: z.string().describe("The type of endpoint (e.g., read_write, read_only)").nullable(),
40
+ disabled: z.boolean().describe("Whether the endpoint is disabled").nullable(),
41
41
  settings: z.record(z.string(), z.unknown()).describe("Endpoint settings including pg_settings").nullable().optional(),
42
- branch_id: z.string().describe("The branch ID this endpoint belongs to"),
43
- region_id: z.string().describe("The region ID where the endpoint is located"),
44
- created_at: z.string().describe("Timestamp when the endpoint was created"),
45
- project_id: z.string().describe("The project ID"),
46
- proxy_host: z.string().describe("The proxy hostname for connecting to the endpoint"),
47
- updated_at: z.string().describe("Timestamp when the endpoint was last updated"),
48
- pooler_mode: z.string().describe("The connection pooler mode (e.g., transaction, session)"),
49
- current_state: z.string().describe("The current state of the endpoint"),
42
+ branch_id: z.string().describe("The branch ID this endpoint belongs to").nullable(),
43
+ region_id: z.string().describe("The region ID where the endpoint is located").nullable(),
44
+ created_at: z.string().describe("Timestamp when the endpoint was created").nullable(),
45
+ project_id: z.string().describe("The project ID").nullable(),
46
+ proxy_host: z.string().describe("The proxy hostname for connecting to the endpoint").nullable(),
47
+ updated_at: z.string().describe("Timestamp when the endpoint was last updated").nullable(),
48
+ pooler_mode: z.string().describe("The connection pooler mode (e.g., transaction, session)").nullable(),
49
+ current_state: z.string().describe("The current state of the endpoint").nullable(),
50
50
  pending_state: z.string().describe("The pending state of the endpoint").nullable().optional(),
51
- pooler_enabled: z.boolean().describe("Whether connection pooling is enabled"),
52
- passwordless_access: z.boolean().describe("Whether passwordless access is enabled"),
53
- autoscaling_limit_max_cu: z.number().describe("The maximum number of compute units for autoscaling"),
54
- autoscaling_limit_min_cu: z.number().describe("The minimum number of compute units for autoscaling")
51
+ pooler_enabled: z.boolean().describe("Whether connection pooling is enabled").nullable(),
52
+ passwordless_access: z.boolean().describe("Whether passwordless access is enabled").nullable(),
53
+ autoscaling_limit_max_cu: z.number().describe("The maximum number of compute units for autoscaling").nullable(),
54
+ autoscaling_limit_min_cu: z.number().describe("The minimum number of compute units for autoscaling").nullable()
55
55
  }).passthrough().describe("A compute endpoint associated with a branch.");
56
56
  const NeonModifyBranchDetailsInProject_OperationSchema = z.object({
57
- id: z.string().describe("The operation ID"),
57
+ id: z.string().describe("The operation ID").nullable(),
58
58
  error: z.string().describe("Error message if the operation failed").nullable().optional(),
59
- action: z.string().describe("The action being performed"),
60
- status: z.string().describe("The status of the operation"),
59
+ action: z.string().describe("The action being performed").nullable(),
60
+ status: z.string().describe("The status of the operation").nullable(),
61
61
  retry_at: z.string().describe("Timestamp when the operation will be retried, if applicable").nullable().optional(),
62
- branch_id: z.string().describe("The branch ID"),
63
- created_at: z.string().describe("Timestamp when the operation was created"),
64
- project_id: z.string().describe("The project ID"),
65
- updated_at: z.string().describe("Timestamp when the operation was last updated"),
62
+ branch_id: z.string().describe("The branch ID").nullable(),
63
+ created_at: z.string().describe("Timestamp when the operation was created").nullable(),
64
+ project_id: z.string().describe("The project ID").nullable(),
65
+ updated_at: z.string().describe("Timestamp when the operation was last updated").nullable(),
66
66
  endpoint_id: z.string().describe("The endpoint ID if applicable").nullable().optional(),
67
- failures_count: z.number().int().describe("The number of failures for this operation"),
67
+ failures_count: z.number().int().describe("The number of failures for this operation").nullable(),
68
68
  total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds").nullable().optional()
69
69
  }).passthrough().describe("An operation initiated by the API request.");
70
70
  const neonModifyBranchDetailsInProject = action("NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT", {
@@ -76,7 +76,7 @@ const neonModifyBranchDetailsInProject = action("NEON_MODIFY_BRANCH_DETAILS_IN_P
76
76
  branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),
77
77
  endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe("An array of compute endpoints associated with the branch").nullable().optional(),
78
78
  operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe("An array of operations initiated by this request").nullable().optional()
79
- }).describe("Response schema for `ModifyBranchDetailsInProject`")
79
+ }).passthrough().describe("Response schema for `ModifyBranchDetailsInProject`")
80
80
  });
81
81
  //#endregion
82
82
  export { neonModifyBranchDetailsInProject };
@@ -1 +1 @@
1
- {"version":3,"file":"modify-branch-details-in-project.mjs","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonModifyBranchDetailsInProjectInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\"),\n name: z.string().describe(\"The branch name\"),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\"),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\"),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\"),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The endpoint ID\"),\n host: z.string().describe(\"The hostname of the compute endpoint\"),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\"),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\"),\n region_id: z.string().describe(\"The region ID where the endpoint is located\"),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\"),\n project_id: z.string().describe(\"The project ID\"),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\"),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\"),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\"),\n current_state: z.string().describe(\"The current state of the endpoint\"),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\"),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\"),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\"),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\"),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The operation ID\"),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\"),\n status: z.string().describe(\"The status of the operation\"),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\"),\n created_at: z.string().describe(\"Timestamp when the operation was created\"),\n project_id: z.string().describe(\"The project ID\"),\n updated_at: z.string().describe(\"Timestamp 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(\"The number of failures for this operation\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput: z.ZodTypeAny = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetailsInProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAChO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CACnO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACxQ,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;AACpV,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/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Ae;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACrF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkE,EAAE,OAAO;EAC3E,QAAQ,8CAA8C,SAAS;EAC/D,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,YAAY,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"modify-branch-details-in-project.mjs","names":[],"sources":["../../src/actions/modify-branch-details-in-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonModifyBranchDetailsInProjectInput = z.object({\n branch_id: z.string().describe(\"The unique identifier of the branch to modify. Format: 'br-<adjective>-<noun>-<alphanumeric>' (e.g., 'br-square-base-aehfbgdy'). Can be obtained from the branches list endpoint for a project.\"),\n project_id: z.string().describe(\"The unique identifier of the Neon project containing the branch to modify. Format: '<adjective>-<noun>-<number>' (e.g., 'calm-breeze-57229290'). Can be obtained from the projects list endpoint.\"),\n branch__name: z.string().describe(\"The new name for the branch. If not provided, the branch name remains unchanged. Branch names should be descriptive and follow your team's naming conventions (e.g., 'main', 'production', 'development', 'feature-xyz').\").optional(),\n branch__protected: z.boolean().describe(\"Whether the branch should be protected. Protected branches have restrictions that prevent certain destructive operations. Set to true to enable protection, false to disable it. If not provided, the protection status remains unchanged. Note: Protection features may require a paid plan.\").optional(),\n}).describe(\"Request schema for `ModifyBranchDetailsInProject`\");\nconst NeonModifyBranchDetailsInProject_BranchSchema = z.object({\n id: z.string().describe(\"The branch ID. Branch IDs have a br- prefix.\").nullable(),\n name: z.string().describe(\"The branch name\").nullable(),\n \"default\": z.boolean().describe(\"Whether this is the default branch for the project\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary branch\").nullable().optional(),\n parent_id: z.string().describe(\"The ID of the parent branch. Only set for branches that have a parent.\").nullable().optional(),\n protected: z.boolean().describe(\"Whether the branch is protected from deletion\").nullable().optional(),\n created_at: z.string().describe(\"A timestamp indicating when the branch was created, in ISO 8601 format\").nullable(),\n expires_at: z.string().describe(\"A timestamp indicating when the branch expires and will be automatically deleted, in ISO 8601 format\").nullable().optional(),\n parent_lsn: z.string().describe(\"The Log Sequence Number (LSN) on the parent branch from which this branch was created\").nullable().optional(),\n project_id: z.string().describe(\"The Neon project ID\").nullable(),\n updated_at: z.string().describe(\"A timestamp indicating when the branch was last updated, in ISO 8601 format\").nullable(),\n restored_as: z.string().describe(\"The ID of the branch that was replaced during restoration\").nullable().optional(),\n cpu_used_sec: z.number().int().describe(\"CPU seconds used by the branch\").nullable().optional(),\n logical_size: z.number().int().describe(\"The logical size of the branch in bytes\").nullable().optional(),\n current_state: z.string().describe(\"The branch state. Possible values are init or ready.\").nullable().optional(),\n pending_state: z.string().describe(\"The pending state of the branch when it is transitioning between states\").nullable().optional(),\n physical_size: z.number().int().describe(\"The physical size of the branch in bytes\").nullable().optional(),\n restored_from: z.string().describe(\"The ID of the snapshot from which this branch was restored\").nullable().optional(),\n creation_source: z.string().describe(\"The source from which the branch was created (e.g., console, neonctl, api)\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"The amount of data written to the branch, in bytes\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"The amount of time the branch has been active, in seconds\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"The amount of data transferred from the branch, in bytes\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"The amount of compute time used by the branch, in seconds\").nullable().optional(),\n ttl_interval_seconds: z.number().int().describe(\"The time-to-live (TTL) interval for the branch in seconds (read-only)\").nullable().optional(),\n}).passthrough().describe(\"Details of a Neon branch after modification.\");\nconst NeonModifyBranchDetailsInProject_EndpointSchema = z.object({\n id: z.string().describe(\"The endpoint ID\").nullable(),\n host: z.string().describe(\"The hostname of the compute endpoint\").nullable(),\n type: z.string().describe(\"The type of endpoint (e.g., read_write, read_only)\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint settings including pg_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint belongs to\").nullable(),\n region_id: z.string().describe(\"The region ID where the endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for connecting to the endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooler mode (e.g., transaction, session)\").nullable(),\n current_state: z.string().describe(\"The current state of the endpoint\").nullable(),\n pending_state: z.string().describe(\"The pending state of the endpoint\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum number of compute units for autoscaling\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum number of compute units for autoscaling\").nullable(),\n}).passthrough().describe(\"A compute endpoint associated with a branch.\");\nconst NeonModifyBranchDetailsInProject_OperationSchema = z.object({\n id: z.string().describe(\"The operation ID\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed\").nullable(),\n status: z.string().describe(\"The status of the operation\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried, if applicable\").nullable().optional(),\n branch_id: z.string().describe(\"The branch ID\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created\").nullable(),\n project_id: z.string().describe(\"The project ID\").nullable(),\n updated_at: z.string().describe(\"Timestamp 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(\"The number of failures for this operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"An operation initiated by the API request.\");\nexport const NeonModifyBranchDetailsInProjectOutput = z.object({\n branch: NeonModifyBranchDetailsInProject_BranchSchema.nullable(),\n endpoints: z.array(NeonModifyBranchDetailsInProject_EndpointSchema).describe(\"An array of compute endpoints associated with the branch\").nullable().optional(),\n operations: z.array(NeonModifyBranchDetailsInProject_OperationSchema).describe(\"An array of operations initiated by this request\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ModifyBranchDetailsInProject`\");\n\nexport const neonModifyBranchDetailsInProject = action(\"NEON_MODIFY_BRANCH_DETAILS_IN_PROJECT\", {\n slug: \"neon-modify-branch-details-in-project\",\n name: \"Modify branch details in project\",\n description: \"Updates the details of a specific branch within a project in the Neon platform. This endpoint allows you to modify the name and protection status of an existing branch. It is particularly useful when you need to rename a branch or change its protection settings without creating a new branch. The endpoint uses partial updates, so you can specify only the fields you want to change. This tool should be used when managing branch configurations in a Neon project, but it cannot be used to create new branches or delete existing ones.\",\n input: NeonModifyBranchDetailsInProjectInput,\n output: NeonModifyBranchDetail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C,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,QAAQ,8CAA8C,SAAS;EAC/D,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,YAAY,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -9,31 +9,31 @@ const NeonPatchBranchDatabaseInformationInput = zod.z.object({
9
9
  database__owner__name: zod.z.string().describe("The name of the role to transfer database ownership to. The role must exist in the branch.").optional()
10
10
  }).describe("Request schema for `PatchBranchDatabaseInformation`");
11
11
  const NeonPatchBranchDatabaseInformation_DatabaseSchema = zod.z.object({
12
- id: zod.z.string().describe("Unique identifier for the database"),
13
- name: zod.z.string().describe("Database name"),
14
- branch_id: zod.z.string().describe("Branch identifier that this database belongs to"),
15
- created_at: zod.z.string().describe("Timestamp when the database was created (ISO 8601 format)"),
16
- owner_name: zod.z.string().describe("Role name that owns the database"),
17
- updated_at: zod.z.string().describe("Timestamp when the database was last updated (ISO 8601 format)")
18
- }).describe("Database object");
12
+ id: zod.z.string().describe("Unique identifier for the database").nullable(),
13
+ name: zod.z.string().describe("Database name").nullable(),
14
+ branch_id: zod.z.string().describe("Branch identifier that this database belongs to").nullable(),
15
+ created_at: zod.z.string().describe("Timestamp when the database was created (ISO 8601 format)").nullable(),
16
+ owner_name: zod.z.string().describe("Role name that owns the database").nullable(),
17
+ updated_at: zod.z.string().describe("Timestamp when the database was last updated (ISO 8601 format)").nullable()
18
+ }).passthrough().describe("Database object");
19
19
  const NeonPatchBranchDatabaseInformation_OperationSchema = zod.z.object({
20
- id: zod.z.string().describe("Unique identifier for the operation (UUID format)"),
20
+ id: zod.z.string().describe("Unique identifier for the operation (UUID format)").nullable(),
21
21
  error: zod.z.string().describe("Error message if the operation failed").nullable().optional(),
22
- action: zod.z.string().describe("The action being performed (e.g., apply_config, create_timeline, start_compute)"),
23
- status: zod.z.string().describe("Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped"),
22
+ action: zod.z.string().describe("The action being performed (e.g., apply_config, create_timeline, start_compute)").nullable(),
23
+ status: zod.z.string().describe("Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped").nullable(),
24
24
  retry_at: zod.z.string().describe("Timestamp when the operation will be retried (ISO 8601 format)").nullable().optional(),
25
- branch_id: zod.z.string().describe("Branch identifier"),
26
- created_at: zod.z.string().describe("Timestamp when the operation was created (ISO 8601 format)"),
27
- project_id: zod.z.string().describe("Project identifier"),
28
- updated_at: zod.z.string().describe("Timestamp when the operation was last updated (ISO 8601 format)"),
25
+ branch_id: zod.z.string().describe("Branch identifier").nullable(),
26
+ created_at: zod.z.string().describe("Timestamp when the operation was created (ISO 8601 format)").nullable(),
27
+ project_id: zod.z.string().describe("Project identifier").nullable(),
28
+ updated_at: zod.z.string().describe("Timestamp when the operation was last updated (ISO 8601 format)").nullable(),
29
29
  endpoint_id: zod.z.string().describe("Endpoint identifier associated with the operation").nullable().optional(),
30
- failures_count: zod.z.number().int().describe("Number of times the operation has failed"),
31
- total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds")
32
- }).describe("Operation object");
30
+ failures_count: zod.z.number().int().describe("Number of times the operation has failed").nullable(),
31
+ total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds").nullable()
32
+ }).passthrough().describe("Operation object");
33
33
  const NeonPatchBranchDatabaseInformationOutput = zod.z.object({
34
34
  database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),
35
35
  operations: zod.z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe("Array of operations initiated by the update request")
36
- }).describe("Response schema for `PatchBranchDatabaseInformation`");
36
+ }).passthrough().describe("Response schema for `PatchBranchDatabaseInformation`");
37
37
  const neonPatchBranchDatabaseInformation = require_action.action("NEON_PATCH_BRANCH_DATABASE_INFORMATION", {
38
38
  slug: "neon-patch-branch-database-information",
39
39
  name: "Patch branch database information",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-branch-database-information.cjs","names":["z","action"],"sources":["../../src/actions/patch-branch-database-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonPatchBranchDatabaseInformationInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The branch ID where the database resides (e.g., 'br-lucky-water-afkw1lov')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n database_name: z.string().describe(\"The current name of the database to update\"),\n database__name: z.string().describe(\"The new name for the database. Use this to rename the database.\").optional(),\n database__owner__name: z.string().describe(\"The name of the role to transfer database ownership to. The role must exist in the branch.\").optional(),\n}).describe(\"Request schema for `PatchBranchDatabaseInformation`\");\nconst NeonPatchBranchDatabaseInformation_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the database\"),\n name: z.string().describe(\"Database name\"),\n branch_id: z.string().describe(\"Branch identifier that this database belongs to\"),\n created_at: z.string().describe(\"Timestamp when the database was created (ISO 8601 format)\"),\n owner_name: z.string().describe(\"Role name that owns the database\"),\n updated_at: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format)\"),\n}).describe(\"Database object\");\nconst NeonPatchBranchDatabaseInformation_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the operation (UUID format)\"),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed (e.g., apply_config, create_timeline, start_compute)\"),\n status: z.string().describe(\"Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped\"),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"Branch identifier\"),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\"),\n project_id: z.string().describe(\"Project identifier\"),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format)\"),\n endpoint_id: z.string().describe(\"Endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\"),\n}).describe(\"Operation object\");\nexport const NeonPatchBranchDatabaseInformationOutput: z.ZodTypeAny = z.object({\n database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),\n operations: z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe(\"Array of operations initiated by the update request\"),\n}).describe(\"Response schema for `PatchBranchDatabaseInformation`\");\n\nexport const neonPatchBranchDatabaseInformation = action(\"NEON_PATCH_BRANCH_DATABASE_INFORMATION\", {\n slug: \"neon-patch-branch-database-information\",\n name: \"Patch branch database information\",\n description: \"Updates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.\",\n input: NeonPatchBranchDatabaseInformationInput,\n output: NeonPatchBranchDatabaseInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC/E,gBAAgBA,IA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OAAO,CAAC,CAAC,SAAS,iEAAiE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAChG,CAAC,CAAC,CAAC,SAAS,kBAAkB;AAC9B,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,UAAU,kDAAkD,SAAS;CACrE,YAAYA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,qDAAqD;AACxI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-branch-database-information.cjs","names":["z","action"],"sources":["../../src/actions/patch-branch-database-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonPatchBranchDatabaseInformationInput = z.object({\n branch_id: z.string().describe(\"The branch ID where the database resides (e.g., 'br-lucky-water-afkw1lov')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'dry-smoke-26258271')\"),\n database_name: z.string().describe(\"The current name of the database to update\"),\n database__name: z.string().describe(\"The new name for the database. Use this to rename the database.\").optional(),\n database__owner__name: z.string().describe(\"The name of the role to transfer database ownership to. The role must exist in the branch.\").optional(),\n}).describe(\"Request schema for `PatchBranchDatabaseInformation`\");\nconst NeonPatchBranchDatabaseInformation_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the database\").nullable(),\n name: z.string().describe(\"Database name\").nullable(),\n branch_id: z.string().describe(\"Branch identifier that this database belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created (ISO 8601 format)\").nullable(),\n owner_name: z.string().describe(\"Role name that owns the database\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Database object\");\nconst NeonPatchBranchDatabaseInformation_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The action being performed (e.g., apply_config, create_timeline, start_compute)\").nullable(),\n status: z.string().describe(\"Current status of the operation. Possible values: scheduling, running, finished, failed, error, cancelled, skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation will be retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"Branch identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"Project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"Endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation has failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation object\");\nexport const NeonPatchBranchDatabaseInformationOutput = z.object({\n database: NeonPatchBranchDatabaseInformation_DatabaseSchema.nullable(),\n operations: z.array(NeonPatchBranchDatabaseInformation_OperationSchema).describe(\"Array of operations initiated by the update request\"),\n}).passthrough().describe(\"Response schema for `PatchBranchDatabaseInformation`\");\n\nexport const neonPatchBranchDatabaseInformation = action(\"NEON_PATCH_BRANCH_DATABASE_INFORMATION\", {\n slug: \"neon-patch-branch-database-information\",\n name: \"Patch branch database information\",\n description: \"Updates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.\",\n input: NeonPatchBranchDatabaseInformationInput,\n output: NeonPatchBranchDatabaseInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iBAAiB;AAC3C,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,OAAOA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;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/patch-branch-database-information.d.ts
4
- declare const NeonPatchBranchDatabaseInformationInput: z.ZodTypeAny;
5
- declare const NeonPatchBranchDatabaseInformationOutput: z.ZodTypeAny;
6
- declare const neonPatchBranchDatabaseInformation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonPatchBranchDatabaseInformationInput: z.ZodObject<{
5
+ branch_id: z.ZodString;
6
+ project_id: z.ZodString;
7
+ database_name: z.ZodString;
8
+ database__name: z.ZodOptional<z.ZodString>;
9
+ database__owner__name: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const NeonPatchBranchDatabaseInformationOutput: z.ZodObject<{
12
+ database: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ branch_id: z.ZodNullable<z.ZodString>;
16
+ created_at: z.ZodNullable<z.ZodString>;
17
+ owner_name: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>;
20
+ operations: z.ZodArray<z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodString>;
22
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ action: z.ZodNullable<z.ZodString>;
24
+ status: z.ZodNullable<z.ZodString>;
25
+ retry_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ branch_id: z.ZodNullable<z.ZodString>;
27
+ created_at: z.ZodNullable<z.ZodString>;
28
+ project_id: z.ZodNullable<z.ZodString>;
29
+ updated_at: z.ZodNullable<z.ZodString>;
30
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ failures_count: z.ZodNullable<z.ZodNumber>;
32
+ total_duration_ms: z.ZodNullable<z.ZodNumber>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
+ declare const neonPatchBranchDatabaseInformation: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ branch_id: string;
37
+ project_id: string;
38
+ database_name: string;
39
+ database__name?: string | undefined;
40
+ database__owner__name?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { neonPatchBranchDatabaseInformation };
9
44
  //# sourceMappingURL=patch-branch-database-information.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-branch-database-information.d.cts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAMU;AAAA,cAuBrD,wCAAA,EAA0C,CAAA,CAAE,UAGU;AAAA,cAEtD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"patch-branch-database-information.d.cts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/patch-branch-database-information.d.ts
4
- declare const NeonPatchBranchDatabaseInformationInput: z.ZodTypeAny;
5
- declare const NeonPatchBranchDatabaseInformationOutput: z.ZodTypeAny;
6
- declare const neonPatchBranchDatabaseInformation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonPatchBranchDatabaseInformationInput: z.ZodObject<{
5
+ branch_id: z.ZodString;
6
+ project_id: z.ZodString;
7
+ database_name: z.ZodString;
8
+ database__name: z.ZodOptional<z.ZodString>;
9
+ database__owner__name: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const NeonPatchBranchDatabaseInformationOutput: z.ZodObject<{
12
+ database: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ branch_id: z.ZodNullable<z.ZodString>;
16
+ created_at: z.ZodNullable<z.ZodString>;
17
+ owner_name: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>;
20
+ operations: z.ZodArray<z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodString>;
22
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ action: z.ZodNullable<z.ZodString>;
24
+ status: z.ZodNullable<z.ZodString>;
25
+ retry_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ branch_id: z.ZodNullable<z.ZodString>;
27
+ created_at: z.ZodNullable<z.ZodString>;
28
+ project_id: z.ZodNullable<z.ZodString>;
29
+ updated_at: z.ZodNullable<z.ZodString>;
30
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ failures_count: z.ZodNullable<z.ZodNumber>;
32
+ total_duration_ms: z.ZodNullable<z.ZodNumber>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
+ declare const neonPatchBranchDatabaseInformation: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ branch_id: string;
37
+ project_id: string;
38
+ database_name: string;
39
+ database__name?: string | undefined;
40
+ database__owner__name?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { neonPatchBranchDatabaseInformation };
9
44
  //# sourceMappingURL=patch-branch-database-information.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-branch-database-information.d.mts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAMU;AAAA,cAuBrD,wCAAA,EAA0C,CAAA,CAAE,UAGU;AAAA,cAEtD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"patch-branch-database-information.d.mts","names":[],"sources":["../../src/actions/patch-branch-database-information.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}