@keystrokehq/neon 0.1.4 → 0.1.6

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 (869) 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 -0
  4. package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -1
  5. package/dist/actions/accept-projects-transfer-requests.d.cts +3 -5
  6. package/dist/actions/accept-projects-transfer-requests.d.cts.map +1 -1
  7. package/dist/actions/accept-projects-transfer-requests.d.mts +3 -5
  8. package/dist/actions/accept-projects-transfer-requests.d.mts.map +1 -1
  9. package/dist/actions/accept-projects-transfer-requests.mjs +1 -0
  10. package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -1
  11. package/dist/actions/access-project-details-by-id.cjs +1 -0
  12. package/dist/actions/access-project-details-by-id.cjs.map +1 -1
  13. package/dist/actions/access-project-details-by-id.d.cts +3 -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 +3 -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 +1 -0
  18. package/dist/actions/access-project-details-by-id.mjs.map +1 -1
  19. package/dist/actions/add-new-jwks-to-project-endpoint.cjs +1 -0
  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 +3 -8
  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 +3 -8
  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 +1 -0
  26. package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -1
  27. package/dist/actions/add-project-email-permission.cjs +1 -0
  28. package/dist/actions/add-project-email-permission.cjs.map +1 -1
  29. package/dist/actions/add-project-email-permission.d.cts +3 -4
  30. package/dist/actions/add-project-email-permission.d.cts.map +1 -1
  31. package/dist/actions/add-project-email-permission.d.mts +3 -4
  32. package/dist/actions/add-project-email-permission.d.mts.map +1 -1
  33. package/dist/actions/add-project-email-permission.mjs +1 -0
  34. package/dist/actions/add-project-email-permission.mjs.map +1 -1
  35. package/dist/actions/add-role-to-branch.cjs +1 -0
  36. package/dist/actions/add-role-to-branch.cjs.map +1 -1
  37. package/dist/actions/add-role-to-branch.d.cts +3 -5
  38. package/dist/actions/add-role-to-branch.d.cts.map +1 -1
  39. package/dist/actions/add-role-to-branch.d.mts +3 -5
  40. package/dist/actions/add-role-to-branch.d.mts.map +1 -1
  41. package/dist/actions/add-role-to-branch.mjs +1 -0
  42. package/dist/actions/add-role-to-branch.mjs.map +1 -1
  43. package/dist/actions/count-project-branches.cjs +1 -0
  44. package/dist/actions/count-project-branches.cjs.map +1 -1
  45. package/dist/actions/count-project-branches.d.cts +3 -4
  46. package/dist/actions/count-project-branches.d.cts.map +1 -1
  47. package/dist/actions/count-project-branches.d.mts +3 -4
  48. package/dist/actions/count-project-branches.d.mts.map +1 -1
  49. package/dist/actions/count-project-branches.mjs +1 -0
  50. package/dist/actions/count-project-branches.mjs.map +1 -1
  51. package/dist/actions/create-api-key-for-organization.cjs +1 -0
  52. package/dist/actions/create-api-key-for-organization.cjs.map +1 -1
  53. package/dist/actions/create-api-key-for-organization.d.cts +3 -4
  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 +3 -4
  56. package/dist/actions/create-api-key-for-organization.d.mts.map +1 -1
  57. package/dist/actions/create-api-key-for-organization.mjs +1 -0
  58. package/dist/actions/create-api-key-for-organization.mjs.map +1 -1
  59. package/dist/actions/create-auth-keys.cjs +1 -0
  60. package/dist/actions/create-auth-keys.cjs.map +1 -1
  61. package/dist/actions/create-auth-keys.d.cts +3 -4
  62. package/dist/actions/create-auth-keys.d.cts.map +1 -1
  63. package/dist/actions/create-auth-keys.d.mts +3 -4
  64. package/dist/actions/create-auth-keys.d.mts.map +1 -1
  65. package/dist/actions/create-auth-keys.mjs +1 -0
  66. package/dist/actions/create-auth-keys.mjs.map +1 -1
  67. package/dist/actions/create-auth-user.cjs +1 -0
  68. package/dist/actions/create-auth-user.cjs.map +1 -1
  69. package/dist/actions/create-auth-user.d.cts +3 -6
  70. package/dist/actions/create-auth-user.d.cts.map +1 -1
  71. package/dist/actions/create-auth-user.d.mts +3 -6
  72. package/dist/actions/create-auth-user.d.mts.map +1 -1
  73. package/dist/actions/create-auth-user.mjs +1 -0
  74. package/dist/actions/create-auth-user.mjs.map +1 -1
  75. package/dist/actions/create-branch-database.cjs +1 -0
  76. package/dist/actions/create-branch-database.cjs.map +1 -1
  77. package/dist/actions/create-branch-database.d.cts +3 -6
  78. package/dist/actions/create-branch-database.d.cts.map +1 -1
  79. package/dist/actions/create-branch-database.d.mts +3 -6
  80. package/dist/actions/create-branch-database.d.mts.map +1 -1
  81. package/dist/actions/create-branch-database.mjs +1 -0
  82. package/dist/actions/create-branch-database.mjs.map +1 -1
  83. package/dist/actions/create-branches-auth.cjs +1 -0
  84. package/dist/actions/create-branches-auth.cjs.map +1 -1
  85. package/dist/actions/create-branches-auth.d.cts +3 -6
  86. package/dist/actions/create-branches-auth.d.cts.map +1 -1
  87. package/dist/actions/create-branches-auth.d.mts +3 -6
  88. package/dist/actions/create-branches-auth.d.mts.map +1 -1
  89. package/dist/actions/create-branches-auth.mjs +1 -0
  90. package/dist/actions/create-branches-auth.mjs.map +1 -1
  91. package/dist/actions/create-branches-data-api.cjs +1 -0
  92. package/dist/actions/create-branches-data-api.cjs.map +1 -1
  93. package/dist/actions/create-branches-data-api.d.cts +3 -23
  94. package/dist/actions/create-branches-data-api.d.cts.map +1 -1
  95. package/dist/actions/create-branches-data-api.d.mts +3 -23
  96. package/dist/actions/create-branches-data-api.d.mts.map +1 -1
  97. package/dist/actions/create-branches-data-api.mjs +1 -0
  98. package/dist/actions/create-branches-data-api.mjs.map +1 -1
  99. package/dist/actions/create-branches-snapshot.cjs +1 -0
  100. package/dist/actions/create-branches-snapshot.cjs.map +1 -1
  101. package/dist/actions/create-branches-snapshot.d.cts +3 -8
  102. package/dist/actions/create-branches-snapshot.d.cts.map +1 -1
  103. package/dist/actions/create-branches-snapshot.d.mts +3 -8
  104. package/dist/actions/create-branches-snapshot.d.mts.map +1 -1
  105. package/dist/actions/create-branches-snapshot.mjs +1 -0
  106. package/dist/actions/create-branches-snapshot.mjs.map +1 -1
  107. package/dist/actions/create-compute-endpoint.cjs +1 -0
  108. package/dist/actions/create-compute-endpoint.cjs.map +1 -1
  109. package/dist/actions/create-compute-endpoint.d.cts +3 -16
  110. package/dist/actions/create-compute-endpoint.d.cts.map +1 -1
  111. package/dist/actions/create-compute-endpoint.d.mts +3 -16
  112. package/dist/actions/create-compute-endpoint.d.mts.map +1 -1
  113. package/dist/actions/create-compute-endpoint.mjs +1 -0
  114. package/dist/actions/create-compute-endpoint.mjs.map +1 -1
  115. package/dist/actions/create-new-api-key.cjs +1 -0
  116. package/dist/actions/create-new-api-key.cjs.map +1 -1
  117. package/dist/actions/create-new-api-key.d.cts +3 -3
  118. package/dist/actions/create-new-api-key.d.cts.map +1 -1
  119. package/dist/actions/create-new-api-key.d.mts +3 -3
  120. package/dist/actions/create-new-api-key.d.mts.map +1 -1
  121. package/dist/actions/create-new-api-key.mjs +1 -0
  122. package/dist/actions/create-new-api-key.mjs.map +1 -1
  123. package/dist/actions/create-new-project-branch.cjs +1 -0
  124. package/dist/actions/create-new-project-branch.cjs.map +1 -1
  125. package/dist/actions/create-new-project-branch.d.cts +3 -6
  126. package/dist/actions/create-new-project-branch.d.cts.map +1 -1
  127. package/dist/actions/create-new-project-branch.d.mts +3 -6
  128. package/dist/actions/create-new-project-branch.d.mts.map +1 -1
  129. package/dist/actions/create-new-project-branch.mjs +1 -0
  130. package/dist/actions/create-new-project-branch.mjs.map +1 -1
  131. package/dist/actions/create-project-branch-anonymized.cjs +1 -0
  132. package/dist/actions/create-project-branch-anonymized.cjs.map +1 -1
  133. package/dist/actions/create-project-branch-anonymized.d.cts +3 -17
  134. package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -1
  135. package/dist/actions/create-project-branch-anonymized.d.mts +3 -17
  136. package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -1
  137. package/dist/actions/create-project-branch-anonymized.mjs +1 -0
  138. package/dist/actions/create-project-branch-anonymized.mjs.map +1 -1
  139. package/dist/actions/create-project-with-quota-and-settings.cjs +1 -0
  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 +3 -32
  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 +3 -32
  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 +1 -0
  146. package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -1
  147. package/dist/actions/create-projects-transfer-requests.cjs +1 -0
  148. package/dist/actions/create-projects-transfer-requests.cjs.map +1 -1
  149. package/dist/actions/create-projects-transfer-requests.d.cts +3 -4
  150. package/dist/actions/create-projects-transfer-requests.d.cts.map +1 -1
  151. package/dist/actions/create-projects-transfer-requests.d.mts +3 -4
  152. package/dist/actions/create-projects-transfer-requests.d.mts.map +1 -1
  153. package/dist/actions/create-projects-transfer-requests.mjs +1 -0
  154. package/dist/actions/create-projects-transfer-requests.mjs.map +1 -1
  155. package/dist/actions/create-vpc-endpoint-label.cjs +1 -0
  156. package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -1
  157. package/dist/actions/create-vpc-endpoint-label.d.cts +3 -5
  158. package/dist/actions/create-vpc-endpoint-label.d.cts.map +1 -1
  159. package/dist/actions/create-vpc-endpoint-label.d.mts +3 -5
  160. package/dist/actions/create-vpc-endpoint-label.d.mts.map +1 -1
  161. package/dist/actions/create-vpc-endpoint-label.mjs +1 -0
  162. package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -1
  163. package/dist/actions/create-vpc-endpoint-with-label.cjs +1 -0
  164. package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -1
  165. package/dist/actions/create-vpc-endpoint-with-label.d.cts +3 -6
  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 +3 -6
  168. package/dist/actions/create-vpc-endpoint-with-label.d.mts.map +1 -1
  169. package/dist/actions/create-vpc-endpoint-with-label.mjs +1 -0
  170. package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -1
  171. package/dist/actions/delete-api-key-by-id.cjs +1 -0
  172. package/dist/actions/delete-api-key-by-id.cjs.map +1 -1
  173. package/dist/actions/delete-api-key-by-id.d.cts +3 -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 +3 -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 +1 -0
  178. package/dist/actions/delete-api-key-by-id.mjs.map +1 -1
  179. package/dist/actions/delete-auth-domains.cjs +1 -0
  180. package/dist/actions/delete-auth-domains.cjs.map +1 -1
  181. package/dist/actions/delete-auth-domains.d.cts +3 -9
  182. package/dist/actions/delete-auth-domains.d.cts.map +1 -1
  183. package/dist/actions/delete-auth-domains.d.mts +3 -9
  184. package/dist/actions/delete-auth-domains.d.mts.map +1 -1
  185. package/dist/actions/delete-auth-domains.mjs +1 -0
  186. package/dist/actions/delete-auth-domains.mjs.map +1 -1
  187. package/dist/actions/delete-auth-oauth-provider.cjs +1 -0
  188. package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -1
  189. package/dist/actions/delete-auth-oauth-provider.d.cts +3 -5
  190. package/dist/actions/delete-auth-oauth-provider.d.cts.map +1 -1
  191. package/dist/actions/delete-auth-oauth-provider.d.mts +3 -5
  192. package/dist/actions/delete-auth-oauth-provider.d.mts.map +1 -1
  193. package/dist/actions/delete-auth-oauth-provider.mjs +1 -0
  194. package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -1
  195. package/dist/actions/delete-auth-user.cjs +1 -0
  196. package/dist/actions/delete-auth-user.cjs.map +1 -1
  197. package/dist/actions/delete-auth-user.d.cts +3 -5
  198. package/dist/actions/delete-auth-user.d.cts.map +1 -1
  199. package/dist/actions/delete-auth-user.d.mts +3 -5
  200. package/dist/actions/delete-auth-user.d.mts.map +1 -1
  201. package/dist/actions/delete-auth-user.mjs +1 -0
  202. package/dist/actions/delete-auth-user.mjs.map +1 -1
  203. package/dist/actions/delete-branch-data-api.cjs +1 -0
  204. package/dist/actions/delete-branch-data-api.cjs.map +1 -1
  205. package/dist/actions/delete-branch-data-api.d.cts +3 -5
  206. package/dist/actions/delete-branch-data-api.d.cts.map +1 -1
  207. package/dist/actions/delete-branch-data-api.d.mts +3 -5
  208. package/dist/actions/delete-branch-data-api.d.mts.map +1 -1
  209. package/dist/actions/delete-branch-data-api.mjs +1 -0
  210. package/dist/actions/delete-branch-data-api.mjs.map +1 -1
  211. package/dist/actions/delete-database-from-branch.cjs +1 -0
  212. package/dist/actions/delete-database-from-branch.cjs.map +1 -1
  213. package/dist/actions/delete-database-from-branch.d.cts +3 -5
  214. package/dist/actions/delete-database-from-branch.d.cts.map +1 -1
  215. package/dist/actions/delete-database-from-branch.d.mts +3 -5
  216. package/dist/actions/delete-database-from-branch.d.mts.map +1 -1
  217. package/dist/actions/delete-database-from-branch.mjs +1 -0
  218. package/dist/actions/delete-database-from-branch.mjs.map +1 -1
  219. package/dist/actions/delete-organization-api-key.cjs +1 -0
  220. package/dist/actions/delete-organization-api-key.cjs.map +1 -1
  221. package/dist/actions/delete-organization-api-key.d.cts +3 -4
  222. package/dist/actions/delete-organization-api-key.d.cts.map +1 -1
  223. package/dist/actions/delete-organization-api-key.d.mts +3 -4
  224. package/dist/actions/delete-organization-api-key.d.mts.map +1 -1
  225. package/dist/actions/delete-organization-api-key.mjs +1 -0
  226. package/dist/actions/delete-organization-api-key.mjs.map +1 -1
  227. package/dist/actions/delete-organization-member.cjs +1 -0
  228. package/dist/actions/delete-organization-member.cjs.map +1 -1
  229. package/dist/actions/delete-organization-member.d.cts +3 -4
  230. package/dist/actions/delete-organization-member.d.cts.map +1 -1
  231. package/dist/actions/delete-organization-member.d.mts +3 -4
  232. package/dist/actions/delete-organization-member.d.mts.map +1 -1
  233. package/dist/actions/delete-organization-member.mjs +1 -0
  234. package/dist/actions/delete-organization-member.mjs.map +1 -1
  235. package/dist/actions/delete-project-branch-by-id.cjs +1 -0
  236. package/dist/actions/delete-project-branch-by-id.cjs.map +1 -1
  237. package/dist/actions/delete-project-branch-by-id.d.cts +3 -4
  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 +3 -4
  240. package/dist/actions/delete-project-branch-by-id.d.mts.map +1 -1
  241. package/dist/actions/delete-project-branch-by-id.mjs +1 -0
  242. package/dist/actions/delete-project-branch-by-id.mjs.map +1 -1
  243. package/dist/actions/delete-project-branch-role.cjs +1 -0
  244. package/dist/actions/delete-project-branch-role.cjs.map +1 -1
  245. package/dist/actions/delete-project-branch-role.d.cts +3 -5
  246. package/dist/actions/delete-project-branch-role.d.cts.map +1 -1
  247. package/dist/actions/delete-project-branch-role.d.mts +3 -5
  248. package/dist/actions/delete-project-branch-role.d.mts.map +1 -1
  249. package/dist/actions/delete-project-branch-role.mjs +1 -0
  250. package/dist/actions/delete-project-branch-role.mjs.map +1 -1
  251. package/dist/actions/delete-project-by-id.cjs +1 -0
  252. package/dist/actions/delete-project-by-id.cjs.map +1 -1
  253. package/dist/actions/delete-project-by-id.d.cts +3 -3
  254. package/dist/actions/delete-project-by-id.d.cts.map +1 -1
  255. package/dist/actions/delete-project-by-id.d.mts +3 -3
  256. package/dist/actions/delete-project-by-id.d.mts.map +1 -1
  257. package/dist/actions/delete-project-by-id.mjs +1 -0
  258. package/dist/actions/delete-project-by-id.mjs.map +1 -1
  259. package/dist/actions/delete-project-endpoint.cjs +1 -0
  260. package/dist/actions/delete-project-endpoint.cjs.map +1 -1
  261. package/dist/actions/delete-project-endpoint.d.cts +3 -4
  262. package/dist/actions/delete-project-endpoint.d.cts.map +1 -1
  263. package/dist/actions/delete-project-endpoint.d.mts +3 -4
  264. package/dist/actions/delete-project-endpoint.d.mts.map +1 -1
  265. package/dist/actions/delete-project-endpoint.mjs +1 -0
  266. package/dist/actions/delete-project-endpoint.mjs.map +1 -1
  267. package/dist/actions/delete-project-jwks-by-id.cjs +1 -0
  268. package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -1
  269. package/dist/actions/delete-project-jwks-by-id.d.cts +3 -4
  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 +3 -4
  272. package/dist/actions/delete-project-jwks-by-id.d.mts.map +1 -1
  273. package/dist/actions/delete-project-jwks-by-id.mjs +1 -0
  274. package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -1
  275. package/dist/actions/delete-project-permission.cjs +1 -0
  276. package/dist/actions/delete-project-permission.cjs.map +1 -1
  277. package/dist/actions/delete-project-permission.d.cts +3 -4
  278. package/dist/actions/delete-project-permission.d.cts.map +1 -1
  279. package/dist/actions/delete-project-permission.d.mts +3 -4
  280. package/dist/actions/delete-project-permission.d.mts.map +1 -1
  281. package/dist/actions/delete-project-permission.mjs +1 -0
  282. package/dist/actions/delete-project-permission.mjs.map +1 -1
  283. package/dist/actions/delete-project-snapshot.cjs +1 -0
  284. package/dist/actions/delete-project-snapshot.cjs.map +1 -1
  285. package/dist/actions/delete-project-snapshot.d.cts +3 -4
  286. package/dist/actions/delete-project-snapshot.d.cts.map +1 -1
  287. package/dist/actions/delete-project-snapshot.d.mts +3 -4
  288. package/dist/actions/delete-project-snapshot.d.mts.map +1 -1
  289. package/dist/actions/delete-project-snapshot.mjs +1 -0
  290. package/dist/actions/delete-project-snapshot.mjs.map +1 -1
  291. package/dist/actions/delete-vpc-endpoint-by-ids.cjs +1 -0
  292. package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -1
  293. package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +3 -5
  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 +3 -5
  296. package/dist/actions/delete-vpc-endpoint-by-ids.d.mts.map +1 -1
  297. package/dist/actions/delete-vpc-endpoint-by-ids.mjs +1 -0
  298. package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -1
  299. package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +1 -0
  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 +3 -4
  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 +3 -4
  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 +1 -0
  306. package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -1
  307. package/dist/actions/disable-branches-auth.cjs +1 -0
  308. package/dist/actions/disable-branches-auth.cjs.map +1 -1
  309. package/dist/actions/disable-branches-auth.d.cts +3 -5
  310. package/dist/actions/disable-branches-auth.d.cts.map +1 -1
  311. package/dist/actions/disable-branches-auth.d.mts +3 -5
  312. package/dist/actions/disable-branches-auth.d.mts.map +1 -1
  313. package/dist/actions/disable-branches-auth.mjs +1 -0
  314. package/dist/actions/disable-branches-auth.mjs.map +1 -1
  315. package/dist/actions/fetch-database-for-branch.cjs +1 -0
  316. package/dist/actions/fetch-database-for-branch.cjs.map +1 -1
  317. package/dist/actions/fetch-database-for-branch.d.cts +3 -4
  318. package/dist/actions/fetch-database-for-branch.d.cts.map +1 -1
  319. package/dist/actions/fetch-database-for-branch.d.mts +3 -4
  320. package/dist/actions/fetch-database-for-branch.d.mts.map +1 -1
  321. package/dist/actions/fetch-database-for-branch.mjs +1 -0
  322. package/dist/actions/fetch-database-for-branch.mjs.map +1 -1
  323. package/dist/actions/fetch-organization-members-by-id.cjs +1 -0
  324. package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -1
  325. package/dist/actions/fetch-organization-members-by-id.d.cts +3 -3
  326. package/dist/actions/fetch-organization-members-by-id.d.cts.map +1 -1
  327. package/dist/actions/fetch-organization-members-by-id.d.mts +3 -3
  328. package/dist/actions/fetch-organization-members-by-id.d.mts.map +1 -1
  329. package/dist/actions/fetch-organization-members-by-id.mjs +1 -0
  330. package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -1
  331. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +1 -0
  332. package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -1
  333. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +3 -5
  334. package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts.map +1 -1
  335. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +3 -5
  336. package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts.map +1 -1
  337. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +1 -0
  338. package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -1
  339. package/dist/actions/finalize-branch-restore.cjs +1 -0
  340. package/dist/actions/finalize-branch-restore.cjs.map +1 -1
  341. package/dist/actions/finalize-branch-restore.d.cts +3 -5
  342. package/dist/actions/finalize-branch-restore.d.cts.map +1 -1
  343. package/dist/actions/finalize-branch-restore.d.mts +3 -5
  344. package/dist/actions/finalize-branch-restore.d.mts.map +1 -1
  345. package/dist/actions/finalize-branch-restore.mjs +1 -0
  346. package/dist/actions/finalize-branch-restore.mjs.map +1 -1
  347. package/dist/actions/get-auth-allow-localhost.cjs +1 -0
  348. package/dist/actions/get-auth-allow-localhost.cjs.map +1 -1
  349. package/dist/actions/get-auth-allow-localhost.d.cts +3 -4
  350. package/dist/actions/get-auth-allow-localhost.d.cts.map +1 -1
  351. package/dist/actions/get-auth-allow-localhost.d.mts +3 -4
  352. package/dist/actions/get-auth-allow-localhost.d.mts.map +1 -1
  353. package/dist/actions/get-auth-allow-localhost.mjs +1 -0
  354. package/dist/actions/get-auth-allow-localhost.mjs.map +1 -1
  355. package/dist/actions/get-auth-email-provider.cjs +1 -0
  356. package/dist/actions/get-auth-email-provider.cjs.map +1 -1
  357. package/dist/actions/get-auth-email-provider.d.cts +3 -4
  358. package/dist/actions/get-auth-email-provider.d.cts.map +1 -1
  359. package/dist/actions/get-auth-email-provider.d.mts +3 -4
  360. package/dist/actions/get-auth-email-provider.d.mts.map +1 -1
  361. package/dist/actions/get-auth-email-provider.mjs +1 -0
  362. package/dist/actions/get-auth-email-provider.mjs.map +1 -1
  363. package/dist/actions/get-auth.cjs +1 -0
  364. package/dist/actions/get-auth.cjs.map +1 -1
  365. package/dist/actions/get-auth.d.cts +4 -2
  366. package/dist/actions/get-auth.d.cts.map +1 -1
  367. package/dist/actions/get-auth.d.mts +4 -2
  368. package/dist/actions/get-auth.d.mts.map +1 -1
  369. package/dist/actions/get-auth.mjs +1 -0
  370. package/dist/actions/get-auth.mjs.map +1 -1
  371. package/dist/actions/get-available-preload-libraries.cjs +1 -0
  372. package/dist/actions/get-available-preload-libraries.cjs.map +1 -1
  373. package/dist/actions/get-available-preload-libraries.d.cts +3 -3
  374. package/dist/actions/get-available-preload-libraries.d.cts.map +1 -1
  375. package/dist/actions/get-available-preload-libraries.d.mts +3 -3
  376. package/dist/actions/get-available-preload-libraries.d.mts.map +1 -1
  377. package/dist/actions/get-available-preload-libraries.mjs +1 -0
  378. package/dist/actions/get-available-preload-libraries.mjs.map +1 -1
  379. package/dist/actions/get-branch-roles-for-project.cjs +1 -0
  380. package/dist/actions/get-branch-roles-for-project.cjs.map +1 -1
  381. package/dist/actions/get-branch-roles-for-project.d.cts +3 -4
  382. package/dist/actions/get-branch-roles-for-project.d.cts.map +1 -1
  383. package/dist/actions/get-branch-roles-for-project.d.mts +3 -4
  384. package/dist/actions/get-branch-roles-for-project.d.mts.map +1 -1
  385. package/dist/actions/get-branch-roles-for-project.mjs +1 -0
  386. package/dist/actions/get-branch-roles-for-project.mjs.map +1 -1
  387. package/dist/actions/get-branches-anonymized-status.cjs +1 -0
  388. package/dist/actions/get-branches-anonymized-status.cjs.map +1 -1
  389. package/dist/actions/get-branches-anonymized-status.d.cts +3 -4
  390. package/dist/actions/get-branches-anonymized-status.d.cts.map +1 -1
  391. package/dist/actions/get-branches-anonymized-status.d.mts +3 -4
  392. package/dist/actions/get-branches-anonymized-status.d.mts.map +1 -1
  393. package/dist/actions/get-branches-anonymized-status.mjs +1 -0
  394. package/dist/actions/get-branches-anonymized-status.mjs.map +1 -1
  395. package/dist/actions/get-branches-backup-schedule.cjs +1 -0
  396. package/dist/actions/get-branches-backup-schedule.cjs.map +1 -1
  397. package/dist/actions/get-branches-backup-schedule.d.cts +3 -4
  398. package/dist/actions/get-branches-backup-schedule.d.cts.map +1 -1
  399. package/dist/actions/get-branches-backup-schedule.d.mts +3 -4
  400. package/dist/actions/get-branches-backup-schedule.d.mts.map +1 -1
  401. package/dist/actions/get-branches-backup-schedule.mjs +1 -0
  402. package/dist/actions/get-branches-backup-schedule.mjs.map +1 -1
  403. package/dist/actions/get-branches-data-api.cjs +1 -0
  404. package/dist/actions/get-branches-data-api.cjs.map +1 -1
  405. package/dist/actions/get-branches-data-api.d.cts +3 -5
  406. package/dist/actions/get-branches-data-api.d.cts.map +1 -1
  407. package/dist/actions/get-branches-data-api.d.mts +3 -5
  408. package/dist/actions/get-branches-data-api.d.mts.map +1 -1
  409. package/dist/actions/get-branches-data-api.mjs +1 -0
  410. package/dist/actions/get-branches-data-api.mjs.map +1 -1
  411. package/dist/actions/get-branches-for-project.cjs +1 -0
  412. package/dist/actions/get-branches-for-project.cjs.map +1 -1
  413. package/dist/actions/get-branches-for-project.d.cts +3 -4
  414. package/dist/actions/get-branches-for-project.d.cts.map +1 -1
  415. package/dist/actions/get-branches-for-project.d.mts +3 -4
  416. package/dist/actions/get-branches-for-project.d.mts.map +1 -1
  417. package/dist/actions/get-branches-for-project.mjs +1 -0
  418. package/dist/actions/get-branches-for-project.mjs.map +1 -1
  419. package/dist/actions/get-branches-masking-rules.cjs +1 -0
  420. package/dist/actions/get-branches-masking-rules.cjs.map +1 -1
  421. package/dist/actions/get-branches-masking-rules.d.cts +3 -4
  422. package/dist/actions/get-branches-masking-rules.d.cts.map +1 -1
  423. package/dist/actions/get-branches-masking-rules.d.mts +3 -4
  424. package/dist/actions/get-branches-masking-rules.d.mts.map +1 -1
  425. package/dist/actions/get-branches-masking-rules.mjs +1 -0
  426. package/dist/actions/get-branches-masking-rules.mjs.map +1 -1
  427. package/dist/actions/get-consumption-history-projects.cjs +1 -0
  428. package/dist/actions/get-consumption-history-projects.cjs.map +1 -1
  429. package/dist/actions/get-consumption-history-projects.d.cts +3 -10
  430. package/dist/actions/get-consumption-history-projects.d.cts.map +1 -1
  431. package/dist/actions/get-consumption-history-projects.d.mts +3 -10
  432. package/dist/actions/get-consumption-history-projects.d.mts.map +1 -1
  433. package/dist/actions/get-consumption-history-projects.mjs +1 -0
  434. package/dist/actions/get-consumption-history-projects.mjs.map +1 -1
  435. package/dist/actions/get-current-user-information.cjs +1 -0
  436. package/dist/actions/get-current-user-information.cjs.map +1 -1
  437. package/dist/actions/get-current-user-information.d.cts +3 -1
  438. package/dist/actions/get-current-user-information.d.cts.map +1 -1
  439. package/dist/actions/get-current-user-information.d.mts +3 -1
  440. package/dist/actions/get-current-user-information.d.mts.map +1 -1
  441. package/dist/actions/get-current-user-information.mjs +1 -0
  442. package/dist/actions/get-current-user-information.mjs.map +1 -1
  443. package/dist/actions/get-organization-api-keys.cjs +1 -0
  444. package/dist/actions/get-organization-api-keys.cjs.map +1 -1
  445. package/dist/actions/get-organization-api-keys.d.cts +3 -3
  446. package/dist/actions/get-organization-api-keys.d.cts.map +1 -1
  447. package/dist/actions/get-organization-api-keys.d.mts +3 -3
  448. package/dist/actions/get-organization-api-keys.d.mts.map +1 -1
  449. package/dist/actions/get-organization-api-keys.mjs +1 -0
  450. package/dist/actions/get-organization-api-keys.mjs.map +1 -1
  451. package/dist/actions/get-project-branch-role.cjs +1 -0
  452. package/dist/actions/get-project-branch-role.cjs.map +1 -1
  453. package/dist/actions/get-project-branch-role.d.cts +3 -5
  454. package/dist/actions/get-project-branch-role.d.cts.map +1 -1
  455. package/dist/actions/get-project-branch-role.d.mts +3 -5
  456. package/dist/actions/get-project-branch-role.d.mts.map +1 -1
  457. package/dist/actions/get-project-branch-role.mjs +1 -0
  458. package/dist/actions/get-project-branch-role.mjs.map +1 -1
  459. package/dist/actions/get-project-branch-schema-comparison.cjs +1 -0
  460. package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -1
  461. package/dist/actions/get-project-branch-schema-comparison.d.cts +3 -10
  462. package/dist/actions/get-project-branch-schema-comparison.d.cts.map +1 -1
  463. package/dist/actions/get-project-branch-schema-comparison.d.mts +3 -10
  464. package/dist/actions/get-project-branch-schema-comparison.d.mts.map +1 -1
  465. package/dist/actions/get-project-branch-schema-comparison.mjs +1 -0
  466. package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -1
  467. package/dist/actions/get-project-branches.cjs +1 -0
  468. package/dist/actions/get-project-branches.cjs.map +1 -1
  469. package/dist/actions/get-project-branches.d.cts +3 -4
  470. package/dist/actions/get-project-branches.d.cts.map +1 -1
  471. package/dist/actions/get-project-branches.d.mts +3 -4
  472. package/dist/actions/get-project-branches.d.mts.map +1 -1
  473. package/dist/actions/get-project-branches.mjs +1 -0
  474. package/dist/actions/get-project-branches.mjs.map +1 -1
  475. package/dist/actions/get-project-connection-uri.cjs +1 -0
  476. package/dist/actions/get-project-connection-uri.cjs.map +1 -1
  477. package/dist/actions/get-project-connection-uri.d.cts +3 -8
  478. package/dist/actions/get-project-connection-uri.d.cts.map +1 -1
  479. package/dist/actions/get-project-connection-uri.d.mts +3 -8
  480. package/dist/actions/get-project-connection-uri.d.mts.map +1 -1
  481. package/dist/actions/get-project-connection-uri.mjs +1 -0
  482. package/dist/actions/get-project-connection-uri.mjs.map +1 -1
  483. package/dist/actions/get-project-endpoint-information.cjs +1 -0
  484. package/dist/actions/get-project-endpoint-information.cjs.map +1 -1
  485. package/dist/actions/get-project-endpoint-information.d.cts +3 -3
  486. package/dist/actions/get-project-endpoint-information.d.cts.map +1 -1
  487. package/dist/actions/get-project-endpoint-information.d.mts +3 -3
  488. package/dist/actions/get-project-endpoint-information.d.mts.map +1 -1
  489. package/dist/actions/get-project-endpoint-information.mjs +1 -0
  490. package/dist/actions/get-project-endpoint-information.mjs.map +1 -1
  491. package/dist/actions/get-project-operation-by-id.cjs +1 -0
  492. package/dist/actions/get-project-operation-by-id.cjs.map +1 -1
  493. package/dist/actions/get-project-operation-by-id.d.cts +3 -4
  494. package/dist/actions/get-project-operation-by-id.d.cts.map +1 -1
  495. package/dist/actions/get-project-operation-by-id.d.mts +3 -4
  496. package/dist/actions/get-project-operation-by-id.d.mts.map +1 -1
  497. package/dist/actions/get-project-operation-by-id.mjs +1 -0
  498. package/dist/actions/get-project-operation-by-id.mjs.map +1 -1
  499. package/dist/actions/get-schema-for-project-branch.cjs +1 -0
  500. package/dist/actions/get-schema-for-project-branch.cjs.map +1 -1
  501. package/dist/actions/get-schema-for-project-branch.d.cts +3 -7
  502. package/dist/actions/get-schema-for-project-branch.d.cts.map +1 -1
  503. package/dist/actions/get-schema-for-project-branch.d.mts +3 -7
  504. package/dist/actions/get-schema-for-project-branch.d.mts.map +1 -1
  505. package/dist/actions/get-schema-for-project-branch.mjs +1 -0
  506. package/dist/actions/get-schema-for-project-branch.mjs.map +1 -1
  507. package/dist/actions/get-user-organizations.cjs +1 -0
  508. package/dist/actions/get-user-organizations.cjs.map +1 -1
  509. package/dist/actions/get-user-organizations.d.cts +3 -1
  510. package/dist/actions/get-user-organizations.d.cts.map +1 -1
  511. package/dist/actions/get-user-organizations.d.mts +3 -1
  512. package/dist/actions/get-user-organizations.d.mts.map +1 -1
  513. package/dist/actions/get-user-organizations.mjs +1 -0
  514. package/dist/actions/get-user-organizations.mjs.map +1 -1
  515. package/dist/actions/get-vpc-region-endpoints.cjs +1 -0
  516. package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -1
  517. package/dist/actions/get-vpc-region-endpoints.d.cts +3 -4
  518. package/dist/actions/get-vpc-region-endpoints.d.cts.map +1 -1
  519. package/dist/actions/get-vpc-region-endpoints.d.mts +3 -4
  520. package/dist/actions/get-vpc-region-endpoints.d.mts.map +1 -1
  521. package/dist/actions/get-vpc-region-endpoints.mjs +1 -0
  522. package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -1
  523. package/dist/actions/list-api-keys.cjs +1 -0
  524. package/dist/actions/list-api-keys.cjs.map +1 -1
  525. package/dist/actions/list-api-keys.d.cts +3 -1
  526. package/dist/actions/list-api-keys.d.cts.map +1 -1
  527. package/dist/actions/list-api-keys.d.mts +3 -1
  528. package/dist/actions/list-api-keys.d.mts.map +1 -1
  529. package/dist/actions/list-api-keys.mjs +1 -0
  530. package/dist/actions/list-api-keys.mjs.map +1 -1
  531. package/dist/actions/list-auth-domains.cjs +1 -0
  532. package/dist/actions/list-auth-domains.cjs.map +1 -1
  533. package/dist/actions/list-auth-domains.d.cts +3 -4
  534. package/dist/actions/list-auth-domains.d.cts.map +1 -1
  535. package/dist/actions/list-auth-domains.d.mts +3 -4
  536. package/dist/actions/list-auth-domains.d.mts.map +1 -1
  537. package/dist/actions/list-auth-domains.mjs +1 -0
  538. package/dist/actions/list-auth-domains.mjs.map +1 -1
  539. package/dist/actions/list-auth-oauth-providers2.cjs +1 -0
  540. package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -1
  541. package/dist/actions/list-auth-oauth-providers2.d.cts +3 -4
  542. package/dist/actions/list-auth-oauth-providers2.d.cts.map +1 -1
  543. package/dist/actions/list-auth-oauth-providers2.d.mts +3 -4
  544. package/dist/actions/list-auth-oauth-providers2.d.mts.map +1 -1
  545. package/dist/actions/list-auth-oauth-providers2.mjs +1 -0
  546. package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -1
  547. package/dist/actions/list-projects-snapshots.cjs +1 -0
  548. package/dist/actions/list-projects-snapshots.cjs.map +1 -1
  549. package/dist/actions/list-projects-snapshots.d.cts +3 -3
  550. package/dist/actions/list-projects-snapshots.d.cts.map +1 -1
  551. package/dist/actions/list-projects-snapshots.d.mts +3 -3
  552. package/dist/actions/list-projects-snapshots.d.mts.map +1 -1
  553. package/dist/actions/list-projects-snapshots.mjs +1 -0
  554. package/dist/actions/list-projects-snapshots.mjs.map +1 -1
  555. package/dist/actions/list-shared-projects.cjs +1 -0
  556. package/dist/actions/list-shared-projects.cjs.map +1 -1
  557. package/dist/actions/list-shared-projects.d.cts +3 -5
  558. package/dist/actions/list-shared-projects.d.cts.map +1 -1
  559. package/dist/actions/list-shared-projects.d.mts +3 -5
  560. package/dist/actions/list-shared-projects.d.mts.map +1 -1
  561. package/dist/actions/list-shared-projects.mjs +1 -0
  562. package/dist/actions/list-shared-projects.mjs.map +1 -1
  563. package/dist/actions/list-vpc-vpc-endpoints.cjs +1 -0
  564. package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -1
  565. package/dist/actions/list-vpc-vpc-endpoints.d.cts +3 -3
  566. package/dist/actions/list-vpc-vpc-endpoints.d.cts.map +1 -1
  567. package/dist/actions/list-vpc-vpc-endpoints.d.mts +3 -3
  568. package/dist/actions/list-vpc-vpc-endpoints.d.mts.map +1 -1
  569. package/dist/actions/list-vpc-vpc-endpoints.mjs +1 -0
  570. package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -1
  571. package/dist/actions/modify-branch-details-in-project.cjs +1 -0
  572. package/dist/actions/modify-branch-details-in-project.cjs.map +1 -1
  573. package/dist/actions/modify-branch-details-in-project.d.cts +3 -6
  574. package/dist/actions/modify-branch-details-in-project.d.cts.map +1 -1
  575. package/dist/actions/modify-branch-details-in-project.d.mts +3 -6
  576. package/dist/actions/modify-branch-details-in-project.d.mts.map +1 -1
  577. package/dist/actions/modify-branch-details-in-project.mjs +1 -0
  578. package/dist/actions/modify-branch-details-in-project.mjs.map +1 -1
  579. package/dist/actions/patch-branch-database-information.cjs +1 -0
  580. package/dist/actions/patch-branch-database-information.cjs.map +1 -1
  581. package/dist/actions/patch-branch-database-information.d.cts +3 -7
  582. package/dist/actions/patch-branch-database-information.d.cts.map +1 -1
  583. package/dist/actions/patch-branch-database-information.d.mts +3 -7
  584. package/dist/actions/patch-branch-database-information.d.mts.map +1 -1
  585. package/dist/actions/patch-branch-database-information.mjs +1 -0
  586. package/dist/actions/patch-branch-database-information.mjs.map +1 -1
  587. package/dist/actions/reset-role-password-for-branch.cjs +1 -0
  588. package/dist/actions/reset-role-password-for-branch.cjs.map +1 -1
  589. package/dist/actions/reset-role-password-for-branch.d.cts +3 -5
  590. package/dist/actions/reset-role-password-for-branch.d.cts.map +1 -1
  591. package/dist/actions/reset-role-password-for-branch.d.mts +3 -5
  592. package/dist/actions/reset-role-password-for-branch.d.mts.map +1 -1
  593. package/dist/actions/reset-role-password-for-branch.mjs +1 -0
  594. package/dist/actions/reset-role-password-for-branch.mjs.map +1 -1
  595. package/dist/actions/restart-project-endpoint.cjs +1 -0
  596. package/dist/actions/restart-project-endpoint.cjs.map +1 -1
  597. package/dist/actions/restart-project-endpoint.d.cts +3 -4
  598. package/dist/actions/restart-project-endpoint.d.cts.map +1 -1
  599. package/dist/actions/restart-project-endpoint.d.mts +3 -4
  600. package/dist/actions/restart-project-endpoint.d.mts.map +1 -1
  601. package/dist/actions/restart-project-endpoint.mjs +1 -0
  602. package/dist/actions/restart-project-endpoint.mjs.map +1 -1
  603. package/dist/actions/restore-project-branch.cjs +1 -0
  604. package/dist/actions/restore-project-branch.cjs.map +1 -1
  605. package/dist/actions/restore-project-branch.d.cts +3 -8
  606. package/dist/actions/restore-project-branch.d.cts.map +1 -1
  607. package/dist/actions/restore-project-branch.d.mts +3 -8
  608. package/dist/actions/restore-project-branch.d.mts.map +1 -1
  609. package/dist/actions/restore-project-branch.mjs +1 -0
  610. package/dist/actions/restore-project-branch.mjs.map +1 -1
  611. package/dist/actions/restore-snapshot.cjs +1 -0
  612. package/dist/actions/restore-snapshot.cjs.map +1 -1
  613. package/dist/actions/restore-snapshot.d.cts +3 -7
  614. package/dist/actions/restore-snapshot.d.cts.map +1 -1
  615. package/dist/actions/restore-snapshot.d.mts +3 -7
  616. package/dist/actions/restore-snapshot.d.mts.map +1 -1
  617. package/dist/actions/restore-snapshot.mjs +1 -0
  618. package/dist/actions/restore-snapshot.mjs.map +1 -1
  619. package/dist/actions/retrieve-account-consumption-history.cjs +1 -0
  620. package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -1
  621. package/dist/actions/retrieve-account-consumption-history.d.cts +3 -7
  622. package/dist/actions/retrieve-account-consumption-history.d.cts.map +1 -1
  623. package/dist/actions/retrieve-account-consumption-history.d.mts +3 -7
  624. package/dist/actions/retrieve-account-consumption-history.d.mts.map +1 -1
  625. package/dist/actions/retrieve-account-consumption-history.mjs +1 -0
  626. package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -1
  627. package/dist/actions/retrieve-all-regions.cjs +1 -0
  628. package/dist/actions/retrieve-all-regions.cjs.map +1 -1
  629. package/dist/actions/retrieve-all-regions.d.cts +3 -1
  630. package/dist/actions/retrieve-all-regions.d.cts.map +1 -1
  631. package/dist/actions/retrieve-all-regions.d.mts +3 -1
  632. package/dist/actions/retrieve-all-regions.d.mts.map +1 -1
  633. package/dist/actions/retrieve-all-regions.mjs +1 -0
  634. package/dist/actions/retrieve-all-regions.mjs.map +1 -1
  635. package/dist/actions/retrieve-branch-database-details.cjs +1 -0
  636. package/dist/actions/retrieve-branch-database-details.cjs.map +1 -1
  637. package/dist/actions/retrieve-branch-database-details.d.cts +3 -5
  638. package/dist/actions/retrieve-branch-database-details.d.cts.map +1 -1
  639. package/dist/actions/retrieve-branch-database-details.d.mts +3 -5
  640. package/dist/actions/retrieve-branch-database-details.d.mts.map +1 -1
  641. package/dist/actions/retrieve-branch-database-details.mjs +1 -0
  642. package/dist/actions/retrieve-branch-database-details.mjs.map +1 -1
  643. package/dist/actions/retrieve-branch-endpoints.cjs +1 -0
  644. package/dist/actions/retrieve-branch-endpoints.cjs.map +1 -1
  645. package/dist/actions/retrieve-branch-endpoints.d.cts +3 -4
  646. package/dist/actions/retrieve-branch-endpoints.d.cts.map +1 -1
  647. package/dist/actions/retrieve-branch-endpoints.d.mts +3 -4
  648. package/dist/actions/retrieve-branch-endpoints.d.mts.map +1 -1
  649. package/dist/actions/retrieve-branch-endpoints.mjs +1 -0
  650. package/dist/actions/retrieve-branch-endpoints.mjs.map +1 -1
  651. package/dist/actions/retrieve-jwks-for-project.cjs +1 -0
  652. package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -1
  653. package/dist/actions/retrieve-jwks-for-project.d.cts +3 -3
  654. package/dist/actions/retrieve-jwks-for-project.d.cts.map +1 -1
  655. package/dist/actions/retrieve-jwks-for-project.d.mts +3 -3
  656. package/dist/actions/retrieve-jwks-for-project.d.mts.map +1 -1
  657. package/dist/actions/retrieve-jwks-for-project.mjs +1 -0
  658. package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -1
  659. package/dist/actions/retrieve-organization-by-id.cjs +1 -0
  660. package/dist/actions/retrieve-organization-by-id.cjs.map +1 -1
  661. package/dist/actions/retrieve-organization-by-id.d.cts +3 -3
  662. package/dist/actions/retrieve-organization-by-id.d.cts.map +1 -1
  663. package/dist/actions/retrieve-organization-by-id.d.mts +3 -3
  664. package/dist/actions/retrieve-organization-by-id.d.mts.map +1 -1
  665. package/dist/actions/retrieve-organization-by-id.mjs +1 -0
  666. package/dist/actions/retrieve-organization-by-id.mjs.map +1 -1
  667. package/dist/actions/retrieve-organization-invitations.cjs +1 -0
  668. package/dist/actions/retrieve-organization-invitations.cjs.map +1 -1
  669. package/dist/actions/retrieve-organization-invitations.d.cts +3 -3
  670. package/dist/actions/retrieve-organization-invitations.d.cts.map +1 -1
  671. package/dist/actions/retrieve-organization-invitations.d.mts +3 -3
  672. package/dist/actions/retrieve-organization-invitations.d.mts.map +1 -1
  673. package/dist/actions/retrieve-organization-invitations.mjs +1 -0
  674. package/dist/actions/retrieve-organization-invitations.mjs.map +1 -1
  675. package/dist/actions/retrieve-organization-member-info.cjs +1 -0
  676. package/dist/actions/retrieve-organization-member-info.cjs.map +1 -1
  677. package/dist/actions/retrieve-organization-member-info.d.cts +3 -4
  678. package/dist/actions/retrieve-organization-member-info.d.cts.map +1 -1
  679. package/dist/actions/retrieve-organization-member-info.d.mts +3 -4
  680. package/dist/actions/retrieve-organization-member-info.d.mts.map +1 -1
  681. package/dist/actions/retrieve-organization-member-info.mjs +1 -0
  682. package/dist/actions/retrieve-organization-member-info.mjs.map +1 -1
  683. package/dist/actions/retrieve-project-endpoint-details.cjs +1 -0
  684. package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -1
  685. package/dist/actions/retrieve-project-endpoint-details.d.cts +3 -4
  686. package/dist/actions/retrieve-project-endpoint-details.d.cts.map +1 -1
  687. package/dist/actions/retrieve-project-endpoint-details.d.mts +3 -4
  688. package/dist/actions/retrieve-project-endpoint-details.d.mts.map +1 -1
  689. package/dist/actions/retrieve-project-endpoint-details.mjs +1 -0
  690. package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -1
  691. package/dist/actions/retrieve-project-operations.cjs +1 -0
  692. package/dist/actions/retrieve-project-operations.cjs.map +1 -1
  693. package/dist/actions/retrieve-project-operations.d.cts +3 -5
  694. package/dist/actions/retrieve-project-operations.d.cts.map +1 -1
  695. package/dist/actions/retrieve-project-operations.d.mts +3 -5
  696. package/dist/actions/retrieve-project-operations.d.mts.map +1 -1
  697. package/dist/actions/retrieve-project-operations.mjs +1 -0
  698. package/dist/actions/retrieve-project-operations.mjs.map +1 -1
  699. package/dist/actions/retrieve-project-permissions.cjs +1 -0
  700. package/dist/actions/retrieve-project-permissions.cjs.map +1 -1
  701. package/dist/actions/retrieve-project-permissions.d.cts +3 -3
  702. package/dist/actions/retrieve-project-permissions.d.cts.map +1 -1
  703. package/dist/actions/retrieve-project-permissions.d.mts +3 -3
  704. package/dist/actions/retrieve-project-permissions.d.mts.map +1 -1
  705. package/dist/actions/retrieve-project-permissions.mjs +1 -0
  706. package/dist/actions/retrieve-project-permissions.mjs.map +1 -1
  707. package/dist/actions/retrieve-projects-list.cjs +1 -0
  708. package/dist/actions/retrieve-projects-list.cjs.map +1 -1
  709. package/dist/actions/retrieve-projects-list.d.cts +3 -7
  710. package/dist/actions/retrieve-projects-list.d.cts.map +1 -1
  711. package/dist/actions/retrieve-projects-list.d.mts +3 -7
  712. package/dist/actions/retrieve-projects-list.d.mts.map +1 -1
  713. package/dist/actions/retrieve-projects-list.mjs +1 -0
  714. package/dist/actions/retrieve-projects-list.mjs.map +1 -1
  715. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +1 -0
  716. package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -1
  717. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +3 -3
  718. package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts.map +1 -1
  719. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +3 -3
  720. package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts.map +1 -1
  721. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +1 -0
  722. package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -1
  723. package/dist/actions/reveal-role-password-in-branch.cjs +1 -0
  724. package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -1
  725. package/dist/actions/reveal-role-password-in-branch.d.cts +3 -5
  726. package/dist/actions/reveal-role-password-in-branch.d.cts.map +1 -1
  727. package/dist/actions/reveal-role-password-in-branch.d.mts +3 -5
  728. package/dist/actions/reveal-role-password-in-branch.d.mts.map +1 -1
  729. package/dist/actions/reveal-role-password-in-branch.mjs +1 -0
  730. package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -1
  731. package/dist/actions/send-auth-test-email.cjs +1 -0
  732. package/dist/actions/send-auth-test-email.cjs.map +1 -1
  733. package/dist/actions/send-auth-test-email.d.cts +3 -11
  734. package/dist/actions/send-auth-test-email.d.cts.map +1 -1
  735. package/dist/actions/send-auth-test-email.d.mts +3 -11
  736. package/dist/actions/send-auth-test-email.d.mts.map +1 -1
  737. package/dist/actions/send-auth-test-email.mjs +1 -0
  738. package/dist/actions/send-auth-test-email.mjs.map +1 -1
  739. package/dist/actions/send-organization-invitations.cjs +1 -0
  740. package/dist/actions/send-organization-invitations.cjs.map +1 -1
  741. package/dist/actions/send-organization-invitations.d.cts +3 -8
  742. package/dist/actions/send-organization-invitations.d.cts.map +1 -1
  743. package/dist/actions/send-organization-invitations.d.mts +3 -8
  744. package/dist/actions/send-organization-invitations.d.mts.map +1 -1
  745. package/dist/actions/send-organization-invitations.mjs +1 -0
  746. package/dist/actions/send-organization-invitations.mjs.map +1 -1
  747. package/dist/actions/set-branch-as-default.cjs +1 -0
  748. package/dist/actions/set-branch-as-default.cjs.map +1 -1
  749. package/dist/actions/set-branch-as-default.d.cts +3 -4
  750. package/dist/actions/set-branch-as-default.d.cts.map +1 -1
  751. package/dist/actions/set-branch-as-default.d.mts +3 -4
  752. package/dist/actions/set-branch-as-default.d.mts.map +1 -1
  753. package/dist/actions/set-branch-as-default.mjs +1 -0
  754. package/dist/actions/set-branch-as-default.mjs.map +1 -1
  755. package/dist/actions/start-branch-anonymization.cjs +1 -0
  756. package/dist/actions/start-branch-anonymization.cjs.map +1 -1
  757. package/dist/actions/start-branch-anonymization.d.cts +3 -4
  758. package/dist/actions/start-branch-anonymization.d.cts.map +1 -1
  759. package/dist/actions/start-branch-anonymization.d.mts +3 -4
  760. package/dist/actions/start-branch-anonymization.d.mts.map +1 -1
  761. package/dist/actions/start-branch-anonymization.mjs +1 -0
  762. package/dist/actions/start-branch-anonymization.mjs.map +1 -1
  763. package/dist/actions/start-endpoint-for-project.cjs +1 -0
  764. package/dist/actions/start-endpoint-for-project.cjs.map +1 -1
  765. package/dist/actions/start-endpoint-for-project.d.cts +3 -4
  766. package/dist/actions/start-endpoint-for-project.d.cts.map +1 -1
  767. package/dist/actions/start-endpoint-for-project.d.mts +3 -4
  768. package/dist/actions/start-endpoint-for-project.d.mts.map +1 -1
  769. package/dist/actions/start-endpoint-for-project.mjs +1 -0
  770. package/dist/actions/start-endpoint-for-project.mjs.map +1 -1
  771. package/dist/actions/suspend-project-endpoint-by-id.cjs +1 -0
  772. package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -1
  773. package/dist/actions/suspend-project-endpoint-by-id.d.cts +3 -4
  774. package/dist/actions/suspend-project-endpoint-by-id.d.cts.map +1 -1
  775. package/dist/actions/suspend-project-endpoint-by-id.d.mts +3 -4
  776. package/dist/actions/suspend-project-endpoint-by-id.d.mts.map +1 -1
  777. package/dist/actions/suspend-project-endpoint-by-id.mjs +1 -0
  778. package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -1
  779. package/dist/actions/transfer-projects-between-organizations.cjs +1 -0
  780. package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -1
  781. package/dist/actions/transfer-projects-between-organizations.d.cts +3 -5
  782. package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -1
  783. package/dist/actions/transfer-projects-between-organizations.d.mts +3 -5
  784. package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -1
  785. package/dist/actions/transfer-projects-between-organizations.mjs +1 -0
  786. package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -1
  787. package/dist/actions/transfer-user-projects-to-organization.cjs +1 -0
  788. package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -1
  789. package/dist/actions/transfer-user-projects-to-organization.d.cts +3 -4
  790. package/dist/actions/transfer-user-projects-to-organization.d.cts.map +1 -1
  791. package/dist/actions/transfer-user-projects-to-organization.d.mts +3 -4
  792. package/dist/actions/transfer-user-projects-to-organization.d.mts.map +1 -1
  793. package/dist/actions/transfer-user-projects-to-organization.mjs +1 -0
  794. package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -1
  795. package/dist/actions/update-auth-allow-localhost.cjs +1 -0
  796. package/dist/actions/update-auth-allow-localhost.cjs.map +1 -1
  797. package/dist/actions/update-auth-allow-localhost.d.cts +3 -5
  798. package/dist/actions/update-auth-allow-localhost.d.cts.map +1 -1
  799. package/dist/actions/update-auth-allow-localhost.d.mts +3 -5
  800. package/dist/actions/update-auth-allow-localhost.d.mts.map +1 -1
  801. package/dist/actions/update-auth-allow-localhost.mjs +1 -0
  802. package/dist/actions/update-auth-allow-localhost.mjs.map +1 -1
  803. package/dist/actions/update-auth-email-provider.cjs +1 -0
  804. package/dist/actions/update-auth-email-provider.cjs.map +1 -1
  805. package/dist/actions/update-auth-email-provider.d.cts +3 -10
  806. package/dist/actions/update-auth-email-provider.d.cts.map +1 -1
  807. package/dist/actions/update-auth-email-provider.d.mts +3 -10
  808. package/dist/actions/update-auth-email-provider.d.mts.map +1 -1
  809. package/dist/actions/update-auth-email-provider.mjs +1 -0
  810. package/dist/actions/update-auth-email-provider.mjs.map +1 -1
  811. package/dist/actions/update-branches-data-api.cjs +1 -0
  812. package/dist/actions/update-branches-data-api.cjs.map +1 -1
  813. package/dist/actions/update-branches-data-api.d.cts +3 -15
  814. package/dist/actions/update-branches-data-api.d.cts.map +1 -1
  815. package/dist/actions/update-branches-data-api.d.mts +3 -15
  816. package/dist/actions/update-branches-data-api.d.mts.map +1 -1
  817. package/dist/actions/update-branches-data-api.mjs +1 -0
  818. package/dist/actions/update-branches-data-api.mjs.map +1 -1
  819. package/dist/actions/update-branches-masking-rules.cjs +1 -0
  820. package/dist/actions/update-branches-masking-rules.cjs.map +1 -1
  821. package/dist/actions/update-branches-masking-rules.d.cts +3 -13
  822. package/dist/actions/update-branches-masking-rules.d.cts.map +1 -1
  823. package/dist/actions/update-branches-masking-rules.d.mts +3 -13
  824. package/dist/actions/update-branches-masking-rules.d.mts.map +1 -1
  825. package/dist/actions/update-branches-masking-rules.mjs +1 -0
  826. package/dist/actions/update-branches-masking-rules.mjs.map +1 -1
  827. package/dist/actions/update-organization-member-role.cjs +1 -0
  828. package/dist/actions/update-organization-member-role.cjs.map +1 -1
  829. package/dist/actions/update-organization-member-role.d.cts +3 -5
  830. package/dist/actions/update-organization-member-role.d.cts.map +1 -1
  831. package/dist/actions/update-organization-member-role.d.mts +3 -5
  832. package/dist/actions/update-organization-member-role.d.mts.map +1 -1
  833. package/dist/actions/update-organization-member-role.mjs +1 -0
  834. package/dist/actions/update-organization-member-role.mjs.map +1 -1
  835. package/dist/actions/update-project-compute-endpoint-settings.cjs +1 -0
  836. package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -1
  837. package/dist/actions/update-project-compute-endpoint-settings.d.cts +3 -15
  838. package/dist/actions/update-project-compute-endpoint-settings.d.cts.map +1 -1
  839. package/dist/actions/update-project-compute-endpoint-settings.d.mts +3 -15
  840. package/dist/actions/update-project-compute-endpoint-settings.d.mts.map +1 -1
  841. package/dist/actions/update-project-compute-endpoint-settings.mjs +1 -0
  842. package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -1
  843. package/dist/actions/update-project-settings-by-id.cjs +1 -0
  844. package/dist/actions/update-project-settings-by-id.cjs.map +1 -1
  845. package/dist/actions/update-project-settings-by-id.d.cts +3 -23
  846. package/dist/actions/update-project-settings-by-id.d.cts.map +1 -1
  847. package/dist/actions/update-project-settings-by-id.d.mts +3 -23
  848. package/dist/actions/update-project-settings-by-id.d.mts.map +1 -1
  849. package/dist/actions/update-project-settings-by-id.mjs +1 -0
  850. package/dist/actions/update-project-settings-by-id.mjs.map +1 -1
  851. package/dist/actions/update-projects-snapshots.cjs +1 -0
  852. package/dist/actions/update-projects-snapshots.cjs.map +1 -1
  853. package/dist/actions/update-projects-snapshots.d.cts +3 -5
  854. package/dist/actions/update-projects-snapshots.d.cts.map +1 -1
  855. package/dist/actions/update-projects-snapshots.d.mts +3 -5
  856. package/dist/actions/update-projects-snapshots.d.mts.map +1 -1
  857. package/dist/actions/update-projects-snapshots.mjs +1 -0
  858. package/dist/actions/update-projects-snapshots.mjs.map +1 -1
  859. package/dist/app.cjs +5 -2
  860. package/dist/app.cjs.map +1 -1
  861. package/dist/app.d.cts +7 -1
  862. package/dist/app.d.cts.map +1 -1
  863. package/dist/app.d.mts +7 -1
  864. package/dist/app.d.mts.map +1 -1
  865. package/dist/app.mjs +3 -2
  866. package/dist/app.mjs.map +1 -1
  867. package/dist/index.d.cts +1 -1
  868. package/dist/index.d.mts +1 -1
  869. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-branches-data-api.mjs","names":[],"sources":["../../src/actions/update-branches-data-api.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateBranchesDataApiInput = z.object({\n branch_id: z.string().describe(\"The Neon branch ID (e.g., 'br-gentle-lab-af8riisw')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'small-recipe-63664710')\"),\n database_name: z.string().describe(\"The database name (e.g., 'neondb')\"),\n settings__db__schemas: z.array(z.string()).describe(\"List of schemas to expose via the API. Default: [\\\"public\\\"]\").optional(),\n settings__db__max__rows: z.number().int().describe(\"Maximum number of rows that can be returned in a single request\").optional(),\n settings__openapi__mode: z.string().describe(\"OpenAPI specification mode (ignore-privileges, disabled). Default: 'disabled'\").optional(),\n settings__db__anon__role: z.string().describe(\"Database role to use for anonymous requests. Default: 'anonymous'\").optional(),\n settings__jwt__role__claim__key: z.string().describe(\"JWT claim key to use for role extraction. Default: \\\".\\\\\\\"role\\\\\\\"\\\"\").optional(),\n settings__db__aggregates__enabled: z.boolean().describe(\"Enable aggregates feature. Default: true\").optional(),\n settings__db__extra__search__path: z.string().describe(\"Extra schemas to add to the search path\").optional(),\n settings__server__timing__enabled: z.boolean().describe(\"Enable server timing headers\").optional(),\n settings__jwt__cache__max__lifetime: z.number().int().describe(\"Maximum lifetime for JWT cache in seconds\").optional(),\n settings__server__cors__allowed__origins: z.string().describe(\"CORS allowed origins\").optional(),\n}).describe(\"Request schema for `UpdateBranchesDataApi`\");\nexport const NeonUpdateBranchesDataApiOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for `UpdateBranchesDataApi`\");\n\nexport const neonUpdateBranchesDataApi = action(\"NEON_UPDATE_BRANCHES_DATA_API\", {\n slug: \"neon-update-branches-data-api\",\n name: \"Update branches data API\",\n description: \"Updates the Neon Data API configuration for the specified branch. Use when you need to modify Data API settings such as aggregates, anonymous role, search paths, schemas, JWT settings, or CORS configuration. The schema cache is always refreshed as part of this operation.\",\n input: NeonUpdateBranchesDataApiInput,\n output: NeonUpdateBranchesDataApiOutput,\n});\n"],"mappings":";;AAqBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB4C,EAAE,OAAO;EACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACvE,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC7H,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC/H,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACvI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5H,iCAAiC,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACtI,mCAAmC,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7G,mCAAmC,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC3G,mCAAmC,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACjG,qCAAqC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrH,0CAA0C,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,4CAOH;CACP,QAP6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAOhF;AACV,CAAC"}
1
+ {"version":3,"file":"update-branches-data-api.mjs","names":[],"sources":["../../src/actions/update-branches-data-api.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateBranchesDataApiInput = z.object({\n branch_id: z.string().describe(\"The Neon branch ID (e.g., 'br-gentle-lab-af8riisw')\"),\n project_id: z.string().describe(\"The Neon project ID (e.g., 'small-recipe-63664710')\"),\n database_name: z.string().describe(\"The database name (e.g., 'neondb')\"),\n settings__db__schemas: z.array(z.string()).describe(\"List of schemas to expose via the API. Default: [\\\"public\\\"]\").optional(),\n settings__db__max__rows: z.number().int().describe(\"Maximum number of rows that can be returned in a single request\").optional(),\n settings__openapi__mode: z.string().describe(\"OpenAPI specification mode (ignore-privileges, disabled). Default: 'disabled'\").optional(),\n settings__db__anon__role: z.string().describe(\"Database role to use for anonymous requests. Default: 'anonymous'\").optional(),\n settings__jwt__role__claim__key: z.string().describe(\"JWT claim key to use for role extraction. Default: \\\".\\\\\\\"role\\\\\\\"\\\"\").optional(),\n settings__db__aggregates__enabled: z.boolean().describe(\"Enable aggregates feature. Default: true\").optional(),\n settings__db__extra__search__path: z.string().describe(\"Extra schemas to add to the search path\").optional(),\n settings__server__timing__enabled: z.boolean().describe(\"Enable server timing headers\").optional(),\n settings__jwt__cache__max__lifetime: z.number().int().describe(\"Maximum lifetime for JWT cache in seconds\").optional(),\n settings__server__cors__allowed__origins: z.string().describe(\"CORS allowed origins\").optional(),\n}).describe(\"Request schema for `UpdateBranchesDataApi`\");\nexport const NeonUpdateBranchesDataApiOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for `UpdateBranchesDataApi`\");\n\nexport const neonUpdateBranchesDataApi: AppAction<\n typeof NeonUpdateBranchesDataApiInput,\n typeof NeonUpdateBranchesDataApiOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_BRANCHES_DATA_API\", {\n slug: \"neon-update-branches-data-api\",\n name: \"Update branches data API\",\n description: \"Updates the Neon Data API configuration for the specified branch. Use when you need to modify Data API settings such as aggregates, anonymous role, search paths, schemas, JWT settings, or CORS configuration. The schema cache is always refreshed as part of this operation.\",\n input: NeonUpdateBranchesDataApiInput,\n output: NeonUpdateBranchesDataApiOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB4C,EAAE,OAAO;EACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACvE,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC7H,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC/H,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACvI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5H,iCAAiC,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACtI,mCAAmC,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7G,mCAAmC,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC3G,mCAAmC,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACjG,qCAAqC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrH,0CAA0C,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAWhF;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-branches-masking-rules.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-branches-masking-rules.cjs","names":["z","action"],"sources":["../../src/actions/update-branches-masking-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches. The branch must be an anonymized branch.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n masking_rules: z.array(z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\"),\n column_name: z.string().describe(\"The name of the column to be masked.\"),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\"),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\"),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\")).describe(\"List of masking rules to apply to the branch. This will replace all existing masking rules for the branch. Pass an empty array to remove all masking rules.\"),\n}).describe(\"Request schema for `UpdateBranchesMaskingRules`\");\nconst NeonUpdateBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonUpdateBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonUpdateBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch after the update. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).passthrough().describe(\"Response schema for `UpdateBranchesMaskingRules`\");\n\nexport const neonUpdateBranchesMaskingRules = action(\"NEON_UPDATE_BRANCHES_MASKING_RULES\", {\n slug: \"neon-update-branches-masking-rules\",\n name: \"Update branches masking rules\",\n description: \"Updates the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to add, modify, or remove data anonymization rules for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonUpdateBranchesMaskingRulesInput,\n output: NeonUpdateBranchesMaskingRulesOutput,\n});\n"],"m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,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,eAAeA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+IAA+I,EACnO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-branches-masking-rules.cjs","names":["z","action"],"sources":["../../src/actions/update-branches-masking-rules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches. The branch must be an anonymized branch.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n masking_rules: z.array(z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\"),\n column_name: z.string().describe(\"The name of the column to be masked.\"),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\"),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\"),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\")).describe(\"List of masking rules to apply to the branch. This will replace all existing masking rules for the branch. Pass an empty array to remove all masking rules.\"),\n}).describe(\"Request schema for `UpdateBranchesMaskingRules`\");\nconst NeonUpdateBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonUpdateBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonUpdateBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch after the update. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).passthrough().describe(\"Response schema for `UpdateBranchesMaskingRules`\");\n\nexport const neonUpdateBranchesMaskingRules: AppAction<\n typeof NeonUpdateBranchesMaskingRulesInput,\n typeof NeonUpdateBranchesMaskingRulesOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_BRANCHES_MASKING_RULES\", {\n slug: \"neon-update-branches-masking-rules\",\n name: \"Update branches masking rules\",\n description: \"Updates the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to add, modify, or remove data anonymization rules for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonUpdateBranchesMaskingRulesInput,\n output: NeonUpdateBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAC/I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACzH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,YAAYA,IAAA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AAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neon } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-branches-masking-rules.d.ts
@@ -23,19 +25,7 @@ declare const NeonUpdateBranchesMaskingRulesOutput: z.ZodObject<{
23
25
  masking_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const neonUpdateBranchesMaskingRules: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- branch_id: string;
28
- project_id: string;
29
- masking_rules: {
30
- [x: string]: unknown;
31
- table_name: string;
32
- column_name: string;
33
- schema_name: string;
34
- database_name: string;
35
- masking_value?: string | undefined;
36
- masking_function?: string | undefined;
37
- }[];
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const neonUpdateBranchesMaskingRules: AppAction<typeof NeonUpdateBranchesMaskingRulesInput, typeof NeonUpdateBranchesMaskingRulesOutput, typeof neon.credential>;
39
29
  //#endregion
40
30
  export { neonUpdateBranchesMaskingRules };
41
31
  //# sourceMappingURL=update-branches-masking-rules.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-branches-masking-rules.d.cts","names":[],"sources":["../../src/actions/update-branches-masking-rules.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"update-branches-masking-rules.d.cts","names":[],"sources":["../../src/actions/update-branches-masking-rules.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neon } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-branches-masking-rules.d.ts
@@ -23,19 +25,7 @@ declare const NeonUpdateBranchesMaskingRulesOutput: z.ZodObject<{
23
25
  masking_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const neonUpdateBranchesMaskingRules: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- branch_id: string;
28
- project_id: string;
29
- masking_rules: {
30
- [x: string]: unknown;
31
- table_name: string;
32
- column_name: string;
33
- schema_name: string;
34
- database_name: string;
35
- masking_value?: string | undefined;
36
- masking_function?: string | undefined;
37
- }[];
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const neonUpdateBranchesMaskingRules: AppAction<typeof NeonUpdateBranchesMaskingRulesInput, typeof NeonUpdateBranchesMaskingRulesOutput, typeof neon.credential>;
39
29
  //#endregion
40
30
  export { neonUpdateBranchesMaskingRules };
41
31
  //# sourceMappingURL=update-branches-masking-rules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-branches-masking-rules.d.mts","names":[],"sources":["../../src/actions/update-branches-masking-rules.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"update-branches-masking-rules.d.mts","names":[],"sources":["../../src/actions/update-branches-masking-rules.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-branches-masking-rules.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-branches-masking-rules.mjs","names":[],"sources":["../../src/actions/update-branches-masking-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches. The branch must be an anonymized branch.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n masking_rules: z.array(z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\"),\n column_name: z.string().describe(\"The name of the column to be masked.\"),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\"),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\"),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\")).describe(\"List of masking rules to apply to the branch. This will replace all existing masking rules for the branch. Pass an empty array to remove all masking rules.\"),\n}).describe(\"Request schema for `UpdateBranchesMaskingRules`\");\nconst NeonUpdateBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonUpdateBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonUpdateBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch after the update. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).passthrough().describe(\"Response schema for `UpdateBranchesMaskingRules`\");\n\nexport const neonUpdateBranchesMaskingRules = action(\"NEON_UPDATE_BRANCHES_MASKING_RULES\", {\n slug: \"neon-update-branches-masking-rules\",\n name: \"Update branches masking rules\",\n description: \"Updates the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to add, modify, or remove data anonymization rules for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonUpdateBranchesMaskingRulesInput,\n output: NeonUpdateBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACzH,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC7K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC5M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,CAAC,SAAS,6JAA6J;AACnQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mDAAmD,EAAE,OAAO;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAK1F,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,eAAe,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+IAA+I,EACnO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-branches-masking-rules.mjs","names":[],"sources":["../../src/actions/update-branches-masking-rules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateBranchesMaskingRulesInput = z.object({\n branch_id: z.string().describe(\"The branch ID. You can obtain this by listing the project's branches. The branch must be an anonymized branch.\"),\n project_id: z.string().describe(\"The Neon project ID. You can obtain this by listing the projects for your Neon account.\"),\n masking_rules: z.array(z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\"),\n column_name: z.string().describe(\"The name of the column to be masked.\"),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\"),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\"),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\")).describe(\"List of masking rules to apply to the branch. This will replace all existing masking rules for the branch. Pass an empty array to remove all masking rules.\"),\n}).describe(\"Request schema for `UpdateBranchesMaskingRules`\");\nconst NeonUpdateBranchesMaskingRules_MaskingRuleSchema = z.object({\n table_name: z.string().describe(\"The name of the table where the masking rule applies.\").nullable(),\n column_name: z.string().describe(\"The name of the column to be masked.\").nullable(),\n schema_name: z.string().describe(\"The name of the schema where the masking rule applies.\").nullable(),\n database_name: z.string().describe(\"The name of the database where the masking rule applies.\").nullable(),\n masking_value: z.string().describe(\"A static value used for masking instead of a function. Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n masking_function: z.string().describe(\"The PostgreSQL Anonymizer function used for masking (e.g., 'anon.fake_email()'). Either masking_function or masking_value should be provided, not both.\").nullable().optional(),\n}).passthrough().describe(\"Masking rule defining how sensitive data should be anonymized.\");\nexport const NeonUpdateBranchesMaskingRulesOutput = z.object({\n masking_rules: z.array(NeonUpdateBranchesMaskingRules_MaskingRuleSchema).describe(\"List of masking rules for the branch after the update. Each rule defines how sensitive data should be anonymized using PostgreSQL Anonymizer.\"),\n}).passthrough().describe(\"Response schema for `UpdateBranchesMaskingRules`\");\n\nexport const neonUpdateBranchesMaskingRules: AppAction<\n typeof NeonUpdateBranchesMaskingRulesInput,\n typeof NeonUpdateBranchesMaskingRulesOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_BRANCHES_MASKING_RULES\", {\n slug: \"neon-update-branches-masking-rules\",\n name: \"Update branches masking rules\",\n description: \"Updates the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. Use this when you need to add, modify, or remove data anonymization rules for a branch. Note: This endpoint is currently in Beta.\",\n input: NeonUpdateBranchesMaskingRulesInput,\n output: NeonUpdateBranchesMaskingRulesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACzH,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC7K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC5M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,CAAC,SAAS,6JAA6J;AACnQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mDAAmD,EAAE,OAAO;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAK1F,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO,EAC3D,eAAe,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+IAA+I,EACnO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-organization-member-role.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-organization-member-role.cjs","names":["z","action"],"sources":["../../src/actions/update-organization-member-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateOrganizationMemberRoleInput = z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n org_id: z.string().describe(\"The Neon organization ID\"),\n member_id: z.string().describe(\"The Neon organization member ID\"),\n}).describe(\"Request schema for `UpdateOrganizationMemberRole`\");\nexport const NeonUpdateOrganizationMemberRoleOutput = z.object({\n id: z.string().describe(\"The unique identifier for the member.\").nullable(),\n role: z.string().describe(\"The member's current role in the organization (e.g., 'admin', 'member').\").nullable(),\n orgId: z.string().describe(\"The organization identifier.\").nullable(),\n userId: z.string().describe(\"The unique ID of the user's Neon account.\").nullable(),\n joinedAt: z.string().describe(\"ISO 8601 timestamp indicating when the member joined the organization.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdateOrganizationMemberRole`\");\n\nexport const neonUpdateOrganizationMemberRole = action(\"NEON_UPDATE_ORGANIZATION_MEMBER_ROLE\", {\n slug: \"neon-update-organization-member-role\",\n name: \"Update organization member role\",\n description: \"Updates the role of a specific member within an organization in the Neon B2B SaaS integration platform. This endpoint allows changing a member's role between 'admin' and 'member', which affects their permissions and access levels within the organization. Use this endpoint when you need to promote a regular member to an admin role or demote an admin to a regular member role. It's crucial for managing access control and permissions within your organization. Note that this operation may have significant implications on the member's ability to manage resources and other members within the organization.\",\n input: NeonUpdateOrganizationMemberRoleInput,\n output: NeonUpdateOrganizationMemberRoleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-organization-member-role.cjs","names":["z","action"],"sources":["../../src/actions/update-organization-member-role.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateOrganizationMemberRoleInput = z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n org_id: z.string().describe(\"The Neon organization ID\"),\n member_id: z.string().describe(\"The Neon organization member ID\"),\n}).describe(\"Request schema for `UpdateOrganizationMemberRole`\");\nexport const NeonUpdateOrganizationMemberRoleOutput = z.object({\n id: z.string().describe(\"The unique identifier for the member.\").nullable(),\n role: z.string().describe(\"The member's current role in the organization (e.g., 'admin', 'member').\").nullable(),\n orgId: z.string().describe(\"The organization identifier.\").nullable(),\n userId: z.string().describe(\"The unique ID of the user's Neon account.\").nullable(),\n joinedAt: z.string().describe(\"ISO 8601 timestamp indicating when the member joined the organization.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdateOrganizationMemberRole`\");\n\nexport const neonUpdateOrganizationMemberRole: AppAction<\n typeof NeonUpdateOrganizationMemberRoleInput,\n typeof NeonUpdateOrganizationMemberRoleOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_ORGANIZATION_MEMBER_ROLE\", {\n slug: \"neon-update-organization-member-role\",\n name: \"Update organization member role\",\n description: \"Updates the role of a specific member within an organization in the Neon B2B SaaS integration platform. This endpoint allows changing a member's role between 'admin' and 'member', which affects their permissions and access levels within the organization. Use this endpoint when you need to promote a regular member to an admin role or demote an admin to a regular member role. It's crucial for managing access control and permissions within your organization. Note that this operation may have significant implications on the member's ability to manage resources and other members within the organization.\",\n input: NeonUpdateOrganizationMemberRoleInput,\n output: NeonUpdateOrganizationMemberRoleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neon } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-organization-member-role.d.ts
@@ -16,11 +18,7 @@ declare const NeonUpdateOrganizationMemberRoleOutput: z.ZodObject<{
16
18
  userId: z.ZodNullable<z.ZodString>;
17
19
  joinedAt: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const neonUpdateOrganizationMemberRole: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- role: "member" | "admin";
21
- org_id: string;
22
- member_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const neonUpdateOrganizationMemberRole: AppAction<typeof NeonUpdateOrganizationMemberRoleInput, typeof NeonUpdateOrganizationMemberRoleOutput, typeof neon.credential>;
24
22
  //#endregion
25
23
  export { neonUpdateOrganizationMemberRole };
26
24
  //# sourceMappingURL=update-organization-member-role.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-organization-member-role.d.cts","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"update-organization-member-role.d.cts","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neon } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-organization-member-role.d.ts
@@ -16,11 +18,7 @@ declare const NeonUpdateOrganizationMemberRoleOutput: z.ZodObject<{
16
18
  userId: z.ZodNullable<z.ZodString>;
17
19
  joinedAt: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const neonUpdateOrganizationMemberRole: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- role: "member" | "admin";
21
- org_id: string;
22
- member_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const neonUpdateOrganizationMemberRole: AppAction<typeof NeonUpdateOrganizationMemberRoleInput, typeof NeonUpdateOrganizationMemberRoleOutput, typeof neon.credential>;
24
22
  //#endregion
25
23
  export { neonUpdateOrganizationMemberRole };
26
24
  //# sourceMappingURL=update-organization-member-role.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-organization-member-role.d.mts","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"update-organization-member-role.d.mts","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const neonUpdateOrganizationMemberRole = action("NEON_UPDATE_ORGANIZATION_MEMBER_ROLE", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-organization-member-role.mjs","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateOrganizationMemberRoleInput = z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n org_id: z.string().describe(\"The Neon organization ID\"),\n member_id: z.string().describe(\"The Neon organization member ID\"),\n}).describe(\"Request schema for `UpdateOrganizationMemberRole`\");\nexport const NeonUpdateOrganizationMemberRoleOutput = z.object({\n id: z.string().describe(\"The unique identifier for the member.\").nullable(),\n role: z.string().describe(\"The member's current role in the organization (e.g., 'admin', 'member').\").nullable(),\n orgId: z.string().describe(\"The organization identifier.\").nullable(),\n userId: z.string().describe(\"The unique ID of the user's Neon account.\").nullable(),\n joinedAt: z.string().describe(\"ISO 8601 timestamp indicating when the member joined the organization.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdateOrganizationMemberRole`\");\n\nexport const neonUpdateOrganizationMemberRole = action(\"NEON_UPDATE_ORGANIZATION_MEMBER_ROLE\", {\n slug: \"neon-update-organization-member-role\",\n name: \"Update organization member role\",\n description: \"Updates the role of a specific member within an organization in the Neon B2B SaaS integration platform. This endpoint allows changing a member's role between 'admin' and 'member', which affects their permissions and access levels within the organization. Use this endpoint when you need to promote a regular member to an admin role or demote an admin to a regular member role. It's crucial for managing access control and permissions within your organization. Note that this operation may have significant implications on the member's ability to manage resources and other members within the organization.\",\n input: NeonUpdateOrganizationMemberRoleInput,\n output: NeonUpdateOrganizationMemberRoleOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-organization-member-role.mjs","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateOrganizationMemberRoleInput = z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n org_id: z.string().describe(\"The Neon organization ID\"),\n member_id: z.string().describe(\"The Neon organization member ID\"),\n}).describe(\"Request schema for `UpdateOrganizationMemberRole`\");\nexport const NeonUpdateOrganizationMemberRoleOutput = z.object({\n id: z.string().describe(\"The unique identifier for the member.\").nullable(),\n role: z.string().describe(\"The member's current role in the organization (e.g., 'admin', 'member').\").nullable(),\n orgId: z.string().describe(\"The organization identifier.\").nullable(),\n userId: z.string().describe(\"The unique ID of the user's Neon account.\").nullable(),\n joinedAt: z.string().describe(\"ISO 8601 timestamp indicating when the member joined the organization.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdateOrganizationMemberRole`\");\n\nexport const neonUpdateOrganizationMemberRole: AppAction<\n typeof NeonUpdateOrganizationMemberRoleInput,\n typeof NeonUpdateOrganizationMemberRoleOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_ORGANIZATION_MEMBER_ROLE\", {\n slug: \"neon-update-organization-member-role\",\n name: \"Update organization member role\",\n description: \"Updates the role of a specific member within an organization in the Neon B2B SaaS integration platform. This endpoint allows changing a member's role between 'admin' and 'member', which affects their permissions and access levels within the organization. Use this endpoint when you need to promote a regular member to an admin role or demote an admin to a regular member role. It's crucial for managing access control and permissions within your organization. Note that this operation may have significant implications on the member's ability to manage resources and other members within the organization.\",\n input: NeonUpdateOrganizationMemberRoleInput,\n output: NeonUpdateOrganizationMemberRoleOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,CAAC,CAAC,CAAC,SAAS,mDAiBH;CACP,QAjBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-project-compute-endpoint-settings.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-project-compute-endpoint-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).passthrough().describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").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 project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).passthrough().describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSettingsInput,\n output: NeonUpdateProjectComputeEndpointSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;CACnV,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACnN,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4WAA4W,CAAC,CAAC,SAAS;CACla,wBAAwBA,IAAAA,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1H,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACrJ,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnI,qCAAqCA,IAAAA,EAAE,OAAO,CAAC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,kKAAkK;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2CAA2CC,eAAAA,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-project-compute-endpoint-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).passthrough().describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").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 project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).passthrough().describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings: AppAction<\n typeof NeonUpdateProjectComputeEndpointSettingsInput,\n typeof NeonUpdateProjectComputeEndpointSettingsOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSettingsInput,\n output: NeonUpdateProjectComputeEndpointSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC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IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAU,wDAAwD,SAAS;CAC3E,YAAYA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kKAAkK;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2CAITC,eAAAA,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neon } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-project-compute-endpoint-settings.d.ts
@@ -59,21 +61,7 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
59
61
  total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
62
  }, z.core.$loose>>;
61
63
  }, z.core.$loose>;
62
- declare const neonUpdateProjectComputeEndpointSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
63
- project_id: string;
64
- endpoint_id: string;
65
- endpoint__disabled?: boolean | undefined;
66
- endpoint__branch__id?: string | undefined;
67
- endpoint__provisioner?: string | undefined;
68
- endpoint__pooler__mode?: "transaction" | undefined;
69
- endpoint__pooler__enabled?: boolean | undefined;
70
- endpoint__passwordless__access?: boolean | undefined;
71
- endpoint__settings__pg__settings?: Record<string, unknown> | undefined;
72
- endpoint__suspend__timeout__seconds?: number | undefined;
73
- endpoint__autoscaling__limit__max__cu?: number | undefined;
74
- endpoint__autoscaling__limit__min__cu?: number | undefined;
75
- endpoint__settings__pgbouncer__settings?: Record<string, unknown> | undefined;
76
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
64
+ declare const neonUpdateProjectComputeEndpointSettings: AppAction<typeof NeonUpdateProjectComputeEndpointSettingsInput, typeof NeonUpdateProjectComputeEndpointSettingsOutput, typeof neon.credential>;
77
65
  //#endregion
78
66
  export { neonUpdateProjectComputeEndpointSettings };
79
67
  //# sourceMappingURL=update-project-compute-endpoint-settings.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-project-compute-endpoint-settings.d.cts","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"mappings":";;;cAIa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAuD7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9C,wCAAA,gCAAwC,wBAAA;;;;;;;;;qCAMnD,MAAA;;;;4CAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"update-project-compute-endpoint-settings.d.cts","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"mappings":";;;;;cAMa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAuD7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9C,wCAAA,EAA0C,SAAA,QAC9C,6CAAA,SACA,8CAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neon } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-project-compute-endpoint-settings.d.ts
@@ -59,21 +61,7 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
59
61
  total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
62
  }, z.core.$loose>>;
61
63
  }, z.core.$loose>;
62
- declare const neonUpdateProjectComputeEndpointSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
63
- project_id: string;
64
- endpoint_id: string;
65
- endpoint__disabled?: boolean | undefined;
66
- endpoint__branch__id?: string | undefined;
67
- endpoint__provisioner?: string | undefined;
68
- endpoint__pooler__mode?: "transaction" | undefined;
69
- endpoint__pooler__enabled?: boolean | undefined;
70
- endpoint__passwordless__access?: boolean | undefined;
71
- endpoint__settings__pg__settings?: Record<string, unknown> | undefined;
72
- endpoint__suspend__timeout__seconds?: number | undefined;
73
- endpoint__autoscaling__limit__max__cu?: number | undefined;
74
- endpoint__autoscaling__limit__min__cu?: number | undefined;
75
- endpoint__settings__pgbouncer__settings?: Record<string, unknown> | undefined;
76
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
64
+ declare const neonUpdateProjectComputeEndpointSettings: AppAction<typeof NeonUpdateProjectComputeEndpointSettingsInput, typeof NeonUpdateProjectComputeEndpointSettingsOutput, typeof neon.credential>;
77
65
  //#endregion
78
66
  export { neonUpdateProjectComputeEndpointSettings };
79
67
  //# sourceMappingURL=update-project-compute-endpoint-settings.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-project-compute-endpoint-settings.d.mts","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"mappings":";;;cAIa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAuD7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9C,wCAAA,gCAAwC,wBAAA;;;;;;;;;qCAMnD,MAAA;;;;4CAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"update-project-compute-endpoint-settings.d.mts","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"mappings":";;;;;cAMa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAuD7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9C,wCAAA,EAA0C,SAAA,QAC9C,6CAAA,SACA,8CAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-project-compute-endpoint-settings.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-project-compute-endpoint-settings.mjs","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).passthrough().describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").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 project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).passthrough().describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSettingsInput,\n output: NeonUpdateProjectComputeEndpointSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;CACnV,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACnN,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4WAA4W,CAAC,CAAC,SAAS;CACla,wBAAwB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACrJ,kCAAkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnI,qCAAqC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0bAA0b,CAAC,CAAC,SAAS;CACpgB,uCAAuC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtG,uCAAuC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtG,yCAAyC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,2D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wEAAwE,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,2CAA2C,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,UAAU,wDAAwD,SAAS;EAC3E,YAAY,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kKAAkK;CAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-project-compute-endpoint-settings.mjs","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).passthrough().describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").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 project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).passthrough().describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings: AppAction<\n typeof NeonUpdateProjectComputeEndpointSettingsInput,\n typeof NeonUpdateProjectComputeEndpointSettingsOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSettingsInput,\n output: NeonUpdateProjectComputeEndpointSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gDAAgD,EAAE,OAAO;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;CACnV,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACnN,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4WAA4W,CAAC,CAAC,SAAS;CACla,wBAAwB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACrJ,kCAAkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnI,qCAAqC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0bAA0b,CAAC,CAAC,SAAS;CACpgB,uCAAuC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtG,uCAAuC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtG,yCAAyC,EAAE,OAAO,EA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S;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,2CAIT,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4D,EAAE,OAAO;EACrE,UAAU,wDAAwD,SAAS;EAC3E,YAAY,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kKAAkK;CAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-project-settings-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-project-settings-by-id.cjs","names":["z","action"],"sources":["../../src/actions/update-project-settings-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectSettingsByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n project__name: z.string().describe(\"The project name\").optional(),\n project__history__retention__seconds: z.number().int().describe(\"The number of seconds to retain the shared history for all branches in this project. The default is 1 day (604800 seconds).\").optional(),\n project__settings__allowed__ips__ips: z.array(z.string()).describe(\"A list of IP addresses that are allowed to connect to the endpoint.\").optional(),\n project__settings__block__vpc__connections: z.boolean().describe(\"When set, connections using VPC endpoints are disallowed. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__block__public__connections: z.boolean().describe(\"When set, connections from the public internet are disallowed. This supersedes the AllowedIPs list. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__quota__logical__size__bytes: z.number().int().describe(\"Limit on the logical size of every project\\\"s branch.\").optional(),\n project__settings__quota__written__data__bytes: z.number().int().describe(\"Total amount of data written to all of a project\\\"s branches.\").optional(),\n project__settings__enable__logical__replication: z.boolean().describe(\"Sets wal_level=logical for all compute endpoints in this project. All active endpoints will be suspended. Once enabled, logical replication cannot be disabled.\").optional(),\n project__settings__quota__active__time__seconds: z.number().int().describe(\"The total amount of wall-clock time allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__quota__data__transfer__bytes: z.number().int().describe(\"Total amount of data transferred from all of a project\\\"s branches using the proxy.\").optional(),\n project__settings__maintenance__window__weekdays: z.array(z.number().int()).describe(\"A list of weekdays when the maintenance window is active. Encoded as ints, where 1 - Monday, and 7 - Sunday.\").optional(),\n project__settings__quota__compute__time__seconds: z.number().int().describe(\"The total amount of CPU seconds allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__maintenance__window__end__time: z.string().describe(\"End time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n project__settings__maintenance__window__start__time: z.string().describe(\"Start time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n project__default__ep__settings__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n project__settings__allowed__ips__protected__branches__only: z.boolean().describe(\"If true, the list will be applied only to protected branches.\").optional(),\n project__default__ep__settings__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n project__default__ep__settings__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n}).describe(\"Request schema for `UpdateProjectSettingsById`\");\nconst NeonUpdateProjectSettingsById_QuotaSettingsSchema = z.object({\n logical_size_bytes: z.number().int().describe(\"Maximum logical database size allowed in bytes.\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total amount of written data allowed in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total amount of active time allowed in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total amount of data transfer allowed in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total amount of compute time allowed in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Usage quota limits for the project.\");\nconst NeonUpdateProjectSettingsById_AllowedIpsSchema = z.object({\n ips: z.array(z.string()).describe(\"List of IP addresses or CIDR ranges allowed to connect.\").nullable().optional(),\n protected_branches_only: z.boolean().describe(\"Whether IP restrictions apply only to protected branches.\").nullable().optional(),\n}).passthrough().describe(\"IP allowlist configuration for database access.\");\nconst NeonUpdateProjectSettingsById_PreloadLibrariesSchema = z.object({\n use_defaults: z.boolean().describe(\"Whether to use default preload libraries.\").nullable().optional(),\n enabled_libraries: z.array(z.string()).describe(\"List of PostgreSQL extension libraries to preload.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL shared preload libraries configuration.\");\nconst NeonUpdateProjectSettingsById_MaintenanceWindowSchema = z.object({\n end_time: z.string().describe(\"Maintenance window end time in HH:MM format (UTC).\").nullable().optional(),\n weekdays: z.array(z.number().int()).describe(\"Array of weekday numbers (0-6, where 0 is Sunday) when maintenance can occur.\").nullable().optional(),\n start_time: z.string().describe(\"Maintenance window start time in HH:MM format (UTC).\").nullable().optional(),\n}).passthrough().describe(\"Scheduled maintenance window configuration.\");\nconst NeonUpdateProjectSettingsById_ProjectSettingsSchema = z.object({\n hipaa: z.boolean().describe(\"Whether HIPAA compliance mode is enabled.\").nullable().optional(),\n quota: NeonUpdateProjectSettingsById_QuotaSettingsSchema.nullable().optional(),\n allowed_ips: NeonUpdateProjectSettingsById_AllowedIpsSchema.nullable().optional(),\n audit_log_level: z.string().describe(\"Level of audit logging (base, extended, or full).\").nullable().optional(),\n preload_libraries: NeonUpdateProjectSettingsById_PreloadLibrariesSchema.nullable().optional(),\n maintenance_window: NeonUpdateProjectSettingsById_MaintenanceWindowSchema.nullable().optional(),\n block_vpc_connections: z.boolean().describe(\"Whether VPC connections are blocked.\").nullable().optional(),\n block_public_connections: z.boolean().describe(\"Whether public internet connections are blocked.\").nullable().optional(),\n enable_logical_replication: z.boolean().describe(\"Whether logical replication is enabled for the project.\").nullable().optional(),\n}).passthrough().describe(\"Project-level settings.\");\nconst NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer configuration settings as key-value pairs.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value -1 means no timeout (never suspend), 0 means suspend immediately.\").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(\"Default settings applied to all endpoints in the project.\");\nconst NeonUpdateProjectSettingsById_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier of the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owns the project.\").nullable().optional(),\n org_name: z.string().describe(\"Name of the organization that owns the project.\").nullable().optional(),\n owner_id: z.string().describe(\"User ID of the project owner.\").nullable().optional(),\n settings: NeonUpdateProjectSettingsById_ProjectSettingsSchema.nullable().optional(),\n region_id: z.string().describe(\"AWS Region identifier for the project.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created.\").nullable().optional(),\n deleted_at: z.string().describe(\"Timestamp when the project was deleted (if applicable).\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL major version number (14-18).\").nullable().optional(),\n proxy_host: z.string().describe(\"Hostname for connecting to the project's proxy endpoint.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated.\").nullable().optional(),\n active_time: z.number().int().describe(\"Total active time accumulated for the project in seconds.\").nullable().optional(),\n platform_id: z.string().describe(\"Platform identifier for the project.\").nullable().optional(),\n provisioner: z.string().describe(\"Provisioner type used for the project (k8s-pod or k8s-neonvm).\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the project.\").nullable().optional(),\n store_passwords: z.boolean().describe(\"Whether passwords are stored for the project.\").nullable().optional(),\n hipaa_enabled_at: z.string().describe(\"Timestamp when HIPAA compliance mode was enabled.\").nullable().optional(),\n recoverable_until: z.string().describe(\"Timestamp until which the project can be recovered after deletion.\").nullable().optional(),\n maintenance_starts_at: z.string().describe(\"Timestamp when the next scheduled maintenance begins.\").nullable().optional(),\n compute_last_active_at: z.string().describe(\"Timestamp when compute resources were last active.\").nullable().optional(),\n synthetic_storage_size: z.number().int().describe(\"Synthetic storage size metric in bytes.\").nullable().optional(),\n branch_logical_size_limit: z.number().int().describe(\"Maximum logical size limit for branches in the project (legacy field).\").nullable().optional(),\n default_endpoint_settings: NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema.nullable().optional(),\n history_retention_seconds: z.number().int().describe(\"Duration in seconds for which history is retained.\").nullable().optional(),\n branch_logical_size_limit_bytes: z.number().int().describe(\"Maximum logical size limit for branches in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const NeonUpdateProjectSettingsByIdOutput = z.object({\n project: NeonUpdateProjectSettingsById_ProjectSchema.nullable(),\n}).passthrough().describe(\"Response schema for `UpdateProjectSettingsById`\");\n\nexport const neonUpdateProjectSettingsById = action(\"NEON_UPDATE_PROJECT_SETTINGS_BY_ID\", {\n slug: \"neon-update-project-settings-by-id\",\n name: \"Update project settings by id\",\n description: \"Updates the configuration and settings of a specific Neon project. This endpoint allows fine-grained control over various aspects of a project, including resource quotas, security settings, maintenance windows, and default endpoint configurations. It's particularly useful for adjusting project parameters to optimize performance, enhance security, or comply with specific operational requirements. The endpoint should be used when changes to project-wide settings are necessary, such as modifying resource limits, adjusting IP access controls, or reconfiguring maintenance schedules. Note that some changes, like enabling logical replication, may have significant impacts on project operations and cannot be reversed. Care should be taken when modifying critical settings to avoid unintended consequences on project functionality or availability.\",\n input: NeonUpdateProjectSettingsByIdInput,\n output: NeonUpdateProjectSettingsByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxM,sCAAsCA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACnJ,4CAA4CA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC9N,+CAA+CA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CAC3Q,gDAA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,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAAS,4CAA4C,SAAS,EAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-project-settings-by-id.cjs","names":["z","action"],"sources":["../../src/actions/update-project-settings-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neon } from \"../app\";\n\nexport const NeonUpdateProjectSettingsByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n project__name: z.string().describe(\"The project name\").optional(),\n project__history__retention__seconds: z.number().int().describe(\"The number of seconds to retain the shared history for all branches in this project. The default is 1 day (604800 seconds).\").optional(),\n project__settings__allowed__ips__ips: z.array(z.string()).describe(\"A list of IP addresses that are allowed to connect to the endpoint.\").optional(),\n project__settings__block__vpc__connections: z.boolean().describe(\"When set, connections using VPC endpoints are disallowed. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__block__public__connections: z.boolean().describe(\"When set, connections from the public internet are disallowed. This supersedes the AllowedIPs list. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__quota__logical__size__bytes: z.number().int().describe(\"Limit on the logical size of every project\\\"s branch.\").optional(),\n project__settings__quota__written__data__bytes: z.number().int().describe(\"Total amount of data written to all of a project\\\"s branches.\").optional(),\n project__settings__enable__logical__replication: z.boolean().describe(\"Sets wal_level=logical for all compute endpoints in this project. All active endpoints will be suspended. Once enabled, logical replication cannot be disabled.\").optional(),\n project__settings__quota__active__time__seconds: z.number().int().describe(\"The total amount of wall-clock time allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__quota__data__transfer__bytes: z.number().int().describe(\"Total amount of data transferred from all of a project\\\"s branches using the proxy.\").optional(),\n project__settings__maintenance__window__weekdays: z.array(z.number().int()).describe(\"A list of weekdays when the maintenance window is active. Encoded as ints, where 1 - Monday, and 7 - Sunday.\").optional(),\n project__settings__quota__compute__time__seconds: z.number().int().describe(\"The total amount of CPU seconds allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__maintenance__window__end__time: z.string().describe(\"End time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n project__settings__maintenance__window__start__time: z.string().describe(\"Start time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n project__default__ep__settings__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n project__settings__allowed__ips__protected__branches__only: z.boolean().describe(\"If true, the list will be applied only to protected branches.\").optional(),\n project__default__ep__settings__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n project__default__ep__settings__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n}).describe(\"Request schema for `UpdateProjectSettingsById`\");\nconst NeonUpdateProjectSettingsById_QuotaSettingsSchema = z.object({\n logical_size_bytes: z.number().int().describe(\"Maximum logical database size allowed in bytes.\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total amount of written data allowed in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total amount of active time allowed in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total amount of data transfer allowed in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total amount of compute time allowed in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Usage quota limits for the project.\");\nconst NeonUpdateProjectSettingsById_AllowedIpsSchema = z.object({\n ips: z.array(z.string()).describe(\"List of IP addresses or CIDR ranges allowed to connect.\").nullable().optional(),\n protected_branches_only: z.boolean().describe(\"Whether IP restrictions apply only to protected branches.\").nullable().optional(),\n}).passthrough().describe(\"IP allowlist configuration for database access.\");\nconst NeonUpdateProjectSettingsById_PreloadLibrariesSchema = z.object({\n use_defaults: z.boolean().describe(\"Whether to use default preload libraries.\").nullable().optional(),\n enabled_libraries: z.array(z.string()).describe(\"List of PostgreSQL extension libraries to preload.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL shared preload libraries configuration.\");\nconst NeonUpdateProjectSettingsById_MaintenanceWindowSchema = z.object({\n end_time: z.string().describe(\"Maintenance window end time in HH:MM format (UTC).\").nullable().optional(),\n weekdays: z.array(z.number().int()).describe(\"Array of weekday numbers (0-6, where 0 is Sunday) when maintenance can occur.\").nullable().optional(),\n start_time: z.string().describe(\"Maintenance window start time in HH:MM format (UTC).\").nullable().optional(),\n}).passthrough().describe(\"Scheduled maintenance window configuration.\");\nconst NeonUpdateProjectSettingsById_ProjectSettingsSchema = z.object({\n hipaa: z.boolean().describe(\"Whether HIPAA compliance mode is enabled.\").nullable().optional(),\n quota: NeonUpdateProjectSettingsById_QuotaSettingsSchema.nullable().optional(),\n allowed_ips: NeonUpdateProjectSettingsById_AllowedIpsSchema.nullable().optional(),\n audit_log_level: z.string().describe(\"Level of audit logging (base, extended, or full).\").nullable().optional(),\n preload_libraries: NeonUpdateProjectSettingsById_PreloadLibrariesSchema.nullable().optional(),\n maintenance_window: NeonUpdateProjectSettingsById_MaintenanceWindowSchema.nullable().optional(),\n block_vpc_connections: z.boolean().describe(\"Whether VPC connections are blocked.\").nullable().optional(),\n block_public_connections: z.boolean().describe(\"Whether public internet connections are blocked.\").nullable().optional(),\n enable_logical_replication: z.boolean().describe(\"Whether logical replication is enabled for the project.\").nullable().optional(),\n}).passthrough().describe(\"Project-level settings.\");\nconst NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer configuration settings as key-value pairs.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value -1 means no timeout (never suspend), 0 means suspend immediately.\").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(\"Default settings applied to all endpoints in the project.\");\nconst NeonUpdateProjectSettingsById_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier of the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owns the project.\").nullable().optional(),\n org_name: z.string().describe(\"Name of the organization that owns the project.\").nullable().optional(),\n owner_id: z.string().describe(\"User ID of the project owner.\").nullable().optional(),\n settings: NeonUpdateProjectSettingsById_ProjectSettingsSchema.nullable().optional(),\n region_id: z.string().describe(\"AWS Region identifier for the project.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created.\").nullable().optional(),\n deleted_at: z.string().describe(\"Timestamp when the project was deleted (if applicable).\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL major version number (14-18).\").nullable().optional(),\n proxy_host: z.string().describe(\"Hostname for connecting to the project's proxy endpoint.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated.\").nullable().optional(),\n active_time: z.number().int().describe(\"Total active time accumulated for the project in seconds.\").nullable().optional(),\n platform_id: z.string().describe(\"Platform identifier for the project.\").nullable().optional(),\n provisioner: z.string().describe(\"Provisioner type used for the project (k8s-pod or k8s-neonvm).\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the project.\").nullable().optional(),\n store_passwords: z.boolean().describe(\"Whether passwords are stored for the project.\").nullable().optional(),\n hipaa_enabled_at: z.string().describe(\"Timestamp when HIPAA compliance mode was enabled.\").nullable().optional(),\n recoverable_until: z.string().describe(\"Timestamp until which the project can be recovered after deletion.\").nullable().optional(),\n maintenance_starts_at: z.string().describe(\"Timestamp when the next scheduled maintenance begins.\").nullable().optional(),\n compute_last_active_at: z.string().describe(\"Timestamp when compute resources were last active.\").nullable().optional(),\n synthetic_storage_size: z.number().int().describe(\"Synthetic storage size metric in bytes.\").nullable().optional(),\n branch_logical_size_limit: z.number().int().describe(\"Maximum logical size limit for branches in the project (legacy field).\").nullable().optional(),\n default_endpoint_settings: NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema.nullable().optional(),\n history_retention_seconds: z.number().int().describe(\"Duration in seconds for which history is retained.\").nullable().optional(),\n branch_logical_size_limit_bytes: z.number().int().describe(\"Maximum logical size limit for branches in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const NeonUpdateProjectSettingsByIdOutput = z.object({\n project: NeonUpdateProjectSettingsById_ProjectSchema.nullable(),\n}).passthrough().describe(\"Response schema for `UpdateProjectSettingsById`\");\n\nexport const neonUpdateProjectSettingsById: AppAction<\n typeof NeonUpdateProjectSettingsByIdInput,\n typeof NeonUpdateProjectSettingsByIdOutput,\n typeof neon.credential\n> = action(\"NEON_UPDATE_PROJECT_SETTINGS_BY_ID\", {\n slug: \"neon-update-project-settings-by-id\",\n name: \"Update project settings by id\",\n description: \"Updates the configuration and settings of a specific Neon project. This endpoint allows fine-grained control over various aspects of a project, including resource quotas, security settings, maintenance windows, and default endpoint configurations. It's particularly useful for adjusting project parameters to optimize performance, enhance security, or comply with specific operational requirements. The endpoint should be used when changes to project-wide settings are necessary, such as modifying resource limits, adjusting IP access controls, or reconfiguring maintenance schedules. Note that some changes, like enabling logical replication, may have significant impacts on project operations and cannot be reversed. Care should be taken when modifying critical settings to avoid unintended consequences on project functionality or availability.\",\n input: NeonUpdateProjectSettingsByIdInput,\n output: NeonUpdateProjectSettingsByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxM,sCAAsCA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACnJ,4CAA4CA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC9N,+CAA+CA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CAC3Q,gDAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5I,gDAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpJ,iDAAiDA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CAClP,iDAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpL,iDAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3K,kDAAkDA,IAAAA,EAAE,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