@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
@@ -11,22 +11,22 @@ const NeonStartBranchAnonymization_LastRunSchema = z.object({
11
11
  triggeredBy: z.string().describe("UUID of the user who triggered the latest anonymization attempt.").nullable().optional(),
12
12
  maskedColumns: z.number().int().describe("Number of columns that had masking rules applied during the attempt.").nullable().optional(),
13
13
  triggeredByUsername: z.string().describe("Username of the user who triggered the latest anonymization attempt.").nullable().optional()
14
- }).describe("Metadata about the most recent anonymization attempt for the branch.");
14
+ }).passthrough().describe("Metadata about the most recent anonymization attempt for the branch.");
15
15
  const neonStartBranchAnonymization = action("NEON_START_BRANCH_ANONYMIZATION", {
16
16
  slug: "neon-start-branch-anonymization",
17
17
  name: "Start branch anonymization",
18
18
  description: "Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.",
19
19
  input: NeonStartBranchAnonymizationInput,
20
20
  output: z.object({
21
- state: z.string().describe("The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error"),
21
+ state: z.string().describe("The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error").nullable(),
22
22
  lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),
23
- branchId: z.string().describe("The ID of the anonymized branch"),
23
+ branchId: z.string().describe("The ID of the anonymized branch").nullable(),
24
24
  failedAt: z.string().describe("A timestamp indicating when the anonymized branch operation failed (if applicable)").nullable().optional(),
25
- createdAt: z.string().describe("A timestamp indicating when the anonymized branch was created"),
26
- projectId: z.string().describe("The ID of the project"),
27
- updatedAt: z.string().describe("A timestamp indicating when the anonymized branch status was last updated"),
25
+ createdAt: z.string().describe("A timestamp indicating when the anonymized branch was created").nullable(),
26
+ projectId: z.string().describe("The ID of the project").nullable(),
27
+ updatedAt: z.string().describe("A timestamp indicating when the anonymized branch status was last updated").nullable(),
28
28
  statusMessage: z.string().describe("A descriptive message about the current status or any errors").nullable().optional()
29
- }).describe("Response schema for `StartBranchAnonymization`")
29
+ }).passthrough().describe("Response schema for `StartBranchAnonymization`")
30
30
  });
31
31
  //#endregion
32
32
  export { neonStartBranchAnonymization };
@@ -1 +1 @@
1
- {"version":3,"file":"start-branch-anonymization.mjs","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput: z.ZodTypeAny = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema: z.ZodTypeAny = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput: z.ZodTypeAny = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\"),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\"),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\"),\n projectId: z.string().describe(\"The ID of the project\"),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\"),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA2D,EAAE,OAAO;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAYlF,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB8D,EAAE,OAAO;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;EACpK,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"start-branch-anonymization.mjs","names":[],"sources":["../../src/actions/start-branch-anonymization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartBranchAnonymizationInput = z.object({\n branch_id: z.string().describe(\"The branch ID\"),\n project_id: z.string().describe(\"The Neon project ID\"),\n}).describe(\"Request schema for `StartBranchAnonymization`\");\nconst NeonStartBranchAnonymization_LastRunSchema = z.object({\n startedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt started.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp indicating when the latest anonymization attempt completed. Populated even if the attempt failed.\").nullable().optional(),\n triggeredBy: z.string().describe(\"UUID of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n maskedColumns: z.number().int().describe(\"Number of columns that had masking rules applied during the attempt.\").nullable().optional(),\n triggeredByUsername: z.string().describe(\"Username of the user who triggered the latest anonymization attempt.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the most recent anonymization attempt for the branch.\");\nexport const NeonStartBranchAnonymizationOutput = z.object({\n state: z.string().describe(\"The current state of the anonymized branch. Possible values: created, initialized, initialization_error, anonymizing, anonymized, error\").nullable(),\n lastRun: NeonStartBranchAnonymization_LastRunSchema.nullable().optional(),\n branchId: z.string().describe(\"The ID of the anonymized branch\").nullable(),\n failedAt: z.string().describe(\"A timestamp indicating when the anonymized branch operation failed (if applicable)\").nullable().optional(),\n createdAt: z.string().describe(\"A timestamp indicating when the anonymized branch was created\").nullable(),\n projectId: z.string().describe(\"The ID of the project\").nullable(),\n updatedAt: z.string().describe(\"A timestamp indicating when the anonymized branch status was last updated\").nullable(),\n statusMessage: z.string().describe(\"A descriptive message about the current status or any errors\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartBranchAnonymization`\");\n\nexport const neonStartBranchAnonymization = action(\"NEON_START_BRANCH_ANONYMIZATION\", {\n slug: \"neon-start-branch-anonymization\",\n name: \"Start branch anonymization\",\n description: \"Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.\",\n input: NeonStartBranchAnonymizationInput,\n output: NeonStartBranchAnonymizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAYhG,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;EAC/K,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -7,15 +7,15 @@ const NeonStartEndpointForProjectInput = zod.z.object({
7
7
  }).describe("Request schema for `StartEndpointForProject`");
8
8
  const NeonStartEndpointForProject_EndpointSettingsSchema = zod.z.object({ pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration settings.").nullable().optional() }).passthrough().describe("PostgreSQL configuration settings for the endpoint.");
9
9
  const NeonStartEndpointForProject_EndpointInfoSchema = zod.z.object({
10
- id: zod.z.string().describe("The unique compute endpoint identifier."),
11
- host: zod.z.string().describe("The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech')."),
10
+ id: zod.z.string().describe("The unique compute endpoint identifier.").nullable(),
11
+ host: zod.z.string().describe("The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').").nullable(),
12
12
  type: zod.z.string().describe("The endpoint type (e.g., 'read_write', 'read_only').").nullable().optional(),
13
13
  disabled: zod.z.boolean().describe("Whether the endpoint is disabled.").nullable().optional(),
14
14
  settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),
15
- branch_id: zod.z.string().describe("The branch ID this endpoint is associated with."),
15
+ branch_id: zod.z.string().describe("The branch ID this endpoint is associated with.").nullable(),
16
16
  region_id: zod.z.string().describe("The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').").nullable().optional(),
17
17
  created_at: zod.z.string().describe("Timestamp when the endpoint was created.").nullable().optional(),
18
- project_id: zod.z.string().describe("The project ID this endpoint belongs to."),
18
+ project_id: zod.z.string().describe("The project ID this endpoint belongs to.").nullable(),
19
19
  proxy_host: zod.z.string().describe("The proxy host for the endpoint.").nullable().optional(),
20
20
  started_at: zod.z.string().describe("Timestamp when the endpoint was last started.").nullable().optional(),
21
21
  updated_at: zod.z.string().describe("Timestamp when the endpoint was last updated.").nullable().optional(),
@@ -31,12 +31,12 @@ const NeonStartEndpointForProject_EndpointInfoSchema = zod.z.object({
31
31
  autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling.").nullable().optional()
32
32
  }).passthrough().describe("Information about the started compute endpoint.");
33
33
  const NeonStartEndpointForProject_OperationInfoSchema = zod.z.object({
34
- id: zod.z.string().describe("The unique operation identifier."),
35
- action: zod.z.string().describe("The action being performed (e.g., 'start_compute')."),
36
- status: zod.z.string().describe("The current status of the operation (e.g., 'running', 'finished')."),
34
+ id: zod.z.string().describe("The unique operation identifier.").nullable(),
35
+ action: zod.z.string().describe("The action being performed (e.g., 'start_compute').").nullable(),
36
+ status: zod.z.string().describe("The current status of the operation (e.g., 'running', 'finished').").nullable(),
37
37
  branch_id: zod.z.string().describe("The branch ID this operation is associated with.").nullable().optional(),
38
38
  created_at: zod.z.string().describe("Timestamp when the operation was created.").nullable().optional(),
39
- project_id: zod.z.string().describe("The project ID this operation belongs to."),
39
+ project_id: zod.z.string().describe("The project ID this operation belongs to.").nullable(),
40
40
  updated_at: zod.z.string().describe("Timestamp when the operation was last updated.").nullable().optional(),
41
41
  endpoint_id: zod.z.string().describe("The endpoint ID this operation is associated with.").nullable().optional(),
42
42
  failures_count: zod.z.number().int().describe("Number of failures for this operation.").nullable().optional(),
@@ -46,7 +46,7 @@ const NeonStartEndpointForProject_StartEndpointResponseDataSchema = zod.z.object
46
46
  endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),
47
47
  operations: zod.z.array(NeonStartEndpointForProject_OperationInfoSchema).describe("List of operations triggered by starting the endpoint. Empty if endpoint was already active.").nullable().optional()
48
48
  }).passthrough().describe("Data container for start endpoint response.");
49
- const NeonStartEndpointForProjectOutput = zod.z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).describe("Response schema for `StartEndpointForProject`");
49
+ const NeonStartEndpointForProjectOutput = zod.z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).passthrough().describe("Response schema for `StartEndpointForProject`");
50
50
  const neonStartEndpointForProject = require_action.action("NEON_START_ENDPOINT_FOR_PROJECT", {
51
51
  slug: "neon-start-endpoint-for-project",
52
52
  name: "Start endpoint for project",
@@ -1 +1 @@
1
- {"version":3,"file":"start-endpoint-for-project.cjs","names":["z","action"],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema: z.ZodTypeAny = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\"),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\"),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\"),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\"),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique operation identifier.\"),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\"),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\"),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\"),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema: z.ZodTypeAny = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput: z.ZodTypeAny = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qDAAmEA,IAAAA,EAAE,OAAO,EAChF,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,mDAAmD,SAAS,CAAC,CAAC,SA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AC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,UAAU,+CAA+C,SAAS;CAClE,YAAYA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"start-endpoint-for-project.cjs","names":["z","action"],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\").nullable(),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\").nullable(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation identifier.\").nullable(),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO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C,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,56 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/start-endpoint-for-project.d.ts
4
- declare const NeonStartEndpointForProjectInput: z.ZodTypeAny;
5
- declare const NeonStartEndpointForProjectOutput: z.ZodTypeAny;
6
- declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonStartEndpointForProjectInput: z.ZodObject<{
5
+ project_id: z.ZodString;
6
+ endpoint_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NeonStartEndpointForProjectOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ endpoint: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ host: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ pg_settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ }, z.core.$loose>>>;
18
+ branch_id: z.ZodNullable<z.ZodString>;
19
+ region_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ project_id: z.ZodNullable<z.ZodString>;
22
+ proxy_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ last_active: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ pooler_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ suspended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ current_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ pooler_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ passwordless_access: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ }, z.core.$loose>>;
36
+ operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
37
+ id: z.ZodNullable<z.ZodString>;
38
+ action: z.ZodNullable<z.ZodString>;
39
+ status: z.ZodNullable<z.ZodString>;
40
+ branch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ project_id: z.ZodNullable<z.ZodString>;
43
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ failures_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ }, z.core.$loose>>>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>;
50
+ declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ project_id: string;
52
+ endpoint_id: string;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
54
  //#endregion
8
55
  export { neonStartEndpointForProject };
9
56
  //# sourceMappingURL=start-endpoint-for-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-endpoint-for-project.d.cts","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cA4C9C,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"start-endpoint-for-project.d.cts","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cA+ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,56 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/start-endpoint-for-project.d.ts
4
- declare const NeonStartEndpointForProjectInput: z.ZodTypeAny;
5
- declare const NeonStartEndpointForProjectOutput: z.ZodTypeAny;
6
- declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonStartEndpointForProjectInput: z.ZodObject<{
5
+ project_id: z.ZodString;
6
+ endpoint_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NeonStartEndpointForProjectOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ endpoint: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ host: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ pg_settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ }, z.core.$loose>>>;
18
+ branch_id: z.ZodNullable<z.ZodString>;
19
+ region_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ project_id: z.ZodNullable<z.ZodString>;
22
+ proxy_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ last_active: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ pooler_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ suspended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ current_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ pooler_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ passwordless_access: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ }, z.core.$loose>>;
36
+ operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
37
+ id: z.ZodNullable<z.ZodString>;
38
+ action: z.ZodNullable<z.ZodString>;
39
+ status: z.ZodNullable<z.ZodString>;
40
+ branch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ project_id: z.ZodNullable<z.ZodString>;
43
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ failures_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ }, z.core.$loose>>>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>;
50
+ declare const neonStartEndpointForProject: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ project_id: string;
52
+ endpoint_id: string;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
54
  //#endregion
8
55
  export { neonStartEndpointForProject };
9
56
  //# sourceMappingURL=start-endpoint-for-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-endpoint-for-project.d.mts","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cA4C9C,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"start-endpoint-for-project.d.mts","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cA+ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -7,15 +7,15 @@ const NeonStartEndpointForProjectInput = z.object({
7
7
  }).describe("Request schema for `StartEndpointForProject`");
8
8
  const NeonStartEndpointForProject_EndpointSettingsSchema = z.object({ pg_settings: z.record(z.string(), z.unknown()).describe("PostgreSQL configuration settings.").nullable().optional() }).passthrough().describe("PostgreSQL configuration settings for the endpoint.");
9
9
  const NeonStartEndpointForProject_EndpointInfoSchema = z.object({
10
- id: z.string().describe("The unique compute endpoint identifier."),
11
- host: z.string().describe("The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech')."),
10
+ id: z.string().describe("The unique compute endpoint identifier.").nullable(),
11
+ host: z.string().describe("The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').").nullable(),
12
12
  type: z.string().describe("The endpoint type (e.g., 'read_write', 'read_only').").nullable().optional(),
13
13
  disabled: z.boolean().describe("Whether the endpoint is disabled.").nullable().optional(),
14
14
  settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),
15
- branch_id: z.string().describe("The branch ID this endpoint is associated with."),
15
+ branch_id: z.string().describe("The branch ID this endpoint is associated with.").nullable(),
16
16
  region_id: z.string().describe("The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').").nullable().optional(),
17
17
  created_at: z.string().describe("Timestamp when the endpoint was created.").nullable().optional(),
18
- project_id: z.string().describe("The project ID this endpoint belongs to."),
18
+ project_id: z.string().describe("The project ID this endpoint belongs to.").nullable(),
19
19
  proxy_host: z.string().describe("The proxy host for the endpoint.").nullable().optional(),
20
20
  started_at: z.string().describe("Timestamp when the endpoint was last started.").nullable().optional(),
21
21
  updated_at: z.string().describe("Timestamp when the endpoint was last updated.").nullable().optional(),
@@ -31,12 +31,12 @@ const NeonStartEndpointForProject_EndpointInfoSchema = z.object({
31
31
  autoscaling_limit_min_cu: z.number().describe("Minimum compute units for autoscaling.").nullable().optional()
32
32
  }).passthrough().describe("Information about the started compute endpoint.");
33
33
  const NeonStartEndpointForProject_OperationInfoSchema = z.object({
34
- id: z.string().describe("The unique operation identifier."),
35
- action: z.string().describe("The action being performed (e.g., 'start_compute')."),
36
- status: z.string().describe("The current status of the operation (e.g., 'running', 'finished')."),
34
+ id: z.string().describe("The unique operation identifier.").nullable(),
35
+ action: z.string().describe("The action being performed (e.g., 'start_compute').").nullable(),
36
+ status: z.string().describe("The current status of the operation (e.g., 'running', 'finished').").nullable(),
37
37
  branch_id: z.string().describe("The branch ID this operation is associated with.").nullable().optional(),
38
38
  created_at: z.string().describe("Timestamp when the operation was created.").nullable().optional(),
39
- project_id: z.string().describe("The project ID this operation belongs to."),
39
+ project_id: z.string().describe("The project ID this operation belongs to.").nullable(),
40
40
  updated_at: z.string().describe("Timestamp when the operation was last updated.").nullable().optional(),
41
41
  endpoint_id: z.string().describe("The endpoint ID this operation is associated with.").nullable().optional(),
42
42
  failures_count: z.number().int().describe("Number of failures for this operation.").nullable().optional(),
@@ -51,7 +51,7 @@ const neonStartEndpointForProject = action("NEON_START_ENDPOINT_FOR_PROJECT", {
51
51
  name: "Start endpoint for project",
52
52
  description: "Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.",
53
53
  input: NeonStartEndpointForProjectInput,
54
- output: z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).describe("Response schema for `StartEndpointForProject`")
54
+ output: z.object({ data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable() }).passthrough().describe("Response schema for `StartEndpointForProject`")
55
55
  });
56
56
  //#endregion
57
57
  export { neonStartEndpointForProject };
@@ -1 +1 @@
1
- {"version":3,"file":"start-endpoint-for-project.mjs","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema: z.ZodTypeAny = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\"),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\"),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\"),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\"),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique operation identifier.\"),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\"),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\"),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\"),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema: z.ZodTypeAny = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput: z.ZodTypeAny = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qDAAmE,EAAE,OAAO,EAChF,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,WAAW,EAAE,OAAO,CAAC,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C,CAAC,SAAS,6CAA6C;AAKvE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"start-endpoint-for-project.mjs","names":[],"sources":["../../src/actions/start-endpoint-for-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonStartEndpointForProjectInput = z.object({\n project_id: z.string().describe(\"The unique Neon project identifier (e.g., 'dry-smoke-26258271'). Can be obtained from the projects list endpoint.\"),\n endpoint_id: z.string().describe(\"The unique compute endpoint identifier (e.g., 'ep-patient-morning-afvkyj5f'). Can be obtained from the project endpoints list.\"),\n}).describe(\"Request schema for `StartEndpointForProject`\");\nconst NeonStartEndpointForProject_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL configuration settings for the endpoint.\");\nconst NeonStartEndpointForProject_EndpointInfoSchema = z.object({\n id: z.string().describe(\"The unique compute endpoint identifier.\").nullable(),\n host: z.string().describe(\"The hostname for database connections (e.g., 'ep-patient-morning-afvkyj5f.c-2.us-west-2.aws.neon.tech').\").nullable(),\n type: z.string().describe(\"The endpoint type (e.g., 'read_write', 'read_only').\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled.\").nullable().optional(),\n settings: NeonStartEndpointForProject_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch ID this endpoint is associated with.\").nullable(),\n region_id: z.string().describe(\"The AWS region where the endpoint is deployed (e.g., 'aws-us-west-2').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this endpoint belongs to.\").nullable(),\n proxy_host: z.string().describe(\"The proxy host for the endpoint.\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the endpoint was last started.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated.\").nullable().optional(),\n last_active: z.string().describe(\"Timestamp of last activity on the endpoint.\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooler mode (e.g., 'transaction').\").nullable().optional(),\n suspended_at: z.string().describe(\"Timestamp when the endpoint was last suspended (if applicable).\").nullable().optional(),\n current_state: z.string().describe(\"Current state of the endpoint (e.g., 'active', 'idle').\").nullable().optional(),\n pending_state: z.string().describe(\"The state the endpoint is transitioning to (e.g., 'active' when starting).\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled.\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless access is enabled.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Timeout in seconds before the endpoint is suspended due to inactivity (0 means never auto-suspend).\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Information about the started compute endpoint.\");\nconst NeonStartEndpointForProject_OperationInfoSchema = z.object({\n id: z.string().describe(\"The unique operation identifier.\").nullable(),\n action: z.string().describe(\"The action being performed (e.g., 'start_compute').\").nullable(),\n status: z.string().describe(\"The current status of the operation (e.g., 'running', 'finished').\").nullable(),\n branch_id: z.string().describe(\"The branch ID this operation is associated with.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created.\").nullable().optional(),\n project_id: z.string().describe(\"The project ID this operation belongs to.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation was last updated.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The endpoint ID this operation is associated with.\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of failures for this operation.\").nullable().optional(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about an operation triggered by starting the endpoint.\");\nconst NeonStartEndpointForProject_StartEndpointResponseDataSchema = z.object({\n endpoint: NeonStartEndpointForProject_EndpointInfoSchema.nullable(),\n operations: z.array(NeonStartEndpointForProject_OperationInfoSchema).describe(\"List of operations triggered by starting the endpoint. Empty if endpoint was already active.\").nullable().optional(),\n}).passthrough().describe(\"Data container for start endpoint response.\");\nexport const NeonStartEndpointForProjectOutput = z.object({\n data: NeonStartEndpointForProject_StartEndpointResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for `StartEndpointForProject`\");\n\nexport const neonStartEndpointForProject = action(\"NEON_START_ENDPOINT_FOR_PROJECT\", {\n slug: \"neon-start-endpoint-for-project\",\n name: \"Start endpoint for project\",\n description: \"Starts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.\",\n input: NeonStartEndpointForProjectInput,\n output: NeonStartEndpointForProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qDAAqD,EAAE,OAAO,EAClE,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAA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C,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,8DAA8D,EAAE,OAAO;CAC3E,UAAU,+CAA+C,SAAS;CAClE,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -6,21 +6,21 @@ const NeonSuspendProjectEndpointByIdInput = zod.z.object({
6
6
  endpoint_id: zod.z.string().describe("The endpoint ID")
7
7
  }).describe("Request schema for `SuspendProjectEndpointById`");
8
8
  const NeonSuspendProjectEndpointById_EndpointSchema = zod.z.object({
9
- id: zod.z.string().describe("The compute endpoint identifier with ep- prefix"),
10
- host: zod.z.string().describe("The endpoint hostname for database connections"),
11
- type: zod.z.string().describe("The endpoint type: read_write or read_only"),
9
+ id: zod.z.string().describe("The compute endpoint identifier with ep- prefix").nullable(),
10
+ host: zod.z.string().describe("The endpoint hostname for database connections").nullable(),
11
+ type: zod.z.string().describe("The endpoint type: read_write or read_only").nullable(),
12
12
  disabled: zod.z.boolean().describe("Whether the endpoint is disabled").nullable().optional(),
13
13
  settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Endpoint configuration settings including pg_settings and pgbouncer_settings").nullable().optional(),
14
- branch_id: zod.z.string().describe("The branch identifier associated with the endpoint"),
15
- region_id: zod.z.string().describe("The AWS region identifier where the endpoint is deployed"),
16
- created_at: zod.z.string().describe("Timestamp when the endpoint was created (ISO 8601 format)"),
17
- project_id: zod.z.string().describe("The Neon project identifier"),
14
+ branch_id: zod.z.string().describe("The branch identifier associated with the endpoint").nullable(),
15
+ region_id: zod.z.string().describe("The AWS region identifier where the endpoint is deployed").nullable(),
16
+ created_at: zod.z.string().describe("Timestamp when the endpoint was created (ISO 8601 format)").nullable(),
17
+ project_id: zod.z.string().describe("The Neon project identifier").nullable(),
18
18
  proxy_host: zod.z.string().describe("The proxy hostname for the endpoint").nullable().optional(),
19
- updated_at: zod.z.string().describe("Timestamp when the endpoint was last updated (ISO 8601 format)"),
19
+ updated_at: zod.z.string().describe("Timestamp when the endpoint was last updated (ISO 8601 format)").nullable(),
20
20
  last_active: zod.z.string().describe("Timestamp when the endpoint was last active (ISO 8601 format)").nullable().optional(),
21
21
  pooler_mode: zod.z.string().describe("Connection pooling mode (e.g., transaction)").nullable().optional(),
22
22
  provisioner: zod.z.string().describe("The compute provisioner (e.g., k8s-neonvm)").nullable().optional(),
23
- current_state: zod.z.string().describe("Current operational state of the endpoint (e.g., init, idle, active)"),
23
+ current_state: zod.z.string().describe("Current operational state of the endpoint (e.g., init, idle, active)").nullable(),
24
24
  pending_state: zod.z.string().describe("The pending state if the endpoint is transitioning").nullable().optional(),
25
25
  pooler_enabled: zod.z.boolean().describe("Whether connection pooling is enabled").nullable().optional(),
26
26
  creation_source: zod.z.string().describe("Source of the endpoint creation (e.g., console)").nullable().optional(),
@@ -28,25 +28,25 @@ const NeonSuspendProjectEndpointById_EndpointSchema = zod.z.object({
28
28
  suspend_timeout_seconds: zod.z.number().int().describe("Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)").nullable().optional(),
29
29
  autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling (minimum 0.25)").nullable().optional(),
30
30
  autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling (minimum 0.25)").nullable().optional()
31
- }).describe("Compute endpoint details");
31
+ }).passthrough().describe("Compute endpoint details");
32
32
  const NeonSuspendProjectEndpointById_OperationSchema = zod.z.object({
33
- id: zod.z.string().describe("Unique operation identifier (UUID format)"),
33
+ id: zod.z.string().describe("Unique operation identifier (UUID format)").nullable(),
34
34
  error: zod.z.string().describe("Error message if the operation failed").nullable().optional(),
35
- action: zod.z.string().describe("The operation action type (e.g., suspend_compute)"),
36
- status: zod.z.string().describe("Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped"),
35
+ action: zod.z.string().describe("The operation action type (e.g., suspend_compute)").nullable(),
36
+ status: zod.z.string().describe("Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped").nullable(),
37
37
  retry_at: zod.z.string().describe("Timestamp when the operation was last retried (ISO 8601 format)").nullable().optional(),
38
38
  branch_id: zod.z.string().describe("The branch identifier").nullable().optional(),
39
- created_at: zod.z.string().describe("Timestamp when the operation was created (ISO 8601 format)"),
40
- project_id: zod.z.string().describe("The Neon project identifier"),
41
- updated_at: zod.z.string().describe("Timestamp when the operation status was last updated (ISO 8601 format)"),
39
+ created_at: zod.z.string().describe("Timestamp when the operation was created (ISO 8601 format)").nullable(),
40
+ project_id: zod.z.string().describe("The Neon project identifier").nullable(),
41
+ updated_at: zod.z.string().describe("Timestamp when the operation status was last updated (ISO 8601 format)").nullable(),
42
42
  endpoint_id: zod.z.string().describe("The compute endpoint identifier").nullable().optional(),
43
- failures_count: zod.z.number().int().describe("Number of times the operation failed"),
44
- total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds")
45
- }).describe("Operation details for the suspend request");
43
+ failures_count: zod.z.number().int().describe("Number of times the operation failed").nullable(),
44
+ total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds").nullable()
45
+ }).passthrough().describe("Operation details for the suspend request");
46
46
  const NeonSuspendProjectEndpointByIdOutput = zod.z.object({
47
47
  endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),
48
48
  operations: zod.z.array(NeonSuspendProjectEndpointById_OperationSchema).describe("Array of operations initiated by the suspend request")
49
- }).describe("Response schema for `SuspendProjectEndpointById`");
49
+ }).passthrough().describe("Response schema for `SuspendProjectEndpointById`");
50
50
  const neonSuspendProjectEndpointById = require_action.action("NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID", {
51
51
  slug: "neon-suspend-project-endpoint-by-id",
52
52
  name: "Suspend project endpoint by id",
@@ -1 +1 @@
1
- {"version":3,"file":"suspend-project-endpoint-by-id.cjs","names":["z","action"],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSuspendProjectEndpointByIdInput: z.ZodTypeAny = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n}).describe(\"Request schema for `SuspendProjectEndpointById`\");\nconst NeonSuspendProjectEndpointById_EndpointSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The compute endpoint identifier with ep- prefix\"),\n host: z.string().describe(\"The endpoint hostname for database connections\"),\n type: z.string().describe(\"The endpoint type: read_write or read_only\"),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint configuration settings including pg_settings and pgbouncer_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the endpoint\"),\n region_id: z.string().describe(\"The AWS region identifier where the endpoint is deployed\"),\n created_at: z.string().describe(\"Timestamp when the endpoint was created (ISO 8601 format)\"),\n project_id: z.string().describe(\"The Neon project identifier\"),\n proxy_host: z.string().describe(\"The proxy hostname for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated (ISO 8601 format)\"),\n last_active: z.string().describe(\"Timestamp when the endpoint was last active (ISO 8601 format)\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooling mode (e.g., transaction)\").nullable().optional(),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-neonvm)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the endpoint (e.g., init, idle, active)\"),\n pending_state: z.string().describe(\"The pending state if the endpoint is transitioning\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n creation_source: z.string().describe(\"Source of the endpoint creation (e.g., console)\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n}).describe(\"Compute endpoint details\");\nconst NeonSuspendProjectEndpointById_OperationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique operation identifier (UUID format)\"),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The operation action type (e.g., suspend_compute)\"),\n status: z.string().describe(\"Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped\"),\n retry_at: z.string().describe(\"Timestamp when the operation was last retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\"),\n project_id: z.string().describe(\"The Neon project identifier\"),\n updated_at: z.string().describe(\"Timestamp when the operation status was last updated (ISO 8601 format)\"),\n endpoint_id: z.string().describe(\"The compute endpoint identifier\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\"),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\"),\n}).describe(\"Operation details for the suspend request\");\nexport const NeonSuspendProjectEndpointByIdOutput: z.ZodTypeAny = z.object({\n endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),\n operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe(\"Array of operations initiated by the suspend request\"),\n}).describe(\"Response schema for `SuspendProjectEndpointById`\");\n\nexport const neonSuspendProjectEndpointById = action(\"NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID\", {\n slug: \"neon-suspend-project-endpoint-by-id\",\n name: \"Suspend project endpoint by id\",\n description: \"Suspends a specific endpoint within a project in the Neon B2B SaaS integration platform. This operation temporarily disables the endpoint, preventing it from processing further requests until it is resumed. Use this endpoint when you need to conserve resources, perform maintenance, or temporarily halt operations for a particular integration point. The suspension is reversible, allowing you to resume the endpoint's functionality when needed. This tool is particularly useful for managing resource utilization and costs in your Neon project by allowing fine-grained control over individual endpoints.\",\n input: NeonSuspendProjectEndpointByIdInput,\n output: NeonSuspendProjectEndpointByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;AACpD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EA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AAsC;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAChG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,UAAU,8CAA8C,SAAS;CACjE,YAAYA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,sDAAsD;AACrI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"suspend-project-endpoint-by-id.cjs","names":["z","action"],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonSuspendProjectEndpointByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n}).describe(\"Request schema for `SuspendProjectEndpointById`\");\nconst NeonSuspendProjectEndpointById_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier with ep- prefix\").nullable(),\n host: z.string().describe(\"The endpoint hostname for database connections\").nullable(),\n type: z.string().describe(\"The endpoint type: read_write or read_only\").nullable(),\n disabled: z.boolean().describe(\"Whether the endpoint is disabled\").nullable().optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Endpoint configuration settings including pg_settings and pgbouncer_settings\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the endpoint\").nullable(),\n region_id: z.string().describe(\"The AWS region identifier where the endpoint is deployed\").nullable(),\n created_at: z.string().describe(\"Timestamp when the endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n proxy_host: z.string().describe(\"The proxy hostname for the endpoint\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the endpoint was last updated (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp when the endpoint was last active (ISO 8601 format)\").nullable().optional(),\n pooler_mode: z.string().describe(\"Connection pooling mode (e.g., transaction)\").nullable().optional(),\n provisioner: z.string().describe(\"The compute provisioner (e.g., k8s-neonvm)\").nullable().optional(),\n current_state: z.string().describe(\"Current operational state of the endpoint (e.g., init, idle, active)\").nullable(),\n pending_state: z.string().describe(\"The pending state if the endpoint is transitioning\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled\").nullable().optional(),\n creation_source: z.string().describe(\"Source of the endpoint creation (e.g., console)\").nullable().optional(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds before auto-suspend (0 = use global default, -1 = never suspend, default = 300)\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling (minimum 0.25)\").nullable().optional(),\n}).passthrough().describe(\"Compute endpoint details\");\nconst NeonSuspendProjectEndpointById_OperationSchema = z.object({\n id: z.string().describe(\"Unique operation identifier (UUID format)\").nullable(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n action: z.string().describe(\"The operation action type (e.g., suspend_compute)\").nullable(),\n status: z.string().describe(\"Current operation status: scheduling, running, finished, failed, error, cancelling, cancelled, or skipped\").nullable(),\n retry_at: z.string().describe(\"Timestamp when the operation was last retried (ISO 8601 format)\").nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The Neon project identifier\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the operation status was last updated (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier\").nullable().optional(),\n failures_count: z.number().int().describe(\"Number of times the operation failed\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable(),\n}).passthrough().describe(\"Operation details for the suspend request\");\nexport const NeonSuspendProjectEndpointByIdOutput = z.object({\n endpoint: NeonSuspendProjectEndpointById_EndpointSchema.nullable(),\n operations: z.array(NeonSuspendProjectEndpointById_OperationSchema).describe(\"Array of operations initiated by the suspend request\"),\n}).passthrough().describe(\"Response schema for `SuspendProjectEndpointById`\");\n\nexport const neonSuspendProjectEndpointById = action(\"NEON_SUSPEND_PROJECT_ENDPOINT_BY_ID\", {\n slug: \"neon-suspend-project-endpoint-by-id\",\n name: \"Suspend project endpoint by id\",\n description: \"Suspends a specific endpoint within a project in the Neon B2B SaaS integration platform. This operation temporarily disables the endpoint, preventing it from processing further requests until it is resumed. Use this endpoint when you need to conserve resources, perform maintenance, or temporarily halt operations for a particular integration point. The suspension is reversible, allowing you to resume the endpoint's functionality when needed. This tool is particularly useful for managing resource utilization and costs in your Neon project by allowing fine-grained control over individual endpoints.\",\n input: NeonSuspendProjectEndpointByIdInput,\n output: NeonSuspendProjectEndpointByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;AACpD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,C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G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAU,8CAA8C,SAAS;CACjE,YAAYA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,sDAAsD;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/suspend-project-endpoint-by-id.d.ts
4
- declare const NeonSuspendProjectEndpointByIdInput: z.ZodTypeAny;
5
- declare const NeonSuspendProjectEndpointByIdOutput: z.ZodTypeAny;
6
- declare const neonSuspendProjectEndpointById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeonSuspendProjectEndpointByIdInput: z.ZodObject<{
5
+ project_id: z.ZodString;
6
+ endpoint_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NeonSuspendProjectEndpointByIdOutput: z.ZodObject<{
9
+ endpoint: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ host: z.ZodNullable<z.ZodString>;
12
+ type: z.ZodNullable<z.ZodString>;
13
+ disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ branch_id: z.ZodNullable<z.ZodString>;
16
+ region_id: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ project_id: z.ZodNullable<z.ZodString>;
19
+ proxy_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodNullable<z.ZodString>;
21
+ last_active: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ pooler_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ provisioner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ current_state: z.ZodNullable<z.ZodString>;
25
+ pending_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ pooler_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ creation_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ passwordless_access: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ suspend_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ }, z.core.$loose>>;
33
+ operations: z.ZodArray<z.ZodObject<{
34
+ id: z.ZodNullable<z.ZodString>;
35
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ action: z.ZodNullable<z.ZodString>;
37
+ status: z.ZodNullable<z.ZodString>;
38
+ retry_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ branch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ created_at: z.ZodNullable<z.ZodString>;
41
+ project_id: z.ZodNullable<z.ZodString>;
42
+ updated_at: z.ZodNullable<z.ZodString>;
43
+ endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ failures_count: z.ZodNullable<z.ZodNumber>;
45
+ total_duration_ms: z.ZodNullable<z.ZodNumber>;
46
+ }, z.core.$loose>>;
47
+ }, z.core.$loose>;
48
+ declare const neonSuspendProjectEndpointById: import("@keystrokehq/action").WorkflowActionDefinition<{
49
+ project_id: string;
50
+ endpoint_id: string;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { neonSuspendProjectEndpointById };
9
54
  //# sourceMappingURL=suspend-project-endpoint-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"suspend-project-endpoint-by-id.d.cts","names":[],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGU;AAAA,cAuCjD,oCAAA,EAAsC,CAAA,CAAE,UAGU;AAAA,cAElD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"suspend-project-endpoint-by-id.d.cts","names":[],"sources":["../../src/actions/suspend-project-endpoint-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cA0CnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}