@distilled.cloud/neon 0.10.2 → 0.11.0

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 (374) hide show
  1. package/lib/client.d.ts +2 -2
  2. package/lib/operations/acceptProjectTransferRequest.d.ts +5 -1
  3. package/lib/operations/acceptProjectTransferRequest.d.ts.map +1 -1
  4. package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +13 -1
  5. package/lib/operations/addBranchNeonAuthOauthProvider.d.ts.map +1 -1
  6. package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +6 -1
  7. package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts.map +1 -1
  8. package/lib/operations/addProjectJWKS.d.ts +35 -1
  9. package/lib/operations/addProjectJWKS.d.ts.map +1 -1
  10. package/lib/operations/assignOrganizationVPCEndpoint.d.ts +6 -1
  11. package/lib/operations/assignOrganizationVPCEndpoint.d.ts.map +1 -1
  12. package/lib/operations/assignProjectVPCEndpoint.d.ts +5 -1
  13. package/lib/operations/assignProjectVPCEndpoint.d.ts.map +1 -1
  14. package/lib/operations/countProjectBranches.d.ts +7 -1
  15. package/lib/operations/countProjectBranches.d.ts.map +1 -1
  16. package/lib/operations/countProjectBranches.js +2 -0
  17. package/lib/operations/countProjectBranches.js.map +1 -1
  18. package/lib/operations/createApiKey.d.ts +9 -1
  19. package/lib/operations/createApiKey.d.ts.map +1 -1
  20. package/lib/operations/createBranchNeonAuthNewUser.d.ts +8 -1
  21. package/lib/operations/createBranchNeonAuthNewUser.d.ts.map +1 -1
  22. package/lib/operations/createNeonAuth.d.ts +15 -1
  23. package/lib/operations/createNeonAuth.d.ts.map +1 -1
  24. package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +13 -1
  25. package/lib/operations/createNeonAuthProviderSDKKeys.d.ts.map +1 -1
  26. package/lib/operations/createOrgApiKey.d.ts +10 -1
  27. package/lib/operations/createOrgApiKey.d.ts.map +1 -1
  28. package/lib/operations/createOrganizationInvitations.d.ts +16 -1
  29. package/lib/operations/createOrganizationInvitations.d.ts.map +1 -1
  30. package/lib/operations/createProject.d.ts +254 -1
  31. package/lib/operations/createProject.d.ts.map +1 -1
  32. package/lib/operations/createProjectBranch.d.ts +122 -1
  33. package/lib/operations/createProjectBranch.d.ts.map +1 -1
  34. package/lib/operations/createProjectBranchAnonymized.d.ts +122 -1
  35. package/lib/operations/createProjectBranchAnonymized.d.ts.map +1 -1
  36. package/lib/operations/createProjectBranchDataAPI.d.ts +25 -1
  37. package/lib/operations/createProjectBranchDataAPI.d.ts.map +1 -1
  38. package/lib/operations/createProjectBranchDatabase.d.ts +32 -1
  39. package/lib/operations/createProjectBranchDatabase.d.ts.map +1 -1
  40. package/lib/operations/createProjectBranchDatabase.js +2 -0
  41. package/lib/operations/createProjectBranchDatabase.js.map +1 -1
  42. package/lib/operations/createProjectBranchRole.d.ts +33 -1
  43. package/lib/operations/createProjectBranchRole.d.ts.map +1 -1
  44. package/lib/operations/createProjectBranchRole.js +2 -0
  45. package/lib/operations/createProjectBranchRole.js.map +1 -1
  46. package/lib/operations/createProjectEndpoint.d.ts +84 -1
  47. package/lib/operations/createProjectEndpoint.d.ts.map +1 -1
  48. package/lib/operations/createProjectEndpoint.js +2 -0
  49. package/lib/operations/createProjectEndpoint.js.map +1 -1
  50. package/lib/operations/createProjectTransferRequest.d.ts +9 -1
  51. package/lib/operations/createProjectTransferRequest.d.ts.map +1 -1
  52. package/lib/operations/createSnapshot.d.ts +33 -1
  53. package/lib/operations/createSnapshot.d.ts.map +1 -1
  54. package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +5 -1
  55. package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts.map +1 -1
  56. package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +8 -1
  57. package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts.map +1 -1
  58. package/lib/operations/deleteBranchNeonAuthUser.d.ts +5 -1
  59. package/lib/operations/deleteBranchNeonAuthUser.d.ts.map +1 -1
  60. package/lib/operations/deleteOrganizationVPCEndpoint.d.ts +5 -1
  61. package/lib/operations/deleteOrganizationVPCEndpoint.d.ts.map +1 -1
  62. package/lib/operations/deleteProject.d.ts +81 -1
  63. package/lib/operations/deleteProject.d.ts.map +1 -1
  64. package/lib/operations/deleteProject.js +2 -0
  65. package/lib/operations/deleteProject.js.map +1 -1
  66. package/lib/operations/deleteProjectBranch.d.ts +58 -1
  67. package/lib/operations/deleteProjectBranch.d.ts.map +1 -1
  68. package/lib/operations/deleteProjectBranch.js +2 -0
  69. package/lib/operations/deleteProjectBranch.js.map +1 -1
  70. package/lib/operations/deleteProjectBranchDataAPI.d.ts +5 -1
  71. package/lib/operations/deleteProjectBranchDataAPI.d.ts.map +1 -1
  72. package/lib/operations/deleteProjectBranchDatabase.d.ts +29 -1
  73. package/lib/operations/deleteProjectBranchDatabase.d.ts.map +1 -1
  74. package/lib/operations/deleteProjectBranchDatabase.js +2 -0
  75. package/lib/operations/deleteProjectBranchDatabase.js.map +1 -1
  76. package/lib/operations/deleteProjectBranchRole.d.ts +30 -1
  77. package/lib/operations/deleteProjectBranchRole.d.ts.map +1 -1
  78. package/lib/operations/deleteProjectBranchRole.js +2 -0
  79. package/lib/operations/deleteProjectBranchRole.js.map +1 -1
  80. package/lib/operations/deleteProjectEndpoint.d.ts +59 -1
  81. package/lib/operations/deleteProjectEndpoint.d.ts.map +1 -1
  82. package/lib/operations/deleteProjectEndpoint.js +2 -0
  83. package/lib/operations/deleteProjectEndpoint.js.map +1 -1
  84. package/lib/operations/deleteProjectJWKS.d.ts +14 -1
  85. package/lib/operations/deleteProjectJWKS.d.ts.map +1 -1
  86. package/lib/operations/deleteProjectVPCEndpoint.d.ts +4 -1
  87. package/lib/operations/deleteProjectVPCEndpoint.d.ts.map +1 -1
  88. package/lib/operations/deleteSnapshot.d.ts +4 -1
  89. package/lib/operations/deleteSnapshot.d.ts.map +1 -1
  90. package/lib/operations/disableNeonAuth.d.ts +5 -1
  91. package/lib/operations/disableNeonAuth.d.ts.map +1 -1
  92. package/lib/operations/finalizeRestoreBranch.d.ts +20 -1
  93. package/lib/operations/finalizeRestoreBranch.d.ts.map +1 -1
  94. package/lib/operations/getActiveRegions.d.ts +11 -1
  95. package/lib/operations/getActiveRegions.d.ts.map +1 -1
  96. package/lib/operations/getAnonymizedBranchStatus.d.ts +19 -1
  97. package/lib/operations/getAnonymizedBranchStatus.d.ts.map +1 -1
  98. package/lib/operations/getAuthDetails.d.ts +5 -1
  99. package/lib/operations/getAuthDetails.d.ts.map +1 -1
  100. package/lib/operations/getAvailablePreloadLibraries.d.ts +11 -1
  101. package/lib/operations/getAvailablePreloadLibraries.d.ts.map +1 -1
  102. package/lib/operations/getConnectionURI.d.ts +11 -1
  103. package/lib/operations/getConnectionURI.d.ts.map +1 -1
  104. package/lib/operations/getConnectionURI.js +2 -0
  105. package/lib/operations/getConnectionURI.js.map +1 -1
  106. package/lib/operations/getConsumptionHistoryPerAccount.d.ts +27 -1
  107. package/lib/operations/getConsumptionHistoryPerAccount.d.ts.map +1 -1
  108. package/lib/operations/getConsumptionHistoryPerAccount.js +2 -0
  109. package/lib/operations/getConsumptionHistoryPerAccount.js.map +1 -1
  110. package/lib/operations/getConsumptionHistoryPerProject.d.ts +36 -1
  111. package/lib/operations/getConsumptionHistoryPerProject.d.ts.map +1 -1
  112. package/lib/operations/getConsumptionHistoryPerProject.js +2 -0
  113. package/lib/operations/getConsumptionHistoryPerProject.js.map +1 -1
  114. package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +32 -1
  115. package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts.map +1 -1
  116. package/lib/operations/getConsumptionHistoryPerProjectV2.js +2 -0
  117. package/lib/operations/getConsumptionHistoryPerProjectV2.js.map +1 -1
  118. package/lib/operations/getCurrentUserInfo.d.ts +55 -1
  119. package/lib/operations/getCurrentUserInfo.d.ts.map +1 -1
  120. package/lib/operations/getCurrentUserOrganizations.d.ts +12 -1
  121. package/lib/operations/getCurrentUserOrganizations.d.ts.map +1 -1
  122. package/lib/operations/getMaskingRules.d.ts +13 -1
  123. package/lib/operations/getMaskingRules.d.ts.map +1 -1
  124. package/lib/operations/getNeonAuth.d.ts +14 -1
  125. package/lib/operations/getNeonAuth.d.ts.map +1 -1
  126. package/lib/operations/getNeonAuthAllowLocalhost.d.ts +6 -1
  127. package/lib/operations/getNeonAuthAllowLocalhost.d.ts.map +1 -1
  128. package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +12 -1
  129. package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts.map +1 -1
  130. package/lib/operations/getNeonAuthEmailProvider.d.ts +4 -1
  131. package/lib/operations/getNeonAuthEmailProvider.d.ts.map +1 -1
  132. package/lib/operations/getNeonAuthPluginConfigs.d.ts +29 -1
  133. package/lib/operations/getNeonAuthPluginConfigs.d.ts.map +1 -1
  134. package/lib/operations/getNeonAuthWebhookConfig.d.ts +9 -1
  135. package/lib/operations/getNeonAuthWebhookConfig.d.ts.map +1 -1
  136. package/lib/operations/getOrganization.d.ts +12 -1
  137. package/lib/operations/getOrganization.d.ts.map +1 -1
  138. package/lib/operations/getOrganizationInvitations.d.ts +12 -1
  139. package/lib/operations/getOrganizationInvitations.d.ts.map +1 -1
  140. package/lib/operations/getOrganizationMember.d.ts +10 -1
  141. package/lib/operations/getOrganizationMember.d.ts.map +1 -1
  142. package/lib/operations/getOrganizationMembers.d.ts +26 -1
  143. package/lib/operations/getOrganizationMembers.d.ts.map +1 -1
  144. package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +11 -1
  145. package/lib/operations/getOrganizationVPCEndpointDetails.d.ts.map +1 -1
  146. package/lib/operations/getProject.d.ts +81 -1
  147. package/lib/operations/getProject.d.ts.map +1 -1
  148. package/lib/operations/getProject.js +2 -0
  149. package/lib/operations/getProject.js.map +1 -1
  150. package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +22 -1
  151. package/lib/operations/getProjectAdvisorSecurityIssues.d.ts.map +1 -1
  152. package/lib/operations/getProjectBranch.d.ts +55 -1
  153. package/lib/operations/getProjectBranch.d.ts.map +1 -1
  154. package/lib/operations/getProjectBranch.js +2 -0
  155. package/lib/operations/getProjectBranch.js.map +1 -1
  156. package/lib/operations/getProjectBranchDataAPI.d.ts +21 -1
  157. package/lib/operations/getProjectBranchDataAPI.d.ts.map +1 -1
  158. package/lib/operations/getProjectBranchDatabase.d.ts +15 -1
  159. package/lib/operations/getProjectBranchDatabase.d.ts.map +1 -1
  160. package/lib/operations/getProjectBranchDatabase.js +2 -0
  161. package/lib/operations/getProjectBranchDatabase.js.map +1 -1
  162. package/lib/operations/getProjectBranchRole.d.ts +16 -1
  163. package/lib/operations/getProjectBranchRole.d.ts.map +1 -1
  164. package/lib/operations/getProjectBranchRole.js +2 -0
  165. package/lib/operations/getProjectBranchRole.js.map +1 -1
  166. package/lib/operations/getProjectBranchRolePassword.d.ts +8 -1
  167. package/lib/operations/getProjectBranchRolePassword.d.ts.map +1 -1
  168. package/lib/operations/getProjectBranchRolePassword.js +2 -0
  169. package/lib/operations/getProjectBranchRolePassword.js.map +1 -1
  170. package/lib/operations/getProjectBranchSchema.d.ts +33 -1
  171. package/lib/operations/getProjectBranchSchema.d.ts.map +1 -1
  172. package/lib/operations/getProjectBranchSchema.js +2 -0
  173. package/lib/operations/getProjectBranchSchema.js.map +1 -1
  174. package/lib/operations/getProjectBranchSchemaComparison.d.ts +13 -1
  175. package/lib/operations/getProjectBranchSchemaComparison.d.ts.map +1 -1
  176. package/lib/operations/getProjectBranchSchemaComparison.js +2 -0
  177. package/lib/operations/getProjectBranchSchemaComparison.js.map +1 -1
  178. package/lib/operations/getProjectEndpoint.d.ts +45 -1
  179. package/lib/operations/getProjectEndpoint.d.ts.map +1 -1
  180. package/lib/operations/getProjectEndpoint.js +2 -0
  181. package/lib/operations/getProjectEndpoint.js.map +1 -1
  182. package/lib/operations/getProjectJWKS.d.ts +15 -1
  183. package/lib/operations/getProjectJWKS.d.ts.map +1 -1
  184. package/lib/operations/getProjectOperation.d.ts +20 -1
  185. package/lib/operations/getProjectOperation.d.ts.map +1 -1
  186. package/lib/operations/getProjectOperation.js +2 -0
  187. package/lib/operations/getProjectOperation.js.map +1 -1
  188. package/lib/operations/getSnapshotSchedule.d.ts +12 -1
  189. package/lib/operations/getSnapshotSchedule.d.ts.map +1 -1
  190. package/lib/operations/grantPermissionToProject.d.ts +9 -1
  191. package/lib/operations/grantPermissionToProject.d.ts.map +1 -1
  192. package/lib/operations/listApiKeys.d.ts +12 -1
  193. package/lib/operations/listApiKeys.d.ts.map +1 -1
  194. package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +11 -1
  195. package/lib/operations/listBranchNeonAuthOauthProviders.d.ts.map +1 -1
  196. package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +9 -1
  197. package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts.map +1 -1
  198. package/lib/operations/listOrgApiKeys.d.ts +15 -1
  199. package/lib/operations/listOrgApiKeys.d.ts.map +1 -1
  200. package/lib/operations/listOrganizationVPCEndpoints.d.ts +9 -1
  201. package/lib/operations/listOrganizationVPCEndpoints.d.ts.map +1 -1
  202. package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +9 -1
  203. package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts.map +1 -1
  204. package/lib/operations/listProjectBranchDatabases.d.ts +14 -1
  205. package/lib/operations/listProjectBranchDatabases.d.ts.map +1 -1
  206. package/lib/operations/listProjectBranchDatabases.js +2 -0
  207. package/lib/operations/listProjectBranchDatabases.js.map +1 -1
  208. package/lib/operations/listProjectBranchEndpoints.d.ts +45 -1
  209. package/lib/operations/listProjectBranchEndpoints.d.ts.map +1 -1
  210. package/lib/operations/listProjectBranchEndpoints.js +2 -0
  211. package/lib/operations/listProjectBranchEndpoints.js.map +1 -1
  212. package/lib/operations/listProjectBranchRoles.d.ts +15 -1
  213. package/lib/operations/listProjectBranchRoles.d.ts.map +1 -1
  214. package/lib/operations/listProjectBranchRoles.js +2 -0
  215. package/lib/operations/listProjectBranchRoles.js.map +1 -1
  216. package/lib/operations/listProjectBranches.d.ts +66 -1
  217. package/lib/operations/listProjectBranches.d.ts.map +1 -1
  218. package/lib/operations/listProjectBranches.js +2 -0
  219. package/lib/operations/listProjectBranches.js.map +1 -1
  220. package/lib/operations/listProjectEndpoints.d.ts +44 -1
  221. package/lib/operations/listProjectEndpoints.d.ts.map +1 -1
  222. package/lib/operations/listProjectEndpoints.js +2 -0
  223. package/lib/operations/listProjectEndpoints.js.map +1 -1
  224. package/lib/operations/listProjectOperations.d.ts +24 -1
  225. package/lib/operations/listProjectOperations.d.ts.map +1 -1
  226. package/lib/operations/listProjectOperations.js +2 -0
  227. package/lib/operations/listProjectOperations.js.map +1 -1
  228. package/lib/operations/listProjectPermissions.d.ts +11 -1
  229. package/lib/operations/listProjectPermissions.d.ts.map +1 -1
  230. package/lib/operations/listProjectPermissions.js +2 -0
  231. package/lib/operations/listProjectPermissions.js.map +1 -1
  232. package/lib/operations/listProjectVPCEndpoints.d.ts +8 -1
  233. package/lib/operations/listProjectVPCEndpoints.d.ts.map +1 -1
  234. package/lib/operations/listProjects.d.ts +85 -1
  235. package/lib/operations/listProjects.d.ts.map +1 -1
  236. package/lib/operations/listSharedProjects.d.ts +77 -1
  237. package/lib/operations/listSharedProjects.d.ts.map +1 -1
  238. package/lib/operations/listSnapshots.d.ts +14 -1
  239. package/lib/operations/listSnapshots.d.ts.map +1 -1
  240. package/lib/operations/recoverProject.d.ts +118 -1
  241. package/lib/operations/recoverProject.d.ts.map +1 -1
  242. package/lib/operations/removeOrganizationMember.d.ts +4 -1
  243. package/lib/operations/removeOrganizationMember.d.ts.map +1 -1
  244. package/lib/operations/resetProjectBranchRolePassword.d.ts +30 -1
  245. package/lib/operations/resetProjectBranchRolePassword.d.ts.map +1 -1
  246. package/lib/operations/resetProjectBranchRolePassword.js +2 -0
  247. package/lib/operations/resetProjectBranchRolePassword.js.map +1 -1
  248. package/lib/operations/restartProjectEndpoint.d.ts +59 -1
  249. package/lib/operations/restartProjectEndpoint.d.ts.map +1 -1
  250. package/lib/operations/restartProjectEndpoint.js +2 -0
  251. package/lib/operations/restartProjectEndpoint.js.map +1 -1
  252. package/lib/operations/restoreProjectBranch.d.ts +62 -1
  253. package/lib/operations/restoreProjectBranch.d.ts.map +1 -1
  254. package/lib/operations/restoreProjectBranch.js +2 -0
  255. package/lib/operations/restoreProjectBranch.js.map +1 -1
  256. package/lib/operations/restoreSnapshot.d.ts +99 -1
  257. package/lib/operations/restoreSnapshot.d.ts.map +1 -1
  258. package/lib/operations/revokeApiKey.d.ts +12 -1
  259. package/lib/operations/revokeApiKey.d.ts.map +1 -1
  260. package/lib/operations/revokeApiKey.js +2 -0
  261. package/lib/operations/revokeApiKey.js.map +1 -1
  262. package/lib/operations/revokeOrgApiKey.d.ts +13 -1
  263. package/lib/operations/revokeOrgApiKey.d.ts.map +1 -1
  264. package/lib/operations/revokePermissionFromProject.d.ts +9 -1
  265. package/lib/operations/revokePermissionFromProject.d.ts.map +1 -1
  266. package/lib/operations/sendNeonAuthTestEmail.d.ts +7 -1
  267. package/lib/operations/sendNeonAuthTestEmail.d.ts.map +1 -1
  268. package/lib/operations/setDefaultProjectBranch.d.ts +58 -1
  269. package/lib/operations/setDefaultProjectBranch.d.ts.map +1 -1
  270. package/lib/operations/setDefaultProjectBranch.js +2 -0
  271. package/lib/operations/setDefaultProjectBranch.js.map +1 -1
  272. package/lib/operations/setSnapshotSchedule.d.ts +11 -1
  273. package/lib/operations/setSnapshotSchedule.d.ts.map +1 -1
  274. package/lib/operations/startAnonymization.d.ts +19 -1
  275. package/lib/operations/startAnonymization.d.ts.map +1 -1
  276. package/lib/operations/startProjectEndpoint.d.ts +59 -1
  277. package/lib/operations/startProjectEndpoint.d.ts.map +1 -1
  278. package/lib/operations/startProjectEndpoint.js +2 -0
  279. package/lib/operations/startProjectEndpoint.js.map +1 -1
  280. package/lib/operations/suspendProjectEndpoint.d.ts +59 -1
  281. package/lib/operations/suspendProjectEndpoint.d.ts.map +1 -1
  282. package/lib/operations/suspendProjectEndpoint.js +2 -0
  283. package/lib/operations/suspendProjectEndpoint.js.map +1 -1
  284. package/lib/operations/transferNeonAuthProviderProject.d.ts +6 -1
  285. package/lib/operations/transferNeonAuthProviderProject.d.ts.map +1 -1
  286. package/lib/operations/transferProjectsFromOrgToOrg.d.ts +6 -1
  287. package/lib/operations/transferProjectsFromOrgToOrg.d.ts.map +1 -1
  288. package/lib/operations/transferProjectsFromOrgToOrg.js +2 -0
  289. package/lib/operations/transferProjectsFromOrgToOrg.js.map +1 -1
  290. package/lib/operations/transferProjectsFromUserToOrg.d.ts +5 -1
  291. package/lib/operations/transferProjectsFromUserToOrg.d.ts.map +1 -1
  292. package/lib/operations/transferProjectsFromUserToOrg.js +2 -0
  293. package/lib/operations/transferProjectsFromUserToOrg.js.map +1 -1
  294. package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +13 -1
  295. package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts.map +1 -1
  296. package/lib/operations/updateMaskingRules.d.ts +21 -1
  297. package/lib/operations/updateMaskingRules.d.ts.map +1 -1
  298. package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +7 -1
  299. package/lib/operations/updateNeonAuthAllowLocalhost.d.ts.map +1 -1
  300. package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +19 -1
  301. package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts.map +1 -1
  302. package/lib/operations/updateNeonAuthEmailProvider.d.ts +4 -1
  303. package/lib/operations/updateNeonAuthEmailProvider.d.ts.map +1 -1
  304. package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +15 -1
  305. package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts.map +1 -1
  306. package/lib/operations/updateNeonAuthUserRole.d.ts +8 -1
  307. package/lib/operations/updateNeonAuthUserRole.d.ts.map +1 -1
  308. package/lib/operations/updateNeonAuthWebhookConfig.d.ts +13 -1
  309. package/lib/operations/updateNeonAuthWebhookConfig.d.ts.map +1 -1
  310. package/lib/operations/updateOrganizationMember.d.ts +11 -1
  311. package/lib/operations/updateOrganizationMember.d.ts.map +1 -1
  312. package/lib/operations/updateProject.d.ts +137 -1
  313. package/lib/operations/updateProject.d.ts.map +1 -1
  314. package/lib/operations/updateProject.js +2 -0
  315. package/lib/operations/updateProject.js.map +1 -1
  316. package/lib/operations/updateProjectBranch.d.ts +63 -1
  317. package/lib/operations/updateProjectBranch.d.ts.map +1 -1
  318. package/lib/operations/updateProjectBranch.js +2 -0
  319. package/lib/operations/updateProjectBranch.js.map +1 -1
  320. package/lib/operations/updateProjectBranchDataAPI.d.ts +17 -1
  321. package/lib/operations/updateProjectBranchDataAPI.d.ts.map +1 -1
  322. package/lib/operations/updateProjectBranchDatabase.d.ts +33 -1
  323. package/lib/operations/updateProjectBranchDatabase.d.ts.map +1 -1
  324. package/lib/operations/updateProjectBranchDatabase.js +2 -0
  325. package/lib/operations/updateProjectBranchDatabase.js.map +1 -1
  326. package/lib/operations/updateProjectEndpoint.d.ts +83 -1
  327. package/lib/operations/updateProjectEndpoint.d.ts.map +1 -1
  328. package/lib/operations/updateProjectEndpoint.js +2 -0
  329. package/lib/operations/updateProjectEndpoint.js.map +1 -1
  330. package/lib/operations/updateSnapshot.d.ts +18 -1
  331. package/lib/operations/updateSnapshot.d.ts.map +1 -1
  332. package/package.json +3 -2
  333. package/src/operations/countProjectBranches.ts +2 -0
  334. package/src/operations/createProjectBranchDatabase.ts +2 -0
  335. package/src/operations/createProjectBranchRole.ts +2 -0
  336. package/src/operations/createProjectEndpoint.ts +2 -0
  337. package/src/operations/deleteProject.ts +2 -0
  338. package/src/operations/deleteProjectBranch.ts +2 -0
  339. package/src/operations/deleteProjectBranchDatabase.ts +2 -0
  340. package/src/operations/deleteProjectBranchRole.ts +2 -0
  341. package/src/operations/deleteProjectEndpoint.ts +2 -0
  342. package/src/operations/getConnectionURI.ts +2 -0
  343. package/src/operations/getConsumptionHistoryPerAccount.ts +2 -0
  344. package/src/operations/getConsumptionHistoryPerProject.ts +2 -0
  345. package/src/operations/getConsumptionHistoryPerProjectV2.ts +2 -0
  346. package/src/operations/getProject.ts +2 -0
  347. package/src/operations/getProjectBranch.ts +2 -0
  348. package/src/operations/getProjectBranchDatabase.ts +2 -0
  349. package/src/operations/getProjectBranchRole.ts +2 -0
  350. package/src/operations/getProjectBranchRolePassword.ts +2 -0
  351. package/src/operations/getProjectBranchSchema.ts +2 -0
  352. package/src/operations/getProjectBranchSchemaComparison.ts +2 -0
  353. package/src/operations/getProjectEndpoint.ts +2 -0
  354. package/src/operations/getProjectOperation.ts +2 -0
  355. package/src/operations/listProjectBranchDatabases.ts +2 -0
  356. package/src/operations/listProjectBranchEndpoints.ts +2 -0
  357. package/src/operations/listProjectBranchRoles.ts +2 -0
  358. package/src/operations/listProjectBranches.ts +2 -0
  359. package/src/operations/listProjectEndpoints.ts +2 -0
  360. package/src/operations/listProjectOperations.ts +2 -0
  361. package/src/operations/listProjectPermissions.ts +2 -0
  362. package/src/operations/resetProjectBranchRolePassword.ts +2 -0
  363. package/src/operations/restartProjectEndpoint.ts +2 -0
  364. package/src/operations/restoreProjectBranch.ts +2 -0
  365. package/src/operations/revokeApiKey.ts +2 -0
  366. package/src/operations/setDefaultProjectBranch.ts +2 -0
  367. package/src/operations/startProjectEndpoint.ts +2 -0
  368. package/src/operations/suspendProjectEndpoint.ts +2 -0
  369. package/src/operations/transferProjectsFromOrgToOrg.ts +2 -0
  370. package/src/operations/transferProjectsFromUserToOrg.ts +2 -0
  371. package/src/operations/updateProject.ts +2 -0
  372. package/src/operations/updateProjectBranch.ts +2 -0
  373. package/src/operations/updateProjectBranchDatabase.ts +2 -0
  374. package/src/operations/updateProjectEndpoint.ts +2 -0
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { BadRequest, NotFound } from "../errors";
2
3
  export declare const UpdateProjectBranchInput: Schema.Struct<{
3
4
  readonly project_id: Schema.String;
4
5
  readonly branch_id: Schema.String;
@@ -75,5 +76,66 @@ export type UpdateProjectBranchOutput = typeof UpdateProjectBranchOutput.Type;
75
76
  * @param project_id - The Neon project ID
76
77
  * @param branch_id - The branch ID
77
78
  */
78
- export declare const updateProjectBranch: any;
79
+ export declare const updateProjectBranch: import("@distilled.cloud/core/client").OperationMethod<{
80
+ readonly branch: {
81
+ readonly expires_at?: string | null | undefined;
82
+ readonly name?: string | undefined;
83
+ readonly protected?: boolean | undefined;
84
+ };
85
+ readonly branch_id: string;
86
+ readonly project_id: string;
87
+ }, {
88
+ readonly branch: {
89
+ readonly active_time_seconds: number;
90
+ readonly compute_time_seconds: number;
91
+ readonly cpu_used_sec: number;
92
+ readonly created_at: string;
93
+ readonly created_by?: {
94
+ readonly image?: string | undefined;
95
+ readonly name?: string | undefined;
96
+ } | undefined;
97
+ readonly creation_source: string;
98
+ readonly current_state: string;
99
+ readonly data_transfer_bytes: number;
100
+ readonly default: boolean;
101
+ readonly expires_at?: string | undefined;
102
+ readonly id: string;
103
+ readonly init_source?: string | undefined;
104
+ readonly last_reset_at?: string | undefined;
105
+ readonly logical_size?: number | undefined;
106
+ readonly name: string;
107
+ readonly parent_id?: string | undefined;
108
+ readonly parent_lsn?: string | undefined;
109
+ readonly parent_timestamp?: string | undefined;
110
+ readonly pending_state?: string | undefined;
111
+ readonly primary?: boolean | undefined;
112
+ readonly project_id: string;
113
+ readonly protected: boolean;
114
+ readonly restore_status?: string | undefined;
115
+ readonly restored_as?: string | undefined;
116
+ readonly restored_from?: string | undefined;
117
+ readonly restricted_actions?: readonly {
118
+ readonly name: string;
119
+ readonly reason: string;
120
+ }[] | undefined;
121
+ readonly state_changed_at: string;
122
+ readonly ttl_interval_seconds?: number | undefined;
123
+ readonly updated_at: string;
124
+ readonly written_data_bytes: number;
125
+ };
126
+ readonly operations: readonly {
127
+ readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "import_data" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive";
128
+ readonly branch_id?: string | undefined;
129
+ readonly created_at: string;
130
+ readonly endpoint_id?: string | undefined;
131
+ readonly error?: string | undefined;
132
+ readonly failures_count: number;
133
+ readonly id: string;
134
+ readonly project_id: string;
135
+ readonly retry_at?: string | undefined;
136
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
137
+ readonly total_duration_ms: number;
138
+ readonly updated_at: string;
139
+ }[];
140
+ }, BadRequest | NotFound, any>;
79
141
  //# sourceMappingURL=updateProjectBranch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectBranch.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;;;;;EAclC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqGlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
1
+ {"version":3,"file":"updateProjectBranch.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGjD,eAAO,MAAM,wBAAwB;;;;;;;;EAclC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqGlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAI7B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { BadRequest, NotFound } from "../errors";
4
5
  // Input Schema
5
6
  export const UpdateProjectBranchInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -125,5 +126,6 @@ export const UpdateProjectBranchOutput =
125
126
  export const updateProjectBranch = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
126
127
  inputSchema: UpdateProjectBranchInput,
127
128
  outputSchema: UpdateProjectBranchOutput,
129
+ errors: [BadRequest, NotFound],
128
130
  }));
129
131
  //# sourceMappingURL=updateProjectBranch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectBranch.js","sourceRoot":"","sources":["../../src/operations/updateProjectBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAA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B,iBAAiB;YACjB,eAAe;YACf,aAAa;YACb,eAAe;YACf,eAAe;YACf,eAAe;YACf,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,sBAAsB;YACtB,8BAA8B;YAC9B,mBAAmB;YACnB,sBAAsB;YACtB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,iCAAiC;YACjC,0BAA0B;YAC1B,yBAAyB;YACzB,iBAAiB;YACjB,iBAAiB;YACjB,uBAAuB;YACvB,iBAAiB;SAClB,CAAC;QACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;YACtB,YAAY;YACZ,SAAS;YACT,UAAU;YACV,QAAQ;YACR,OAAO;YACP,YAAY;YACZ,WAAW;YACX,SAAS;SACV,CAAC;QACF,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,cAAc,EAAE,MAAM,CAAC,MAAM;QAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,iBAAiB,EAAE,MAAM,CAAC,MAAM;KACjC,CAAC,CACH;CACF,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
@@ -31,5 +31,21 @@ export type UpdateProjectBranchDataAPIOutput = typeof UpdateProjectBranchDataAPI
31
31
  * @param branch_id - The Neon branch ID
32
32
  * @param database_name - The database name
33
33
  */
34
- export declare const updateProjectBranchDataAPI: any;
34
+ export declare const updateProjectBranchDataAPI: import("@distilled.cloud/core/client").OperationMethod<{
35
+ readonly branch_id: string;
36
+ readonly database_name: string;
37
+ readonly project_id: string;
38
+ readonly settings?: {
39
+ readonly db_aggregates_enabled?: boolean | undefined;
40
+ readonly db_anon_role?: string | undefined;
41
+ readonly db_extra_search_path?: string | undefined;
42
+ readonly db_max_rows?: number | undefined;
43
+ readonly db_schemas?: readonly string[] | undefined;
44
+ readonly jwt_cache_max_lifetime?: number | undefined;
45
+ readonly jwt_role_claim_key?: string | undefined;
46
+ readonly openapi_mode?: string | undefined;
47
+ readonly server_cors_allowed_origins?: string | undefined;
48
+ readonly server_timing_enabled?: boolean | undefined;
49
+ } | undefined;
50
+ }, {}, never, any>;
35
51
  //# sourceMappingURL=updateProjectBranchDataAPI.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectBranchDataAPI.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectBranchDataAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAwBzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC,mBACE,CAAC;AAChD,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,0BAA0B,KAKtC,CAAC"}
1
+ {"version":3,"file":"updateProjectBranchDataAPI.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectBranchDataAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAwBzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC,mBACE,CAAC;AAChD,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;kBAKtC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { NotFound } from "../errors";
2
3
  export declare const UpdateProjectBranchDatabaseInput: Schema.Struct<{
3
4
  readonly project_id: Schema.String;
4
5
  readonly branch_id: Schema.String;
@@ -46,5 +47,36 @@ export type UpdateProjectBranchDatabaseOutput = typeof UpdateProjectBranchDataba
46
47
  * @param branch_id - The branch ID
47
48
  * @param database_name - The database name
48
49
  */
49
- export declare const updateProjectBranchDatabase: any;
50
+ export declare const updateProjectBranchDatabase: import("@distilled.cloud/core/client").OperationMethod<{
51
+ readonly branch_id: string;
52
+ readonly database: {
53
+ readonly name?: string | undefined;
54
+ readonly owner_name?: string | undefined;
55
+ };
56
+ readonly database_name: string;
57
+ readonly project_id: string;
58
+ }, {
59
+ readonly database: {
60
+ readonly branch_id: string;
61
+ readonly created_at: string;
62
+ readonly id: number;
63
+ readonly name: string;
64
+ readonly owner_name: string;
65
+ readonly updated_at: string;
66
+ };
67
+ readonly operations: readonly {
68
+ readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "import_data" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive";
69
+ readonly branch_id?: string | undefined;
70
+ readonly created_at: string;
71
+ readonly endpoint_id?: string | undefined;
72
+ readonly error?: string | undefined;
73
+ readonly failures_count: number;
74
+ readonly id: string;
75
+ readonly project_id: string;
76
+ readonly retry_at?: string | undefined;
77
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
78
+ readonly total_duration_ms: number;
79
+ readonly updated_at: string;
80
+ }[];
81
+ }, NotFound, any>;
50
82
  //# sourceMappingURL=updateProjectBranchDatabase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectBranchDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectBranchDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gCAAgC;;;;;;;;EAc1C,CAAC;AACJ,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;EAiE1C,CAAC;AACL,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,2BAA2B,KAKvC,CAAC"}
1
+ {"version":3,"file":"updateProjectBranchDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectBranchDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGrC,eAAO,MAAM,gCAAgC;;;;;;;;EAc1C,CAAC;AACJ,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;EAiE1C,CAAC;AACL,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
  // Input Schema
5
6
  export const UpdateProjectBranchDatabaseInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -96,5 +97,6 @@ export const UpdateProjectBranchDatabaseOutput =
96
97
  export const updateProjectBranchDatabase = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
97
98
  inputSchema: UpdateProjectBranchDatabaseInput,
98
99
  outputSchema: UpdateProjectBranchDatabaseOutput,
100
+ errors: [NotFound],
99
101
  }));
100
102
  //# sourceMappingURL=updateProjectBranchDatabase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectBranchDatabase.js","sourceRoot":"","sources":["../../src/operations/updateProjectBranchDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAChD,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC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C;QACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;YACtB,YAAY;YACZ,SAAS;YACT,UAAU;YACV,QAAQ;YACR,OAAO;YACP,YAAY;YACZ,WAAW;YACX,SAAS;SACV,CAAC;QACF,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,cAAc,EAAE,MAAM,CAAC,MAAM;QAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,iBAAiB,EAAE,MAAM,CAAC,MAAM;KACjC,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC7E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,gCAAgC;IAC7C,YAAY,EAAE,iCAAiC;CAChD,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"updateProjectBranchDatabase.js","sourceRoot":"","sources":["../../src/operations/updateProjectBranchDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,eAAe;AACf,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAA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e;YACf,eAAe;YACf,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,sBAAsB;YACtB,8BAA8B;YAC9B,mBAAmB;YACnB,sBAAsB;YACtB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,iCAAiC;YACjC,0BAA0B;YAC1B,yBAAyB;YACzB,iBAAiB;YACjB,iBAAiB;YACjB,uBAAuB;YACvB,iBAAiB;SAClB,CAAC;QACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;YACtB,YAAY;YACZ,SAAS;YACT,UAAU;YACV,QAAQ;YACR,OAAO;YACP,YAAY;YACZ,WAAW;YACX,SAAS;SACV,CAAC;QACF,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,cAAc,EAAE,MAAM,CAAC,MAAM;QAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,iBAAiB,EAAE,MAAM,CAAC,MAAM;KACjC,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC7E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,gCAAgC;IAC7C,YAAY,EAAE,iCAAiC;IAC/C,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CACH,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { NotFound } from "../errors";
2
3
  export declare const UpdateProjectEndpointInput: Schema.Struct<{
3
4
  readonly project_id: Schema.String;
4
5
  readonly endpoint_id: Schema.String;
@@ -92,5 +93,86 @@ export type UpdateProjectEndpointOutput = typeof UpdateProjectEndpointOutput.Typ
92
93
  * @param project_id - The Neon project ID
93
94
  * @param endpoint_id - The endpoint ID
94
95
  */
95
- export declare const updateProjectEndpoint: any;
96
+ export declare const updateProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
97
+ readonly endpoint: {
98
+ readonly autoscaling_limit_max_cu?: number | undefined;
99
+ readonly autoscaling_limit_min_cu?: number | undefined;
100
+ readonly branch_id?: string | undefined;
101
+ readonly disabled?: boolean | undefined;
102
+ readonly name?: string | undefined;
103
+ readonly passwordless_access?: boolean | undefined;
104
+ readonly pooler_enabled?: boolean | undefined;
105
+ readonly pooler_mode?: "transaction" | undefined;
106
+ readonly provisioner?: string | undefined;
107
+ readonly settings?: {
108
+ readonly pg_settings?: {
109
+ readonly [x: string]: string;
110
+ } | undefined;
111
+ readonly pgbouncer_settings?: {
112
+ readonly [x: string]: string;
113
+ } | undefined;
114
+ readonly preload_libraries?: {
115
+ readonly enabled_libraries?: readonly string[] | undefined;
116
+ readonly use_defaults?: boolean | undefined;
117
+ } | undefined;
118
+ } | undefined;
119
+ readonly suspend_timeout_seconds?: number | undefined;
120
+ };
121
+ readonly endpoint_id: string;
122
+ readonly project_id: string;
123
+ }, {
124
+ readonly endpoint: {
125
+ readonly autoscaling_limit_max_cu: number;
126
+ readonly autoscaling_limit_min_cu: number;
127
+ readonly branch_id: string;
128
+ readonly compute_release_version?: string | undefined;
129
+ readonly created_at: string;
130
+ readonly creation_source: string;
131
+ readonly current_state: "active" | "idle" | "init";
132
+ readonly disabled: boolean;
133
+ readonly host: string;
134
+ readonly id: string;
135
+ readonly last_active?: string | undefined;
136
+ readonly name?: string | undefined;
137
+ readonly passwordless_access: boolean;
138
+ readonly pending_state?: "active" | "idle" | "init" | undefined;
139
+ readonly pooler_enabled: boolean;
140
+ readonly pooler_mode: "transaction";
141
+ readonly project_id: string;
142
+ readonly provisioner: string;
143
+ readonly proxy_host: string;
144
+ readonly region_id: string;
145
+ readonly settings: {
146
+ readonly pg_settings?: {
147
+ readonly [x: string]: string;
148
+ } | undefined;
149
+ readonly pgbouncer_settings?: {
150
+ readonly [x: string]: string;
151
+ } | undefined;
152
+ readonly preload_libraries?: {
153
+ readonly enabled_libraries?: readonly string[] | undefined;
154
+ readonly use_defaults?: boolean | undefined;
155
+ } | undefined;
156
+ };
157
+ readonly started_at?: string | undefined;
158
+ readonly suspend_timeout_seconds: number;
159
+ readonly suspended_at?: string | undefined;
160
+ readonly type: "read_only" | "read_write";
161
+ readonly updated_at: string;
162
+ };
163
+ readonly operations: readonly {
164
+ readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "import_data" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive";
165
+ readonly branch_id?: string | undefined;
166
+ readonly created_at: string;
167
+ readonly endpoint_id?: string | undefined;
168
+ readonly error?: string | undefined;
169
+ readonly failures_count: number;
170
+ readonly id: string;
171
+ readonly project_id: string;
172
+ readonly retry_at?: string | undefined;
173
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
174
+ readonly total_duration_ms: number;
175
+ readonly updated_at: string;
176
+ }[];
177
+ }, NotFound, any>;
96
178
  //# sourceMappingURL=updateProjectEndpoint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectEndpoint.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;EAqCpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
1
+ {"version":3,"file":"updateProjectEndpoint.d.ts","sourceRoot":"","sources":["../../src/operations/updateProjectEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGrC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;EAqCpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
  // Input Schema
5
6
  export const UpdateProjectEndpointInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -142,5 +143,6 @@ export const UpdateProjectEndpointOutput =
142
143
  export const updateProjectEndpoint = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
143
144
  inputSchema: UpdateProjectEndpointInput,
144
145
  outputSchema: UpdateProjectEndpointOutput,
146
+ errors: [NotFound],
145
147
  }));
146
148
  //# sourceMappingURL=updateProjectEndpoint.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProjectEndpoint.js","sourceRoot":"","sources":["../../src/operations/updateProjectEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,wBAAwB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxD,wBAAwB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,MAAM,CAAC;YACZ,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAC5C;YACD,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CACjC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CA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type;
29
29
  * @param project_id - The Neon project ID
30
30
  * @param snapshot_id - The snapshot ID
31
31
  */
32
- export declare const updateSnapshot: any;
32
+ export declare const updateSnapshot: import("@distilled.cloud/core/client").OperationMethod<{
33
+ readonly project_id: string;
34
+ readonly snapshot: {
35
+ readonly name?: string | undefined;
36
+ };
37
+ readonly snapshot_id: string;
38
+ }, {
39
+ readonly snapshot: {
40
+ readonly created_at: string;
41
+ readonly expires_at?: string | undefined;
42
+ readonly id: string;
43
+ readonly lsn?: string | undefined;
44
+ readonly manual?: boolean | undefined;
45
+ readonly name: string;
46
+ readonly source_branch_id?: string | undefined;
47
+ readonly timestamp?: string | undefined;
48
+ };
49
+ }, never, any>;
33
50
  //# sourceMappingURL=updateSnapshot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateSnapshot.d.ts","sourceRoot":"","sources":["../../src/operations/updateSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;;;;EAW/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;EAW/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,KAGxB,CAAC"}
1
+ {"version":3,"file":"updateSnapshot.d.ts","sourceRoot":"","sources":["../../src/operations/updateSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;;;;EAW/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;EAW/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;cAGxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/neon",
3
- "version": "0.10.2",
3
+ "version": "0.11.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -66,6 +66,7 @@
66
66
  "fmt": "oxfmt --write src",
67
67
  "lint": "oxlint --fix src",
68
68
  "check": "tsgo && oxlint src && oxfmt --check src",
69
+ "nuke": "bun scripts/nuke.ts",
69
70
  "test": "bunx vitest run test --exclude specs",
70
71
  "publish:npm": "bun run build && bun publish --access public",
71
72
  "generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
@@ -73,7 +74,7 @@
73
74
  "specs:update": "git -C specs/distilled-spec-neon fetch && git -C specs/distilled-spec-neon checkout main && git -C specs/distilled-spec-neon pull"
74
75
  },
75
76
  "dependencies": {
76
- "@distilled.cloud/core": "0.10.2",
77
+ "@distilled.cloud/core": "0.11.0",
77
78
  "effect": "4.0.0-beta.48"
78
79
  },
79
80
  "devDependencies": {
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const CountProjectBranchesInput =
@@ -33,5 +34,6 @@ export const countProjectBranches = /*@__PURE__*/ /*#__PURE__*/ API.make(
33
34
  () => ({
34
35
  inputSchema: CountProjectBranchesInput,
35
36
  outputSchema: CountProjectBranchesOutput,
37
+ errors: [NotFound] as const,
36
38
  }),
37
39
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { BadRequest, NotFound, Conflict, UnprocessableEntity } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const CreateProjectBranchDatabaseInput =
@@ -107,5 +108,6 @@ export const createProjectBranchDatabase = /*@__PURE__*/ /*#__PURE__*/ API.make(
107
108
  () => ({
108
109
  inputSchema: CreateProjectBranchDatabaseInput,
109
110
  outputSchema: CreateProjectBranchDatabaseOutput,
111
+ errors: [BadRequest, NotFound, Conflict, UnprocessableEntity] as const,
110
112
  }),
111
113
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound, Conflict } from "../errors";
4
5
  import { SensitiveString } from "../sensitive";
5
6
 
6
7
  // Input Schema
@@ -110,5 +111,6 @@ export const createProjectBranchRole = /*@__PURE__*/ /*#__PURE__*/ API.make(
110
111
  () => ({
111
112
  inputSchema: CreateProjectBranchRoleInput,
112
113
  outputSchema: CreateProjectBranchRoleOutput,
114
+ errors: [NotFound, Conflict] as const,
113
115
  }),
114
116
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound, Conflict } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const CreateProjectEndpointInput =
@@ -165,5 +166,6 @@ export const createProjectEndpoint = /*@__PURE__*/ /*#__PURE__*/ API.make(
165
166
  () => ({
166
167
  inputSchema: CreateProjectEndpointInput,
167
168
  outputSchema: CreateProjectEndpointOutput,
169
+ errors: [NotFound, Conflict] as const,
168
170
  }),
169
171
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const DeleteProjectInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -132,4 +133,5 @@ export type DeleteProjectOutput = typeof DeleteProjectOutput.Type;
132
133
  export const deleteProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
133
134
  inputSchema: DeleteProjectInput,
134
135
  outputSchema: DeleteProjectOutput,
136
+ errors: [NotFound] as const,
135
137
  }));
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound, UnprocessableEntity } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const DeleteProjectBranchInput =
@@ -141,4 +142,5 @@ export type DeleteProjectBranchOutput = typeof DeleteProjectBranchOutput.Type;
141
142
  export const deleteProjectBranch = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
142
143
  inputSchema: DeleteProjectBranchInput,
143
144
  outputSchema: DeleteProjectBranchOutput,
145
+ errors: [NotFound, UnprocessableEntity] as const,
144
146
  }));
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const DeleteProjectBranchDatabaseInput =
@@ -104,5 +105,6 @@ export const deleteProjectBranchDatabase = /*@__PURE__*/ /*#__PURE__*/ API.make(
104
105
  () => ({
105
106
  inputSchema: DeleteProjectBranchDatabaseInput,
106
107
  outputSchema: DeleteProjectBranchDatabaseOutput,
108
+ errors: [NotFound] as const,
107
109
  }),
108
110
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound, UnprocessableEntity } from "../errors";
4
5
  import { SensitiveString } from "../sensitive";
5
6
 
6
7
  // Input Schema
@@ -107,5 +108,6 @@ export const deleteProjectBranchRole = /*@__PURE__*/ /*#__PURE__*/ API.make(
107
108
  () => ({
108
109
  inputSchema: DeleteProjectBranchRoleInput,
109
110
  outputSchema: DeleteProjectBranchRoleOutput,
111
+ errors: [NotFound, UnprocessableEntity] as const,
110
112
  }),
111
113
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const DeleteProjectEndpointInput =
@@ -140,5 +141,6 @@ export const deleteProjectEndpoint = /*@__PURE__*/ /*#__PURE__*/ API.make(
140
141
  () => ({
141
142
  inputSchema: DeleteProjectEndpointInput,
142
143
  outputSchema: DeleteProjectEndpointOutput,
144
+ errors: [NotFound] as const,
143
145
  }),
144
146
  );
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const GetConnectionURIInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -42,4 +43,5 @@ export type GetConnectionURIOutput = typeof GetConnectionURIOutput.Type;
42
43
  export const getConnectionURI = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
43
44
  inputSchema: GetConnectionURIInput,
44
45
  outputSchema: GetConnectionURIOutput,
46
+ errors: [NotFound] as const,
45
47
  }));
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const GetConsumptionHistoryPerAccountInput =
@@ -100,4 +101,5 @@ export const getConsumptionHistoryPerAccount =
100
101
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
101
102
  inputSchema: GetConsumptionHistoryPerAccountInput,
102
103
  outputSchema: GetConsumptionHistoryPerAccountOutput,
104
+ errors: [Forbidden, NotFound] as const,
103
105
  }));
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const GetConsumptionHistoryPerProjectInput =
@@ -124,4 +125,5 @@ export const getConsumptionHistoryPerProject =
124
125
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
125
126
  inputSchema: GetConsumptionHistoryPerProjectInput,
126
127
  outputSchema: GetConsumptionHistoryPerProjectOutput,
128
+ errors: [Forbidden, NotFound] as const,
127
129
  }));
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const GetConsumptionHistoryPerProjectV2Input =
@@ -117,4 +118,5 @@ export const getConsumptionHistoryPerProjectV2 =
117
118
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
118
119
  inputSchema: GetConsumptionHistoryPerProjectV2Input,
119
120
  outputSchema: GetConsumptionHistoryPerProjectV2Output,
121
+ errors: [Forbidden, NotFound] as const,
120
122
  }));
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { BadRequest, NotFound } from "../errors";
4
5
 
5
6
  // Input Schema
6
7
  export const GetProjectInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -130,4 +131,5 @@ export type GetProjectOutput = typeof GetProjectOutput.Type;
130
131
  export const getProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
131
132
  inputSchema: GetProjectInput,
132
133
  outputSchema: GetProjectOutput,
134
+ errors: [BadRequest, NotFound] as const,
133
135
  }));