@oore/client 0.0.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 (1169) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +156 -0
  3. package/dist/artifacts.d.ts +7 -0
  4. package/dist/artifacts.js +8 -0
  5. package/dist/client.d.ts +28 -0
  6. package/dist/client.js +63 -0
  7. package/dist/generated/@tanstack/react-query.gen.d.ts +3872 -0
  8. package/dist/generated/@tanstack/react-query.gen.js +3553 -0
  9. package/dist/generated/client/client.gen.d.ts +2 -0
  10. package/dist/generated/client/client.gen.js +216 -0
  11. package/dist/generated/client/index.d.ts +10 -0
  12. package/dist/generated/client/index.js +6 -0
  13. package/dist/generated/client/types.gen.d.ts +120 -0
  14. package/dist/generated/client/types.gen.js +2 -0
  15. package/dist/generated/client/utils.gen.d.ts +37 -0
  16. package/dist/generated/client/utils.gen.js +228 -0
  17. package/dist/generated/client.gen.d.ts +12 -0
  18. package/dist/generated/client.gen.js +3 -0
  19. package/dist/generated/core/auth.gen.d.ts +25 -0
  20. package/dist/generated/core/auth.gen.js +14 -0
  21. package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
  22. package/dist/generated/core/bodySerializer.gen.js +57 -0
  23. package/dist/generated/core/params.gen.d.ts +43 -0
  24. package/dist/generated/core/params.gen.js +109 -0
  25. package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
  26. package/dist/generated/core/pathSerializer.gen.js +106 -0
  27. package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
  28. package/dist/generated/core/queryKeySerializer.gen.js +92 -0
  29. package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
  30. package/dist/generated/core/serverSentEvents.gen.js +132 -0
  31. package/dist/generated/core/types.gen.d.ts +83 -0
  32. package/dist/generated/core/types.gen.js +2 -0
  33. package/dist/generated/core/utils.gen.d.ts +19 -0
  34. package/dist/generated/core/utils.gen.js +87 -0
  35. package/dist/generated/msw.gen.d.ts +1997 -0
  36. package/dist/generated/msw.gen.js +3468 -0
  37. package/dist/generated/sdk.gen.d.ts +853 -0
  38. package/dist/generated/sdk.gen.js +1791 -0
  39. package/dist/generated/types.gen.d.ts +5410 -0
  40. package/dist/generated/types.gen.js +2 -0
  41. package/dist/generated/valibot/schema-0000.d.ts +2 -0
  42. package/dist/generated/valibot/schema-0000.js +3 -0
  43. package/dist/generated/valibot/schema-0001.d.ts +12 -0
  44. package/dist/generated/valibot/schema-0001.js +18 -0
  45. package/dist/generated/valibot/schema-0002.d.ts +9 -0
  46. package/dist/generated/valibot/schema-0002.js +10 -0
  47. package/dist/generated/valibot/schema-0003.d.ts +6 -0
  48. package/dist/generated/valibot/schema-0003.js +7 -0
  49. package/dist/generated/valibot/schema-0004.d.ts +4 -0
  50. package/dist/generated/valibot/schema-0004.js +9 -0
  51. package/dist/generated/valibot/schema-0005.d.ts +5 -0
  52. package/dist/generated/valibot/schema-0005.js +10 -0
  53. package/dist/generated/valibot/schema-0006.d.ts +16 -0
  54. package/dist/generated/valibot/schema-0006.js +33 -0
  55. package/dist/generated/valibot/schema-0007.d.ts +2 -0
  56. package/dist/generated/valibot/schema-0007.js +3 -0
  57. package/dist/generated/valibot/schema-0008.d.ts +8 -0
  58. package/dist/generated/valibot/schema-0008.js +14 -0
  59. package/dist/generated/valibot/schema-0009.d.ts +2 -0
  60. package/dist/generated/valibot/schema-0009.js +8 -0
  61. package/dist/generated/valibot/schema-0010.d.ts +2 -0
  62. package/dist/generated/valibot/schema-0010.js +7 -0
  63. package/dist/generated/valibot/schema-0011.d.ts +12 -0
  64. package/dist/generated/valibot/schema-0011.js +19 -0
  65. package/dist/generated/valibot/schema-0012.d.ts +14 -0
  66. package/dist/generated/valibot/schema-0012.js +6 -0
  67. package/dist/generated/valibot/schema-0013.d.ts +2 -0
  68. package/dist/generated/valibot/schema-0013.js +8 -0
  69. package/dist/generated/valibot/schema-0014.d.ts +14 -0
  70. package/dist/generated/valibot/schema-0014.js +28 -0
  71. package/dist/generated/valibot/schema-0015.d.ts +11 -0
  72. package/dist/generated/valibot/schema-0015.js +20 -0
  73. package/dist/generated/valibot/schema-0016.d.ts +2 -0
  74. package/dist/generated/valibot/schema-0016.js +3 -0
  75. package/dist/generated/valibot/schema-0017.d.ts +4 -0
  76. package/dist/generated/valibot/schema-0017.js +5 -0
  77. package/dist/generated/valibot/schema-0018.d.ts +5 -0
  78. package/dist/generated/valibot/schema-0018.js +10 -0
  79. package/dist/generated/valibot/schema-0019.d.ts +6 -0
  80. package/dist/generated/valibot/schema-0019.js +7 -0
  81. package/dist/generated/valibot/schema-0020.d.ts +10 -0
  82. package/dist/generated/valibot/schema-0020.js +15 -0
  83. package/dist/generated/valibot/schema-0021.d.ts +2 -0
  84. package/dist/generated/valibot/schema-0021.js +3 -0
  85. package/dist/generated/valibot/schema-0022.d.ts +6 -0
  86. package/dist/generated/valibot/schema-0022.js +12 -0
  87. package/dist/generated/valibot/schema-0023.d.ts +8 -0
  88. package/dist/generated/valibot/schema-0023.js +6 -0
  89. package/dist/generated/valibot/schema-0024.d.ts +9 -0
  90. package/dist/generated/valibot/schema-0024.js +11 -0
  91. package/dist/generated/valibot/schema-0025.d.ts +2 -0
  92. package/dist/generated/valibot/schema-0025.js +7 -0
  93. package/dist/generated/valibot/schema-0026.d.ts +2 -0
  94. package/dist/generated/valibot/schema-0026.js +13 -0
  95. package/dist/generated/valibot/schema-0027.d.ts +4 -0
  96. package/dist/generated/valibot/schema-0027.js +5 -0
  97. package/dist/generated/valibot/schema-0028.d.ts +12 -0
  98. package/dist/generated/valibot/schema-0028.js +21 -0
  99. package/dist/generated/valibot/schema-0029.d.ts +14 -0
  100. package/dist/generated/valibot/schema-0029.js +6 -0
  101. package/dist/generated/valibot/schema-0030.d.ts +4 -0
  102. package/dist/generated/valibot/schema-0030.js +5 -0
  103. package/dist/generated/valibot/schema-0031.d.ts +16 -0
  104. package/dist/generated/valibot/schema-0031.js +6 -0
  105. package/dist/generated/valibot/schema-0032.d.ts +5 -0
  106. package/dist/generated/valibot/schema-0032.js +6 -0
  107. package/dist/generated/valibot/schema-0033.d.ts +6 -0
  108. package/dist/generated/valibot/schema-0033.js +7 -0
  109. package/dist/generated/valibot/schema-0034.d.ts +6 -0
  110. package/dist/generated/valibot/schema-0034.js +11 -0
  111. package/dist/generated/valibot/schema-0035.d.ts +6 -0
  112. package/dist/generated/valibot/schema-0035.js +11 -0
  113. package/dist/generated/valibot/schema-0036.d.ts +10 -0
  114. package/dist/generated/valibot/schema-0036.js +19 -0
  115. package/dist/generated/valibot/schema-0037.d.ts +8 -0
  116. package/dist/generated/valibot/schema-0037.js +13 -0
  117. package/dist/generated/valibot/schema-0038.d.ts +17 -0
  118. package/dist/generated/valibot/schema-0038.js +7 -0
  119. package/dist/generated/valibot/schema-0039.d.ts +9 -0
  120. package/dist/generated/valibot/schema-0039.js +11 -0
  121. package/dist/generated/valibot/schema-0040.d.ts +5 -0
  122. package/dist/generated/valibot/schema-0040.js +6 -0
  123. package/dist/generated/valibot/schema-0041.d.ts +8 -0
  124. package/dist/generated/valibot/schema-0041.js +9 -0
  125. package/dist/generated/valibot/schema-0042.d.ts +5 -0
  126. package/dist/generated/valibot/schema-0042.js +10 -0
  127. package/dist/generated/valibot/schema-0043.d.ts +9 -0
  128. package/dist/generated/valibot/schema-0043.js +14 -0
  129. package/dist/generated/valibot/schema-0044.d.ts +4 -0
  130. package/dist/generated/valibot/schema-0044.js +5 -0
  131. package/dist/generated/valibot/schema-0045.d.ts +2 -0
  132. package/dist/generated/valibot/schema-0045.js +7 -0
  133. package/dist/generated/valibot/schema-0046.d.ts +8 -0
  134. package/dist/generated/valibot/schema-0046.js +14 -0
  135. package/dist/generated/valibot/schema-0047.d.ts +10 -0
  136. package/dist/generated/valibot/schema-0047.js +6 -0
  137. package/dist/generated/valibot/schema-0048.d.ts +8 -0
  138. package/dist/generated/valibot/schema-0048.js +9 -0
  139. package/dist/generated/valibot/schema-0049.d.ts +11 -0
  140. package/dist/generated/valibot/schema-0049.js +7 -0
  141. package/dist/generated/valibot/schema-0050.d.ts +4 -0
  142. package/dist/generated/valibot/schema-0050.js +5 -0
  143. package/dist/generated/valibot/schema-0051.d.ts +5 -0
  144. package/dist/generated/valibot/schema-0051.js +6 -0
  145. package/dist/generated/valibot/schema-0052.d.ts +11 -0
  146. package/dist/generated/valibot/schema-0052.js +16 -0
  147. package/dist/generated/valibot/schema-0053.d.ts +4 -0
  148. package/dist/generated/valibot/schema-0053.js +5 -0
  149. package/dist/generated/valibot/schema-0054.d.ts +5 -0
  150. package/dist/generated/valibot/schema-0054.js +6 -0
  151. package/dist/generated/valibot/schema-0055.d.ts +4 -0
  152. package/dist/generated/valibot/schema-0055.js +5 -0
  153. package/dist/generated/valibot/schema-0056.d.ts +5 -0
  154. package/dist/generated/valibot/schema-0056.js +6 -0
  155. package/dist/generated/valibot/schema-0057.d.ts +4 -0
  156. package/dist/generated/valibot/schema-0057.js +5 -0
  157. package/dist/generated/valibot/schema-0058.d.ts +2 -0
  158. package/dist/generated/valibot/schema-0058.js +9 -0
  159. package/dist/generated/valibot/schema-0059.d.ts +6 -0
  160. package/dist/generated/valibot/schema-0059.js +16 -0
  161. package/dist/generated/valibot/schema-0060.d.ts +6 -0
  162. package/dist/generated/valibot/schema-0060.js +11 -0
  163. package/dist/generated/valibot/schema-0061.d.ts +8 -0
  164. package/dist/generated/valibot/schema-0061.js +9 -0
  165. package/dist/generated/valibot/schema-0062.d.ts +2 -0
  166. package/dist/generated/valibot/schema-0062.js +8 -0
  167. package/dist/generated/valibot/schema-0063.d.ts +8 -0
  168. package/dist/generated/valibot/schema-0063.js +10 -0
  169. package/dist/generated/valibot/schema-0064.d.ts +9 -0
  170. package/dist/generated/valibot/schema-0064.js +14 -0
  171. package/dist/generated/valibot/schema-0065.d.ts +12 -0
  172. package/dist/generated/valibot/schema-0065.js +21 -0
  173. package/dist/generated/valibot/schema-0066.d.ts +2 -0
  174. package/dist/generated/valibot/schema-0066.js +7 -0
  175. package/dist/generated/valibot/schema-0067.d.ts +5 -0
  176. package/dist/generated/valibot/schema-0067.js +6 -0
  177. package/dist/generated/valibot/schema-0068.d.ts +6 -0
  178. package/dist/generated/valibot/schema-0068.js +7 -0
  179. package/dist/generated/valibot/schema-0069.d.ts +6 -0
  180. package/dist/generated/valibot/schema-0069.js +7 -0
  181. package/dist/generated/valibot/schema-0070.d.ts +6 -0
  182. package/dist/generated/valibot/schema-0070.js +7 -0
  183. package/dist/generated/valibot/schema-0071.d.ts +11 -0
  184. package/dist/generated/valibot/schema-0071.js +16 -0
  185. package/dist/generated/valibot/schema-0072.d.ts +2 -0
  186. package/dist/generated/valibot/schema-0072.js +7 -0
  187. package/dist/generated/valibot/schema-0073.d.ts +4 -0
  188. package/dist/generated/valibot/schema-0073.js +5 -0
  189. package/dist/generated/valibot/schema-0074.d.ts +2 -0
  190. package/dist/generated/valibot/schema-0074.js +3 -0
  191. package/dist/generated/valibot/schema-0075.d.ts +18 -0
  192. package/dist/generated/valibot/schema-0075.js +6 -0
  193. package/dist/generated/valibot/schema-0076.d.ts +16 -0
  194. package/dist/generated/valibot/schema-0076.js +6 -0
  195. package/dist/generated/valibot/schema-0077.d.ts +14 -0
  196. package/dist/generated/valibot/schema-0077.js +11 -0
  197. package/dist/generated/valibot/schema-0078.d.ts +4 -0
  198. package/dist/generated/valibot/schema-0078.js +5 -0
  199. package/dist/generated/valibot/schema-0079.d.ts +11 -0
  200. package/dist/generated/valibot/schema-0079.js +6 -0
  201. package/dist/generated/valibot/schema-0080.d.ts +15 -0
  202. package/dist/generated/valibot/schema-0080.js +11 -0
  203. package/dist/generated/valibot/schema-0081.d.ts +6 -0
  204. package/dist/generated/valibot/schema-0081.js +7 -0
  205. package/dist/generated/valibot/schema-0082.d.ts +5 -0
  206. package/dist/generated/valibot/schema-0082.js +6 -0
  207. package/dist/generated/valibot/schema-0083.d.ts +15 -0
  208. package/dist/generated/valibot/schema-0083.js +11 -0
  209. package/dist/generated/valibot/schema-0084.d.ts +5 -0
  210. package/dist/generated/valibot/schema-0084.js +6 -0
  211. package/dist/generated/valibot/schema-0085.d.ts +4 -0
  212. package/dist/generated/valibot/schema-0085.js +5 -0
  213. package/dist/generated/valibot/schema-0086.d.ts +2 -0
  214. package/dist/generated/valibot/schema-0086.js +7 -0
  215. package/dist/generated/valibot/schema-0087.d.ts +14 -0
  216. package/dist/generated/valibot/schema-0087.js +24 -0
  217. package/dist/generated/valibot/schema-0088.d.ts +17 -0
  218. package/dist/generated/valibot/schema-0088.js +11 -0
  219. package/dist/generated/valibot/schema-0089.d.ts +16 -0
  220. package/dist/generated/valibot/schema-0089.js +6 -0
  221. package/dist/generated/valibot/schema-0090.d.ts +2 -0
  222. package/dist/generated/valibot/schema-0090.js +7 -0
  223. package/dist/generated/valibot/schema-0091.d.ts +12 -0
  224. package/dist/generated/valibot/schema-0091.js +26 -0
  225. package/dist/generated/valibot/schema-0092.d.ts +15 -0
  226. package/dist/generated/valibot/schema-0092.js +11 -0
  227. package/dist/generated/valibot/schema-0093.d.ts +7 -0
  228. package/dist/generated/valibot/schema-0093.js +8 -0
  229. package/dist/generated/valibot/schema-0094.d.ts +5 -0
  230. package/dist/generated/valibot/schema-0094.js +6 -0
  231. package/dist/generated/valibot/schema-0095.d.ts +4 -0
  232. package/dist/generated/valibot/schema-0095.js +5 -0
  233. package/dist/generated/valibot/schema-0096.d.ts +2 -0
  234. package/dist/generated/valibot/schema-0096.js +7 -0
  235. package/dist/generated/valibot/schema-0097.d.ts +2 -0
  236. package/dist/generated/valibot/schema-0097.js +3 -0
  237. package/dist/generated/valibot/schema-0098.d.ts +17 -0
  238. package/dist/generated/valibot/schema-0098.js +40 -0
  239. package/dist/generated/valibot/schema-0099.d.ts +19 -0
  240. package/dist/generated/valibot/schema-0099.js +6 -0
  241. package/dist/generated/valibot/schema-0100.d.ts +26 -0
  242. package/dist/generated/valibot/schema-0100.js +8 -0
  243. package/dist/generated/valibot/schema-0101.d.ts +6 -0
  244. package/dist/generated/valibot/schema-0101.js +7 -0
  245. package/dist/generated/valibot/schema-0102.d.ts +5 -0
  246. package/dist/generated/valibot/schema-0102.js +6 -0
  247. package/dist/generated/valibot/schema-0103.d.ts +28 -0
  248. package/dist/generated/valibot/schema-0103.js +30 -0
  249. package/dist/generated/valibot/schema-0104.d.ts +6 -0
  250. package/dist/generated/valibot/schema-0104.js +7 -0
  251. package/dist/generated/valibot/schema-0105.d.ts +6 -0
  252. package/dist/generated/valibot/schema-0105.js +7 -0
  253. package/dist/generated/valibot/schema-0106.d.ts +25 -0
  254. package/dist/generated/valibot/schema-0106.js +16 -0
  255. package/dist/generated/valibot/schema-0107.d.ts +8 -0
  256. package/dist/generated/valibot/schema-0107.js +9 -0
  257. package/dist/generated/valibot/schema-0108.d.ts +10 -0
  258. package/dist/generated/valibot/schema-0108.js +6 -0
  259. package/dist/generated/valibot/schema-0109.d.ts +2 -0
  260. package/dist/generated/valibot/schema-0109.js +7 -0
  261. package/dist/generated/valibot/schema-0110.d.ts +5 -0
  262. package/dist/generated/valibot/schema-0110.js +7 -0
  263. package/dist/generated/valibot/schema-0111.d.ts +13 -0
  264. package/dist/generated/valibot/schema-0111.js +23 -0
  265. package/dist/generated/valibot/schema-0112.d.ts +15 -0
  266. package/dist/generated/valibot/schema-0112.js +6 -0
  267. package/dist/generated/valibot/schema-0113.d.ts +15 -0
  268. package/dist/generated/valibot/schema-0113.js +6 -0
  269. package/dist/generated/valibot/schema-0114.d.ts +7 -0
  270. package/dist/generated/valibot/schema-0114.js +8 -0
  271. package/dist/generated/valibot/schema-0115.d.ts +6 -0
  272. package/dist/generated/valibot/schema-0115.js +7 -0
  273. package/dist/generated/valibot/schema-0116.d.ts +5 -0
  274. package/dist/generated/valibot/schema-0116.js +6 -0
  275. package/dist/generated/valibot/schema-0117.d.ts +11 -0
  276. package/dist/generated/valibot/schema-0117.js +20 -0
  277. package/dist/generated/valibot/schema-0118.d.ts +14 -0
  278. package/dist/generated/valibot/schema-0118.js +7 -0
  279. package/dist/generated/valibot/schema-0119.d.ts +15 -0
  280. package/dist/generated/valibot/schema-0119.js +8 -0
  281. package/dist/generated/valibot/schema-0120.d.ts +2 -0
  282. package/dist/generated/valibot/schema-0120.js +3 -0
  283. package/dist/generated/valibot/schema-0121.d.ts +4 -0
  284. package/dist/generated/valibot/schema-0121.js +5 -0
  285. package/dist/generated/valibot/schema-0122.d.ts +4 -0
  286. package/dist/generated/valibot/schema-0122.js +5 -0
  287. package/dist/generated/valibot/schema-0123.d.ts +22 -0
  288. package/dist/generated/valibot/schema-0123.js +15 -0
  289. package/dist/generated/valibot/schema-0124.d.ts +27 -0
  290. package/dist/generated/valibot/schema-0124.js +9 -0
  291. package/dist/generated/valibot/schema-0125.d.ts +8 -0
  292. package/dist/generated/valibot/schema-0125.js +25 -0
  293. package/dist/generated/valibot/schema-0126.d.ts +10 -0
  294. package/dist/generated/valibot/schema-0126.js +6 -0
  295. package/dist/generated/valibot/schema-0127.d.ts +2 -0
  296. package/dist/generated/valibot/schema-0127.js +3 -0
  297. package/dist/generated/valibot/schema-0128.d.ts +12 -0
  298. package/dist/generated/valibot/schema-0128.js +34 -0
  299. package/dist/generated/valibot/schema-0129.d.ts +13 -0
  300. package/dist/generated/valibot/schema-0129.js +39 -0
  301. package/dist/generated/valibot/schema-0130.d.ts +27 -0
  302. package/dist/generated/valibot/schema-0130.js +9 -0
  303. package/dist/generated/valibot/schema-0131.d.ts +15 -0
  304. package/dist/generated/valibot/schema-0131.js +6 -0
  305. package/dist/generated/valibot/schema-0132.d.ts +4 -0
  306. package/dist/generated/valibot/schema-0132.js +5 -0
  307. package/dist/generated/valibot/schema-0133.d.ts +4 -0
  308. package/dist/generated/valibot/schema-0133.js +5 -0
  309. package/dist/generated/valibot/schema-0134.d.ts +10 -0
  310. package/dist/generated/valibot/schema-0134.js +12 -0
  311. package/dist/generated/valibot/schema-0135.d.ts +21 -0
  312. package/dist/generated/valibot/schema-0135.js +7 -0
  313. package/dist/generated/valibot/schema-0136.d.ts +5 -0
  314. package/dist/generated/valibot/schema-0136.js +6 -0
  315. package/dist/generated/valibot/schema-0137.d.ts +8 -0
  316. package/dist/generated/valibot/schema-0137.js +9 -0
  317. package/dist/generated/valibot/schema-0138.d.ts +17 -0
  318. package/dist/generated/valibot/schema-0138.js +14 -0
  319. package/dist/generated/valibot/schema-0139.d.ts +19 -0
  320. package/dist/generated/valibot/schema-0139.js +6 -0
  321. package/dist/generated/valibot/schema-0140.d.ts +2 -0
  322. package/dist/generated/valibot/schema-0140.js +3 -0
  323. package/dist/generated/valibot/schema-0141.d.ts +2 -0
  324. package/dist/generated/valibot/schema-0141.js +8 -0
  325. package/dist/generated/valibot/schema-0142.d.ts +11 -0
  326. package/dist/generated/valibot/schema-0142.js +25 -0
  327. package/dist/generated/valibot/schema-0143.d.ts +15 -0
  328. package/dist/generated/valibot/schema-0143.js +16 -0
  329. package/dist/generated/valibot/schema-0144.d.ts +14 -0
  330. package/dist/generated/valibot/schema-0144.js +7 -0
  331. package/dist/generated/valibot/schema-0145.d.ts +2 -0
  332. package/dist/generated/valibot/schema-0145.js +3 -0
  333. package/dist/generated/valibot/schema-0146.d.ts +9 -0
  334. package/dist/generated/valibot/schema-0146.js +17 -0
  335. package/dist/generated/valibot/schema-0147.d.ts +11 -0
  336. package/dist/generated/valibot/schema-0147.js +6 -0
  337. package/dist/generated/valibot/schema-0148.d.ts +2 -0
  338. package/dist/generated/valibot/schema-0148.js +8 -0
  339. package/dist/generated/valibot/schema-0149.d.ts +6 -0
  340. package/dist/generated/valibot/schema-0149.js +8 -0
  341. package/dist/generated/valibot/schema-0150.d.ts +2 -0
  342. package/dist/generated/valibot/schema-0150.js +7 -0
  343. package/dist/generated/valibot/schema-0151.d.ts +11 -0
  344. package/dist/generated/valibot/schema-0151.js +13 -0
  345. package/dist/generated/valibot/schema-0152.d.ts +33 -0
  346. package/dist/generated/valibot/schema-0152.js +11 -0
  347. package/dist/generated/valibot/schema-0153.d.ts +14 -0
  348. package/dist/generated/valibot/schema-0153.js +24 -0
  349. package/dist/generated/valibot/schema-0154.d.ts +27 -0
  350. package/dist/generated/valibot/schema-0154.js +8 -0
  351. package/dist/generated/valibot/schema-0155.d.ts +16 -0
  352. package/dist/generated/valibot/schema-0155.js +6 -0
  353. package/dist/generated/valibot/schema-0156.d.ts +16 -0
  354. package/dist/generated/valibot/schema-0156.js +6 -0
  355. package/dist/generated/valibot/schema-0157.d.ts +19 -0
  356. package/dist/generated/valibot/schema-0157.js +21 -0
  357. package/dist/generated/valibot/schema-0158.d.ts +18 -0
  358. package/dist/generated/valibot/schema-0158.js +16 -0
  359. package/dist/generated/valibot/schema-0159.d.ts +16 -0
  360. package/dist/generated/valibot/schema-0159.js +27 -0
  361. package/dist/generated/valibot/schema-0160.d.ts +18 -0
  362. package/dist/generated/valibot/schema-0160.js +6 -0
  363. package/dist/generated/valibot/schema-0161.d.ts +19 -0
  364. package/dist/generated/valibot/schema-0161.js +11 -0
  365. package/dist/generated/valibot/schema-0162.d.ts +21 -0
  366. package/dist/generated/valibot/schema-0162.js +18 -0
  367. package/dist/generated/valibot/schema-0163.d.ts +4 -0
  368. package/dist/generated/valibot/schema-0163.js +5 -0
  369. package/dist/generated/valibot/schema-0164.d.ts +4 -0
  370. package/dist/generated/valibot/schema-0164.js +5 -0
  371. package/dist/generated/valibot/schema-0165.d.ts +5 -0
  372. package/dist/generated/valibot/schema-0165.js +6 -0
  373. package/dist/generated/valibot/schema-0166.d.ts +5 -0
  374. package/dist/generated/valibot/schema-0166.js +6 -0
  375. package/dist/generated/valibot/schema-0167.d.ts +5 -0
  376. package/dist/generated/valibot/schema-0167.js +8 -0
  377. package/dist/generated/valibot/schema-0168.d.ts +6 -0
  378. package/dist/generated/valibot/schema-0168.js +13 -0
  379. package/dist/generated/valibot/schema-0169.d.ts +2 -0
  380. package/dist/generated/valibot/schema-0169.js +9 -0
  381. package/dist/generated/valibot/schema-0170.d.ts +6 -0
  382. package/dist/generated/valibot/schema-0170.js +12 -0
  383. package/dist/generated/valibot/schema-0171.d.ts +5 -0
  384. package/dist/generated/valibot/schema-0171.js +7 -0
  385. package/dist/generated/valibot/schema-0172.d.ts +6 -0
  386. package/dist/generated/valibot/schema-0172.js +12 -0
  387. package/dist/generated/valibot/schema-0173.d.ts +7 -0
  388. package/dist/generated/valibot/schema-0173.js +13 -0
  389. package/dist/generated/valibot/schema-0174.d.ts +9 -0
  390. package/dist/generated/valibot/schema-0174.js +13 -0
  391. package/dist/generated/valibot/schema-0175.d.ts +9 -0
  392. package/dist/generated/valibot/schema-0175.js +11 -0
  393. package/dist/generated/valibot/schema-0176.d.ts +6 -0
  394. package/dist/generated/valibot/schema-0176.js +12 -0
  395. package/dist/generated/valibot/schema-0177.d.ts +7 -0
  396. package/dist/generated/valibot/schema-0177.js +8 -0
  397. package/dist/generated/valibot/schema-0178.d.ts +8 -0
  398. package/dist/generated/valibot/schema-0178.js +18 -0
  399. package/dist/generated/valibot/schema-0179.d.ts +2 -0
  400. package/dist/generated/valibot/schema-0179.js +7 -0
  401. package/dist/generated/valibot/schema-0180.d.ts +10 -0
  402. package/dist/generated/valibot/schema-0180.js +12 -0
  403. package/dist/generated/valibot/schema-0181.d.ts +18 -0
  404. package/dist/generated/valibot/schema-0181.js +13 -0
  405. package/dist/generated/valibot/schema-0182.d.ts +16 -0
  406. package/dist/generated/valibot/schema-0182.js +9 -0
  407. package/dist/generated/valibot/schema-0183.d.ts +19 -0
  408. package/dist/generated/valibot/schema-0183.js +11 -0
  409. package/dist/generated/valibot/schema-0184.d.ts +9 -0
  410. package/dist/generated/valibot/schema-0184.js +22 -0
  411. package/dist/generated/valibot/schema-0185.d.ts +5 -0
  412. package/dist/generated/valibot/schema-0185.js +10 -0
  413. package/dist/generated/valibot/schema-0186.d.ts +4 -0
  414. package/dist/generated/valibot/schema-0186.js +5 -0
  415. package/dist/generated/valibot/schema-0187.d.ts +11 -0
  416. package/dist/generated/valibot/schema-0187.js +6 -0
  417. package/dist/generated/valibot/schema-0188.d.ts +8 -0
  418. package/dist/generated/valibot/schema-0188.js +9 -0
  419. package/dist/generated/valibot/schema-0189.d.ts +5 -0
  420. package/dist/generated/valibot/schema-0189.js +6 -0
  421. package/dist/generated/valibot/schema-0190.d.ts +4 -0
  422. package/dist/generated/valibot/schema-0190.js +5 -0
  423. package/dist/generated/valibot/schema-0191.d.ts +10 -0
  424. package/dist/generated/valibot/schema-0191.js +11 -0
  425. package/dist/generated/valibot/schema-0192.d.ts +5 -0
  426. package/dist/generated/valibot/schema-0192.js +6 -0
  427. package/dist/generated/valibot/schema-0193.d.ts +38 -0
  428. package/dist/generated/valibot/schema-0193.js +13 -0
  429. package/dist/generated/valibot/schema-0194.d.ts +43 -0
  430. package/dist/generated/valibot/schema-0194.js +26 -0
  431. package/dist/generated/valibot/schema-0195.d.ts +45 -0
  432. package/dist/generated/valibot/schema-0195.js +6 -0
  433. package/dist/generated/valibot/schema-0196.d.ts +46 -0
  434. package/dist/generated/valibot/schema-0196.js +11 -0
  435. package/dist/generated/valibot/schema-0197.d.ts +46 -0
  436. package/dist/generated/valibot/schema-0197.js +11 -0
  437. package/dist/generated/valibot/schema-0198.d.ts +2 -0
  438. package/dist/generated/valibot/schema-0198.js +8 -0
  439. package/dist/generated/valibot/schema-0199.d.ts +43 -0
  440. package/dist/generated/valibot/schema-0199.js +57 -0
  441. package/dist/generated/valibot/schema-0200.d.ts +54 -0
  442. package/dist/generated/valibot/schema-0200.js +8 -0
  443. package/dist/generated/valibot/schema-0201.d.ts +45 -0
  444. package/dist/generated/valibot/schema-0201.js +6 -0
  445. package/dist/generated/valibot/schema-0202.d.ts +45 -0
  446. package/dist/generated/valibot/schema-0202.js +6 -0
  447. package/dist/generated/valibot/schema-0203.d.ts +46 -0
  448. package/dist/generated/valibot/schema-0203.js +11 -0
  449. package/dist/generated/valibot/schema-0204.d.ts +45 -0
  450. package/dist/generated/valibot/schema-0204.js +6 -0
  451. package/dist/generated/valibot/schema-0205.d.ts +10 -0
  452. package/dist/generated/valibot/schema-0205.js +12 -0
  453. package/dist/generated/valibot/schema-0206.d.ts +6 -0
  454. package/dist/generated/valibot/schema-0206.js +7 -0
  455. package/dist/generated/valibot/schema-0207.d.ts +7 -0
  456. package/dist/generated/valibot/schema-0207.js +11 -0
  457. package/dist/generated/valibot/schema-0208.d.ts +14 -0
  458. package/dist/generated/valibot/schema-0208.js +9 -0
  459. package/dist/generated/valibot/schema-0209.d.ts +19 -0
  460. package/dist/generated/valibot/schema-0209.js +7 -0
  461. package/dist/generated/valibot/schema-0210.d.ts +22 -0
  462. package/dist/generated/valibot/schema-0210.js +15 -0
  463. package/dist/generated/valibot/schema-0211.d.ts +39 -0
  464. package/dist/generated/valibot/schema-0211.js +14 -0
  465. package/dist/generated/valibot/schema-0212.d.ts +4 -0
  466. package/dist/generated/valibot/schema-0212.js +6 -0
  467. package/dist/generated/valibot/schema-0213.d.ts +15 -0
  468. package/dist/generated/valibot/schema-0213.js +6 -0
  469. package/dist/generated/valibot/schema-0214.d.ts +8 -0
  470. package/dist/generated/valibot/schema-0214.js +9 -0
  471. package/dist/generated/valibot/schema-0215.d.ts +10 -0
  472. package/dist/generated/valibot/schema-0215.js +28 -0
  473. package/dist/generated/valibot/schema-0216.d.ts +12 -0
  474. package/dist/generated/valibot/schema-0216.js +34 -0
  475. package/dist/generated/valibot/schema-0217.d.ts +4 -0
  476. package/dist/generated/valibot/schema-0217.js +5 -0
  477. package/dist/generated/valibot/schema-0218.d.ts +13 -0
  478. package/dist/generated/valibot/schema-0218.js +6 -0
  479. package/dist/generated/valibot/schema-0219.d.ts +10 -0
  480. package/dist/generated/valibot/schema-0219.js +12 -0
  481. package/dist/generated/valibot/schema-0220.d.ts +17 -0
  482. package/dist/generated/valibot/schema-0220.js +11 -0
  483. package/dist/generated/valibot/schema-0221.d.ts +7 -0
  484. package/dist/generated/valibot/schema-0221.js +8 -0
  485. package/dist/generated/valibot/schema-0222.d.ts +4 -0
  486. package/dist/generated/valibot/schema-0222.js +5 -0
  487. package/dist/generated/valibot/schema-0223.d.ts +2 -0
  488. package/dist/generated/valibot/schema-0223.js +8 -0
  489. package/dist/generated/valibot/schema-0224.d.ts +14 -0
  490. package/dist/generated/valibot/schema-0224.js +28 -0
  491. package/dist/generated/valibot/schema-0225.d.ts +8 -0
  492. package/dist/generated/valibot/schema-0225.js +10 -0
  493. package/dist/generated/valibot/schema-0226.d.ts +17 -0
  494. package/dist/generated/valibot/schema-0226.js +11 -0
  495. package/dist/generated/valibot/schema-0227.d.ts +12 -0
  496. package/dist/generated/valibot/schema-0227.js +12 -0
  497. package/dist/generated/valibot/schema-0228.d.ts +12 -0
  498. package/dist/generated/valibot/schema-0228.js +12 -0
  499. package/dist/generated/valibot/schema-0229.d.ts +2 -0
  500. package/dist/generated/valibot/schema-0229.js +7 -0
  501. package/dist/generated/valibot/schema-0230.d.ts +11 -0
  502. package/dist/generated/valibot/schema-0230.js +22 -0
  503. package/dist/generated/valibot/schema-0231.d.ts +13 -0
  504. package/dist/generated/valibot/schema-0231.js +6 -0
  505. package/dist/generated/valibot/schema-0232.d.ts +14 -0
  506. package/dist/generated/valibot/schema-0232.js +11 -0
  507. package/dist/generated/valibot/schema-0233.d.ts +13 -0
  508. package/dist/generated/valibot/schema-0233.js +6 -0
  509. package/dist/generated/valibot/schema-0234.d.ts +13 -0
  510. package/dist/generated/valibot/schema-0234.js +6 -0
  511. package/dist/generated/valibot/schema-0235.d.ts +13 -0
  512. package/dist/generated/valibot/schema-0235.js +6 -0
  513. package/dist/generated/valibot/schema-0236.d.ts +38 -0
  514. package/dist/generated/valibot/schema-0236.js +13 -0
  515. package/dist/generated/valibot/schema-0237.d.ts +5 -0
  516. package/dist/generated/valibot/schema-0237.js +6 -0
  517. package/dist/generated/valibot/schema-0238.d.ts +2 -0
  518. package/dist/generated/valibot/schema-0238.js +3 -0
  519. package/dist/generated/valibot/schema-0239.d.ts +9 -0
  520. package/dist/generated/valibot/schema-0239.js +15 -0
  521. package/dist/generated/valibot/schema-0240.d.ts +11 -0
  522. package/dist/generated/valibot/schema-0240.js +6 -0
  523. package/dist/generated/valibot/schema-0241.d.ts +5 -0
  524. package/dist/generated/valibot/schema-0241.js +6 -0
  525. package/dist/generated/valibot/schema-0242.d.ts +8 -0
  526. package/dist/generated/valibot/schema-0242.js +3 -0
  527. package/dist/generated/valibot/schema-0243.d.ts +4 -0
  528. package/dist/generated/valibot/schema-0243.js +5 -0
  529. package/dist/generated/valibot/schema-0244.d.ts +4 -0
  530. package/dist/generated/valibot/schema-0244.js +5 -0
  531. package/dist/generated/valibot/schema-0245.d.ts +2 -0
  532. package/dist/generated/valibot/schema-0245.js +3 -0
  533. package/dist/generated/valibot/schema-0246.d.ts +4 -0
  534. package/dist/generated/valibot/schema-0246.js +5 -0
  535. package/dist/generated/valibot/schema-0247.d.ts +2 -0
  536. package/dist/generated/valibot/schema-0247.js +3 -0
  537. package/dist/generated/valibot/schema-0248.d.ts +2 -0
  538. package/dist/generated/valibot/schema-0248.js +3 -0
  539. package/dist/generated/valibot/schema-0249.d.ts +7 -0
  540. package/dist/generated/valibot/schema-0249.js +3 -0
  541. package/dist/generated/valibot/schema-0250.d.ts +8 -0
  542. package/dist/generated/valibot/schema-0250.js +17 -0
  543. package/dist/generated/valibot/schema-0251.d.ts +17 -0
  544. package/dist/generated/valibot/schema-0251.js +3 -0
  545. package/dist/generated/valibot/schema-0252.d.ts +6 -0
  546. package/dist/generated/valibot/schema-0252.js +3 -0
  547. package/dist/generated/valibot/schema-0253.d.ts +10 -0
  548. package/dist/generated/valibot/schema-0253.js +3 -0
  549. package/dist/generated/valibot/schema-0254.d.ts +4 -0
  550. package/dist/generated/valibot/schema-0254.js +5 -0
  551. package/dist/generated/valibot/schema-0255.d.ts +4 -0
  552. package/dist/generated/valibot/schema-0255.js +3 -0
  553. package/dist/generated/valibot/schema-0256.d.ts +4 -0
  554. package/dist/generated/valibot/schema-0256.js +5 -0
  555. package/dist/generated/valibot/schema-0257.d.ts +4 -0
  556. package/dist/generated/valibot/schema-0257.js +3 -0
  557. package/dist/generated/valibot/schema-0258.d.ts +4 -0
  558. package/dist/generated/valibot/schema-0258.js +5 -0
  559. package/dist/generated/valibot/schema-0259.d.ts +4 -0
  560. package/dist/generated/valibot/schema-0259.js +5 -0
  561. package/dist/generated/valibot/schema-0260.d.ts +2 -0
  562. package/dist/generated/valibot/schema-0260.js +3 -0
  563. package/dist/generated/valibot/schema-0261.d.ts +4 -0
  564. package/dist/generated/valibot/schema-0261.js +5 -0
  565. package/dist/generated/valibot/schema-0262.d.ts +2 -0
  566. package/dist/generated/valibot/schema-0262.js +3 -0
  567. package/dist/generated/valibot/schema-0263.d.ts +4 -0
  568. package/dist/generated/valibot/schema-0263.js +5 -0
  569. package/dist/generated/valibot/schema-0264.d.ts +2 -0
  570. package/dist/generated/valibot/schema-0264.js +3 -0
  571. package/dist/generated/valibot/schema-0265.d.ts +2 -0
  572. package/dist/generated/valibot/schema-0265.js +3 -0
  573. package/dist/generated/valibot/schema-0266.d.ts +4 -0
  574. package/dist/generated/valibot/schema-0266.js +5 -0
  575. package/dist/generated/valibot/schema-0267.d.ts +4 -0
  576. package/dist/generated/valibot/schema-0267.js +3 -0
  577. package/dist/generated/valibot/schema-0268.d.ts +16 -0
  578. package/dist/generated/valibot/schema-0268.js +3 -0
  579. package/dist/generated/valibot/schema-0269.d.ts +4 -0
  580. package/dist/generated/valibot/schema-0269.js +5 -0
  581. package/dist/generated/valibot/schema-0270.d.ts +5 -0
  582. package/dist/generated/valibot/schema-0270.js +3 -0
  583. package/dist/generated/valibot/schema-0271.d.ts +4 -0
  584. package/dist/generated/valibot/schema-0271.js +5 -0
  585. package/dist/generated/valibot/schema-0272.d.ts +8 -0
  586. package/dist/generated/valibot/schema-0272.js +3 -0
  587. package/dist/generated/valibot/schema-0273.d.ts +5 -0
  588. package/dist/generated/valibot/schema-0273.js +3 -0
  589. package/dist/generated/valibot/schema-0274.d.ts +4 -0
  590. package/dist/generated/valibot/schema-0274.js +5 -0
  591. package/dist/generated/valibot/schema-0275.d.ts +9 -0
  592. package/dist/generated/valibot/schema-0275.js +3 -0
  593. package/dist/generated/valibot/schema-0276.d.ts +4 -0
  594. package/dist/generated/valibot/schema-0276.js +5 -0
  595. package/dist/generated/valibot/schema-0277.d.ts +18 -0
  596. package/dist/generated/valibot/schema-0277.js +3 -0
  597. package/dist/generated/valibot/schema-0278.d.ts +12 -0
  598. package/dist/generated/valibot/schema-0278.js +29 -0
  599. package/dist/generated/valibot/schema-0279.d.ts +14 -0
  600. package/dist/generated/valibot/schema-0279.js +3 -0
  601. package/dist/generated/valibot/schema-0280.d.ts +5 -0
  602. package/dist/generated/valibot/schema-0280.js +3 -0
  603. package/dist/generated/valibot/schema-0281.d.ts +12 -0
  604. package/dist/generated/valibot/schema-0281.js +3 -0
  605. package/dist/generated/valibot/schema-0282.d.ts +4 -0
  606. package/dist/generated/valibot/schema-0282.js +3 -0
  607. package/dist/generated/valibot/schema-0283.d.ts +5 -0
  608. package/dist/generated/valibot/schema-0283.js +6 -0
  609. package/dist/generated/valibot/schema-0284.d.ts +12 -0
  610. package/dist/generated/valibot/schema-0284.js +3 -0
  611. package/dist/generated/valibot/schema-0285.d.ts +4 -0
  612. package/dist/generated/valibot/schema-0285.js +5 -0
  613. package/dist/generated/valibot/schema-0286.d.ts +5 -0
  614. package/dist/generated/valibot/schema-0286.js +3 -0
  615. package/dist/generated/valibot/schema-0287.d.ts +12 -0
  616. package/dist/generated/valibot/schema-0287.js +3 -0
  617. package/dist/generated/valibot/schema-0288.d.ts +10 -0
  618. package/dist/generated/valibot/schema-0288.js +19 -0
  619. package/dist/generated/valibot/schema-0289.d.ts +46 -0
  620. package/dist/generated/valibot/schema-0289.js +3 -0
  621. package/dist/generated/valibot/schema-0290.d.ts +4 -0
  622. package/dist/generated/valibot/schema-0290.js +5 -0
  623. package/dist/generated/valibot/schema-0291.d.ts +54 -0
  624. package/dist/generated/valibot/schema-0291.js +3 -0
  625. package/dist/generated/valibot/schema-0292.d.ts +4 -0
  626. package/dist/generated/valibot/schema-0292.js +5 -0
  627. package/dist/generated/valibot/schema-0293.d.ts +16 -0
  628. package/dist/generated/valibot/schema-0293.js +3 -0
  629. package/dist/generated/valibot/schema-0294.d.ts +4 -0
  630. package/dist/generated/valibot/schema-0294.js +5 -0
  631. package/dist/generated/valibot/schema-0295.d.ts +45 -0
  632. package/dist/generated/valibot/schema-0295.js +3 -0
  633. package/dist/generated/valibot/schema-0296.d.ts +4 -0
  634. package/dist/generated/valibot/schema-0296.js +5 -0
  635. package/dist/generated/valibot/schema-0297.d.ts +5 -0
  636. package/dist/generated/valibot/schema-0297.js +14 -0
  637. package/dist/generated/valibot/schema-0298.d.ts +9 -0
  638. package/dist/generated/valibot/schema-0298.js +3 -0
  639. package/dist/generated/valibot/schema-0299.d.ts +4 -0
  640. package/dist/generated/valibot/schema-0299.js +5 -0
  641. package/dist/generated/valibot/schema-0300.d.ts +4 -0
  642. package/dist/generated/valibot/schema-0300.js +5 -0
  643. package/dist/generated/valibot/schema-0301.d.ts +2 -0
  644. package/dist/generated/valibot/schema-0301.js +3 -0
  645. package/dist/generated/valibot/schema-0302.d.ts +4 -0
  646. package/dist/generated/valibot/schema-0302.js +5 -0
  647. package/dist/generated/valibot/schema-0303.d.ts +45 -0
  648. package/dist/generated/valibot/schema-0303.js +3 -0
  649. package/dist/generated/valibot/schema-0304.d.ts +4 -0
  650. package/dist/generated/valibot/schema-0304.js +5 -0
  651. package/dist/generated/valibot/schema-0305.d.ts +5 -0
  652. package/dist/generated/valibot/schema-0305.js +3 -0
  653. package/dist/generated/valibot/schema-0306.d.ts +4 -0
  654. package/dist/generated/valibot/schema-0306.js +3 -0
  655. package/dist/generated/valibot/schema-0307.d.ts +5 -0
  656. package/dist/generated/valibot/schema-0307.js +3 -0
  657. package/dist/generated/valibot/schema-0308.d.ts +6 -0
  658. package/dist/generated/valibot/schema-0308.js +15 -0
  659. package/dist/generated/valibot/schema-0309.d.ts +19 -0
  660. package/dist/generated/valibot/schema-0309.js +3 -0
  661. package/dist/generated/valibot/schema-0310.d.ts +4 -0
  662. package/dist/generated/valibot/schema-0310.js +5 -0
  663. package/dist/generated/valibot/schema-0311.d.ts +2 -0
  664. package/dist/generated/valibot/schema-0311.js +3 -0
  665. package/dist/generated/valibot/schema-0312.d.ts +4 -0
  666. package/dist/generated/valibot/schema-0312.js +5 -0
  667. package/dist/generated/valibot/schema-0313.d.ts +6 -0
  668. package/dist/generated/valibot/schema-0313.js +3 -0
  669. package/dist/generated/valibot/schema-0314.d.ts +9 -0
  670. package/dist/generated/valibot/schema-0314.js +18 -0
  671. package/dist/generated/valibot/schema-0315.d.ts +18 -0
  672. package/dist/generated/valibot/schema-0315.js +3 -0
  673. package/dist/generated/valibot/schema-0316.d.ts +5 -0
  674. package/dist/generated/valibot/schema-0316.js +6 -0
  675. package/dist/generated/valibot/schema-0317.d.ts +2 -0
  676. package/dist/generated/valibot/schema-0317.js +3 -0
  677. package/dist/generated/valibot/schema-0318.d.ts +4 -0
  678. package/dist/generated/valibot/schema-0318.js +3 -0
  679. package/dist/generated/valibot/schema-0319.d.ts +16 -0
  680. package/dist/generated/valibot/schema-0319.js +3 -0
  681. package/dist/generated/valibot/schema-0320.d.ts +4 -0
  682. package/dist/generated/valibot/schema-0320.js +5 -0
  683. package/dist/generated/valibot/schema-0321.d.ts +2 -0
  684. package/dist/generated/valibot/schema-0321.js +3 -0
  685. package/dist/generated/valibot/schema-0322.d.ts +4 -0
  686. package/dist/generated/valibot/schema-0322.js +5 -0
  687. package/dist/generated/valibot/schema-0323.d.ts +5 -0
  688. package/dist/generated/valibot/schema-0323.js +10 -0
  689. package/dist/generated/valibot/schema-0324.d.ts +2 -0
  690. package/dist/generated/valibot/schema-0324.js +3 -0
  691. package/dist/generated/valibot/schema-0325.d.ts +5 -0
  692. package/dist/generated/valibot/schema-0325.js +3 -0
  693. package/dist/generated/valibot/schema-0326.d.ts +4 -0
  694. package/dist/generated/valibot/schema-0326.js +3 -0
  695. package/dist/generated/valibot/schema-0327.d.ts +5 -0
  696. package/dist/generated/valibot/schema-0327.js +3 -0
  697. package/dist/generated/valibot/schema-0328.d.ts +4 -0
  698. package/dist/generated/valibot/schema-0328.js +3 -0
  699. package/dist/generated/valibot/schema-0329.d.ts +7 -0
  700. package/dist/generated/valibot/schema-0329.js +8 -0
  701. package/dist/generated/valibot/schema-0330.d.ts +2 -0
  702. package/dist/generated/valibot/schema-0330.js +3 -0
  703. package/dist/generated/valibot/schema-0331.d.ts +8 -0
  704. package/dist/generated/valibot/schema-0331.js +3 -0
  705. package/dist/generated/valibot/schema-0332.d.ts +16 -0
  706. package/dist/generated/valibot/schema-0332.js +3 -0
  707. package/dist/generated/valibot/schema-0333.d.ts +18 -0
  708. package/dist/generated/valibot/schema-0333.js +3 -0
  709. package/dist/generated/valibot/schema-0334.d.ts +5 -0
  710. package/dist/generated/valibot/schema-0334.js +3 -0
  711. package/dist/generated/valibot/schema-0335.d.ts +27 -0
  712. package/dist/generated/valibot/schema-0335.js +3 -0
  713. package/dist/generated/valibot/schema-0336.d.ts +4 -0
  714. package/dist/generated/valibot/schema-0336.js +5 -0
  715. package/dist/generated/valibot/schema-0337.d.ts +15 -0
  716. package/dist/generated/valibot/schema-0337.js +3 -0
  717. package/dist/generated/valibot/schema-0338.d.ts +4 -0
  718. package/dist/generated/valibot/schema-0338.js +5 -0
  719. package/dist/generated/valibot/schema-0339.d.ts +4 -0
  720. package/dist/generated/valibot/schema-0339.js +3 -0
  721. package/dist/generated/valibot/schema-0340.d.ts +4 -0
  722. package/dist/generated/valibot/schema-0340.js +5 -0
  723. package/dist/generated/valibot/schema-0341.d.ts +4 -0
  724. package/dist/generated/valibot/schema-0341.js +3 -0
  725. package/dist/generated/valibot/schema-0342.d.ts +4 -0
  726. package/dist/generated/valibot/schema-0342.js +5 -0
  727. package/dist/generated/valibot/schema-0343.d.ts +19 -0
  728. package/dist/generated/valibot/schema-0343.js +3 -0
  729. package/dist/generated/valibot/schema-0344.d.ts +4 -0
  730. package/dist/generated/valibot/schema-0344.js +3 -0
  731. package/dist/generated/valibot/schema-0345.d.ts +4 -0
  732. package/dist/generated/valibot/schema-0345.js +5 -0
  733. package/dist/generated/valibot/schema-0346.d.ts +6 -0
  734. package/dist/generated/valibot/schema-0346.js +3 -0
  735. package/dist/generated/valibot/schema-0347.d.ts +4 -0
  736. package/dist/generated/valibot/schema-0347.js +5 -0
  737. package/dist/generated/valibot/schema-0348.d.ts +6 -0
  738. package/dist/generated/valibot/schema-0348.js +3 -0
  739. package/dist/generated/valibot/schema-0349.d.ts +4 -0
  740. package/dist/generated/valibot/schema-0349.js +5 -0
  741. package/dist/generated/valibot/schema-0350.d.ts +11 -0
  742. package/dist/generated/valibot/schema-0350.js +3 -0
  743. package/dist/generated/valibot/schema-0351.d.ts +4 -0
  744. package/dist/generated/valibot/schema-0351.js +3 -0
  745. package/dist/generated/valibot/schema-0352.d.ts +4 -0
  746. package/dist/generated/valibot/schema-0352.js +5 -0
  747. package/dist/generated/valibot/schema-0353.d.ts +11 -0
  748. package/dist/generated/valibot/schema-0353.js +3 -0
  749. package/dist/generated/valibot/schema-0354.d.ts +4 -0
  750. package/dist/generated/valibot/schema-0354.js +5 -0
  751. package/dist/generated/valibot/schema-0355.d.ts +6 -0
  752. package/dist/generated/valibot/schema-0355.js +15 -0
  753. package/dist/generated/valibot/schema-0356.d.ts +15 -0
  754. package/dist/generated/valibot/schema-0356.js +3 -0
  755. package/dist/generated/valibot/schema-0357.d.ts +5 -0
  756. package/dist/generated/valibot/schema-0357.js +6 -0
  757. package/dist/generated/valibot/schema-0358.d.ts +19 -0
  758. package/dist/generated/valibot/schema-0358.js +3 -0
  759. package/dist/generated/valibot/schema-0359.d.ts +4 -0
  760. package/dist/generated/valibot/schema-0359.js +5 -0
  761. package/dist/generated/valibot/schema-0360.d.ts +17 -0
  762. package/dist/generated/valibot/schema-0360.js +3 -0
  763. package/dist/generated/valibot/schema-0361.d.ts +38 -0
  764. package/dist/generated/valibot/schema-0361.js +3 -0
  765. package/dist/generated/valibot/schema-0362.d.ts +5 -0
  766. package/dist/generated/valibot/schema-0362.js +3 -0
  767. package/dist/generated/valibot/schema-0363.d.ts +4 -0
  768. package/dist/generated/valibot/schema-0363.js +5 -0
  769. package/dist/generated/valibot/schema-0364.d.ts +4 -0
  770. package/dist/generated/valibot/schema-0364.js +3 -0
  771. package/dist/generated/valibot/schema-0365.d.ts +4 -0
  772. package/dist/generated/valibot/schema-0365.js +5 -0
  773. package/dist/generated/valibot/schema-0366.d.ts +46 -0
  774. package/dist/generated/valibot/schema-0366.js +3 -0
  775. package/dist/generated/valibot/schema-0367.d.ts +39 -0
  776. package/dist/generated/valibot/schema-0367.js +3 -0
  777. package/dist/generated/valibot/schema-0368.d.ts +4 -0
  778. package/dist/generated/valibot/schema-0368.js +5 -0
  779. package/dist/generated/valibot/schema-0369.d.ts +45 -0
  780. package/dist/generated/valibot/schema-0369.js +3 -0
  781. package/dist/generated/valibot/schema-0370.d.ts +4 -0
  782. package/dist/generated/valibot/schema-0370.js +5 -0
  783. package/dist/generated/valibot/schema-0371.d.ts +26 -0
  784. package/dist/generated/valibot/schema-0371.js +3 -0
  785. package/dist/generated/valibot/schema-0372.d.ts +19 -0
  786. package/dist/generated/valibot/schema-0372.js +3 -0
  787. package/dist/generated/valibot/schema-0373.d.ts +4 -0
  788. package/dist/generated/valibot/schema-0373.js +5 -0
  789. package/dist/generated/valibot/schema-0374.d.ts +26 -0
  790. package/dist/generated/valibot/schema-0374.js +3 -0
  791. package/dist/generated/valibot/schema-0375.d.ts +4 -0
  792. package/dist/generated/valibot/schema-0375.js +5 -0
  793. package/dist/generated/valibot/schema-0376.d.ts +28 -0
  794. package/dist/generated/valibot/schema-0376.js +3 -0
  795. package/dist/generated/valibot/schema-0377.d.ts +22 -0
  796. package/dist/generated/valibot/schema-0377.js +3 -0
  797. package/dist/generated/valibot/schema-0378.d.ts +4 -0
  798. package/dist/generated/valibot/schema-0378.js +5 -0
  799. package/dist/generated/valibot/schema-0379.d.ts +28 -0
  800. package/dist/generated/valibot/schema-0379.js +3 -0
  801. package/dist/generated/valibot/schema-0380.d.ts +4 -0
  802. package/dist/generated/valibot/schema-0380.js +5 -0
  803. package/dist/generated/valibot/schema-0381.d.ts +14 -0
  804. package/dist/generated/valibot/schema-0381.js +3 -0
  805. package/dist/generated/valibot/schema-0382.d.ts +6 -0
  806. package/dist/generated/valibot/schema-0382.js +3 -0
  807. package/dist/generated/valibot/schema-0383.d.ts +4 -0
  808. package/dist/generated/valibot/schema-0383.js +5 -0
  809. package/dist/generated/valibot/schema-0384.d.ts +15 -0
  810. package/dist/generated/valibot/schema-0384.js +3 -0
  811. package/dist/generated/valibot/schema-0385.d.ts +4 -0
  812. package/dist/generated/valibot/schema-0385.js +5 -0
  813. package/dist/generated/valibot/schema-0386.d.ts +8 -0
  814. package/dist/generated/valibot/schema-0386.js +3 -0
  815. package/dist/generated/valibot/schema-0387.d.ts +9 -0
  816. package/dist/generated/valibot/schema-0387.js +18 -0
  817. package/dist/generated/valibot/schema-0388.d.ts +19 -0
  818. package/dist/generated/valibot/schema-0388.js +3 -0
  819. package/dist/generated/valibot/schema-0389.d.ts +8 -0
  820. package/dist/generated/valibot/schema-0389.js +3 -0
  821. package/dist/generated/valibot/schema-0390.d.ts +18 -0
  822. package/dist/generated/valibot/schema-0390.js +3 -0
  823. package/dist/generated/valibot/schema-0391.d.ts +4 -0
  824. package/dist/generated/valibot/schema-0391.js +5 -0
  825. package/dist/generated/valibot/schema-0392.d.ts +4 -0
  826. package/dist/generated/valibot/schema-0392.js +3 -0
  827. package/dist/generated/valibot/schema-0393.d.ts +4 -0
  828. package/dist/generated/valibot/schema-0393.js +5 -0
  829. package/dist/generated/valibot/schema-0394.d.ts +21 -0
  830. package/dist/generated/valibot/schema-0394.js +3 -0
  831. package/dist/generated/valibot/schema-0395.d.ts +8 -0
  832. package/dist/generated/valibot/schema-0395.js +3 -0
  833. package/dist/generated/valibot/schema-0396.d.ts +4 -0
  834. package/dist/generated/valibot/schema-0396.js +5 -0
  835. package/dist/generated/valibot/schema-0397.d.ts +18 -0
  836. package/dist/generated/valibot/schema-0397.js +3 -0
  837. package/dist/generated/valibot/schema-0398.d.ts +4 -0
  838. package/dist/generated/valibot/schema-0398.js +5 -0
  839. package/dist/generated/valibot/schema-0399.d.ts +4 -0
  840. package/dist/generated/valibot/schema-0399.js +9 -0
  841. package/dist/generated/valibot/schema-0400.d.ts +16 -0
  842. package/dist/generated/valibot/schema-0400.js +3 -0
  843. package/dist/generated/valibot/schema-0401.d.ts +9 -0
  844. package/dist/generated/valibot/schema-0401.js +3 -0
  845. package/dist/generated/valibot/schema-0402.d.ts +4 -0
  846. package/dist/generated/valibot/schema-0402.js +5 -0
  847. package/dist/generated/valibot/schema-0403.d.ts +45 -0
  848. package/dist/generated/valibot/schema-0403.js +3 -0
  849. package/dist/generated/valibot/schema-0404.d.ts +4 -0
  850. package/dist/generated/valibot/schema-0404.js +5 -0
  851. package/dist/generated/valibot/schema-0405.d.ts +6 -0
  852. package/dist/generated/valibot/schema-0405.js +7 -0
  853. package/dist/generated/valibot/schema-0406.d.ts +6 -0
  854. package/dist/generated/valibot/schema-0406.js +3 -0
  855. package/dist/generated/valibot/schema-0407.d.ts +4 -0
  856. package/dist/generated/valibot/schema-0407.js +5 -0
  857. package/dist/generated/valibot/schema-0408.d.ts +15 -0
  858. package/dist/generated/valibot/schema-0408.js +3 -0
  859. package/dist/generated/valibot/schema-0409.d.ts +5 -0
  860. package/dist/generated/valibot/schema-0409.js +3 -0
  861. package/dist/generated/valibot/schema-0410.d.ts +4 -0
  862. package/dist/generated/valibot/schema-0410.js +5 -0
  863. package/dist/generated/valibot/schema-0411.d.ts +15 -0
  864. package/dist/generated/valibot/schema-0411.js +3 -0
  865. package/dist/generated/valibot/schema-0412.d.ts +4 -0
  866. package/dist/generated/valibot/schema-0412.js +5 -0
  867. package/dist/generated/valibot/schema-0413.d.ts +10 -0
  868. package/dist/generated/valibot/schema-0413.js +3 -0
  869. package/dist/generated/valibot/schema-0414.d.ts +5 -0
  870. package/dist/generated/valibot/schema-0414.js +6 -0
  871. package/dist/generated/valibot/schema-0415.d.ts +4 -0
  872. package/dist/generated/valibot/schema-0415.js +3 -0
  873. package/dist/generated/valibot/schema-0416.d.ts +4 -0
  874. package/dist/generated/valibot/schema-0416.js +3 -0
  875. package/dist/generated/valibot/schema-0417.d.ts +5 -0
  876. package/dist/generated/valibot/schema-0417.js +6 -0
  877. package/dist/generated/valibot/schema-0418.d.ts +15 -0
  878. package/dist/generated/valibot/schema-0418.js +3 -0
  879. package/dist/generated/valibot/schema-0419.d.ts +4 -0
  880. package/dist/generated/valibot/schema-0419.js +5 -0
  881. package/dist/generated/valibot/schema-0420.d.ts +8 -0
  882. package/dist/generated/valibot/schema-0420.js +17 -0
  883. package/dist/generated/valibot/schema-0421.d.ts +46 -0
  884. package/dist/generated/valibot/schema-0421.js +3 -0
  885. package/dist/generated/valibot/schema-0422.d.ts +38 -0
  886. package/dist/generated/valibot/schema-0422.js +3 -0
  887. package/dist/generated/valibot/schema-0423.d.ts +4 -0
  888. package/dist/generated/valibot/schema-0423.js +5 -0
  889. package/dist/generated/valibot/schema-0424.d.ts +45 -0
  890. package/dist/generated/valibot/schema-0424.js +3 -0
  891. package/dist/generated/valibot/schema-0425.d.ts +4 -0
  892. package/dist/generated/valibot/schema-0425.js +5 -0
  893. package/dist/generated/valibot/schema-0426.d.ts +5 -0
  894. package/dist/generated/valibot/schema-0426.js +6 -0
  895. package/dist/generated/valibot/schema-0427.d.ts +33 -0
  896. package/dist/generated/valibot/schema-0427.js +3 -0
  897. package/dist/generated/valibot/schema-0428.d.ts +4 -0
  898. package/dist/generated/valibot/schema-0428.js +5 -0
  899. package/dist/generated/valibot/schema-0429.d.ts +27 -0
  900. package/dist/generated/valibot/schema-0429.js +3 -0
  901. package/dist/generated/valibot/schema-0430.d.ts +4 -0
  902. package/dist/generated/valibot/schema-0430.js +5 -0
  903. package/dist/generated/valibot/schema-0431.d.ts +27 -0
  904. package/dist/generated/valibot/schema-0431.js +3 -0
  905. package/dist/generated/valibot/schema-0432.d.ts +10 -0
  906. package/dist/generated/valibot/schema-0432.js +3 -0
  907. package/dist/generated/valibot/schema-0433.d.ts +4 -0
  908. package/dist/generated/valibot/schema-0433.js +5 -0
  909. package/dist/generated/valibot/schema-0434.d.ts +27 -0
  910. package/dist/generated/valibot/schema-0434.js +3 -0
  911. package/dist/generated/valibot/schema-0435.d.ts +9 -0
  912. package/dist/generated/valibot/schema-0435.js +3 -0
  913. package/dist/generated/valibot/schema-0436.d.ts +8 -0
  914. package/dist/generated/valibot/schema-0436.js +17 -0
  915. package/dist/generated/valibot/schema-0437.d.ts +15 -0
  916. package/dist/generated/valibot/schema-0437.js +3 -0
  917. package/dist/generated/valibot/schema-0438.d.ts +5 -0
  918. package/dist/generated/valibot/schema-0438.js +3 -0
  919. package/dist/generated/valibot/schema-0439.d.ts +14 -0
  920. package/dist/generated/valibot/schema-0439.js +3 -0
  921. package/dist/generated/valibot/schema-0440.d.ts +4 -0
  922. package/dist/generated/valibot/schema-0440.js +5 -0
  923. package/dist/generated/valibot/schema-0441.d.ts +2 -0
  924. package/dist/generated/valibot/schema-0441.js +3 -0
  925. package/dist/generated/valibot/schema-0442.d.ts +4 -0
  926. package/dist/generated/valibot/schema-0442.js +5 -0
  927. package/dist/generated/valibot/schema-0443.d.ts +13 -0
  928. package/dist/generated/valibot/schema-0443.js +3 -0
  929. package/dist/generated/valibot/schema-0444.d.ts +4 -0
  930. package/dist/generated/valibot/schema-0444.js +3 -0
  931. package/dist/generated/valibot/schema-0445.d.ts +4 -0
  932. package/dist/generated/valibot/schema-0445.js +5 -0
  933. package/dist/generated/valibot/schema-0446.d.ts +13 -0
  934. package/dist/generated/valibot/schema-0446.js +3 -0
  935. package/dist/generated/valibot/schema-0447.d.ts +4 -0
  936. package/dist/generated/valibot/schema-0447.js +3 -0
  937. package/dist/generated/valibot/schema-0448.d.ts +4 -0
  938. package/dist/generated/valibot/schema-0448.js +5 -0
  939. package/dist/generated/valibot/schema-0449.d.ts +14 -0
  940. package/dist/generated/valibot/schema-0449.js +3 -0
  941. package/dist/generated/valibot/schema-0450.d.ts +5 -0
  942. package/dist/generated/valibot/schema-0450.js +3 -0
  943. package/dist/generated/valibot/schema-0451.d.ts +4 -0
  944. package/dist/generated/valibot/schema-0451.js +5 -0
  945. package/dist/generated/valibot/schema-0452.d.ts +2 -0
  946. package/dist/generated/valibot/schema-0452.js +3 -0
  947. package/dist/generated/valibot/schema-0453.d.ts +5 -0
  948. package/dist/generated/valibot/schema-0453.js +6 -0
  949. package/dist/generated/valibot/schema-0454.d.ts +4 -0
  950. package/dist/generated/valibot/schema-0454.js +3 -0
  951. package/dist/generated/valibot/schema-0455.d.ts +4 -0
  952. package/dist/generated/valibot/schema-0455.js +5 -0
  953. package/dist/generated/valibot/schema-0456.d.ts +5 -0
  954. package/dist/generated/valibot/schema-0456.js +6 -0
  955. package/dist/generated/valibot/schema-0457.d.ts +21 -0
  956. package/dist/generated/valibot/schema-0457.js +3 -0
  957. package/dist/generated/valibot/schema-0458.d.ts +8 -0
  958. package/dist/generated/valibot/schema-0458.js +3 -0
  959. package/dist/generated/valibot/schema-0459.d.ts +5 -0
  960. package/dist/generated/valibot/schema-0459.js +6 -0
  961. package/dist/generated/valibot/schema-0460.d.ts +17 -0
  962. package/dist/generated/valibot/schema-0460.js +3 -0
  963. package/dist/generated/valibot/schema-0461.d.ts +4 -0
  964. package/dist/generated/valibot/schema-0461.js +3 -0
  965. package/dist/generated/valibot/schema-0462.d.ts +6 -0
  966. package/dist/generated/valibot/schema-0462.js +7 -0
  967. package/dist/generated/valibot/schema-0463.d.ts +16 -0
  968. package/dist/generated/valibot/schema-0463.js +3 -0
  969. package/dist/generated/valibot/schema-0464.d.ts +4 -0
  970. package/dist/generated/valibot/schema-0464.js +3 -0
  971. package/dist/generated/valibot/schema-0465.d.ts +6 -0
  972. package/dist/generated/valibot/schema-0465.js +7 -0
  973. package/dist/generated/valibot/schema-0466.d.ts +16 -0
  974. package/dist/generated/valibot/schema-0466.js +3 -0
  975. package/dist/generated/valibot/schema-0467.d.ts +6 -0
  976. package/dist/generated/valibot/schema-0467.js +7 -0
  977. package/dist/generated/valibot/schema-0468.d.ts +4 -0
  978. package/dist/generated/valibot/schema-0468.js +5 -0
  979. package/dist/generated/valibot/schema-0469.d.ts +2 -0
  980. package/dist/generated/valibot/schema-0469.js +3 -0
  981. package/dist/generated/valibot/schema-0470.d.ts +2 -0
  982. package/dist/generated/valibot/schema-0470.js +3 -0
  983. package/dist/generated/valibot/schema-0471.d.ts +6 -0
  984. package/dist/generated/valibot/schema-0471.js +7 -0
  985. package/dist/generated/valibot/schema-0472.d.ts +2 -0
  986. package/dist/generated/valibot/schema-0472.js +3 -0
  987. package/dist/generated/valibot/schema-0473.d.ts +4 -0
  988. package/dist/generated/valibot/schema-0473.js +5 -0
  989. package/dist/generated/valibot/schema-0474.d.ts +5 -0
  990. package/dist/generated/valibot/schema-0474.js +6 -0
  991. package/dist/generated/valibot/schema-0475.d.ts +19 -0
  992. package/dist/generated/valibot/schema-0475.js +3 -0
  993. package/dist/generated/valibot/schema-0476.d.ts +8 -0
  994. package/dist/generated/valibot/schema-0476.js +3 -0
  995. package/dist/generated/valibot/schema-0477.d.ts +5 -0
  996. package/dist/generated/valibot/schema-0477.js +6 -0
  997. package/dist/generated/valibot/schema-0478.d.ts +4 -0
  998. package/dist/generated/valibot/schema-0478.js +3 -0
  999. package/dist/generated/valibot/schema-0479.d.ts +14 -0
  1000. package/dist/generated/valibot/schema-0479.js +3 -0
  1001. package/dist/generated/valibot/schema-0480.d.ts +5 -0
  1002. package/dist/generated/valibot/schema-0480.js +6 -0
  1003. package/dist/generated/valibot/schema-0481.d.ts +54 -0
  1004. package/dist/generated/valibot/schema-0481.js +3 -0
  1005. package/dist/generated/valibot/schema-0482.d.ts +14 -0
  1006. package/dist/generated/valibot/schema-0482.js +3 -0
  1007. package/dist/generated/valibot/schema-0483.d.ts +10 -0
  1008. package/dist/generated/valibot/schema-0483.js +3 -0
  1009. package/dist/generated/valibot/schema-0484.d.ts +14 -0
  1010. package/dist/generated/valibot/schema-0484.js +3 -0
  1011. package/dist/generated/valibot/schema-0485.d.ts +10 -0
  1012. package/dist/generated/valibot/schema-0485.js +3 -0
  1013. package/dist/generated/valibot/schema-0486.d.ts +6 -0
  1014. package/dist/generated/valibot/schema-0486.js +3 -0
  1015. package/dist/generated/valibot/schema-0487.d.ts +10 -0
  1016. package/dist/generated/valibot/schema-0487.js +3 -0
  1017. package/dist/generated/valibot/schema-0488.d.ts +11 -0
  1018. package/dist/generated/valibot/schema-0488.js +3 -0
  1019. package/dist/generated/valibot/schema-0489.d.ts +6 -0
  1020. package/dist/generated/valibot/schema-0489.js +3 -0
  1021. package/dist/generated/valibot/schema-0490.d.ts +6 -0
  1022. package/dist/generated/valibot/schema-0490.js +3 -0
  1023. package/dist/generated/valibot/schema-0491.d.ts +4 -0
  1024. package/dist/generated/valibot/schema-0491.js +3 -0
  1025. package/dist/generated/valibot/schema-0492.d.ts +10 -0
  1026. package/dist/generated/valibot/schema-0492.js +3 -0
  1027. package/dist/generated/valibot/schema-0493.d.ts +11 -0
  1028. package/dist/generated/valibot/schema-0493.js +3 -0
  1029. package/dist/generated/valibot/schema-0494.d.ts +11 -0
  1030. package/dist/generated/valibot/schema-0494.js +3 -0
  1031. package/dist/generated/valibot/schema-0495.d.ts +7 -0
  1032. package/dist/generated/valibot/schema-0495.js +3 -0
  1033. package/dist/generated/valibot/schema-0496.d.ts +11 -0
  1034. package/dist/generated/valibot/schema-0496.js +3 -0
  1035. package/dist/generated/valibot/schema-0497.d.ts +8 -0
  1036. package/dist/generated/valibot/schema-0497.js +17 -0
  1037. package/dist/generated/valibot/schema-0498.d.ts +17 -0
  1038. package/dist/generated/valibot/schema-0498.js +3 -0
  1039. package/dist/generated/valibot/schema-0499.d.ts +18 -0
  1040. package/dist/generated/valibot/schema-0499.js +3 -0
  1041. package/dist/generated/valibot/schema-0500.d.ts +16 -0
  1042. package/dist/generated/valibot/schema-0500.js +3 -0
  1043. package/dist/generated/valibot/schema-0501.d.ts +4 -0
  1044. package/dist/generated/valibot/schema-0501.js +5 -0
  1045. package/dist/generated/valibot/schema-0502.d.ts +4 -0
  1046. package/dist/generated/valibot/schema-0502.js +3 -0
  1047. package/dist/generated/valibot/schema-0503.d.ts +4 -0
  1048. package/dist/generated/valibot/schema-0503.js +5 -0
  1049. package/dist/generated/valibot/schema-0504.d.ts +16 -0
  1050. package/dist/generated/valibot/schema-0504.js +3 -0
  1051. package/dist/generated/valibot/schema-0505.d.ts +17 -0
  1052. package/dist/generated/valibot/schema-0505.js +3 -0
  1053. package/dist/generated/valibot/schema-0506.d.ts +4 -0
  1054. package/dist/generated/valibot/schema-0506.js +5 -0
  1055. package/dist/generated/valibot/schema-0507.d.ts +16 -0
  1056. package/dist/generated/valibot/schema-0507.js +3 -0
  1057. package/dist/generated/valibot/schema-0508.d.ts +4 -0
  1058. package/dist/generated/valibot/schema-0508.js +5 -0
  1059. package/dist/generated/valibot/schema-0509.d.ts +15 -0
  1060. package/dist/generated/valibot/schema-0509.js +3 -0
  1061. package/dist/generated/valibot/schema-0510.d.ts +4 -0
  1062. package/dist/generated/valibot/schema-0510.js +5 -0
  1063. package/dist/generated/valibot/schema-0511.d.ts +5 -0
  1064. package/dist/generated/valibot/schema-0511.js +3 -0
  1065. package/dist/generated/valibot/schema-0512.d.ts +11 -0
  1066. package/dist/generated/valibot/schema-0512.js +3 -0
  1067. package/dist/generated/valibot/schema-0513.d.ts +7 -0
  1068. package/dist/generated/valibot/schema-0513.js +3 -0
  1069. package/dist/generated/valibot/schema-0514.d.ts +11 -0
  1070. package/dist/generated/valibot/schema-0514.js +3 -0
  1071. package/dist/generated/valibot/schema-0515.d.ts +15 -0
  1072. package/dist/generated/valibot/schema-0515.js +3 -0
  1073. package/dist/generated/valibot/schema-0516.d.ts +12 -0
  1074. package/dist/generated/valibot/schema-0516.js +3 -0
  1075. package/dist/generated/valibot/schema-0517.d.ts +15 -0
  1076. package/dist/generated/valibot/schema-0517.js +3 -0
  1077. package/dist/generated/valibot/schema-0518.d.ts +10 -0
  1078. package/dist/generated/valibot/schema-0518.js +3 -0
  1079. package/dist/generated/valibot/schema-0519.d.ts +4 -0
  1080. package/dist/generated/valibot/schema-0519.js +3 -0
  1081. package/dist/generated/valibot/schema-0520.d.ts +5 -0
  1082. package/dist/generated/valibot/schema-0520.js +3 -0
  1083. package/dist/generated/valibot/schema-0521.d.ts +5 -0
  1084. package/dist/generated/valibot/schema-0521.js +3 -0
  1085. package/dist/generated/valibot/schema-0522.d.ts +4 -0
  1086. package/dist/generated/valibot/schema-0522.js +3 -0
  1087. package/dist/generated/valibot/schema-0523.d.ts +6 -0
  1088. package/dist/generated/valibot/schema-0523.js +3 -0
  1089. package/dist/generated/valibot/schema-0524.d.ts +7 -0
  1090. package/dist/generated/valibot/schema-0524.js +3 -0
  1091. package/dist/generated/valibot/schema-0525.d.ts +6 -0
  1092. package/dist/generated/valibot/schema-0525.js +3 -0
  1093. package/dist/generated/valibot/schema-0526.d.ts +6 -0
  1094. package/dist/generated/valibot/schema-0526.js +3 -0
  1095. package/dist/generated/valibot/schema-0527.d.ts +4 -0
  1096. package/dist/generated/valibot/schema-0527.js +3 -0
  1097. package/dist/generated/valibot/schema-0528.d.ts +5 -0
  1098. package/dist/generated/valibot/schema-0528.js +3 -0
  1099. package/dist/generated/valibot/schema-0529.d.ts +5 -0
  1100. package/dist/generated/valibot/schema-0529.js +3 -0
  1101. package/dist/generated/valibot/schema-0530.d.ts +7 -0
  1102. package/dist/generated/valibot/schema-0530.js +3 -0
  1103. package/dist/generated/valibot/schema-0531.d.ts +5 -0
  1104. package/dist/generated/valibot/schema-0531.js +3 -0
  1105. package/dist/generated/valibot/schema-0532.d.ts +6 -0
  1106. package/dist/generated/valibot/schema-0532.js +3 -0
  1107. package/dist/generated/valibot/schema-0533.d.ts +9 -0
  1108. package/dist/generated/valibot/schema-0533.js +3 -0
  1109. package/dist/generated/valibot/schema-0534.d.ts +7 -0
  1110. package/dist/generated/valibot/schema-0534.js +3 -0
  1111. package/dist/generated/valibot/schema-0535.d.ts +8 -0
  1112. package/dist/generated/valibot/schema-0535.js +3 -0
  1113. package/dist/generated/valibot/schema-0536.d.ts +6 -0
  1114. package/dist/generated/valibot/schema-0536.js +3 -0
  1115. package/dist/generated/valibot/schema-0537.d.ts +6 -0
  1116. package/dist/generated/valibot/schema-0537.js +3 -0
  1117. package/dist/generated/valibot/schema-0538.d.ts +8 -0
  1118. package/dist/generated/valibot/schema-0538.js +17 -0
  1119. package/dist/generated/valibot/schema-0539.d.ts +14 -0
  1120. package/dist/generated/valibot/schema-0539.js +3 -0
  1121. package/dist/generated/valibot/schema-0540.d.ts +5 -0
  1122. package/dist/generated/valibot/schema-0540.js +3 -0
  1123. package/dist/generated/valibot/schema-0541.d.ts +13 -0
  1124. package/dist/generated/valibot/schema-0541.js +3 -0
  1125. package/dist/generated/valibot/schema-0542.d.ts +13 -0
  1126. package/dist/generated/valibot/schema-0542.js +3 -0
  1127. package/dist/generated/valibot/schema-0543.d.ts +4 -0
  1128. package/dist/generated/valibot/schema-0543.js +5 -0
  1129. package/dist/generated/valibot/schema-0544.d.ts +4 -0
  1130. package/dist/generated/valibot/schema-0544.js +3 -0
  1131. package/dist/generated/valibot/schema-0545.d.ts +4 -0
  1132. package/dist/generated/valibot/schema-0545.js +5 -0
  1133. package/dist/generated/valibot/schema-0546.d.ts +13 -0
  1134. package/dist/generated/valibot/schema-0546.js +3 -0
  1135. package/dist/generated/valibot/schema-0547.d.ts +4 -0
  1136. package/dist/generated/valibot/schema-0547.js +3 -0
  1137. package/dist/generated/valibot/schema-0548.d.ts +4 -0
  1138. package/dist/generated/valibot/schema-0548.js +5 -0
  1139. package/dist/generated/valibot/schema-0549.d.ts +13 -0
  1140. package/dist/generated/valibot/schema-0549.js +3 -0
  1141. package/dist/generated/valibot/schema-0550.d.ts +2 -0
  1142. package/dist/generated/valibot/schema-0550.js +3 -0
  1143. package/dist/generated/valibot/schema-0551.d.ts +6 -0
  1144. package/dist/generated/valibot/schema-0551.js +7 -0
  1145. package/dist/generated/valibot/schema-0552.d.ts +5 -0
  1146. package/dist/generated/valibot/schema-0552.js +3 -0
  1147. package/dist/generated/valibot/schema-0553.d.ts +2 -0
  1148. package/dist/generated/valibot/schema-0553.js +3 -0
  1149. package/dist/generated/valibot/schema-0554.d.ts +6 -0
  1150. package/dist/generated/valibot/schema-0554.js +7 -0
  1151. package/dist/generated/valibot/schema-0555.d.ts +5 -0
  1152. package/dist/generated/valibot/schema-0555.js +3 -0
  1153. package/dist/index.d.ts +5 -0
  1154. package/dist/index.js +4 -0
  1155. package/dist/logs.d.ts +18 -0
  1156. package/dist/logs.js +34 -0
  1157. package/dist/models.d.ts +2 -0
  1158. package/dist/models.js +1 -0
  1159. package/dist/msw-scenarios.d.ts +14 -0
  1160. package/dist/msw-scenarios.js +78 -0
  1161. package/dist/msw.d.ts +2 -0
  1162. package/dist/msw.js +2 -0
  1163. package/dist/operations.d.ts +2 -0
  1164. package/dist/operations.js +2 -0
  1165. package/dist/react-query.d.ts +2 -0
  1166. package/dist/react-query.js +2 -0
  1167. package/dist/valibot.d.ts +556 -0
  1168. package/dist/valibot.js +557 -0
  1169. package/package.json +105 -0
@@ -0,0 +1,3553 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { infiniteQueryOptions, queryOptions, useMutation, useQuery } from '@tanstack/react-query';
3
+ import { client } from '../client.gen.js';
4
+ import { abortArtifact, addProjectMember, appendBuildLogs, browseLocalGitDirectories, cancelBuild, checkGitlabPersonalToken, claimJob, completeArtifact, completeSetup, configureExternalAccessOidc, configureOidc, createApiToken, createArtifact, createArtifactInstallLink, createBuild, createLocalGitIntegration, createNotificationChannel, createPipeline, createProject, createScopedDownloadToken, createStreamToken, deleteIntegration, deleteLocalGitIntegration, deleteNotificationChannel, deletePipeline, deleteProject, deleteProjectRetention, deleteRunner, deleteUser, discoverRepositoryWorkflows, downloadLocalArtifact, downloadLocalArtifactInstall, downloadLocalArtifactLegacy, downloadViaScopedToken, downloadViaScopedTokenV1, frontendPair, generateDownloadLink, getArtifactStorageSettings, getBuild, getBuildLogs, getExternalAccessNetworkSettings, getExternalAccessOidc, getExternalAccessPreflight, getExternalAccessTrustedProxySettings, getInstancePreferences, getIntegration, getIosInstallManifest, getIosInstallManifestV1, getJobAndroidSigning, getJobIosSigning, getJobStatus, getMe, getNotificationChannel, getPipeline, getPipelineAndroidSigning, getPipelineIosSigning, getProject, getProjectRetention, getRetentionLastCleanup, getRetentionPolicy, getRunner, getRuntimeUpdateStatus, getSetupStatus, getSetupSummary, githubCallback, githubComplete, githubCreatePage, githubInstalled, githubStart, githubWebhook, gitlabAuthorize, gitlabCallback, gitlabCheckoutDiscovery, gitlabCheckoutUploadPack, gitlabStart, gitlabWebhook, healthz, inviteUser, listApiTokens, listArtifacts, listAuditLogs, listBuildArtifacts, listBuilds, listInstallations, listIntegrations, listLocalGitIntegrations, listNotificationChannels, listNotificationDeliveries, listOperatorIncidents, listPipelineIosDevices, listPipelines, listProjectArtifacts, listProjectMemberCandidates, listProjectMembers, listProjects, listRepositories, listRunners, listScopedDownloadTokens, listSourceRepositories, listUsers, localLogin, logout, markOperatorIncidentRead, metrics, oidcCallback, oidcStart, previewBuildChangelog, readyz, reEnableUser, registerPipelineIosDevice, registerRunner, removeProjectMember, replaceGitlabPersonalToken, repositoryAvatar, rerunBuild, revokeApiToken, revokeScopedDownloadToken, rotateGitlabRepositoryWebhookSecret, runnerHeartbeat, setupLocalOwnerCreate, setupOidcStart, setupOidcVerify, setupOwnerClaimTrustedProxy, setupPreferences, setupTrustedProxyConfigure, startRuntimeUpdate, syncInstallations, syncPipelineIosSigning, testNotificationChannel, testOidcConnection, trustedProxyLogin, updateArtifactStorageSettings, updateExternalAccessNetworkSettings, updateExternalAccessTrustedProxySettings, updateInstancePreferences, updateJobStatus, updateNotificationChannel, updatePipeline, updatePipelineAndroidSigning, updatePipelineIosSigning, updateProject, updateProjectMember, updateProjectRetention, updateRetentionPolicy, updateRunner, updateUserRole, uploadLocalArtifact, validatePipeline, verifyBootstrapToken } from '../sdk.gen.js';
5
+ const createQueryKey = (id, options, infinite, tags) => {
6
+ const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
7
+ if (infinite) {
8
+ params._infinite = infinite;
9
+ }
10
+ if (tags) {
11
+ params.tags = tags;
12
+ }
13
+ if (options?.body) {
14
+ params.body = options.body;
15
+ }
16
+ if (options?.headers) {
17
+ params.headers = options.headers;
18
+ }
19
+ if (options?.path) {
20
+ params.path = options.path;
21
+ }
22
+ if (options?.query) {
23
+ params.query = options.query;
24
+ }
25
+ return [params];
26
+ };
27
+ export const healthzQueryKey = (options) => createQueryKey('healthz', options, false, ['Health']);
28
+ /**
29
+ * Health check
30
+ *
31
+ * Returns daemon build metadata when the daemon is running.
32
+ */
33
+ export const healthzOptions = (options) => queryOptions({
34
+ queryFn: async ({ queryKey, signal }) => await healthz({
35
+ ...options,
36
+ ...queryKey[0],
37
+ signal,
38
+ throwOnError: true
39
+ }),
40
+ queryKey: healthzQueryKey(options)
41
+ });
42
+ /**
43
+ * Health check
44
+ *
45
+ * Returns daemon build metadata when the daemon is running.
46
+ */
47
+ export const useHealthzQuery = (options) => useQuery(healthzOptions(options));
48
+ export const downloadViaScopedTokenQueryKey = (options) => createQueryKey('downloadViaScopedToken', options, false, ['Scoped Download Tokens']);
49
+ /**
50
+ * Download via scoped token
51
+ *
52
+ * Downloads an artifact using a scoped download token. No session auth required —
53
+ * the token itself is the authorization. For S3/R2 storage, redirects to a presigned URL.
54
+ */
55
+ export const downloadViaScopedTokenOptions = (options) => queryOptions({
56
+ queryFn: async ({ queryKey, signal }) => await downloadViaScopedToken({
57
+ ...options,
58
+ ...queryKey[0],
59
+ signal,
60
+ throwOnError: true
61
+ }),
62
+ queryKey: downloadViaScopedTokenQueryKey(options)
63
+ });
64
+ /**
65
+ * Download via scoped token
66
+ *
67
+ * Downloads an artifact using a scoped download token. No session auth required —
68
+ * the token itself is the authorization. For S3/R2 storage, redirects to a presigned URL.
69
+ */
70
+ export const useDownloadViaScopedTokenQuery = (options) => useQuery(downloadViaScopedTokenOptions(options));
71
+ export const downloadLocalArtifactInstallQueryKey = (options) => createQueryKey('downloadLocalArtifactInstall', options, false, ['Artifacts']);
72
+ /**
73
+ * Download an artifact from the install delivery route
74
+ *
75
+ * Returns local artifact bytes using the signed path token.
76
+ */
77
+ export const downloadLocalArtifactInstallOptions = (options) => queryOptions({
78
+ queryFn: async ({ queryKey, signal }) => await downloadLocalArtifactInstall({
79
+ ...options,
80
+ ...queryKey[0],
81
+ signal,
82
+ throwOnError: true
83
+ }),
84
+ queryKey: downloadLocalArtifactInstallQueryKey(options)
85
+ });
86
+ /**
87
+ * Download an artifact from the install delivery route
88
+ *
89
+ * Returns local artifact bytes using the signed path token.
90
+ */
91
+ export const useDownloadLocalArtifactInstallQuery = (options) => useQuery(downloadLocalArtifactInstallOptions(options));
92
+ export const getIosInstallManifestQueryKey = (options) => createQueryKey('getIosInstallManifest', options, false, ['Artifacts']);
93
+ /**
94
+ * Get iOS OTA install manifest
95
+ *
96
+ * Returns an Apple property-list manifest authorized by the scoped token in the URL.
97
+ */
98
+ export const getIosInstallManifestOptions = (options) => queryOptions({
99
+ queryFn: async ({ queryKey, signal }) => await getIosInstallManifest({
100
+ ...options,
101
+ ...queryKey[0],
102
+ signal,
103
+ throwOnError: true
104
+ }),
105
+ queryKey: getIosInstallManifestQueryKey(options)
106
+ });
107
+ /**
108
+ * Get iOS OTA install manifest
109
+ *
110
+ * Returns an Apple property-list manifest authorized by the scoped token in the URL.
111
+ */
112
+ export const useGetIosInstallManifestQuery = (options) => useQuery(getIosInstallManifestOptions(options));
113
+ export const metricsQueryKey = (options) => createQueryKey('metrics', options, false, ['System']);
114
+ /**
115
+ * Get Prometheus metrics
116
+ *
117
+ * Returns the daemon's Prometheus exposition payload without session
118
+ * authentication.
119
+ */
120
+ export const metricsOptions = (options) => queryOptions({
121
+ queryFn: async ({ queryKey, signal }) => await metrics({
122
+ ...options,
123
+ ...queryKey[0],
124
+ signal,
125
+ throwOnError: true
126
+ }),
127
+ queryKey: metricsQueryKey(options)
128
+ });
129
+ /**
130
+ * Get Prometheus metrics
131
+ *
132
+ * Returns the daemon's Prometheus exposition payload without session
133
+ * authentication.
134
+ */
135
+ export const useMetricsQuery = (options) => useQuery(metricsOptions(options));
136
+ export const readyzQueryKey = (options) => createQueryKey('readyz', options, false, ['Health']);
137
+ /**
138
+ * Readiness check
139
+ *
140
+ * Reports whether the database, migrations, and runtime encryption key are
141
+ * ready to serve requests.
142
+ */
143
+ export const readyzOptions = (options) => queryOptions({
144
+ queryFn: async ({ queryKey, signal }) => await readyz({
145
+ ...options,
146
+ ...queryKey[0],
147
+ signal,
148
+ throwOnError: true
149
+ }),
150
+ queryKey: readyzQueryKey(options)
151
+ });
152
+ /**
153
+ * Readiness check
154
+ *
155
+ * Reports whether the database, migrations, and runtime encryption key are
156
+ * ready to serve requests.
157
+ */
158
+ export const useReadyzQuery = (options) => useQuery(readyzOptions(options));
159
+ export const listApiTokensQueryKey = (options) => createQueryKey('listApiTokens', options, false, ['API Tokens']);
160
+ /**
161
+ * List API tokens
162
+ *
163
+ * Returns all API tokens visible to the caller. Admins and owners see all
164
+ * tokens; other roles see only their own.
165
+ */
166
+ export const listApiTokensOptions = (options) => queryOptions({
167
+ queryFn: async ({ queryKey, signal }) => await listApiTokens({
168
+ ...options,
169
+ ...queryKey[0],
170
+ signal,
171
+ throwOnError: true
172
+ }),
173
+ queryKey: listApiTokensQueryKey(options)
174
+ });
175
+ const createInfiniteParams = (queryKey, page) => {
176
+ const params = { ...queryKey[0] };
177
+ if (page.body) {
178
+ params.body = {
179
+ ...queryKey[0].body,
180
+ ...page.body
181
+ };
182
+ }
183
+ if (page.headers) {
184
+ params.headers = {
185
+ ...queryKey[0].headers,
186
+ ...page.headers
187
+ };
188
+ }
189
+ if (page.path) {
190
+ params.path = {
191
+ ...queryKey[0].path,
192
+ ...page.path
193
+ };
194
+ }
195
+ if (page.query) {
196
+ params.query = {
197
+ ...queryKey[0].query,
198
+ ...page.query
199
+ };
200
+ }
201
+ return params;
202
+ };
203
+ export const listApiTokensInfiniteQueryKey = (options) => createQueryKey('listApiTokens', options, true);
204
+ /**
205
+ * List API tokens
206
+ *
207
+ * Returns all API tokens visible to the caller. Admins and owners see all
208
+ * tokens; other roles see only their own.
209
+ */
210
+ export const listApiTokensInfiniteOptions = (options) => {
211
+ const opts = infiniteQueryOptions(
212
+ // @ts-ignore
213
+ {
214
+ queryFn: async ({ pageParam, queryKey, signal }) => {
215
+ // @ts-ignore
216
+ const page = typeof pageParam === 'object' ? pageParam : {
217
+ query: {
218
+ offset: pageParam
219
+ }
220
+ };
221
+ const params = createInfiniteParams(queryKey, page);
222
+ return await listApiTokens({
223
+ ...options,
224
+ ...params,
225
+ signal,
226
+ throwOnError: true
227
+ });
228
+ },
229
+ queryKey: listApiTokensInfiniteQueryKey(options)
230
+ });
231
+ return opts;
232
+ };
233
+ /**
234
+ * List API tokens
235
+ *
236
+ * Returns all API tokens visible to the caller. Admins and owners see all
237
+ * tokens; other roles see only their own.
238
+ */
239
+ export const useListApiTokensQuery = (options) => useQuery(listApiTokensOptions(options));
240
+ const createMutationKey = (id, options, tags) => {
241
+ const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
242
+ if (tags) {
243
+ params.tags = tags;
244
+ }
245
+ if (options?.body) {
246
+ params.body = options.body;
247
+ }
248
+ if (options?.headers) {
249
+ params.headers = options.headers;
250
+ }
251
+ if (options?.path) {
252
+ params.path = options.path;
253
+ }
254
+ if (options?.query) {
255
+ params.query = options.query;
256
+ }
257
+ return [params];
258
+ };
259
+ export const createApiTokenMutationKey = (options) => createMutationKey('createApiToken', options, ['API Tokens']);
260
+ /**
261
+ * Create API token
262
+ *
263
+ * Creates a new API token. The plaintext token is returned only in this
264
+ * response and cannot be retrieved again.
265
+ */
266
+ export const createApiTokenMutation = (options) => {
267
+ const mutationOptions = {
268
+ mutationFn: async (fnOptions) => await createApiToken({
269
+ ...options,
270
+ ...fnOptions,
271
+ throwOnError: true
272
+ }),
273
+ mutationKey: createApiTokenMutationKey(options)
274
+ };
275
+ return mutationOptions;
276
+ };
277
+ /**
278
+ * Create API token
279
+ *
280
+ * Creates a new API token. The plaintext token is returned only in this
281
+ * response and cannot be retrieved again.
282
+ */
283
+ export const useCreateApiTokenMutation = (mutationOptions) => useMutation({ ...createApiTokenMutation(), ...mutationOptions });
284
+ export const revokeApiTokenMutationKey = (options) => createMutationKey('revokeApiToken', options, ['API Tokens']);
285
+ /**
286
+ * Revoke API token
287
+ *
288
+ * Revokes an API token by ID. Non-admin users can only revoke their own
289
+ * tokens.
290
+ */
291
+ export const revokeApiTokenMutation = (options) => {
292
+ const mutationOptions = {
293
+ mutationFn: async (fnOptions) => await revokeApiToken({
294
+ ...options,
295
+ ...fnOptions,
296
+ throwOnError: true
297
+ }),
298
+ mutationKey: revokeApiTokenMutationKey(options)
299
+ };
300
+ return mutationOptions;
301
+ };
302
+ /**
303
+ * Revoke API token
304
+ *
305
+ * Revokes an API token by ID. Non-admin users can only revoke their own
306
+ * tokens.
307
+ */
308
+ export const useRevokeApiTokenMutation = (mutationOptions) => useMutation({ ...revokeApiTokenMutation(), ...mutationOptions });
309
+ export const revokeScopedDownloadTokenMutationKey = (options) => createMutationKey('revokeScopedDownloadToken', options, ['Scoped Download Tokens']);
310
+ /**
311
+ * Revoke scoped download token
312
+ *
313
+ * Revokes a scoped download token so it can no longer be used.
314
+ */
315
+ export const revokeScopedDownloadTokenMutation = (options) => {
316
+ const mutationOptions = {
317
+ mutationFn: async (fnOptions) => await revokeScopedDownloadToken({
318
+ ...options,
319
+ ...fnOptions,
320
+ throwOnError: true
321
+ }),
322
+ mutationKey: revokeScopedDownloadTokenMutationKey(options)
323
+ };
324
+ return mutationOptions;
325
+ };
326
+ /**
327
+ * Revoke scoped download token
328
+ *
329
+ * Revokes a scoped download token so it can no longer be used.
330
+ */
331
+ export const useRevokeScopedDownloadTokenMutation = (mutationOptions) => useMutation({ ...revokeScopedDownloadTokenMutation(), ...mutationOptions });
332
+ export const downloadViaScopedTokenV1QueryKey = (options) => createQueryKey('downloadViaScopedTokenV1', options, false, ['Scoped Download Tokens']);
333
+ /**
334
+ * Download via scoped token from the versioned route
335
+ *
336
+ * Resolves a time-limited path token and redirects to the backing storage
337
+ * URL. The token is the authorization; no session bearer token is used.
338
+ */
339
+ export const downloadViaScopedTokenV1Options = (options) => queryOptions({
340
+ queryFn: async ({ queryKey, signal }) => await downloadViaScopedTokenV1({
341
+ ...options,
342
+ ...queryKey[0],
343
+ signal,
344
+ throwOnError: true
345
+ }),
346
+ queryKey: downloadViaScopedTokenV1QueryKey(options)
347
+ });
348
+ /**
349
+ * Download via scoped token from the versioned route
350
+ *
351
+ * Resolves a time-limited path token and redirects to the backing storage
352
+ * URL. The token is the authorization; no session bearer token is used.
353
+ */
354
+ export const useDownloadViaScopedTokenV1Query = (options) => useQuery(downloadViaScopedTokenV1Options(options));
355
+ export const downloadLocalArtifactQueryKey = (options) => createQueryKey('downloadLocalArtifact', options, false, ['Artifacts']);
356
+ /**
357
+ * Download an artifact from local storage
358
+ *
359
+ * Returns the artifact bytes using the signed path token.
360
+ */
361
+ export const downloadLocalArtifactOptions = (options) => queryOptions({
362
+ queryFn: async ({ queryKey, signal }) => await downloadLocalArtifact({
363
+ ...options,
364
+ ...queryKey[0],
365
+ signal,
366
+ throwOnError: true
367
+ }),
368
+ queryKey: downloadLocalArtifactQueryKey(options)
369
+ });
370
+ /**
371
+ * Download an artifact from local storage
372
+ *
373
+ * Returns the artifact bytes using the signed path token.
374
+ */
375
+ export const useDownloadLocalArtifactQuery = (options) => useQuery(downloadLocalArtifactOptions(options));
376
+ export const getIosInstallManifestV1QueryKey = (options) => createQueryKey('getIosInstallManifestV1', options, false, ['Artifacts']);
377
+ /**
378
+ * Get an iOS OTA install manifest from the versioned route
379
+ *
380
+ * Returns an Apple property-list manifest authorized by the install token
381
+ * in the URL.
382
+ */
383
+ export const getIosInstallManifestV1Options = (options) => queryOptions({
384
+ queryFn: async ({ queryKey, signal }) => await getIosInstallManifestV1({
385
+ ...options,
386
+ ...queryKey[0],
387
+ signal,
388
+ throwOnError: true
389
+ }),
390
+ queryKey: getIosInstallManifestV1QueryKey(options)
391
+ });
392
+ /**
393
+ * Get an iOS OTA install manifest from the versioned route
394
+ *
395
+ * Returns an Apple property-list manifest authorized by the install token
396
+ * in the URL.
397
+ */
398
+ export const useGetIosInstallManifestV1Query = (options) => useQuery(getIosInstallManifestV1Options(options));
399
+ export const downloadLocalArtifactLegacyQueryKey = (options) => createQueryKey('downloadLocalArtifactLegacy', options, false, ['Artifacts']);
400
+ /**
401
+ * Download an artifact from the legacy local-storage route
402
+ *
403
+ * Backward-compatible alias for signed local artifact downloads.
404
+ */
405
+ export const downloadLocalArtifactLegacyOptions = (options) => queryOptions({
406
+ queryFn: async ({ queryKey, signal }) => await downloadLocalArtifactLegacy({
407
+ ...options,
408
+ ...queryKey[0],
409
+ signal,
410
+ throwOnError: true
411
+ }),
412
+ queryKey: downloadLocalArtifactLegacyQueryKey(options)
413
+ });
414
+ /**
415
+ * Download an artifact from the legacy local-storage route
416
+ *
417
+ * Backward-compatible alias for signed local artifact downloads.
418
+ */
419
+ export const useDownloadLocalArtifactLegacyQuery = (options) => useQuery(downloadLocalArtifactLegacyOptions(options));
420
+ export const uploadLocalArtifactMutationKey = (options) => createMutationKey('uploadLocalArtifact', options, ['Artifacts']);
421
+ /**
422
+ * Upload an artifact to local storage
423
+ *
424
+ * Stores a bounded binary artifact using the signed path token. The token
425
+ * is the authorization; no session bearer token is used.
426
+ */
427
+ export const uploadLocalArtifactMutation = (options) => {
428
+ const mutationOptions = {
429
+ mutationFn: async (fnOptions) => await uploadLocalArtifact({
430
+ ...options,
431
+ ...fnOptions,
432
+ throwOnError: true
433
+ }),
434
+ mutationKey: uploadLocalArtifactMutationKey(options)
435
+ };
436
+ return mutationOptions;
437
+ };
438
+ /**
439
+ * Upload an artifact to local storage
440
+ *
441
+ * Stores a bounded binary artifact using the signed path token. The token
442
+ * is the authorization; no session bearer token is used.
443
+ */
444
+ export const useUploadLocalArtifactMutation = (mutationOptions) => useMutation({ ...uploadLocalArtifactMutation(), ...mutationOptions });
445
+ export const listBuildArtifactsMutationKey = (options) => createMutationKey('listBuildArtifacts', options, ['Artifacts']);
446
+ /**
447
+ * List available artifacts for a bounded set of builds
448
+ */
449
+ export const listBuildArtifactsMutation = (options) => {
450
+ const mutationOptions = {
451
+ mutationFn: async (fnOptions) => await listBuildArtifacts({
452
+ ...options,
453
+ ...fnOptions,
454
+ throwOnError: true
455
+ }),
456
+ mutationKey: listBuildArtifactsMutationKey(options)
457
+ };
458
+ return mutationOptions;
459
+ };
460
+ /**
461
+ * List available artifacts for a bounded set of builds
462
+ */
463
+ export const useListBuildArtifactsMutation = (mutationOptions) => useMutation({ ...listBuildArtifactsMutation(), ...mutationOptions });
464
+ export const generateDownloadLinkMutationKey = (options) => createMutationKey('generateDownloadLink', options, ['Artifacts']);
465
+ /**
466
+ * Generate download link
467
+ *
468
+ * Returns a signed download URL for an artifact. URLs expire after 15 minutes.
469
+ */
470
+ export const generateDownloadLinkMutation = (options) => {
471
+ const mutationOptions = {
472
+ mutationFn: async (fnOptions) => await generateDownloadLink({
473
+ ...options,
474
+ ...fnOptions,
475
+ throwOnError: true
476
+ }),
477
+ mutationKey: generateDownloadLinkMutationKey(options)
478
+ };
479
+ return mutationOptions;
480
+ };
481
+ /**
482
+ * Generate download link
483
+ *
484
+ * Returns a signed download URL for an artifact. URLs expire after 15 minutes.
485
+ */
486
+ export const useGenerateDownloadLinkMutation = (mutationOptions) => useMutation({ ...generateDownloadLinkMutation(), ...mutationOptions });
487
+ export const createArtifactInstallLinkMutationKey = (options) => createMutationKey('createArtifactInstallLink', options, ['Artifacts']);
488
+ /**
489
+ * Create device install link
490
+ *
491
+ * Creates a one-hour install session for an APK or install-ready signed IPA.
492
+ * QA viewers may use this endpoint through their artifact read permission.
493
+ */
494
+ export const createArtifactInstallLinkMutation = (options) => {
495
+ const mutationOptions = {
496
+ mutationFn: async (fnOptions) => await createArtifactInstallLink({
497
+ ...options,
498
+ ...fnOptions,
499
+ throwOnError: true
500
+ }),
501
+ mutationKey: createArtifactInstallLinkMutationKey(options)
502
+ };
503
+ return mutationOptions;
504
+ };
505
+ /**
506
+ * Create device install link
507
+ *
508
+ * Creates a one-hour install session for an APK or install-ready signed IPA.
509
+ * QA viewers may use this endpoint through their artifact read permission.
510
+ */
511
+ export const useCreateArtifactInstallLinkMutation = (mutationOptions) => useMutation({ ...createArtifactInstallLinkMutation(), ...mutationOptions });
512
+ export const createScopedDownloadTokenMutationKey = (options) => createMutationKey('createScopedDownloadToken', options, ['Scoped Download Tokens']);
513
+ /**
514
+ * Create scoped download token
515
+ *
516
+ * Generates a scoped, time-limited download token for a specific artifact.
517
+ * The token can be shared with external users who don't have an account.
518
+ */
519
+ export const createScopedDownloadTokenMutation = (options) => {
520
+ const mutationOptions = {
521
+ mutationFn: async (fnOptions) => await createScopedDownloadToken({
522
+ ...options,
523
+ ...fnOptions,
524
+ throwOnError: true
525
+ }),
526
+ mutationKey: createScopedDownloadTokenMutationKey(options)
527
+ };
528
+ return mutationOptions;
529
+ };
530
+ /**
531
+ * Create scoped download token
532
+ *
533
+ * Generates a scoped, time-limited download token for a specific artifact.
534
+ * The token can be shared with external users who don't have an account.
535
+ */
536
+ export const useCreateScopedDownloadTokenMutation = (mutationOptions) => useMutation({ ...createScopedDownloadTokenMutation(), ...mutationOptions });
537
+ export const listScopedDownloadTokensQueryKey = (options) => createQueryKey('listScopedDownloadTokens', options, false, ['Scoped Download Tokens']);
538
+ /**
539
+ * List scoped download tokens
540
+ *
541
+ * Lists all scoped download tokens for a specific artifact, including expired and revoked ones.
542
+ */
543
+ export const listScopedDownloadTokensOptions = (options) => queryOptions({
544
+ queryFn: async ({ queryKey, signal }) => await listScopedDownloadTokens({
545
+ ...options,
546
+ ...queryKey[0],
547
+ signal,
548
+ throwOnError: true
549
+ }),
550
+ queryKey: listScopedDownloadTokensQueryKey(options)
551
+ });
552
+ /**
553
+ * List scoped download tokens
554
+ *
555
+ * Lists all scoped download tokens for a specific artifact, including expired and revoked ones.
556
+ */
557
+ export const useListScopedDownloadTokensQuery = (options) => useQuery(listScopedDownloadTokensOptions(options));
558
+ export const listAuditLogsQueryKey = (options) => createQueryKey('listAuditLogs', options, false, ['Audit Logs']);
559
+ /**
560
+ * List audit log entries
561
+ *
562
+ * Returns a paginated, filterable list of audit log entries recording
563
+ * user and system actions. Owner and admin roles only.
564
+ */
565
+ export const listAuditLogsOptions = (options) => queryOptions({
566
+ queryFn: async ({ queryKey, signal }) => await listAuditLogs({
567
+ ...options,
568
+ ...queryKey[0],
569
+ signal,
570
+ throwOnError: true
571
+ }),
572
+ queryKey: listAuditLogsQueryKey(options)
573
+ });
574
+ export const listAuditLogsInfiniteQueryKey = (options) => createQueryKey('listAuditLogs', options, true);
575
+ /**
576
+ * List audit log entries
577
+ *
578
+ * Returns a paginated, filterable list of audit log entries recording
579
+ * user and system actions. Owner and admin roles only.
580
+ */
581
+ export const listAuditLogsInfiniteOptions = (options) => {
582
+ const opts = infiniteQueryOptions(
583
+ // @ts-ignore
584
+ {
585
+ queryFn: async ({ pageParam, queryKey, signal }) => {
586
+ // @ts-ignore
587
+ const page = typeof pageParam === 'object' ? pageParam : {
588
+ query: {
589
+ offset: pageParam
590
+ }
591
+ };
592
+ const params = createInfiniteParams(queryKey, page);
593
+ return await listAuditLogs({
594
+ ...options,
595
+ ...params,
596
+ signal,
597
+ throwOnError: true
598
+ });
599
+ },
600
+ queryKey: listAuditLogsInfiniteQueryKey(options)
601
+ });
602
+ return opts;
603
+ };
604
+ /**
605
+ * List audit log entries
606
+ *
607
+ * Returns a paginated, filterable list of audit log entries recording
608
+ * user and system actions. Owner and admin roles only.
609
+ */
610
+ export const useListAuditLogsQuery = (options) => useQuery(listAuditLogsOptions(options));
611
+ export const localLoginMutationKey = (options) => createMutationKey('localLogin', options, ['Auth']);
612
+ /**
613
+ * Local login and recovery
614
+ *
615
+ * In Local Only mode, creates a loopback local session and may auto-finalize
616
+ * first-run owner bootstrap. In Ready External Access mode, every request
617
+ * requires a short-lived, single-use recovery capability minted by the
618
+ * local `oore recovery` command over the daemon's Unix management socket.
619
+ * TCP loopback and forwarding headers do not grant recovery authority.
620
+ */
621
+ export const localLoginMutation = (options) => {
622
+ const mutationOptions = {
623
+ mutationFn: async (fnOptions) => await localLogin({
624
+ ...options,
625
+ ...fnOptions,
626
+ throwOnError: true
627
+ }),
628
+ mutationKey: localLoginMutationKey(options)
629
+ };
630
+ return mutationOptions;
631
+ };
632
+ /**
633
+ * Local login and recovery
634
+ *
635
+ * In Local Only mode, creates a loopback local session and may auto-finalize
636
+ * first-run owner bootstrap. In Ready External Access mode, every request
637
+ * requires a short-lived, single-use recovery capability minted by the
638
+ * local `oore recovery` command over the daemon's Unix management socket.
639
+ * TCP loopback and forwarding headers do not grant recovery authority.
640
+ */
641
+ export const useLocalLoginMutation = (mutationOptions) => useMutation({ ...localLoginMutation(), ...mutationOptions });
642
+ export const logoutMutationKey = (options) => createMutationKey('logout', options, ['Auth']);
643
+ /**
644
+ * Logout
645
+ *
646
+ * Invalidates the current session.
647
+ */
648
+ export const logoutMutation = (options) => {
649
+ const mutationOptions = {
650
+ mutationFn: async (fnOptions) => await logout({
651
+ ...options,
652
+ ...fnOptions,
653
+ throwOnError: true
654
+ }),
655
+ mutationKey: logoutMutationKey(options)
656
+ };
657
+ return mutationOptions;
658
+ };
659
+ /**
660
+ * Logout
661
+ *
662
+ * Invalidates the current session.
663
+ */
664
+ export const useLogoutMutation = (mutationOptions) => useMutation({ ...logoutMutation(), ...mutationOptions });
665
+ export const oidcCallbackMutationKey = (options) => createMutationKey('oidcCallback', options, ['Auth']);
666
+ /**
667
+ * OIDC callback
668
+ *
669
+ * Exchanges the authorization code for tokens and creates a session.
670
+ */
671
+ export const oidcCallbackMutation = (options) => {
672
+ const mutationOptions = {
673
+ mutationFn: async (fnOptions) => await oidcCallback({
674
+ ...options,
675
+ ...fnOptions,
676
+ throwOnError: true
677
+ }),
678
+ mutationKey: oidcCallbackMutationKey(options)
679
+ };
680
+ return mutationOptions;
681
+ };
682
+ /**
683
+ * OIDC callback
684
+ *
685
+ * Exchanges the authorization code for tokens and creates a session.
686
+ */
687
+ export const useOidcCallbackMutation = (mutationOptions) => useMutation({ ...oidcCallbackMutation(), ...mutationOptions });
688
+ export const oidcStartQueryKey = (options) => createQueryKey('oidcStart', options, false, ['Auth']);
689
+ /**
690
+ * Start OIDC login
691
+ *
692
+ * Initiates the OIDC authorization code flow for user login.
693
+ * Only available after setup is complete.
694
+ */
695
+ export const oidcStartOptions = (options) => queryOptions({
696
+ queryFn: async ({ queryKey, signal }) => await oidcStart({
697
+ ...options,
698
+ ...queryKey[0],
699
+ signal,
700
+ throwOnError: true
701
+ }),
702
+ queryKey: oidcStartQueryKey(options)
703
+ });
704
+ /**
705
+ * Start OIDC login
706
+ *
707
+ * Initiates the OIDC authorization code flow for user login.
708
+ * Only available after setup is complete.
709
+ */
710
+ export const useOidcStartQuery = (options) => useQuery(oidcStartOptions(options));
711
+ export const trustedProxyLoginMutationKey = (options) => createMutationKey('trustedProxyLogin', options, ['Auth']);
712
+ /**
713
+ * Trusted proxy login
714
+ *
715
+ * Creates a session from trusted proxy identity headers when remote auth
716
+ * mode is configured to trusted proxy.
717
+ */
718
+ export const trustedProxyLoginMutation = (options) => {
719
+ const mutationOptions = {
720
+ mutationFn: async (fnOptions) => await trustedProxyLogin({
721
+ ...options,
722
+ ...fnOptions,
723
+ throwOnError: true
724
+ }),
725
+ mutationKey: trustedProxyLoginMutationKey(options)
726
+ };
727
+ return mutationOptions;
728
+ };
729
+ /**
730
+ * Trusted proxy login
731
+ *
732
+ * Creates a session from trusted proxy identity headers when remote auth
733
+ * mode is configured to trusted proxy.
734
+ */
735
+ export const useTrustedProxyLoginMutation = (mutationOptions) => useMutation({ ...trustedProxyLoginMutation(), ...mutationOptions });
736
+ export const listBuildsQueryKey = (options) => createQueryKey('listBuilds', options, false, ['Builds']);
737
+ /**
738
+ * List builds
739
+ *
740
+ * Returns builds, optionally filtered by project, pipeline, or status.
741
+ */
742
+ export const listBuildsOptions = (options) => queryOptions({
743
+ queryFn: async ({ queryKey, signal }) => await listBuilds({
744
+ ...options,
745
+ ...queryKey[0],
746
+ signal,
747
+ throwOnError: true
748
+ }),
749
+ queryKey: listBuildsQueryKey(options)
750
+ });
751
+ export const listBuildsInfiniteQueryKey = (options) => createQueryKey('listBuilds', options, true);
752
+ /**
753
+ * List builds
754
+ *
755
+ * Returns builds, optionally filtered by project, pipeline, or status.
756
+ */
757
+ export const listBuildsInfiniteOptions = (options) => {
758
+ const opts = infiniteQueryOptions(
759
+ // @ts-ignore
760
+ {
761
+ queryFn: async ({ pageParam, queryKey, signal }) => {
762
+ // @ts-ignore
763
+ const page = typeof pageParam === 'object' ? pageParam : {
764
+ query: {
765
+ offset: pageParam
766
+ }
767
+ };
768
+ const params = createInfiniteParams(queryKey, page);
769
+ return await listBuilds({
770
+ ...options,
771
+ ...params,
772
+ signal,
773
+ throwOnError: true
774
+ });
775
+ },
776
+ queryKey: listBuildsInfiniteQueryKey(options)
777
+ });
778
+ return opts;
779
+ };
780
+ /**
781
+ * List builds
782
+ *
783
+ * Returns builds, optionally filtered by project, pipeline, or status.
784
+ */
785
+ export const useListBuildsQuery = (options) => useQuery(listBuildsOptions(options));
786
+ export const getBuildQueryKey = (options) => createQueryKey('getBuild', options, false, ['Builds']);
787
+ /**
788
+ * Get build detail
789
+ */
790
+ export const getBuildOptions = (options) => queryOptions({
791
+ queryFn: async ({ queryKey, signal }) => await getBuild({
792
+ ...options,
793
+ ...queryKey[0],
794
+ signal,
795
+ throwOnError: true
796
+ }),
797
+ queryKey: getBuildQueryKey(options)
798
+ });
799
+ /**
800
+ * Get build detail
801
+ */
802
+ export const useGetBuildQuery = (options) => useQuery(getBuildOptions(options));
803
+ export const listArtifactsQueryKey = (options) => createQueryKey('listArtifacts', options, false, ['Artifacts']);
804
+ /**
805
+ * List build artifacts
806
+ */
807
+ export const listArtifactsOptions = (options) => queryOptions({
808
+ queryFn: async ({ queryKey, signal }) => await listArtifacts({
809
+ ...options,
810
+ ...queryKey[0],
811
+ signal,
812
+ throwOnError: true
813
+ }),
814
+ queryKey: listArtifactsQueryKey(options)
815
+ });
816
+ /**
817
+ * List build artifacts
818
+ */
819
+ export const useListArtifactsQuery = (options) => useQuery(listArtifactsOptions(options));
820
+ export const cancelBuildMutationKey = (options) => createMutationKey('cancelBuild', options, ['Builds']);
821
+ /**
822
+ * Cancel build
823
+ *
824
+ * Cancels a queued or running build.
825
+ */
826
+ export const cancelBuildMutation = (options) => {
827
+ const mutationOptions = {
828
+ mutationFn: async (fnOptions) => await cancelBuild({
829
+ ...options,
830
+ ...fnOptions,
831
+ throwOnError: true
832
+ }),
833
+ mutationKey: cancelBuildMutationKey(options)
834
+ };
835
+ return mutationOptions;
836
+ };
837
+ /**
838
+ * Cancel build
839
+ *
840
+ * Cancels a queued or running build.
841
+ */
842
+ export const useCancelBuildMutation = (mutationOptions) => useMutation({ ...cancelBuildMutation(), ...mutationOptions });
843
+ export const getBuildLogsQueryKey = (options) => createQueryKey('getBuildLogs', options, false, ['Build Logs']);
844
+ /**
845
+ * Get build logs
846
+ *
847
+ * Returns paginated historical build logs.
848
+ */
849
+ export const getBuildLogsOptions = (options) => queryOptions({
850
+ queryFn: async ({ queryKey, signal }) => await getBuildLogs({
851
+ ...options,
852
+ ...queryKey[0],
853
+ signal,
854
+ throwOnError: true
855
+ }),
856
+ queryKey: getBuildLogsQueryKey(options)
857
+ });
858
+ /**
859
+ * Get build logs
860
+ *
861
+ * Returns paginated historical build logs.
862
+ */
863
+ export const useGetBuildLogsQuery = (options) => useQuery(getBuildLogsOptions(options));
864
+ export const rerunBuildMutationKey = (options) => createMutationKey('rerunBuild', options, ['Builds']);
865
+ /**
866
+ * Re-run build
867
+ *
868
+ * Creates a new build cloning the original build's config_snapshot, branch, and commit_sha.
869
+ */
870
+ export const rerunBuildMutation = (options) => {
871
+ const mutationOptions = {
872
+ mutationFn: async (fnOptions) => await rerunBuild({
873
+ ...options,
874
+ ...fnOptions,
875
+ throwOnError: true
876
+ }),
877
+ mutationKey: rerunBuildMutationKey(options)
878
+ };
879
+ return mutationOptions;
880
+ };
881
+ /**
882
+ * Re-run build
883
+ *
884
+ * Creates a new build cloning the original build's config_snapshot, branch, and commit_sha.
885
+ */
886
+ export const useRerunBuildMutation = (mutationOptions) => useMutation({ ...rerunBuildMutation(), ...mutationOptions });
887
+ export const createStreamTokenMutationKey = (options) => createMutationKey('createStreamToken', options, ['Build Logs']);
888
+ /**
889
+ * Create stream token
890
+ *
891
+ * Exchanges a session token for a short-lived (5 min) streaming token
892
+ * suitable for use in SSE query parameters.
893
+ */
894
+ export const createStreamTokenMutation = (options) => {
895
+ const mutationOptions = {
896
+ mutationFn: async (fnOptions) => await createStreamToken({
897
+ ...options,
898
+ ...fnOptions,
899
+ throwOnError: true
900
+ }),
901
+ mutationKey: createStreamTokenMutationKey(options)
902
+ };
903
+ return mutationOptions;
904
+ };
905
+ /**
906
+ * Create stream token
907
+ *
908
+ * Exchanges a session token for a short-lived (5 min) streaming token
909
+ * suitable for use in SSE query parameters.
910
+ */
911
+ export const useCreateStreamTokenMutation = (mutationOptions) => useMutation({ ...createStreamTokenMutation(), ...mutationOptions });
912
+ export const frontendPairMutationKey = (options) => createMutationKey('frontendPair', options, ['Setup']);
913
+ /**
914
+ * Exchange a frontend pairing code
915
+ *
916
+ * Exchanges a short-lived, single-use code created by `oore frontend invite`
917
+ * for the backend trusted-proxy proof and configured identity header. This
918
+ * endpoint accepts requests only from configured trusted-proxy peer CIDRs.
919
+ */
920
+ export const frontendPairMutation = (options) => {
921
+ const mutationOptions = {
922
+ mutationFn: async (fnOptions) => await frontendPair({
923
+ ...options,
924
+ ...fnOptions,
925
+ throwOnError: true
926
+ }),
927
+ mutationKey: frontendPairMutationKey(options)
928
+ };
929
+ return mutationOptions;
930
+ };
931
+ /**
932
+ * Exchange a frontend pairing code
933
+ *
934
+ * Exchanges a short-lived, single-use code created by `oore frontend invite`
935
+ * for the backend trusted-proxy proof and configured identity header. This
936
+ * endpoint accepts requests only from configured trusted-proxy peer CIDRs.
937
+ */
938
+ export const useFrontendPairMutation = (mutationOptions) => useMutation({ ...frontendPairMutation(), ...mutationOptions });
939
+ export const listSourceRepositoriesQueryKey = (options) => createQueryKey('listSourceRepositories', options, false, ['Integrations']);
940
+ /**
941
+ * Search repositories across integrations
942
+ */
943
+ export const listSourceRepositoriesOptions = (options) => queryOptions({
944
+ queryFn: async ({ queryKey, signal }) => await listSourceRepositories({
945
+ ...options,
946
+ ...queryKey[0],
947
+ signal,
948
+ throwOnError: true
949
+ }),
950
+ queryKey: listSourceRepositoriesQueryKey(options)
951
+ });
952
+ export const listSourceRepositoriesInfiniteQueryKey = (options) => createQueryKey('listSourceRepositories', options, true);
953
+ /**
954
+ * Search repositories across integrations
955
+ */
956
+ export const listSourceRepositoriesInfiniteOptions = (options) => {
957
+ const opts = infiniteQueryOptions(
958
+ // @ts-ignore
959
+ {
960
+ queryFn: async ({ pageParam, queryKey, signal }) => {
961
+ // @ts-ignore
962
+ const page = typeof pageParam === 'object' ? pageParam : {
963
+ query: {
964
+ offset: pageParam
965
+ }
966
+ };
967
+ const params = createInfiniteParams(queryKey, page);
968
+ return await listSourceRepositories({
969
+ ...options,
970
+ ...params,
971
+ signal,
972
+ throwOnError: true
973
+ });
974
+ },
975
+ queryKey: listSourceRepositoriesInfiniteQueryKey(options)
976
+ });
977
+ return opts;
978
+ };
979
+ /**
980
+ * Search repositories across integrations
981
+ */
982
+ export const useListSourceRepositoriesQuery = (options) => useQuery(listSourceRepositoriesOptions(options));
983
+ export const repositoryAvatarQueryKey = (options) => createQueryKey('repositoryAvatar', options, false, ['Integrations']);
984
+ /**
985
+ * Fetch a private GitLab repository avatar through Oore
986
+ */
987
+ export const repositoryAvatarOptions = (options) => queryOptions({
988
+ queryFn: async ({ queryKey, signal }) => await repositoryAvatar({
989
+ ...options,
990
+ ...queryKey[0],
991
+ signal,
992
+ throwOnError: true
993
+ }),
994
+ queryKey: repositoryAvatarQueryKey(options)
995
+ });
996
+ /**
997
+ * Fetch a private GitLab repository avatar through Oore
998
+ */
999
+ export const useRepositoryAvatarQuery = (options) => useQuery(repositoryAvatarOptions(options));
1000
+ export const rotateGitlabRepositoryWebhookSecretMutationKey = (options) => createMutationKey('rotateGitlabRepositoryWebhookSecret', options, ['Integrations']);
1001
+ /**
1002
+ * Generate or rotate a repository-scoped GitLab webhook token
1003
+ */
1004
+ export const rotateGitlabRepositoryWebhookSecretMutation = (options) => {
1005
+ const mutationOptions = {
1006
+ mutationFn: async (fnOptions) => await rotateGitlabRepositoryWebhookSecret({
1007
+ ...options,
1008
+ ...fnOptions,
1009
+ throwOnError: true
1010
+ }),
1011
+ mutationKey: rotateGitlabRepositoryWebhookSecretMutationKey(options)
1012
+ };
1013
+ return mutationOptions;
1014
+ };
1015
+ /**
1016
+ * Generate or rotate a repository-scoped GitLab webhook token
1017
+ */
1018
+ export const useRotateGitlabRepositoryWebhookSecretMutation = (mutationOptions) => useMutation({ ...rotateGitlabRepositoryWebhookSecretMutation(), ...mutationOptions });
1019
+ export const listIntegrationsQueryKey = (options) => createQueryKey('listIntegrations', options, false, ['Integrations']);
1020
+ /**
1021
+ * List integrations
1022
+ *
1023
+ * Returns all SCM integrations, optionally filtered by provider.
1024
+ */
1025
+ export const listIntegrationsOptions = (options) => queryOptions({
1026
+ queryFn: async ({ queryKey, signal }) => await listIntegrations({
1027
+ ...options,
1028
+ ...queryKey[0],
1029
+ signal,
1030
+ throwOnError: true
1031
+ }),
1032
+ queryKey: listIntegrationsQueryKey(options)
1033
+ });
1034
+ export const listIntegrationsInfiniteQueryKey = (options) => createQueryKey('listIntegrations', options, true);
1035
+ /**
1036
+ * List integrations
1037
+ *
1038
+ * Returns all SCM integrations, optionally filtered by provider.
1039
+ */
1040
+ export const listIntegrationsInfiniteOptions = (options) => {
1041
+ const opts = infiniteQueryOptions(
1042
+ // @ts-ignore
1043
+ {
1044
+ queryFn: async ({ pageParam, queryKey, signal }) => {
1045
+ // @ts-ignore
1046
+ const page = typeof pageParam === 'object' ? pageParam : {
1047
+ query: {
1048
+ offset: pageParam
1049
+ }
1050
+ };
1051
+ const params = createInfiniteParams(queryKey, page);
1052
+ return await listIntegrations({
1053
+ ...options,
1054
+ ...params,
1055
+ signal,
1056
+ throwOnError: true
1057
+ });
1058
+ },
1059
+ queryKey: listIntegrationsInfiniteQueryKey(options)
1060
+ });
1061
+ return opts;
1062
+ };
1063
+ /**
1064
+ * List integrations
1065
+ *
1066
+ * Returns all SCM integrations, optionally filtered by provider.
1067
+ */
1068
+ export const useListIntegrationsQuery = (options) => useQuery(listIntegrationsOptions(options));
1069
+ export const githubCallbackQueryKey = (options) => createQueryKey('githubCallback', options, false, ['Integrations']);
1070
+ /**
1071
+ * Complete the GitHub App manifest callback
1072
+ *
1073
+ * Exchanges GitHub's manifest code, stores the integration, and redirects
1074
+ * the browser. Callback errors are rendered as HTML.
1075
+ */
1076
+ export const githubCallbackOptions = (options) => queryOptions({
1077
+ queryFn: async ({ queryKey, signal }) => await githubCallback({
1078
+ ...options,
1079
+ ...queryKey[0],
1080
+ signal,
1081
+ throwOnError: true
1082
+ }),
1083
+ queryKey: githubCallbackQueryKey(options)
1084
+ });
1085
+ /**
1086
+ * Complete the GitHub App manifest callback
1087
+ *
1088
+ * Exchanges GitHub's manifest code, stores the integration, and redirects
1089
+ * the browser. Callback errors are rendered as HTML.
1090
+ */
1091
+ export const useGithubCallbackQuery = (options) => useQuery(githubCallbackOptions(options));
1092
+ export const githubCompleteMutationKey = (options) => createMutationKey('githubComplete', options, ['Integrations']);
1093
+ /**
1094
+ * Complete GitHub App creation
1095
+ *
1096
+ * Finalises the GitHub App manifest flow after the redirect back from GitHub.
1097
+ */
1098
+ export const githubCompleteMutation = (options) => {
1099
+ const mutationOptions = {
1100
+ mutationFn: async (fnOptions) => await githubComplete({
1101
+ ...options,
1102
+ ...fnOptions,
1103
+ throwOnError: true
1104
+ }),
1105
+ mutationKey: githubCompleteMutationKey(options)
1106
+ };
1107
+ return mutationOptions;
1108
+ };
1109
+ /**
1110
+ * Complete GitHub App creation
1111
+ *
1112
+ * Finalises the GitHub App manifest flow after the redirect back from GitHub.
1113
+ */
1114
+ export const useGithubCompleteMutation = (mutationOptions) => useMutation({ ...githubCompleteMutation(), ...mutationOptions });
1115
+ export const githubCreatePageQueryKey = (options) => createQueryKey('githubCreatePage', options, false, ['Integrations']);
1116
+ /**
1117
+ * Open the GitHub App manifest flow
1118
+ *
1119
+ * Serves the browser form that creates a GitHub App. The sealed `state`
1120
+ * query value authenticates the flow; no session bearer token is used.
1121
+ */
1122
+ export const githubCreatePageOptions = (options) => queryOptions({
1123
+ queryFn: async ({ queryKey, signal }) => await githubCreatePage({
1124
+ ...options,
1125
+ ...queryKey[0],
1126
+ signal,
1127
+ throwOnError: true
1128
+ }),
1129
+ queryKey: githubCreatePageQueryKey(options)
1130
+ });
1131
+ /**
1132
+ * Open the GitHub App manifest flow
1133
+ *
1134
+ * Serves the browser form that creates a GitHub App. The sealed `state`
1135
+ * query value authenticates the flow; no session bearer token is used.
1136
+ */
1137
+ export const useGithubCreatePageQuery = (options) => useQuery(githubCreatePageOptions(options));
1138
+ export const githubInstalledQueryKey = (options) => createQueryKey('githubInstalled', options, false, ['Integrations']);
1139
+ /**
1140
+ * Complete the GitHub App installation callback
1141
+ *
1142
+ * Consumes the optional sealed install-state cookie, synchronizes the
1143
+ * installation when authorized, and serves a browser redirect page.
1144
+ */
1145
+ export const githubInstalledOptions = (options) => queryOptions({
1146
+ queryFn: async ({ queryKey, signal }) => await githubInstalled({
1147
+ ...options,
1148
+ ...queryKey[0],
1149
+ signal,
1150
+ throwOnError: true
1151
+ }),
1152
+ queryKey: githubInstalledQueryKey(options)
1153
+ });
1154
+ /**
1155
+ * Complete the GitHub App installation callback
1156
+ *
1157
+ * Consumes the optional sealed install-state cookie, synchronizes the
1158
+ * installation when authorized, and serves a browser redirect page.
1159
+ */
1160
+ export const useGithubInstalledQuery = (options) => useQuery(githubInstalledOptions(options));
1161
+ export const githubStartMutationKey = (options) => createMutationKey('githubStart', options, ['Integrations']);
1162
+ /**
1163
+ * Start GitHub App creation
1164
+ *
1165
+ * Returns a URL to navigate the browser to for GitHub App manifest creation.
1166
+ */
1167
+ export const githubStartMutation = (options) => {
1168
+ const mutationOptions = {
1169
+ mutationFn: async (fnOptions) => await githubStart({
1170
+ ...options,
1171
+ ...fnOptions,
1172
+ throwOnError: true
1173
+ }),
1174
+ mutationKey: githubStartMutationKey(options)
1175
+ };
1176
+ return mutationOptions;
1177
+ };
1178
+ /**
1179
+ * Start GitHub App creation
1180
+ *
1181
+ * Returns a URL to navigate the browser to for GitHub App manifest creation.
1182
+ */
1183
+ export const useGithubStartMutation = (mutationOptions) => useMutation({ ...githubStartMutation(), ...mutationOptions });
1184
+ export const gitlabAuthorizeMutationKey = (options) => createMutationKey('gitlabAuthorize', options, ['Integrations']);
1185
+ /**
1186
+ * Get GitLab OAuth authorization URL
1187
+ */
1188
+ export const gitlabAuthorizeMutation = (options) => {
1189
+ const mutationOptions = {
1190
+ mutationFn: async (fnOptions) => await gitlabAuthorize({
1191
+ ...options,
1192
+ ...fnOptions,
1193
+ throwOnError: true
1194
+ }),
1195
+ mutationKey: gitlabAuthorizeMutationKey(options)
1196
+ };
1197
+ return mutationOptions;
1198
+ };
1199
+ /**
1200
+ * Get GitLab OAuth authorization URL
1201
+ */
1202
+ export const useGitlabAuthorizeMutation = (mutationOptions) => useMutation({ ...gitlabAuthorizeMutation(), ...mutationOptions });
1203
+ export const gitlabCallbackQueryKey = (options) => createQueryKey('gitlabCallback', options, false, ['Integrations']);
1204
+ /**
1205
+ * Complete the GitLab OAuth callback
1206
+ *
1207
+ * Exchanges GitLab's authorization code and redirects the browser.
1208
+ * Callback errors are rendered as HTML.
1209
+ */
1210
+ export const gitlabCallbackOptions = (options) => queryOptions({
1211
+ queryFn: async ({ queryKey, signal }) => await gitlabCallback({
1212
+ ...options,
1213
+ ...queryKey[0],
1214
+ signal,
1215
+ throwOnError: true
1216
+ }),
1217
+ queryKey: gitlabCallbackQueryKey(options)
1218
+ });
1219
+ /**
1220
+ * Complete the GitLab OAuth callback
1221
+ *
1222
+ * Exchanges GitLab's authorization code and redirects the browser.
1223
+ * Callback errors are rendered as HTML.
1224
+ */
1225
+ export const useGitlabCallbackQuery = (options) => useQuery(gitlabCallbackOptions(options));
1226
+ export const gitlabStartMutationKey = (options) => createMutationKey('gitlabStart', options, ['Integrations']);
1227
+ /**
1228
+ * Start GitLab integration
1229
+ *
1230
+ * Creates a GitLab integration with OAuth or personal token auth.
1231
+ */
1232
+ export const gitlabStartMutation = (options) => {
1233
+ const mutationOptions = {
1234
+ mutationFn: async (fnOptions) => await gitlabStart({
1235
+ ...options,
1236
+ ...fnOptions,
1237
+ throwOnError: true
1238
+ }),
1239
+ mutationKey: gitlabStartMutationKey(options)
1240
+ };
1241
+ return mutationOptions;
1242
+ };
1243
+ /**
1244
+ * Start GitLab integration
1245
+ *
1246
+ * Creates a GitLab integration with OAuth or personal token auth.
1247
+ */
1248
+ export const useGitlabStartMutation = (mutationOptions) => useMutation({ ...gitlabStartMutation(), ...mutationOptions });
1249
+ export const listLocalGitIntegrationsQueryKey = (options) => createQueryKey('listLocalGitIntegrations', options, false, ['Integrations']);
1250
+ /**
1251
+ * List local git integrations
1252
+ */
1253
+ export const listLocalGitIntegrationsOptions = (options) => queryOptions({
1254
+ queryFn: async ({ queryKey, signal }) => await listLocalGitIntegrations({
1255
+ ...options,
1256
+ ...queryKey[0],
1257
+ signal,
1258
+ throwOnError: true
1259
+ }),
1260
+ queryKey: listLocalGitIntegrationsQueryKey(options)
1261
+ });
1262
+ /**
1263
+ * List local git integrations
1264
+ */
1265
+ export const useListLocalGitIntegrationsQuery = (options) => useQuery(listLocalGitIntegrationsOptions(options));
1266
+ export const createLocalGitIntegrationMutationKey = (options) => createMutationKey('createLocalGitIntegration', options, ['Integrations']);
1267
+ /**
1268
+ * Create local git integration
1269
+ */
1270
+ export const createLocalGitIntegrationMutation = (options) => {
1271
+ const mutationOptions = {
1272
+ mutationFn: async (fnOptions) => await createLocalGitIntegration({
1273
+ ...options,
1274
+ ...fnOptions,
1275
+ throwOnError: true
1276
+ }),
1277
+ mutationKey: createLocalGitIntegrationMutationKey(options)
1278
+ };
1279
+ return mutationOptions;
1280
+ };
1281
+ /**
1282
+ * Create local git integration
1283
+ */
1284
+ export const useCreateLocalGitIntegrationMutation = (mutationOptions) => useMutation({ ...createLocalGitIntegrationMutation(), ...mutationOptions });
1285
+ export const browseLocalGitDirectoriesQueryKey = (options) => createQueryKey('browseLocalGitDirectories', options, false, ['Integrations']);
1286
+ /**
1287
+ * Browse local directories for local repository registration
1288
+ */
1289
+ export const browseLocalGitDirectoriesOptions = (options) => queryOptions({
1290
+ queryFn: async ({ queryKey, signal }) => await browseLocalGitDirectories({
1291
+ ...options,
1292
+ ...queryKey[0],
1293
+ signal,
1294
+ throwOnError: true
1295
+ }),
1296
+ queryKey: browseLocalGitDirectoriesQueryKey(options)
1297
+ });
1298
+ /**
1299
+ * Browse local directories for local repository registration
1300
+ */
1301
+ export const useBrowseLocalGitDirectoriesQuery = (options) => useQuery(browseLocalGitDirectoriesOptions(options));
1302
+ export const deleteLocalGitIntegrationMutationKey = (options) => createMutationKey('deleteLocalGitIntegration', options, ['Integrations']);
1303
+ /**
1304
+ * Delete local git integration
1305
+ */
1306
+ export const deleteLocalGitIntegrationMutation = (options) => {
1307
+ const mutationOptions = {
1308
+ mutationFn: async (fnOptions) => await deleteLocalGitIntegration({
1309
+ ...options,
1310
+ ...fnOptions,
1311
+ throwOnError: true
1312
+ }),
1313
+ mutationKey: deleteLocalGitIntegrationMutationKey(options)
1314
+ };
1315
+ return mutationOptions;
1316
+ };
1317
+ /**
1318
+ * Delete local git integration
1319
+ */
1320
+ export const useDeleteLocalGitIntegrationMutation = (mutationOptions) => useMutation({ ...deleteLocalGitIntegrationMutation(), ...mutationOptions });
1321
+ export const deleteIntegrationMutationKey = (options) => createMutationKey('deleteIntegration', options, ['Integrations']);
1322
+ /**
1323
+ * Delete integration
1324
+ */
1325
+ export const deleteIntegrationMutation = (options) => {
1326
+ const mutationOptions = {
1327
+ mutationFn: async (fnOptions) => await deleteIntegration({
1328
+ ...options,
1329
+ ...fnOptions,
1330
+ throwOnError: true
1331
+ }),
1332
+ mutationKey: deleteIntegrationMutationKey(options)
1333
+ };
1334
+ return mutationOptions;
1335
+ };
1336
+ /**
1337
+ * Delete integration
1338
+ */
1339
+ export const useDeleteIntegrationMutation = (mutationOptions) => useMutation({ ...deleteIntegrationMutation(), ...mutationOptions });
1340
+ export const getIntegrationQueryKey = (options) => createQueryKey('getIntegration', options, false, ['Integrations']);
1341
+ /**
1342
+ * Get integration detail
1343
+ */
1344
+ export const getIntegrationOptions = (options) => queryOptions({
1345
+ queryFn: async ({ queryKey, signal }) => await getIntegration({
1346
+ ...options,
1347
+ ...queryKey[0],
1348
+ signal,
1349
+ throwOnError: true
1350
+ }),
1351
+ queryKey: getIntegrationQueryKey(options)
1352
+ });
1353
+ /**
1354
+ * Get integration detail
1355
+ */
1356
+ export const useGetIntegrationQuery = (options) => useQuery(getIntegrationOptions(options));
1357
+ export const replaceGitlabPersonalTokenMutationKey = (options) => createMutationKey('replaceGitlabPersonalToken', options, ['Integrations']);
1358
+ /**
1359
+ * Replace a saved GitLab personal access token
1360
+ */
1361
+ export const replaceGitlabPersonalTokenMutation = (options) => {
1362
+ const mutationOptions = {
1363
+ mutationFn: async (fnOptions) => await replaceGitlabPersonalToken({
1364
+ ...options,
1365
+ ...fnOptions,
1366
+ throwOnError: true
1367
+ }),
1368
+ mutationKey: replaceGitlabPersonalTokenMutationKey(options)
1369
+ };
1370
+ return mutationOptions;
1371
+ };
1372
+ /**
1373
+ * Replace a saved GitLab personal access token
1374
+ */
1375
+ export const useReplaceGitlabPersonalTokenMutation = (mutationOptions) => useMutation({ ...replaceGitlabPersonalTokenMutation(), ...mutationOptions });
1376
+ export const checkGitlabPersonalTokenMutationKey = (options) => createMutationKey('checkGitlabPersonalToken', options, ['Integrations']);
1377
+ /**
1378
+ * Check a saved GitLab personal access token
1379
+ */
1380
+ export const checkGitlabPersonalTokenMutation = (options) => {
1381
+ const mutationOptions = {
1382
+ mutationFn: async (fnOptions) => await checkGitlabPersonalToken({
1383
+ ...options,
1384
+ ...fnOptions,
1385
+ throwOnError: true
1386
+ }),
1387
+ mutationKey: checkGitlabPersonalTokenMutationKey(options)
1388
+ };
1389
+ return mutationOptions;
1390
+ };
1391
+ /**
1392
+ * Check a saved GitLab personal access token
1393
+ */
1394
+ export const useCheckGitlabPersonalTokenMutation = (mutationOptions) => useMutation({ ...checkGitlabPersonalTokenMutation(), ...mutationOptions });
1395
+ export const listInstallationsQueryKey = (options) => createQueryKey('listInstallations', options, false, ['Integrations']);
1396
+ /**
1397
+ * List integration installations
1398
+ */
1399
+ export const listInstallationsOptions = (options) => queryOptions({
1400
+ queryFn: async ({ queryKey, signal }) => await listInstallations({
1401
+ ...options,
1402
+ ...queryKey[0],
1403
+ signal,
1404
+ throwOnError: true
1405
+ }),
1406
+ queryKey: listInstallationsQueryKey(options)
1407
+ });
1408
+ /**
1409
+ * List integration installations
1410
+ */
1411
+ export const useListInstallationsQuery = (options) => useQuery(listInstallationsOptions(options));
1412
+ export const syncInstallationsMutationKey = (options) => createMutationKey('syncInstallations', options, ['Integrations']);
1413
+ /**
1414
+ * Sync integration installations
1415
+ *
1416
+ * - **GitHub**: Fetches GitHub App installations and syncs their repositories.
1417
+ * - **GitLab**: Refreshes accessible projects for linked accounts and syncs them as repositories.
1418
+ */
1419
+ export const syncInstallationsMutation = (options) => {
1420
+ const mutationOptions = {
1421
+ mutationFn: async (fnOptions) => await syncInstallations({
1422
+ ...options,
1423
+ ...fnOptions,
1424
+ throwOnError: true
1425
+ }),
1426
+ mutationKey: syncInstallationsMutationKey(options)
1427
+ };
1428
+ return mutationOptions;
1429
+ };
1430
+ /**
1431
+ * Sync integration installations
1432
+ *
1433
+ * - **GitHub**: Fetches GitHub App installations and syncs their repositories.
1434
+ * - **GitLab**: Refreshes accessible projects for linked accounts and syncs them as repositories.
1435
+ */
1436
+ export const useSyncInstallationsMutation = (mutationOptions) => useMutation({ ...syncInstallationsMutation(), ...mutationOptions });
1437
+ export const listRepositoriesQueryKey = (options) => createQueryKey('listRepositories', options, false, ['Integrations']);
1438
+ /**
1439
+ * List integration repositories
1440
+ */
1441
+ export const listRepositoriesOptions = (options) => queryOptions({
1442
+ queryFn: async ({ queryKey, signal }) => await listRepositories({
1443
+ ...options,
1444
+ ...queryKey[0],
1445
+ signal,
1446
+ throwOnError: true
1447
+ }),
1448
+ queryKey: listRepositoriesQueryKey(options)
1449
+ });
1450
+ export const listRepositoriesInfiniteQueryKey = (options) => createQueryKey('listRepositories', options, true);
1451
+ /**
1452
+ * List integration repositories
1453
+ */
1454
+ export const listRepositoriesInfiniteOptions = (options) => {
1455
+ const opts = infiniteQueryOptions(
1456
+ // @ts-ignore
1457
+ {
1458
+ queryFn: async ({ pageParam, queryKey, signal }) => {
1459
+ // @ts-ignore
1460
+ const page = typeof pageParam === 'object' ? pageParam : {
1461
+ query: {
1462
+ offset: pageParam
1463
+ }
1464
+ };
1465
+ const params = createInfiniteParams(queryKey, page);
1466
+ return await listRepositories({
1467
+ ...options,
1468
+ ...params,
1469
+ signal,
1470
+ throwOnError: true
1471
+ });
1472
+ },
1473
+ queryKey: listRepositoriesInfiniteQueryKey(options)
1474
+ });
1475
+ return opts;
1476
+ };
1477
+ /**
1478
+ * List integration repositories
1479
+ */
1480
+ export const useListRepositoriesQuery = (options) => useQuery(listRepositoriesOptions(options));
1481
+ export const listOperatorIncidentsQueryKey = (options) => createQueryKey('listOperatorIncidents', options, false, ['Integrations']);
1482
+ /**
1483
+ * List durable operator incidents for the current source manager
1484
+ */
1485
+ export const listOperatorIncidentsOptions = (options) => queryOptions({
1486
+ queryFn: async ({ queryKey, signal }) => await listOperatorIncidents({
1487
+ ...options,
1488
+ ...queryKey[0],
1489
+ signal,
1490
+ throwOnError: true
1491
+ }),
1492
+ queryKey: listOperatorIncidentsQueryKey(options)
1493
+ });
1494
+ /**
1495
+ * List durable operator incidents for the current source manager
1496
+ */
1497
+ export const useListOperatorIncidentsQuery = (options) => useQuery(listOperatorIncidentsOptions(options));
1498
+ export const markOperatorIncidentReadMutationKey = (options) => createMutationKey('markOperatorIncidentRead', options, ['Integrations']);
1499
+ /**
1500
+ * Mark one targeted operator incident notification as read
1501
+ */
1502
+ export const markOperatorIncidentReadMutation = (options) => {
1503
+ const mutationOptions = {
1504
+ mutationFn: async (fnOptions) => await markOperatorIncidentRead({
1505
+ ...options,
1506
+ ...fnOptions,
1507
+ throwOnError: true
1508
+ }),
1509
+ mutationKey: markOperatorIncidentReadMutationKey(options)
1510
+ };
1511
+ return mutationOptions;
1512
+ };
1513
+ /**
1514
+ * Mark one targeted operator incident notification as read
1515
+ */
1516
+ export const useMarkOperatorIncidentReadMutation = (mutationOptions) => useMutation({ ...markOperatorIncidentReadMutation(), ...mutationOptions });
1517
+ export const validatePipelineMutationKey = (options) => createMutationKey('validatePipeline', options, ['Pipelines']);
1518
+ /**
1519
+ * Validate pipeline config
1520
+ *
1521
+ * Validates a pipeline configuration without persisting it.
1522
+ */
1523
+ export const validatePipelineMutation = (options) => {
1524
+ const mutationOptions = {
1525
+ mutationFn: async (fnOptions) => await validatePipeline({
1526
+ ...options,
1527
+ ...fnOptions,
1528
+ throwOnError: true
1529
+ }),
1530
+ mutationKey: validatePipelineMutationKey(options)
1531
+ };
1532
+ return mutationOptions;
1533
+ };
1534
+ /**
1535
+ * Validate pipeline config
1536
+ *
1537
+ * Validates a pipeline configuration without persisting it.
1538
+ */
1539
+ export const useValidatePipelineMutation = (mutationOptions) => useMutation({ ...validatePipelineMutation(), ...mutationOptions });
1540
+ export const deletePipelineMutationKey = (options) => createMutationKey('deletePipeline', options, ['Pipelines']);
1541
+ /**
1542
+ * Delete pipeline
1543
+ */
1544
+ export const deletePipelineMutation = (options) => {
1545
+ const mutationOptions = {
1546
+ mutationFn: async (fnOptions) => await deletePipeline({
1547
+ ...options,
1548
+ ...fnOptions,
1549
+ throwOnError: true
1550
+ }),
1551
+ mutationKey: deletePipelineMutationKey(options)
1552
+ };
1553
+ return mutationOptions;
1554
+ };
1555
+ /**
1556
+ * Delete pipeline
1557
+ */
1558
+ export const useDeletePipelineMutation = (mutationOptions) => useMutation({ ...deletePipelineMutation(), ...mutationOptions });
1559
+ export const getPipelineQueryKey = (options) => createQueryKey('getPipeline', options, false, ['Pipelines']);
1560
+ /**
1561
+ * Get pipeline detail
1562
+ */
1563
+ export const getPipelineOptions = (options) => queryOptions({
1564
+ queryFn: async ({ queryKey, signal }) => await getPipeline({
1565
+ ...options,
1566
+ ...queryKey[0],
1567
+ signal,
1568
+ throwOnError: true
1569
+ }),
1570
+ queryKey: getPipelineQueryKey(options)
1571
+ });
1572
+ /**
1573
+ * Get pipeline detail
1574
+ */
1575
+ export const useGetPipelineQuery = (options) => useQuery(getPipelineOptions(options));
1576
+ export const updatePipelineMutationKey = (options) => createMutationKey('updatePipeline', options, ['Pipelines']);
1577
+ /**
1578
+ * Update pipeline
1579
+ */
1580
+ export const updatePipelineMutation = (options) => {
1581
+ const mutationOptions = {
1582
+ mutationFn: async (fnOptions) => await updatePipeline({
1583
+ ...options,
1584
+ ...fnOptions,
1585
+ throwOnError: true
1586
+ }),
1587
+ mutationKey: updatePipelineMutationKey(options)
1588
+ };
1589
+ return mutationOptions;
1590
+ };
1591
+ /**
1592
+ * Update pipeline
1593
+ */
1594
+ export const useUpdatePipelineMutation = (mutationOptions) => useMutation({ ...updatePipelineMutation(), ...mutationOptions });
1595
+ export const getPipelineAndroidSigningQueryKey = (options) => createQueryKey('getPipelineAndroidSigning', options, false, ['Pipeline Signing']);
1596
+ /**
1597
+ * Get Android signing config
1598
+ */
1599
+ export const getPipelineAndroidSigningOptions = (options) => queryOptions({
1600
+ queryFn: async ({ queryKey, signal }) => await getPipelineAndroidSigning({
1601
+ ...options,
1602
+ ...queryKey[0],
1603
+ signal,
1604
+ throwOnError: true
1605
+ }),
1606
+ queryKey: getPipelineAndroidSigningQueryKey(options)
1607
+ });
1608
+ /**
1609
+ * Get Android signing config
1610
+ */
1611
+ export const useGetPipelineAndroidSigningQuery = (options) => useQuery(getPipelineAndroidSigningOptions(options));
1612
+ export const updatePipelineAndroidSigningMutationKey = (options) => createMutationKey('updatePipelineAndroidSigning', options, ['Pipeline Signing']);
1613
+ /**
1614
+ * Update Android signing config
1615
+ *
1616
+ * Upload keystores and configure debug/release signing profiles.
1617
+ */
1618
+ export const updatePipelineAndroidSigningMutation = (options) => {
1619
+ const mutationOptions = {
1620
+ mutationFn: async (fnOptions) => await updatePipelineAndroidSigning({
1621
+ ...options,
1622
+ ...fnOptions,
1623
+ throwOnError: true
1624
+ }),
1625
+ mutationKey: updatePipelineAndroidSigningMutationKey(options)
1626
+ };
1627
+ return mutationOptions;
1628
+ };
1629
+ /**
1630
+ * Update Android signing config
1631
+ *
1632
+ * Upload keystores and configure debug/release signing profiles.
1633
+ */
1634
+ export const useUpdatePipelineAndroidSigningMutation = (mutationOptions) => useMutation({ ...updatePipelineAndroidSigningMutation(), ...mutationOptions });
1635
+ export const getPipelineIosSigningQueryKey = (options) => createQueryKey('getPipelineIosSigning', options, false, ['Pipeline Signing']);
1636
+ /**
1637
+ * Get iOS signing config
1638
+ */
1639
+ export const getPipelineIosSigningOptions = (options) => queryOptions({
1640
+ queryFn: async ({ queryKey, signal }) => await getPipelineIosSigning({
1641
+ ...options,
1642
+ ...queryKey[0],
1643
+ signal,
1644
+ throwOnError: true
1645
+ }),
1646
+ queryKey: getPipelineIosSigningQueryKey(options)
1647
+ });
1648
+ /**
1649
+ * Get iOS signing config
1650
+ */
1651
+ export const useGetPipelineIosSigningQuery = (options) => useQuery(getPipelineIosSigningOptions(options));
1652
+ export const updatePipelineIosSigningMutationKey = (options) => createMutationKey('updatePipelineIosSigning', options, ['Pipeline Signing']);
1653
+ /**
1654
+ * Update iOS signing config
1655
+ *
1656
+ * Upload certificates, provisioning profiles, and API credentials.
1657
+ * Request body limit: 10 MiB.
1658
+ */
1659
+ export const updatePipelineIosSigningMutation = (options) => {
1660
+ const mutationOptions = {
1661
+ mutationFn: async (fnOptions) => await updatePipelineIosSigning({
1662
+ ...options,
1663
+ ...fnOptions,
1664
+ throwOnError: true
1665
+ }),
1666
+ mutationKey: updatePipelineIosSigningMutationKey(options)
1667
+ };
1668
+ return mutationOptions;
1669
+ };
1670
+ /**
1671
+ * Update iOS signing config
1672
+ *
1673
+ * Upload certificates, provisioning profiles, and API credentials.
1674
+ * Request body limit: 10 MiB.
1675
+ */
1676
+ export const useUpdatePipelineIosSigningMutation = (mutationOptions) => useMutation({ ...updatePipelineIosSigningMutation(), ...mutationOptions });
1677
+ export const listPipelineIosDevicesQueryKey = (options) => createQueryKey('listPipelineIosDevices', options, false, ['Pipeline Signing']);
1678
+ /**
1679
+ * List registered iOS devices
1680
+ */
1681
+ export const listPipelineIosDevicesOptions = (options) => queryOptions({
1682
+ queryFn: async ({ queryKey, signal }) => await listPipelineIosDevices({
1683
+ ...options,
1684
+ ...queryKey[0],
1685
+ signal,
1686
+ throwOnError: true
1687
+ }),
1688
+ queryKey: listPipelineIosDevicesQueryKey(options)
1689
+ });
1690
+ /**
1691
+ * List registered iOS devices
1692
+ */
1693
+ export const useListPipelineIosDevicesQuery = (options) => useQuery(listPipelineIosDevicesOptions(options));
1694
+ export const registerPipelineIosDeviceMutationKey = (options) => createMutationKey('registerPipelineIosDevice', options, ['Pipeline Signing']);
1695
+ /**
1696
+ * Register iOS test device
1697
+ *
1698
+ * Registers a device UDID and optionally triggers a provisioning profile sync.
1699
+ */
1700
+ export const registerPipelineIosDeviceMutation = (options) => {
1701
+ const mutationOptions = {
1702
+ mutationFn: async (fnOptions) => await registerPipelineIosDevice({
1703
+ ...options,
1704
+ ...fnOptions,
1705
+ throwOnError: true
1706
+ }),
1707
+ mutationKey: registerPipelineIosDeviceMutationKey(options)
1708
+ };
1709
+ return mutationOptions;
1710
+ };
1711
+ /**
1712
+ * Register iOS test device
1713
+ *
1714
+ * Registers a device UDID and optionally triggers a provisioning profile sync.
1715
+ */
1716
+ export const useRegisterPipelineIosDeviceMutation = (mutationOptions) => useMutation({ ...registerPipelineIosDeviceMutation(), ...mutationOptions });
1717
+ export const syncPipelineIosSigningMutationKey = (options) => createMutationKey('syncPipelineIosSigning', options, ['Pipeline Signing']);
1718
+ /**
1719
+ * Sync iOS provisioning profiles
1720
+ *
1721
+ * Re-downloads provisioning profiles from Apple via App Store Connect API.
1722
+ */
1723
+ export const syncPipelineIosSigningMutation = (options) => {
1724
+ const mutationOptions = {
1725
+ mutationFn: async (fnOptions) => await syncPipelineIosSigning({
1726
+ ...options,
1727
+ ...fnOptions,
1728
+ throwOnError: true
1729
+ }),
1730
+ mutationKey: syncPipelineIosSigningMutationKey(options)
1731
+ };
1732
+ return mutationOptions;
1733
+ };
1734
+ /**
1735
+ * Sync iOS provisioning profiles
1736
+ *
1737
+ * Re-downloads provisioning profiles from Apple via App Store Connect API.
1738
+ */
1739
+ export const useSyncPipelineIosSigningMutation = (mutationOptions) => useMutation({ ...syncPipelineIosSigningMutation(), ...mutationOptions });
1740
+ export const listProjectsQueryKey = (options) => createQueryKey('listProjects', options, false, ['Projects']);
1741
+ /**
1742
+ * List projects
1743
+ */
1744
+ export const listProjectsOptions = (options) => queryOptions({
1745
+ queryFn: async ({ queryKey, signal }) => await listProjects({
1746
+ ...options,
1747
+ ...queryKey[0],
1748
+ signal,
1749
+ throwOnError: true
1750
+ }),
1751
+ queryKey: listProjectsQueryKey(options)
1752
+ });
1753
+ export const listProjectsInfiniteQueryKey = (options) => createQueryKey('listProjects', options, true);
1754
+ /**
1755
+ * List projects
1756
+ */
1757
+ export const listProjectsInfiniteOptions = (options) => {
1758
+ const opts = infiniteQueryOptions(
1759
+ // @ts-ignore
1760
+ {
1761
+ queryFn: async ({ pageParam, queryKey, signal }) => {
1762
+ // @ts-ignore
1763
+ const page = typeof pageParam === 'object' ? pageParam : {
1764
+ query: {
1765
+ offset: pageParam
1766
+ }
1767
+ };
1768
+ const params = createInfiniteParams(queryKey, page);
1769
+ return await listProjects({
1770
+ ...options,
1771
+ ...params,
1772
+ signal,
1773
+ throwOnError: true
1774
+ });
1775
+ },
1776
+ queryKey: listProjectsInfiniteQueryKey(options)
1777
+ });
1778
+ return opts;
1779
+ };
1780
+ /**
1781
+ * List projects
1782
+ */
1783
+ export const useListProjectsQuery = (options) => useQuery(listProjectsOptions(options));
1784
+ export const createProjectMutationKey = (options) => createMutationKey('createProject', options, ['Projects']);
1785
+ /**
1786
+ * Create project
1787
+ */
1788
+ export const createProjectMutation = (options) => {
1789
+ const mutationOptions = {
1790
+ mutationFn: async (fnOptions) => await createProject({
1791
+ ...options,
1792
+ ...fnOptions,
1793
+ throwOnError: true
1794
+ }),
1795
+ mutationKey: createProjectMutationKey(options)
1796
+ };
1797
+ return mutationOptions;
1798
+ };
1799
+ /**
1800
+ * Create project
1801
+ */
1802
+ export const useCreateProjectMutation = (mutationOptions) => useMutation({ ...createProjectMutation(), ...mutationOptions });
1803
+ export const deleteProjectMutationKey = (options) => createMutationKey('deleteProject', options, ['Projects']);
1804
+ /**
1805
+ * Delete project
1806
+ */
1807
+ export const deleteProjectMutation = (options) => {
1808
+ const mutationOptions = {
1809
+ mutationFn: async (fnOptions) => await deleteProject({
1810
+ ...options,
1811
+ ...fnOptions,
1812
+ throwOnError: true
1813
+ }),
1814
+ mutationKey: deleteProjectMutationKey(options)
1815
+ };
1816
+ return mutationOptions;
1817
+ };
1818
+ /**
1819
+ * Delete project
1820
+ */
1821
+ export const useDeleteProjectMutation = (mutationOptions) => useMutation({ ...deleteProjectMutation(), ...mutationOptions });
1822
+ export const getProjectQueryKey = (options) => createQueryKey('getProject', options, false, ['Projects']);
1823
+ /**
1824
+ * Get project detail
1825
+ */
1826
+ export const getProjectOptions = (options) => queryOptions({
1827
+ queryFn: async ({ queryKey, signal }) => await getProject({
1828
+ ...options,
1829
+ ...queryKey[0],
1830
+ signal,
1831
+ throwOnError: true
1832
+ }),
1833
+ queryKey: getProjectQueryKey(options)
1834
+ });
1835
+ /**
1836
+ * Get project detail
1837
+ */
1838
+ export const useGetProjectQuery = (options) => useQuery(getProjectOptions(options));
1839
+ export const updateProjectMutationKey = (options) => createMutationKey('updateProject', options, ['Projects']);
1840
+ /**
1841
+ * Update project
1842
+ */
1843
+ export const updateProjectMutation = (options) => {
1844
+ const mutationOptions = {
1845
+ mutationFn: async (fnOptions) => await updateProject({
1846
+ ...options,
1847
+ ...fnOptions,
1848
+ throwOnError: true
1849
+ }),
1850
+ mutationKey: updateProjectMutationKey(options)
1851
+ };
1852
+ return mutationOptions;
1853
+ };
1854
+ /**
1855
+ * Update project
1856
+ */
1857
+ export const useUpdateProjectMutation = (mutationOptions) => useMutation({ ...updateProjectMutation(), ...mutationOptions });
1858
+ export const listProjectArtifactsQueryKey = (options) => createQueryKey('listProjectArtifacts', options, false, ['Artifacts']);
1859
+ /**
1860
+ * List available artifacts across a project
1861
+ */
1862
+ export const listProjectArtifactsOptions = (options) => queryOptions({
1863
+ queryFn: async ({ queryKey, signal }) => await listProjectArtifacts({
1864
+ ...options,
1865
+ ...queryKey[0],
1866
+ signal,
1867
+ throwOnError: true
1868
+ }),
1869
+ queryKey: listProjectArtifactsQueryKey(options)
1870
+ });
1871
+ /**
1872
+ * List available artifacts across a project
1873
+ */
1874
+ export const useListProjectArtifactsQuery = (options) => useQuery(listProjectArtifactsOptions(options));
1875
+ export const createBuildMutationKey = (options) => createMutationKey('createBuild', options, ['Builds']);
1876
+ /**
1877
+ * Create build
1878
+ *
1879
+ * Queues a new build for the specified project.
1880
+ */
1881
+ export const createBuildMutation = (options) => {
1882
+ const mutationOptions = {
1883
+ mutationFn: async (fnOptions) => await createBuild({
1884
+ ...options,
1885
+ ...fnOptions,
1886
+ throwOnError: true
1887
+ }),
1888
+ mutationKey: createBuildMutationKey(options)
1889
+ };
1890
+ return mutationOptions;
1891
+ };
1892
+ /**
1893
+ * Create build
1894
+ *
1895
+ * Queues a new build for the specified project.
1896
+ */
1897
+ export const useCreateBuildMutation = (mutationOptions) => useMutation({ ...createBuildMutation(), ...mutationOptions });
1898
+ export const previewBuildChangelogQueryKey = (options) => createQueryKey('previewBuildChangelog', options, false, ['Builds']);
1899
+ /**
1900
+ * Preview a Markdown changelog for a manual build.
1901
+ */
1902
+ export const previewBuildChangelogOptions = (options) => queryOptions({
1903
+ queryFn: async ({ queryKey, signal }) => await previewBuildChangelog({
1904
+ ...options,
1905
+ ...queryKey[0],
1906
+ signal,
1907
+ throwOnError: true
1908
+ }),
1909
+ queryKey: previewBuildChangelogQueryKey(options)
1910
+ });
1911
+ /**
1912
+ * Preview a Markdown changelog for a manual build.
1913
+ */
1914
+ export const usePreviewBuildChangelogQuery = (options) => useQuery(previewBuildChangelogOptions(options));
1915
+ export const listProjectMembersQueryKey = (options) => createQueryKey('listProjectMembers', options, false, ['Project Members']);
1916
+ /**
1917
+ * List project members
1918
+ */
1919
+ export const listProjectMembersOptions = (options) => queryOptions({
1920
+ queryFn: async ({ queryKey, signal }) => await listProjectMembers({
1921
+ ...options,
1922
+ ...queryKey[0],
1923
+ signal,
1924
+ throwOnError: true
1925
+ }),
1926
+ queryKey: listProjectMembersQueryKey(options)
1927
+ });
1928
+ /**
1929
+ * List project members
1930
+ */
1931
+ export const useListProjectMembersQuery = (options) => useQuery(listProjectMembersOptions(options));
1932
+ export const addProjectMemberMutationKey = (options) => createMutationKey('addProjectMember', options, ['Project Members']);
1933
+ /**
1934
+ * Add a member to a project
1935
+ */
1936
+ export const addProjectMemberMutation = (options) => {
1937
+ const mutationOptions = {
1938
+ mutationFn: async (fnOptions) => await addProjectMember({
1939
+ ...options,
1940
+ ...fnOptions,
1941
+ throwOnError: true
1942
+ }),
1943
+ mutationKey: addProjectMemberMutationKey(options)
1944
+ };
1945
+ return mutationOptions;
1946
+ };
1947
+ /**
1948
+ * Add a member to a project
1949
+ */
1950
+ export const useAddProjectMemberMutation = (mutationOptions) => useMutation({ ...addProjectMemberMutation(), ...mutationOptions });
1951
+ export const listProjectMemberCandidatesQueryKey = (options) => createQueryKey('listProjectMemberCandidates', options, false, ['Project Members']);
1952
+ /**
1953
+ * List eligible project member candidates
1954
+ */
1955
+ export const listProjectMemberCandidatesOptions = (options) => queryOptions({
1956
+ queryFn: async ({ queryKey, signal }) => await listProjectMemberCandidates({
1957
+ ...options,
1958
+ ...queryKey[0],
1959
+ signal,
1960
+ throwOnError: true
1961
+ }),
1962
+ queryKey: listProjectMemberCandidatesQueryKey(options)
1963
+ });
1964
+ /**
1965
+ * List eligible project member candidates
1966
+ */
1967
+ export const useListProjectMemberCandidatesQuery = (options) => useQuery(listProjectMemberCandidatesOptions(options));
1968
+ export const removeProjectMemberMutationKey = (options) => createMutationKey('removeProjectMember', options, ['Project Members']);
1969
+ /**
1970
+ * Remove a member from a project
1971
+ */
1972
+ export const removeProjectMemberMutation = (options) => {
1973
+ const mutationOptions = {
1974
+ mutationFn: async (fnOptions) => await removeProjectMember({
1975
+ ...options,
1976
+ ...fnOptions,
1977
+ throwOnError: true
1978
+ }),
1979
+ mutationKey: removeProjectMemberMutationKey(options)
1980
+ };
1981
+ return mutationOptions;
1982
+ };
1983
+ /**
1984
+ * Remove a member from a project
1985
+ */
1986
+ export const useRemoveProjectMemberMutation = (mutationOptions) => useMutation({ ...removeProjectMemberMutation(), ...mutationOptions });
1987
+ export const updateProjectMemberMutationKey = (options) => createMutationKey('updateProjectMember', options, ['Project Members']);
1988
+ /**
1989
+ * Update a project member's role
1990
+ */
1991
+ export const updateProjectMemberMutation = (options) => {
1992
+ const mutationOptions = {
1993
+ mutationFn: async (fnOptions) => await updateProjectMember({
1994
+ ...options,
1995
+ ...fnOptions,
1996
+ throwOnError: true
1997
+ }),
1998
+ mutationKey: updateProjectMemberMutationKey(options)
1999
+ };
2000
+ return mutationOptions;
2001
+ };
2002
+ /**
2003
+ * Update a project member's role
2004
+ */
2005
+ export const useUpdateProjectMemberMutation = (mutationOptions) => useMutation({ ...updateProjectMemberMutation(), ...mutationOptions });
2006
+ export const listPipelinesQueryKey = (options) => createQueryKey('listPipelines', options, false, ['Pipelines']);
2007
+ /**
2008
+ * List pipelines
2009
+ */
2010
+ export const listPipelinesOptions = (options) => queryOptions({
2011
+ queryFn: async ({ queryKey, signal }) => await listPipelines({
2012
+ ...options,
2013
+ ...queryKey[0],
2014
+ signal,
2015
+ throwOnError: true
2016
+ }),
2017
+ queryKey: listPipelinesQueryKey(options)
2018
+ });
2019
+ export const listPipelinesInfiniteQueryKey = (options) => createQueryKey('listPipelines', options, true);
2020
+ /**
2021
+ * List pipelines
2022
+ */
2023
+ export const listPipelinesInfiniteOptions = (options) => {
2024
+ const opts = infiniteQueryOptions(
2025
+ // @ts-ignore
2026
+ {
2027
+ queryFn: async ({ pageParam, queryKey, signal }) => {
2028
+ // @ts-ignore
2029
+ const page = typeof pageParam === 'object' ? pageParam : {
2030
+ query: {
2031
+ offset: pageParam
2032
+ }
2033
+ };
2034
+ const params = createInfiniteParams(queryKey, page);
2035
+ return await listPipelines({
2036
+ ...options,
2037
+ ...params,
2038
+ signal,
2039
+ throwOnError: true
2040
+ });
2041
+ },
2042
+ queryKey: listPipelinesInfiniteQueryKey(options)
2043
+ });
2044
+ return opts;
2045
+ };
2046
+ /**
2047
+ * List pipelines
2048
+ */
2049
+ export const useListPipelinesQuery = (options) => useQuery(listPipelinesOptions(options));
2050
+ export const createPipelineMutationKey = (options) => createMutationKey('createPipeline', options, ['Pipelines']);
2051
+ /**
2052
+ * Create pipeline
2053
+ */
2054
+ export const createPipelineMutation = (options) => {
2055
+ const mutationOptions = {
2056
+ mutationFn: async (fnOptions) => await createPipeline({
2057
+ ...options,
2058
+ ...fnOptions,
2059
+ throwOnError: true
2060
+ }),
2061
+ mutationKey: createPipelineMutationKey(options)
2062
+ };
2063
+ return mutationOptions;
2064
+ };
2065
+ /**
2066
+ * Create pipeline
2067
+ */
2068
+ export const useCreatePipelineMutation = (mutationOptions) => useMutation({ ...createPipelineMutation(), ...mutationOptions });
2069
+ export const discoverRepositoryWorkflowsQueryKey = (options) => createQueryKey('discoverRepositoryWorkflows', options, false, ['Pipelines']);
2070
+ /**
2071
+ * Discover repository-owned workflows
2072
+ *
2073
+ * Reads supported Oore workflow files from the linked repository without
2074
+ * modifying it. The response contains validated behavior but never raw YAML,
2075
+ * environment values, or source credentials.
2076
+ */
2077
+ export const discoverRepositoryWorkflowsOptions = (options) => queryOptions({
2078
+ queryFn: async ({ queryKey, signal }) => await discoverRepositoryWorkflows({
2079
+ ...options,
2080
+ ...queryKey[0],
2081
+ signal,
2082
+ throwOnError: true
2083
+ }),
2084
+ queryKey: discoverRepositoryWorkflowsQueryKey(options)
2085
+ });
2086
+ /**
2087
+ * Discover repository-owned workflows
2088
+ *
2089
+ * Reads supported Oore workflow files from the linked repository without
2090
+ * modifying it. The response contains validated behavior but never raw YAML,
2091
+ * environment values, or source credentials.
2092
+ */
2093
+ export const useDiscoverRepositoryWorkflowsQuery = (options) => useQuery(discoverRepositoryWorkflowsOptions(options));
2094
+ export const deleteProjectRetentionMutationKey = (options) => createMutationKey('deleteProjectRetention', options, ['Retention Policy']);
2095
+ /**
2096
+ * Delete project retention override (revert to global)
2097
+ */
2098
+ export const deleteProjectRetentionMutation = (options) => {
2099
+ const mutationOptions = {
2100
+ mutationFn: async (fnOptions) => await deleteProjectRetention({
2101
+ ...options,
2102
+ ...fnOptions,
2103
+ throwOnError: true
2104
+ }),
2105
+ mutationKey: deleteProjectRetentionMutationKey(options)
2106
+ };
2107
+ return mutationOptions;
2108
+ };
2109
+ /**
2110
+ * Delete project retention override (revert to global)
2111
+ */
2112
+ export const useDeleteProjectRetentionMutation = (mutationOptions) => useMutation({ ...deleteProjectRetentionMutation(), ...mutationOptions });
2113
+ export const getProjectRetentionQueryKey = (options) => createQueryKey('getProjectRetention', options, false, ['Retention Policy']);
2114
+ /**
2115
+ * Get project retention (effective policy merged with overrides)
2116
+ */
2117
+ export const getProjectRetentionOptions = (options) => queryOptions({
2118
+ queryFn: async ({ queryKey, signal }) => await getProjectRetention({
2119
+ ...options,
2120
+ ...queryKey[0],
2121
+ signal,
2122
+ throwOnError: true
2123
+ }),
2124
+ queryKey: getProjectRetentionQueryKey(options)
2125
+ });
2126
+ /**
2127
+ * Get project retention (effective policy merged with overrides)
2128
+ */
2129
+ export const useGetProjectRetentionQuery = (options) => useQuery(getProjectRetentionOptions(options));
2130
+ export const updateProjectRetentionMutationKey = (options) => createMutationKey('updateProjectRetention', options, ['Retention Policy']);
2131
+ /**
2132
+ * Update project retention override
2133
+ */
2134
+ export const updateProjectRetentionMutation = (options) => {
2135
+ const mutationOptions = {
2136
+ mutationFn: async (fnOptions) => await updateProjectRetention({
2137
+ ...options,
2138
+ ...fnOptions,
2139
+ throwOnError: true
2140
+ }),
2141
+ mutationKey: updateProjectRetentionMutationKey(options)
2142
+ };
2143
+ return mutationOptions;
2144
+ };
2145
+ /**
2146
+ * Update project retention override
2147
+ */
2148
+ export const useUpdateProjectRetentionMutation = (mutationOptions) => useMutation({ ...updateProjectRetentionMutation(), ...mutationOptions });
2149
+ export const getSetupStatusQueryKey = (options) => createQueryKey('getSetupStatus', options, false, ['Setup']);
2150
+ /**
2151
+ * Get setup status
2152
+ *
2153
+ * Returns the current setup state and instance ID. This endpoint is
2154
+ * always public and contains no sensitive information.
2155
+ */
2156
+ export const getSetupStatusOptions = (options) => queryOptions({
2157
+ queryFn: async ({ queryKey, signal }) => await getSetupStatus({
2158
+ ...options,
2159
+ ...queryKey[0],
2160
+ signal,
2161
+ throwOnError: true
2162
+ }),
2163
+ queryKey: getSetupStatusQueryKey(options)
2164
+ });
2165
+ /**
2166
+ * Get setup status
2167
+ *
2168
+ * Returns the current setup state and instance ID. This endpoint is
2169
+ * always public and contains no sensitive information.
2170
+ */
2171
+ export const useGetSetupStatusQuery = (options) => useQuery(getSetupStatusOptions(options));
2172
+ export const listRunnersQueryKey = (options) => createQueryKey('listRunners', options, false, ['Runners']);
2173
+ /**
2174
+ * List runners
2175
+ */
2176
+ export const listRunnersOptions = (options) => queryOptions({
2177
+ queryFn: async ({ queryKey, signal }) => await listRunners({
2178
+ ...options,
2179
+ ...queryKey[0],
2180
+ signal,
2181
+ throwOnError: true
2182
+ }),
2183
+ queryKey: listRunnersQueryKey(options)
2184
+ });
2185
+ export const listRunnersInfiniteQueryKey = (options) => createQueryKey('listRunners', options, true);
2186
+ /**
2187
+ * List runners
2188
+ */
2189
+ export const listRunnersInfiniteOptions = (options) => {
2190
+ const opts = infiniteQueryOptions(
2191
+ // @ts-ignore
2192
+ {
2193
+ queryFn: async ({ pageParam, queryKey, signal }) => {
2194
+ // @ts-ignore
2195
+ const page = typeof pageParam === 'object' ? pageParam : {
2196
+ query: {
2197
+ offset: pageParam
2198
+ }
2199
+ };
2200
+ const params = createInfiniteParams(queryKey, page);
2201
+ return await listRunners({
2202
+ ...options,
2203
+ ...params,
2204
+ signal,
2205
+ throwOnError: true
2206
+ });
2207
+ },
2208
+ queryKey: listRunnersInfiniteQueryKey(options)
2209
+ });
2210
+ return opts;
2211
+ };
2212
+ /**
2213
+ * List runners
2214
+ */
2215
+ export const useListRunnersQuery = (options) => useQuery(listRunnersOptions(options));
2216
+ export const registerRunnerMutationKey = (options) => createMutationKey('registerRunner', options, ['Runners']);
2217
+ /**
2218
+ * Register runner
2219
+ *
2220
+ * Registers a new build runner and returns a runner authentication token.
2221
+ */
2222
+ export const registerRunnerMutation = (options) => {
2223
+ const mutationOptions = {
2224
+ mutationFn: async (fnOptions) => await registerRunner({
2225
+ ...options,
2226
+ ...fnOptions,
2227
+ throwOnError: true
2228
+ }),
2229
+ mutationKey: registerRunnerMutationKey(options)
2230
+ };
2231
+ return mutationOptions;
2232
+ };
2233
+ /**
2234
+ * Register runner
2235
+ *
2236
+ * Registers a new build runner and returns a runner authentication token.
2237
+ */
2238
+ export const useRegisterRunnerMutation = (mutationOptions) => useMutation({ ...registerRunnerMutation(), ...mutationOptions });
2239
+ export const deleteRunnerMutationKey = (options) => createMutationKey('deleteRunner', options, ['Runners']);
2240
+ /**
2241
+ * Delete runner
2242
+ *
2243
+ * Deletes a user-registered runner that has never claimed a build.
2244
+ */
2245
+ export const deleteRunnerMutation = (options) => {
2246
+ const mutationOptions = {
2247
+ mutationFn: async (fnOptions) => await deleteRunner({
2248
+ ...options,
2249
+ ...fnOptions,
2250
+ throwOnError: true
2251
+ }),
2252
+ mutationKey: deleteRunnerMutationKey(options)
2253
+ };
2254
+ return mutationOptions;
2255
+ };
2256
+ /**
2257
+ * Delete runner
2258
+ *
2259
+ * Deletes a user-registered runner that has never claimed a build.
2260
+ */
2261
+ export const useDeleteRunnerMutation = (mutationOptions) => useMutation({ ...deleteRunnerMutation(), ...mutationOptions });
2262
+ export const getRunnerQueryKey = (options) => createQueryKey('getRunner', options, false, ['Runners']);
2263
+ /**
2264
+ * Get runner
2265
+ *
2266
+ * Retrieves a single runner by ID, including its current status and health information.
2267
+ */
2268
+ export const getRunnerOptions = (options) => queryOptions({
2269
+ queryFn: async ({ queryKey, signal }) => await getRunner({
2270
+ ...options,
2271
+ ...queryKey[0],
2272
+ signal,
2273
+ throwOnError: true
2274
+ }),
2275
+ queryKey: getRunnerQueryKey(options)
2276
+ });
2277
+ /**
2278
+ * Get runner
2279
+ *
2280
+ * Retrieves a single runner by ID, including its current status and health information.
2281
+ */
2282
+ export const useGetRunnerQuery = (options) => useQuery(getRunnerOptions(options));
2283
+ export const updateRunnerMutationKey = (options) => createMutationKey('updateRunner', options, ['Runners']);
2284
+ /**
2285
+ * Update runner
2286
+ */
2287
+ export const updateRunnerMutation = (options) => {
2288
+ const mutationOptions = {
2289
+ mutationFn: async (fnOptions) => await updateRunner({
2290
+ ...options,
2291
+ ...fnOptions,
2292
+ throwOnError: true
2293
+ }),
2294
+ mutationKey: updateRunnerMutationKey(options)
2295
+ };
2296
+ return mutationOptions;
2297
+ };
2298
+ /**
2299
+ * Update runner
2300
+ */
2301
+ export const useUpdateRunnerMutation = (mutationOptions) => useMutation({ ...updateRunnerMutation(), ...mutationOptions });
2302
+ export const claimJobMutationKey = (options) => createMutationKey('claimJob', options, ['Runners']);
2303
+ /**
2304
+ * Claim job
2305
+ *
2306
+ * Runner claims the next queued build. Returns `null` job if no builds are available.
2307
+ */
2308
+ export const claimJobMutation = (options) => {
2309
+ const mutationOptions = {
2310
+ mutationFn: async (fnOptions) => await claimJob({
2311
+ ...options,
2312
+ ...fnOptions,
2313
+ throwOnError: true
2314
+ }),
2315
+ mutationKey: claimJobMutationKey(options)
2316
+ };
2317
+ return mutationOptions;
2318
+ };
2319
+ /**
2320
+ * Claim job
2321
+ *
2322
+ * Runner claims the next queued build. Returns `null` job if no builds are available.
2323
+ */
2324
+ export const useClaimJobMutation = (mutationOptions) => useMutation({ ...claimJobMutation(), ...mutationOptions });
2325
+ export const runnerHeartbeatMutationKey = (options) => createMutationKey('runnerHeartbeat', options, ['Runners']);
2326
+ /**
2327
+ * Runner heartbeat
2328
+ *
2329
+ * Sends a heartbeat from a runner to report its status. Authenticated via runner token.
2330
+ */
2331
+ export const runnerHeartbeatMutation = (options) => {
2332
+ const mutationOptions = {
2333
+ mutationFn: async (fnOptions) => await runnerHeartbeat({
2334
+ ...options,
2335
+ ...fnOptions,
2336
+ throwOnError: true
2337
+ }),
2338
+ mutationKey: runnerHeartbeatMutationKey(options)
2339
+ };
2340
+ return mutationOptions;
2341
+ };
2342
+ /**
2343
+ * Runner heartbeat
2344
+ *
2345
+ * Sends a heartbeat from a runner to report its status. Authenticated via runner token.
2346
+ */
2347
+ export const useRunnerHeartbeatMutation = (mutationOptions) => useMutation({ ...runnerHeartbeatMutation(), ...mutationOptions });
2348
+ export const getJobStatusQueryKey = (options) => createQueryKey('getJobStatus', options, false, ['Runners']);
2349
+ /**
2350
+ * Get job status
2351
+ *
2352
+ * Runner checks the current status of its assigned build.
2353
+ */
2354
+ export const getJobStatusOptions = (options) => queryOptions({
2355
+ queryFn: async ({ queryKey, signal }) => await getJobStatus({
2356
+ ...options,
2357
+ ...queryKey[0],
2358
+ signal,
2359
+ throwOnError: true
2360
+ }),
2361
+ queryKey: getJobStatusQueryKey(options)
2362
+ });
2363
+ /**
2364
+ * Get job status
2365
+ *
2366
+ * Runner checks the current status of its assigned build.
2367
+ */
2368
+ export const useGetJobStatusQuery = (options) => useQuery(getJobStatusOptions(options));
2369
+ export const getJobAndroidSigningQueryKey = (options) => createQueryKey('getJobAndroidSigning', options, false, ['Pipeline Signing']);
2370
+ /**
2371
+ * Get job-scoped Android signing material
2372
+ *
2373
+ * Returns Android signing profiles only to the assigned runner while the
2374
+ * job is active. Both the runner bearer token and job-scoped signing grant
2375
+ * are required.
2376
+ */
2377
+ export const getJobAndroidSigningOptions = (options) => queryOptions({
2378
+ queryFn: async ({ queryKey, signal }) => await getJobAndroidSigning({
2379
+ ...options,
2380
+ ...queryKey[0],
2381
+ signal,
2382
+ throwOnError: true
2383
+ }),
2384
+ queryKey: getJobAndroidSigningQueryKey(options)
2385
+ });
2386
+ /**
2387
+ * Get job-scoped Android signing material
2388
+ *
2389
+ * Returns Android signing profiles only to the assigned runner while the
2390
+ * job is active. Both the runner bearer token and job-scoped signing grant
2391
+ * are required.
2392
+ */
2393
+ export const useGetJobAndroidSigningQuery = (options) => useQuery(getJobAndroidSigningOptions(options));
2394
+ export const createArtifactMutationKey = (options) => createMutationKey('createArtifact', options, ['Artifacts']);
2395
+ /**
2396
+ * Create artifact
2397
+ *
2398
+ * Runner creates an artifact record and gets a signed upload URL.
2399
+ */
2400
+ export const createArtifactMutation = (options) => {
2401
+ const mutationOptions = {
2402
+ mutationFn: async (fnOptions) => await createArtifact({
2403
+ ...options,
2404
+ ...fnOptions,
2405
+ throwOnError: true
2406
+ }),
2407
+ mutationKey: createArtifactMutationKey(options)
2408
+ };
2409
+ return mutationOptions;
2410
+ };
2411
+ /**
2412
+ * Create artifact
2413
+ *
2414
+ * Runner creates an artifact record and gets a signed upload URL.
2415
+ */
2416
+ export const useCreateArtifactMutation = (mutationOptions) => useMutation({ ...createArtifactMutation(), ...mutationOptions });
2417
+ export const abortArtifactMutationKey = (options) => createMutationKey('abortArtifact', options, ['Artifacts']);
2418
+ export const abortArtifactMutation = (options) => {
2419
+ const mutationOptions = {
2420
+ mutationFn: async (fnOptions) => await abortArtifact({
2421
+ ...options,
2422
+ ...fnOptions,
2423
+ throwOnError: true
2424
+ }),
2425
+ mutationKey: abortArtifactMutationKey(options)
2426
+ };
2427
+ return mutationOptions;
2428
+ };
2429
+ export const useAbortArtifactMutation = (mutationOptions) => useMutation({ ...abortArtifactMutation(), ...mutationOptions });
2430
+ export const completeArtifactMutationKey = (options) => createMutationKey('completeArtifact', options, ['Artifacts']);
2431
+ export const completeArtifactMutation = (options) => {
2432
+ const mutationOptions = {
2433
+ mutationFn: async (fnOptions) => await completeArtifact({
2434
+ ...options,
2435
+ ...fnOptions,
2436
+ throwOnError: true
2437
+ }),
2438
+ mutationKey: completeArtifactMutationKey(options)
2439
+ };
2440
+ return mutationOptions;
2441
+ };
2442
+ export const useCompleteArtifactMutation = (mutationOptions) => useMutation({ ...completeArtifactMutation(), ...mutationOptions });
2443
+ export const gitlabCheckoutDiscoveryQueryKey = (options) => createQueryKey('gitlabCheckoutDiscovery', options, false, ['Runners']);
2444
+ /**
2445
+ * Discover a private GitLab repository for checkout
2446
+ *
2447
+ * Internal Git smart-HTTP endpoint. The runner token is accepted only for
2448
+ * the repository assigned to this job; GitLab credentials remain server-side.
2449
+ */
2450
+ export const gitlabCheckoutDiscoveryOptions = (options) => queryOptions({
2451
+ queryFn: async ({ queryKey, signal }) => await gitlabCheckoutDiscovery({
2452
+ ...options,
2453
+ ...queryKey[0],
2454
+ signal,
2455
+ throwOnError: true
2456
+ }),
2457
+ queryKey: gitlabCheckoutDiscoveryQueryKey(options)
2458
+ });
2459
+ /**
2460
+ * Discover a private GitLab repository for checkout
2461
+ *
2462
+ * Internal Git smart-HTTP endpoint. The runner token is accepted only for
2463
+ * the repository assigned to this job; GitLab credentials remain server-side.
2464
+ */
2465
+ export const useGitlabCheckoutDiscoveryQuery = (options) => useQuery(gitlabCheckoutDiscoveryOptions(options));
2466
+ export const gitlabCheckoutUploadPackMutationKey = (options) => createMutationKey('gitlabCheckoutUploadPack', options, ['Runners']);
2467
+ /**
2468
+ * Stream a private GitLab upload-pack request
2469
+ */
2470
+ export const gitlabCheckoutUploadPackMutation = (options) => {
2471
+ const mutationOptions = {
2472
+ mutationFn: async (fnOptions) => await gitlabCheckoutUploadPack({
2473
+ ...options,
2474
+ ...fnOptions,
2475
+ throwOnError: true
2476
+ }),
2477
+ mutationKey: gitlabCheckoutUploadPackMutationKey(options)
2478
+ };
2479
+ return mutationOptions;
2480
+ };
2481
+ /**
2482
+ * Stream a private GitLab upload-pack request
2483
+ */
2484
+ export const useGitlabCheckoutUploadPackMutation = (mutationOptions) => useMutation({ ...gitlabCheckoutUploadPackMutation(), ...mutationOptions });
2485
+ export const getJobIosSigningQueryKey = (options) => createQueryKey('getJobIosSigning', options, false, ['Pipeline Signing']);
2486
+ /**
2487
+ * Get job-scoped iOS signing material
2488
+ *
2489
+ * Returns the iOS signing bundle only to the assigned runner while the job
2490
+ * is active. Both the runner bearer token and job-scoped signing grant are
2491
+ * required.
2492
+ */
2493
+ export const getJobIosSigningOptions = (options) => queryOptions({
2494
+ queryFn: async ({ queryKey, signal }) => await getJobIosSigning({
2495
+ ...options,
2496
+ ...queryKey[0],
2497
+ signal,
2498
+ throwOnError: true
2499
+ }),
2500
+ queryKey: getJobIosSigningQueryKey(options)
2501
+ });
2502
+ /**
2503
+ * Get job-scoped iOS signing material
2504
+ *
2505
+ * Returns the iOS signing bundle only to the assigned runner while the job
2506
+ * is active. Both the runner bearer token and job-scoped signing grant are
2507
+ * required.
2508
+ */
2509
+ export const useGetJobIosSigningQuery = (options) => useQuery(getJobIosSigningOptions(options));
2510
+ export const appendBuildLogsMutationKey = (options) => createMutationKey('appendBuildLogs', options, ['Build Logs']);
2511
+ /**
2512
+ * Append build logs
2513
+ *
2514
+ * Runner appends log chunks to a build. Max 10,000 lines per build, 4KB per line.
2515
+ */
2516
+ export const appendBuildLogsMutation = (options) => {
2517
+ const mutationOptions = {
2518
+ mutationFn: async (fnOptions) => await appendBuildLogs({
2519
+ ...options,
2520
+ ...fnOptions,
2521
+ throwOnError: true
2522
+ }),
2523
+ mutationKey: appendBuildLogsMutationKey(options)
2524
+ };
2525
+ return mutationOptions;
2526
+ };
2527
+ /**
2528
+ * Append build logs
2529
+ *
2530
+ * Runner appends log chunks to a build. Max 10,000 lines per build, 4KB per line.
2531
+ */
2532
+ export const useAppendBuildLogsMutation = (mutationOptions) => useMutation({ ...appendBuildLogsMutation(), ...mutationOptions });
2533
+ export const updateJobStatusMutationKey = (options) => createMutationKey('updateJobStatus', options, ['Runners']);
2534
+ /**
2535
+ * Update job status
2536
+ *
2537
+ * Runner reports build status transitions and step results.
2538
+ */
2539
+ export const updateJobStatusMutation = (options) => {
2540
+ const mutationOptions = {
2541
+ mutationFn: async (fnOptions) => await updateJobStatus({
2542
+ ...options,
2543
+ ...fnOptions,
2544
+ throwOnError: true
2545
+ }),
2546
+ mutationKey: updateJobStatusMutationKey(options)
2547
+ };
2548
+ return mutationOptions;
2549
+ };
2550
+ /**
2551
+ * Update job status
2552
+ *
2553
+ * Runner reports build status transitions and step results.
2554
+ */
2555
+ export const useUpdateJobStatusMutation = (mutationOptions) => useMutation({ ...updateJobStatusMutation(), ...mutationOptions });
2556
+ export const getArtifactStorageSettingsQueryKey = (options) => createQueryKey('getArtifactStorageSettings', options, false, ['Instance Settings']);
2557
+ /**
2558
+ * Get artifact storage settings
2559
+ */
2560
+ export const getArtifactStorageSettingsOptions = (options) => queryOptions({
2561
+ queryFn: async ({ queryKey, signal }) => await getArtifactStorageSettings({
2562
+ ...options,
2563
+ ...queryKey[0],
2564
+ signal,
2565
+ throwOnError: true
2566
+ }),
2567
+ queryKey: getArtifactStorageSettingsQueryKey(options)
2568
+ });
2569
+ /**
2570
+ * Get artifact storage settings
2571
+ */
2572
+ export const useGetArtifactStorageSettingsQuery = (options) => useQuery(getArtifactStorageSettingsOptions(options));
2573
+ export const updateArtifactStorageSettingsMutationKey = (options) => createMutationKey('updateArtifactStorageSettings', options, ['Instance Settings']);
2574
+ /**
2575
+ * Update artifact storage settings
2576
+ *
2577
+ * Configure the storage backend for build artifacts (local, S3, or R2).
2578
+ */
2579
+ export const updateArtifactStorageSettingsMutation = (options) => {
2580
+ const mutationOptions = {
2581
+ mutationFn: async (fnOptions) => await updateArtifactStorageSettings({
2582
+ ...options,
2583
+ ...fnOptions,
2584
+ throwOnError: true
2585
+ }),
2586
+ mutationKey: updateArtifactStorageSettingsMutationKey(options)
2587
+ };
2588
+ return mutationOptions;
2589
+ };
2590
+ /**
2591
+ * Update artifact storage settings
2592
+ *
2593
+ * Configure the storage backend for build artifacts (local, S3, or R2).
2594
+ */
2595
+ export const useUpdateArtifactStorageSettingsMutation = (mutationOptions) => useMutation({ ...updateArtifactStorageSettingsMutation(), ...mutationOptions });
2596
+ export const getExternalAccessNetworkSettingsQueryKey = (options) => createQueryKey('getExternalAccessNetworkSettings', options, false, ['Instance Settings']);
2597
+ /**
2598
+ * Get External Access network settings
2599
+ *
2600
+ * Returns effective public URL and allowed frontend origins used by External Access checks.
2601
+ */
2602
+ export const getExternalAccessNetworkSettingsOptions = (options) => queryOptions({
2603
+ queryFn: async ({ queryKey, signal }) => await getExternalAccessNetworkSettings({
2604
+ ...options,
2605
+ ...queryKey[0],
2606
+ signal,
2607
+ throwOnError: true
2608
+ }),
2609
+ queryKey: getExternalAccessNetworkSettingsQueryKey(options)
2610
+ });
2611
+ /**
2612
+ * Get External Access network settings
2613
+ *
2614
+ * Returns effective public URL and allowed frontend origins used by External Access checks.
2615
+ */
2616
+ export const useGetExternalAccessNetworkSettingsQuery = (options) => useQuery(getExternalAccessNetworkSettingsOptions(options));
2617
+ export const updateExternalAccessNetworkSettingsMutationKey = (options) => createMutationKey('updateExternalAccessNetworkSettings', options, ['Instance Settings']);
2618
+ /**
2619
+ * Update External Access network settings
2620
+ *
2621
+ * Owner-only update for public URL and allowed frontend origins.
2622
+ */
2623
+ export const updateExternalAccessNetworkSettingsMutation = (options) => {
2624
+ const mutationOptions = {
2625
+ mutationFn: async (fnOptions) => await updateExternalAccessNetworkSettings({
2626
+ ...options,
2627
+ ...fnOptions,
2628
+ throwOnError: true
2629
+ }),
2630
+ mutationKey: updateExternalAccessNetworkSettingsMutationKey(options)
2631
+ };
2632
+ return mutationOptions;
2633
+ };
2634
+ /**
2635
+ * Update External Access network settings
2636
+ *
2637
+ * Owner-only update for public URL and allowed frontend origins.
2638
+ */
2639
+ export const useUpdateExternalAccessNetworkSettingsMutation = (mutationOptions) => useMutation({ ...updateExternalAccessNetworkSettingsMutation(), ...mutationOptions });
2640
+ export const getExternalAccessOidcQueryKey = (options) => createQueryKey('getExternalAccessOidc', options, false, ['Instance Settings']);
2641
+ /**
2642
+ * Get current OIDC configuration for External Access
2643
+ *
2644
+ * Returns the current runtime OIDC provider configuration (issuer, client ID,
2645
+ * discovered endpoints). Never exposes the client secret.
2646
+ */
2647
+ export const getExternalAccessOidcOptions = (options) => queryOptions({
2648
+ queryFn: async ({ queryKey, signal }) => await getExternalAccessOidc({
2649
+ ...options,
2650
+ ...queryKey[0],
2651
+ signal,
2652
+ throwOnError: true
2653
+ }),
2654
+ queryKey: getExternalAccessOidcQueryKey(options)
2655
+ });
2656
+ /**
2657
+ * Get current OIDC configuration for External Access
2658
+ *
2659
+ * Returns the current runtime OIDC provider configuration (issuer, client ID,
2660
+ * discovered endpoints). Never exposes the client secret.
2661
+ */
2662
+ export const useGetExternalAccessOidcQuery = (options) => useQuery(getExternalAccessOidcOptions(options));
2663
+ export const configureExternalAccessOidcMutationKey = (options) => createMutationKey('configureExternalAccessOidc', options, ['Instance Settings']);
2664
+ /**
2665
+ * Configure OIDC for External Access
2666
+ *
2667
+ * Owner-only endpoint to configure runtime OIDC after setup is complete.
2668
+ * Performs provider discovery and stores issuer/client settings.
2669
+ */
2670
+ export const configureExternalAccessOidcMutation = (options) => {
2671
+ const mutationOptions = {
2672
+ mutationFn: async (fnOptions) => await configureExternalAccessOidc({
2673
+ ...options,
2674
+ ...fnOptions,
2675
+ throwOnError: true
2676
+ }),
2677
+ mutationKey: configureExternalAccessOidcMutationKey(options)
2678
+ };
2679
+ return mutationOptions;
2680
+ };
2681
+ /**
2682
+ * Configure OIDC for External Access
2683
+ *
2684
+ * Owner-only endpoint to configure runtime OIDC after setup is complete.
2685
+ * Performs provider discovery and stores issuer/client settings.
2686
+ */
2687
+ export const useConfigureExternalAccessOidcMutation = (mutationOptions) => useMutation({ ...configureExternalAccessOidcMutation(), ...mutationOptions });
2688
+ export const testOidcConnectionMutationKey = (options) => createMutationKey('testOidcConnection', options, ['Instance Settings']);
2689
+ /**
2690
+ * Test OIDC provider connection
2691
+ *
2692
+ * Owner-only endpoint to test OIDC provider discovery without committing changes.
2693
+ * Validates that the issuer URL is reachable and returns discovered endpoints.
2694
+ */
2695
+ export const testOidcConnectionMutation = (options) => {
2696
+ const mutationOptions = {
2697
+ mutationFn: async (fnOptions) => await testOidcConnection({
2698
+ ...options,
2699
+ ...fnOptions,
2700
+ throwOnError: true
2701
+ }),
2702
+ mutationKey: testOidcConnectionMutationKey(options)
2703
+ };
2704
+ return mutationOptions;
2705
+ };
2706
+ /**
2707
+ * Test OIDC provider connection
2708
+ *
2709
+ * Owner-only endpoint to test OIDC provider discovery without committing changes.
2710
+ * Validates that the issuer URL is reachable and returns discovered endpoints.
2711
+ */
2712
+ export const useTestOidcConnectionMutation = (mutationOptions) => useMutation({ ...testOidcConnectionMutation(), ...mutationOptions });
2713
+ export const getExternalAccessPreflightQueryKey = (options) => createQueryKey('getExternalAccessPreflight', options, false, ['Instance Settings']);
2714
+ /**
2715
+ * Get External Access preflight readiness
2716
+ *
2717
+ * Returns check-by-check readiness required before enabling External Access (`runtime_mode=remote`).
2718
+ */
2719
+ export const getExternalAccessPreflightOptions = (options) => queryOptions({
2720
+ queryFn: async ({ queryKey, signal }) => await getExternalAccessPreflight({
2721
+ ...options,
2722
+ ...queryKey[0],
2723
+ signal,
2724
+ throwOnError: true
2725
+ }),
2726
+ queryKey: getExternalAccessPreflightQueryKey(options)
2727
+ });
2728
+ /**
2729
+ * Get External Access preflight readiness
2730
+ *
2731
+ * Returns check-by-check readiness required before enabling External Access (`runtime_mode=remote`).
2732
+ */
2733
+ export const useGetExternalAccessPreflightQuery = (options) => useQuery(getExternalAccessPreflightOptions(options));
2734
+ export const getExternalAccessTrustedProxySettingsQueryKey = (options) => createQueryKey('getExternalAccessTrustedProxySettings', options, false, ['Instance Settings']);
2735
+ /**
2736
+ * Get trusted proxy runtime settings
2737
+ */
2738
+ export const getExternalAccessTrustedProxySettingsOptions = (options) => queryOptions({
2739
+ queryFn: async ({ queryKey, signal }) => await getExternalAccessTrustedProxySettings({
2740
+ ...options,
2741
+ ...queryKey[0],
2742
+ signal,
2743
+ throwOnError: true
2744
+ }),
2745
+ queryKey: getExternalAccessTrustedProxySettingsQueryKey(options)
2746
+ });
2747
+ /**
2748
+ * Get trusted proxy runtime settings
2749
+ */
2750
+ export const useGetExternalAccessTrustedProxySettingsQuery = (options) => useQuery(getExternalAccessTrustedProxySettingsOptions(options));
2751
+ export const updateExternalAccessTrustedProxySettingsMutationKey = (options) => createMutationKey('updateExternalAccessTrustedProxySettings', options, ['Instance Settings']);
2752
+ /**
2753
+ * Update trusted proxy runtime settings
2754
+ */
2755
+ export const updateExternalAccessTrustedProxySettingsMutation = (options) => {
2756
+ const mutationOptions = {
2757
+ mutationFn: async (fnOptions) => await updateExternalAccessTrustedProxySettings({
2758
+ ...options,
2759
+ ...fnOptions,
2760
+ throwOnError: true
2761
+ }),
2762
+ mutationKey: updateExternalAccessTrustedProxySettingsMutationKey(options)
2763
+ };
2764
+ return mutationOptions;
2765
+ };
2766
+ /**
2767
+ * Update trusted proxy runtime settings
2768
+ */
2769
+ export const useUpdateExternalAccessTrustedProxySettingsMutation = (mutationOptions) => useMutation({ ...updateExternalAccessTrustedProxySettingsMutation(), ...mutationOptions });
2770
+ export const listNotificationChannelsQueryKey = (options) => createQueryKey('listNotificationChannels', options, false, ['Notification Channels']);
2771
+ /**
2772
+ * List notification channels
2773
+ *
2774
+ * Returns all configured notification channels.
2775
+ */
2776
+ export const listNotificationChannelsOptions = (options) => queryOptions({
2777
+ queryFn: async ({ queryKey, signal }) => await listNotificationChannels({
2778
+ ...options,
2779
+ ...queryKey[0],
2780
+ signal,
2781
+ throwOnError: true
2782
+ }),
2783
+ queryKey: listNotificationChannelsQueryKey(options)
2784
+ });
2785
+ export const listNotificationChannelsInfiniteQueryKey = (options) => createQueryKey('listNotificationChannels', options, true);
2786
+ /**
2787
+ * List notification channels
2788
+ *
2789
+ * Returns all configured notification channels.
2790
+ */
2791
+ export const listNotificationChannelsInfiniteOptions = (options) => {
2792
+ const opts = infiniteQueryOptions(
2793
+ // @ts-ignore
2794
+ {
2795
+ queryFn: async ({ pageParam, queryKey, signal }) => {
2796
+ // @ts-ignore
2797
+ const page = typeof pageParam === 'object' ? pageParam : {
2798
+ query: {
2799
+ offset: pageParam
2800
+ }
2801
+ };
2802
+ const params = createInfiniteParams(queryKey, page);
2803
+ return await listNotificationChannels({
2804
+ ...options,
2805
+ ...params,
2806
+ signal,
2807
+ throwOnError: true
2808
+ });
2809
+ },
2810
+ queryKey: listNotificationChannelsInfiniteQueryKey(options)
2811
+ });
2812
+ return opts;
2813
+ };
2814
+ /**
2815
+ * List notification channels
2816
+ *
2817
+ * Returns all configured notification channels.
2818
+ */
2819
+ export const useListNotificationChannelsQuery = (options) => useQuery(listNotificationChannelsOptions(options));
2820
+ export const createNotificationChannelMutationKey = (options) => createMutationKey('createNotificationChannel', options, ['Notification Channels']);
2821
+ /**
2822
+ * Create notification channel
2823
+ *
2824
+ * Creates a new webhook or Mattermost notification channel.
2825
+ */
2826
+ export const createNotificationChannelMutation = (options) => {
2827
+ const mutationOptions = {
2828
+ mutationFn: async (fnOptions) => await createNotificationChannel({
2829
+ ...options,
2830
+ ...fnOptions,
2831
+ throwOnError: true
2832
+ }),
2833
+ mutationKey: createNotificationChannelMutationKey(options)
2834
+ };
2835
+ return mutationOptions;
2836
+ };
2837
+ /**
2838
+ * Create notification channel
2839
+ *
2840
+ * Creates a new webhook or Mattermost notification channel.
2841
+ */
2842
+ export const useCreateNotificationChannelMutation = (mutationOptions) => useMutation({ ...createNotificationChannelMutation(), ...mutationOptions });
2843
+ export const deleteNotificationChannelMutationKey = (options) => createMutationKey('deleteNotificationChannel', options, ['Notification Channels']);
2844
+ /**
2845
+ * Delete notification channel
2846
+ *
2847
+ * Permanently deletes a notification channel and its delivery history.
2848
+ */
2849
+ export const deleteNotificationChannelMutation = (options) => {
2850
+ const mutationOptions = {
2851
+ mutationFn: async (fnOptions) => await deleteNotificationChannel({
2852
+ ...options,
2853
+ ...fnOptions,
2854
+ throwOnError: true
2855
+ }),
2856
+ mutationKey: deleteNotificationChannelMutationKey(options)
2857
+ };
2858
+ return mutationOptions;
2859
+ };
2860
+ /**
2861
+ * Delete notification channel
2862
+ *
2863
+ * Permanently deletes a notification channel and its delivery history.
2864
+ */
2865
+ export const useDeleteNotificationChannelMutation = (mutationOptions) => useMutation({ ...deleteNotificationChannelMutation(), ...mutationOptions });
2866
+ export const getNotificationChannelQueryKey = (options) => createQueryKey('getNotificationChannel', options, false, ['Notification Channels']);
2867
+ /**
2868
+ * Get notification channel
2869
+ *
2870
+ * Returns details for a single notification channel.
2871
+ */
2872
+ export const getNotificationChannelOptions = (options) => queryOptions({
2873
+ queryFn: async ({ queryKey, signal }) => await getNotificationChannel({
2874
+ ...options,
2875
+ ...queryKey[0],
2876
+ signal,
2877
+ throwOnError: true
2878
+ }),
2879
+ queryKey: getNotificationChannelQueryKey(options)
2880
+ });
2881
+ /**
2882
+ * Get notification channel
2883
+ *
2884
+ * Returns details for a single notification channel.
2885
+ */
2886
+ export const useGetNotificationChannelQuery = (options) => useQuery(getNotificationChannelOptions(options));
2887
+ export const updateNotificationChannelMutationKey = (options) => createMutationKey('updateNotificationChannel', options, ['Notification Channels']);
2888
+ /**
2889
+ * Update notification channel
2890
+ *
2891
+ * Updates an existing notification channel. Omitted fields are preserved.
2892
+ */
2893
+ export const updateNotificationChannelMutation = (options) => {
2894
+ const mutationOptions = {
2895
+ mutationFn: async (fnOptions) => await updateNotificationChannel({
2896
+ ...options,
2897
+ ...fnOptions,
2898
+ throwOnError: true
2899
+ }),
2900
+ mutationKey: updateNotificationChannelMutationKey(options)
2901
+ };
2902
+ return mutationOptions;
2903
+ };
2904
+ /**
2905
+ * Update notification channel
2906
+ *
2907
+ * Updates an existing notification channel. Omitted fields are preserved.
2908
+ */
2909
+ export const useUpdateNotificationChannelMutation = (mutationOptions) => useMutation({ ...updateNotificationChannelMutation(), ...mutationOptions });
2910
+ export const listNotificationDeliveriesQueryKey = (options) => createQueryKey('listNotificationDeliveries', options, false, ['Notification Channels']);
2911
+ /**
2912
+ * List notification deliveries
2913
+ *
2914
+ * Returns delivery history for a notification channel (most recent 100).
2915
+ */
2916
+ export const listNotificationDeliveriesOptions = (options) => queryOptions({
2917
+ queryFn: async ({ queryKey, signal }) => await listNotificationDeliveries({
2918
+ ...options,
2919
+ ...queryKey[0],
2920
+ signal,
2921
+ throwOnError: true
2922
+ }),
2923
+ queryKey: listNotificationDeliveriesQueryKey(options)
2924
+ });
2925
+ /**
2926
+ * List notification deliveries
2927
+ *
2928
+ * Returns delivery history for a notification channel (most recent 100).
2929
+ */
2930
+ export const useListNotificationDeliveriesQuery = (options) => useQuery(listNotificationDeliveriesOptions(options));
2931
+ export const testNotificationChannelMutationKey = (options) => createMutationKey('testNotificationChannel', options, ['Notification Channels']);
2932
+ /**
2933
+ * Test notification channel
2934
+ *
2935
+ * Sends a test notification to verify the channel is configured correctly.
2936
+ */
2937
+ export const testNotificationChannelMutation = (options) => {
2938
+ const mutationOptions = {
2939
+ mutationFn: async (fnOptions) => await testNotificationChannel({
2940
+ ...options,
2941
+ ...fnOptions,
2942
+ throwOnError: true
2943
+ }),
2944
+ mutationKey: testNotificationChannelMutationKey(options)
2945
+ };
2946
+ return mutationOptions;
2947
+ };
2948
+ /**
2949
+ * Test notification channel
2950
+ *
2951
+ * Sends a test notification to verify the channel is configured correctly.
2952
+ */
2953
+ export const useTestNotificationChannelMutation = (mutationOptions) => useMutation({ ...testNotificationChannelMutation(), ...mutationOptions });
2954
+ export const getInstancePreferencesQueryKey = (options) => createQueryKey('getInstancePreferences', options, false, ['Instance Settings']);
2955
+ /**
2956
+ * Get instance preferences
2957
+ */
2958
+ export const getInstancePreferencesOptions = (options) => queryOptions({
2959
+ queryFn: async ({ queryKey, signal }) => await getInstancePreferences({
2960
+ ...options,
2961
+ ...queryKey[0],
2962
+ signal,
2963
+ throwOnError: true
2964
+ }),
2965
+ queryKey: getInstancePreferencesQueryKey(options)
2966
+ });
2967
+ /**
2968
+ * Get instance preferences
2969
+ */
2970
+ export const useGetInstancePreferencesQuery = (options) => useQuery(getInstancePreferencesOptions(options));
2971
+ export const updateInstancePreferencesMutationKey = (options) => createMutationKey('updateInstancePreferences', options, ['Instance Settings']);
2972
+ /**
2973
+ * Update instance preferences
2974
+ *
2975
+ * Update instance-wide preferences (e.g. key storage mode).
2976
+ */
2977
+ export const updateInstancePreferencesMutation = (options) => {
2978
+ const mutationOptions = {
2979
+ mutationFn: async (fnOptions) => await updateInstancePreferences({
2980
+ ...options,
2981
+ ...fnOptions,
2982
+ throwOnError: true
2983
+ }),
2984
+ mutationKey: updateInstancePreferencesMutationKey(options)
2985
+ };
2986
+ return mutationOptions;
2987
+ };
2988
+ /**
2989
+ * Update instance preferences
2990
+ *
2991
+ * Update instance-wide preferences (e.g. key storage mode).
2992
+ */
2993
+ export const useUpdateInstancePreferencesMutation = (mutationOptions) => useMutation({ ...updateInstancePreferencesMutation(), ...mutationOptions });
2994
+ export const getRetentionPolicyQueryKey = (options) => createQueryKey('getRetentionPolicy', options, false, ['Retention Policy']);
2995
+ /**
2996
+ * Get global retention policy
2997
+ */
2998
+ export const getRetentionPolicyOptions = (options) => queryOptions({
2999
+ queryFn: async ({ queryKey, signal }) => await getRetentionPolicy({
3000
+ ...options,
3001
+ ...queryKey[0],
3002
+ signal,
3003
+ throwOnError: true
3004
+ }),
3005
+ queryKey: getRetentionPolicyQueryKey(options)
3006
+ });
3007
+ /**
3008
+ * Get global retention policy
3009
+ */
3010
+ export const useGetRetentionPolicyQuery = (options) => useQuery(getRetentionPolicyOptions(options));
3011
+ export const updateRetentionPolicyMutationKey = (options) => createMutationKey('updateRetentionPolicy', options, ['Retention Policy']);
3012
+ /**
3013
+ * Update global retention policy
3014
+ */
3015
+ export const updateRetentionPolicyMutation = (options) => {
3016
+ const mutationOptions = {
3017
+ mutationFn: async (fnOptions) => await updateRetentionPolicy({
3018
+ ...options,
3019
+ ...fnOptions,
3020
+ throwOnError: true
3021
+ }),
3022
+ mutationKey: updateRetentionPolicyMutationKey(options)
3023
+ };
3024
+ return mutationOptions;
3025
+ };
3026
+ /**
3027
+ * Update global retention policy
3028
+ */
3029
+ export const useUpdateRetentionPolicyMutation = (mutationOptions) => useMutation({ ...updateRetentionPolicyMutation(), ...mutationOptions });
3030
+ export const getRetentionLastCleanupQueryKey = (options) => createQueryKey('getRetentionLastCleanup', options, false, ['Retention Policy']);
3031
+ /**
3032
+ * Get last cleanup summary
3033
+ */
3034
+ export const getRetentionLastCleanupOptions = (options) => queryOptions({
3035
+ queryFn: async ({ queryKey, signal }) => await getRetentionLastCleanup({
3036
+ ...options,
3037
+ ...queryKey[0],
3038
+ signal,
3039
+ throwOnError: true
3040
+ }),
3041
+ queryKey: getRetentionLastCleanupQueryKey(options)
3042
+ });
3043
+ /**
3044
+ * Get last cleanup summary
3045
+ */
3046
+ export const useGetRetentionLastCleanupQuery = (options) => useQuery(getRetentionLastCleanupOptions(options));
3047
+ export const verifyBootstrapTokenMutationKey = (options) => createMutationKey('verifyBootstrapToken', options, ['Setup']);
3048
+ /**
3049
+ * Verify bootstrap token
3050
+ *
3051
+ * Exchanges a one-time bootstrap token (generated by the CLI) for a
3052
+ * setup session token. Rate-limited: 5 failed attempts per token hash
3053
+ * triggers lockout.
3054
+ */
3055
+ export const verifyBootstrapTokenMutation = (options) => {
3056
+ const mutationOptions = {
3057
+ mutationFn: async (fnOptions) => await verifyBootstrapToken({
3058
+ ...options,
3059
+ ...fnOptions,
3060
+ throwOnError: true
3061
+ }),
3062
+ mutationKey: verifyBootstrapTokenMutationKey(options)
3063
+ };
3064
+ return mutationOptions;
3065
+ };
3066
+ /**
3067
+ * Verify bootstrap token
3068
+ *
3069
+ * Exchanges a one-time bootstrap token (generated by the CLI) for a
3070
+ * setup session token. Rate-limited: 5 failed attempts per token hash
3071
+ * triggers lockout.
3072
+ */
3073
+ export const useVerifyBootstrapTokenMutation = (mutationOptions) => useMutation({ ...verifyBootstrapTokenMutation(), ...mutationOptions });
3074
+ export const completeSetupMutationKey = (options) => createMutationKey('completeSetup', options, ['Setup']);
3075
+ /**
3076
+ * Complete setup
3077
+ *
3078
+ * Finalises the setup flow, transitions state to `ready`, inserts the
3079
+ * owner into the users table, and clears the setup session.
3080
+ */
3081
+ export const completeSetupMutation = (options) => {
3082
+ const mutationOptions = {
3083
+ mutationFn: async (fnOptions) => await completeSetup({
3084
+ ...options,
3085
+ ...fnOptions,
3086
+ throwOnError: true
3087
+ }),
3088
+ mutationKey: completeSetupMutationKey(options)
3089
+ };
3090
+ return mutationOptions;
3091
+ };
3092
+ /**
3093
+ * Complete setup
3094
+ *
3095
+ * Finalises the setup flow, transitions state to `ready`, inserts the
3096
+ * owner into the users table, and clears the setup session.
3097
+ */
3098
+ export const useCompleteSetupMutation = (mutationOptions) => useMutation({ ...completeSetupMutation(), ...mutationOptions });
3099
+ export const setupLocalOwnerCreateMutationKey = (options) => createMutationKey('setupLocalOwnerCreate', options, ['Setup']);
3100
+ /**
3101
+ * Create local owner (local mode)
3102
+ *
3103
+ * Creates the setup owner without OIDC when runtime mode is `local`.
3104
+ */
3105
+ export const setupLocalOwnerCreateMutation = (options) => {
3106
+ const mutationOptions = {
3107
+ mutationFn: async (fnOptions) => await setupLocalOwnerCreate({
3108
+ ...options,
3109
+ ...fnOptions,
3110
+ throwOnError: true
3111
+ }),
3112
+ mutationKey: setupLocalOwnerCreateMutationKey(options)
3113
+ };
3114
+ return mutationOptions;
3115
+ };
3116
+ /**
3117
+ * Create local owner (local mode)
3118
+ *
3119
+ * Creates the setup owner without OIDC when runtime mode is `local`.
3120
+ */
3121
+ export const useSetupLocalOwnerCreateMutation = (mutationOptions) => useMutation({ ...setupLocalOwnerCreateMutation(), ...mutationOptions });
3122
+ export const configureOidcMutationKey = (options) => createMutationKey('configureOidc', options, ['Setup']);
3123
+ /**
3124
+ * Configure OIDC provider
3125
+ *
3126
+ * Performs OIDC discovery on the provided issuer URL and stores the
3127
+ * provider configuration. Requires a valid setup session.
3128
+ */
3129
+ export const configureOidcMutation = (options) => {
3130
+ const mutationOptions = {
3131
+ mutationFn: async (fnOptions) => await configureOidc({
3132
+ ...options,
3133
+ ...fnOptions,
3134
+ throwOnError: true
3135
+ }),
3136
+ mutationKey: configureOidcMutationKey(options)
3137
+ };
3138
+ return mutationOptions;
3139
+ };
3140
+ /**
3141
+ * Configure OIDC provider
3142
+ *
3143
+ * Performs OIDC discovery on the provided issuer URL and stores the
3144
+ * provider configuration. Requires a valid setup session.
3145
+ */
3146
+ export const useConfigureOidcMutation = (mutationOptions) => useMutation({ ...configureOidcMutation(), ...mutationOptions });
3147
+ export const setupOwnerClaimTrustedProxyMutationKey = (options) => createMutationKey('setupOwnerClaimTrustedProxy', options, ['Setup']);
3148
+ /**
3149
+ * Claim owner identity from trusted proxy headers
3150
+ *
3151
+ * Creates the owner record from trusted proxy identity headers after the
3152
+ * proxy-authenticated email matches the configured setup owner email.
3153
+ */
3154
+ export const setupOwnerClaimTrustedProxyMutation = (options) => {
3155
+ const mutationOptions = {
3156
+ mutationFn: async (fnOptions) => await setupOwnerClaimTrustedProxy({
3157
+ ...options,
3158
+ ...fnOptions,
3159
+ throwOnError: true
3160
+ }),
3161
+ mutationKey: setupOwnerClaimTrustedProxyMutationKey(options)
3162
+ };
3163
+ return mutationOptions;
3164
+ };
3165
+ /**
3166
+ * Claim owner identity from trusted proxy headers
3167
+ *
3168
+ * Creates the owner record from trusted proxy identity headers after the
3169
+ * proxy-authenticated email matches the configured setup owner email.
3170
+ */
3171
+ export const useSetupOwnerClaimTrustedProxyMutation = (mutationOptions) => useMutation({ ...setupOwnerClaimTrustedProxyMutation(), ...mutationOptions });
3172
+ export const setupOidcStartMutationKey = (options) => createMutationKey('setupOidcStart', options, ['Setup']);
3173
+ /**
3174
+ * Start owner OIDC flow
3175
+ *
3176
+ * Initiates the OIDC authorization code flow to create the instance owner.
3177
+ * Returns an authorization URL for the frontend to redirect to.
3178
+ */
3179
+ export const setupOidcStartMutation = (options) => {
3180
+ const mutationOptions = {
3181
+ mutationFn: async (fnOptions) => await setupOidcStart({
3182
+ ...options,
3183
+ ...fnOptions,
3184
+ throwOnError: true
3185
+ }),
3186
+ mutationKey: setupOidcStartMutationKey(options)
3187
+ };
3188
+ return mutationOptions;
3189
+ };
3190
+ /**
3191
+ * Start owner OIDC flow
3192
+ *
3193
+ * Initiates the OIDC authorization code flow to create the instance owner.
3194
+ * Returns an authorization URL for the frontend to redirect to.
3195
+ */
3196
+ export const useSetupOidcStartMutation = (mutationOptions) => useMutation({ ...setupOidcStartMutation(), ...mutationOptions });
3197
+ export const setupOidcVerifyMutationKey = (options) => createMutationKey('setupOidcVerify', options, ['Setup']);
3198
+ /**
3199
+ * Verify owner OIDC callback
3200
+ *
3201
+ * Completes the setup OIDC flow by exchanging the authorization code
3202
+ * for tokens and creating the owner account.
3203
+ */
3204
+ export const setupOidcVerifyMutation = (options) => {
3205
+ const mutationOptions = {
3206
+ mutationFn: async (fnOptions) => await setupOidcVerify({
3207
+ ...options,
3208
+ ...fnOptions,
3209
+ throwOnError: true
3210
+ }),
3211
+ mutationKey: setupOidcVerifyMutationKey(options)
3212
+ };
3213
+ return mutationOptions;
3214
+ };
3215
+ /**
3216
+ * Verify owner OIDC callback
3217
+ *
3218
+ * Completes the setup OIDC flow by exchanging the authorization code
3219
+ * for tokens and creating the owner account.
3220
+ */
3221
+ export const useSetupOidcVerifyMutation = (mutationOptions) => useMutation({ ...setupOidcVerifyMutation(), ...mutationOptions });
3222
+ export const setupPreferencesMutationKey = (options) => createMutationKey('setupPreferences', options, ['Setup']);
3223
+ /**
3224
+ * Persist setup mode preferences
3225
+ *
3226
+ * Stores setup-time runtime mode and remote auth mode before owner creation.
3227
+ */
3228
+ export const setupPreferencesMutation = (options) => {
3229
+ const mutationOptions = {
3230
+ mutationFn: async (fnOptions) => await setupPreferences({
3231
+ ...options,
3232
+ ...fnOptions,
3233
+ throwOnError: true
3234
+ }),
3235
+ mutationKey: setupPreferencesMutationKey(options)
3236
+ };
3237
+ return mutationOptions;
3238
+ };
3239
+ /**
3240
+ * Persist setup mode preferences
3241
+ *
3242
+ * Stores setup-time runtime mode and remote auth mode before owner creation.
3243
+ */
3244
+ export const useSetupPreferencesMutation = (mutationOptions) => useMutation({ ...setupPreferencesMutation(), ...mutationOptions });
3245
+ export const getSetupSummaryQueryKey = (options) => createQueryKey('getSetupSummary', options, false, ['Setup']);
3246
+ /**
3247
+ * Get setup summary
3248
+ *
3249
+ * Returns a summary of current setup configuration. Requires a valid
3250
+ * setup session.
3251
+ */
3252
+ export const getSetupSummaryOptions = (options) => queryOptions({
3253
+ queryFn: async ({ queryKey, signal }) => await getSetupSummary({
3254
+ ...options,
3255
+ ...queryKey[0],
3256
+ signal,
3257
+ throwOnError: true
3258
+ }),
3259
+ queryKey: getSetupSummaryQueryKey(options)
3260
+ });
3261
+ /**
3262
+ * Get setup summary
3263
+ *
3264
+ * Returns a summary of current setup configuration. Requires a valid
3265
+ * setup session.
3266
+ */
3267
+ export const useGetSetupSummaryQuery = (options) => useQuery(getSetupSummaryOptions(options));
3268
+ export const setupTrustedProxyConfigureMutationKey = (options) => createMutationKey('setupTrustedProxyConfigure', options, ['Setup']);
3269
+ /**
3270
+ * Configure trusted proxy auth during setup
3271
+ *
3272
+ * Upserts trusted proxy settings for remote trusted-proxy mode, including
3273
+ * the expected initial owner email.
3274
+ */
3275
+ export const setupTrustedProxyConfigureMutation = (options) => {
3276
+ const mutationOptions = {
3277
+ mutationFn: async (fnOptions) => await setupTrustedProxyConfigure({
3278
+ ...options,
3279
+ ...fnOptions,
3280
+ throwOnError: true
3281
+ }),
3282
+ mutationKey: setupTrustedProxyConfigureMutationKey(options)
3283
+ };
3284
+ return mutationOptions;
3285
+ };
3286
+ /**
3287
+ * Configure trusted proxy auth during setup
3288
+ *
3289
+ * Upserts trusted proxy settings for remote trusted-proxy mode, including
3290
+ * the expected initial owner email.
3291
+ */
3292
+ export const useSetupTrustedProxyConfigureMutation = (mutationOptions) => useMutation({ ...setupTrustedProxyConfigureMutation(), ...mutationOptions });
3293
+ export const getRuntimeUpdateStatusQueryKey = (options) => createQueryKey('getRuntimeUpdateStatus', options, false, ['System']);
3294
+ /**
3295
+ * Get backend update state
3296
+ *
3297
+ * Reports whether the backend is managed by the supported macOS launchd
3298
+ * service and whether an update is currently running. Requires owner role.
3299
+ */
3300
+ export const getRuntimeUpdateStatusOptions = (options) => queryOptions({
3301
+ queryFn: async ({ queryKey, signal }) => await getRuntimeUpdateStatus({
3302
+ ...options,
3303
+ ...queryKey[0],
3304
+ signal,
3305
+ throwOnError: true
3306
+ }),
3307
+ queryKey: getRuntimeUpdateStatusQueryKey(options)
3308
+ });
3309
+ /**
3310
+ * Get backend update state
3311
+ *
3312
+ * Reports whether the backend is managed by the supported macOS launchd
3313
+ * service and whether an update is currently running. Requires owner role.
3314
+ */
3315
+ export const useGetRuntimeUpdateStatusQuery = (options) => useQuery(getRuntimeUpdateStatusOptions(options));
3316
+ export const startRuntimeUpdateMutationKey = (options) => createMutationKey('startRuntimeUpdate', options, ['System']);
3317
+ /**
3318
+ * Start a backend update
3319
+ *
3320
+ * Runs the installed updater and hands restart control to the managed
3321
+ * macOS launchd service. Requires owner role.
3322
+ */
3323
+ export const startRuntimeUpdateMutation = (options) => {
3324
+ const mutationOptions = {
3325
+ mutationFn: async (fnOptions) => await startRuntimeUpdate({
3326
+ ...options,
3327
+ ...fnOptions,
3328
+ throwOnError: true
3329
+ }),
3330
+ mutationKey: startRuntimeUpdateMutationKey(options)
3331
+ };
3332
+ return mutationOptions;
3333
+ };
3334
+ /**
3335
+ * Start a backend update
3336
+ *
3337
+ * Runs the installed updater and hands restart control to the managed
3338
+ * macOS launchd service. Requires owner role.
3339
+ */
3340
+ export const useStartRuntimeUpdateMutation = (mutationOptions) => useMutation({ ...startRuntimeUpdateMutation(), ...mutationOptions });
3341
+ export const listUsersQueryKey = (options) => createQueryKey('listUsers', options, false, ['Users']);
3342
+ /**
3343
+ * List users
3344
+ *
3345
+ * Returns all users. Requires `owner` or `admin` role.
3346
+ */
3347
+ export const listUsersOptions = (options) => queryOptions({
3348
+ queryFn: async ({ queryKey, signal }) => await listUsers({
3349
+ ...options,
3350
+ ...queryKey[0],
3351
+ signal,
3352
+ throwOnError: true
3353
+ }),
3354
+ queryKey: listUsersQueryKey(options)
3355
+ });
3356
+ export const listUsersInfiniteQueryKey = (options) => createQueryKey('listUsers', options, true);
3357
+ /**
3358
+ * List users
3359
+ *
3360
+ * Returns all users. Requires `owner` or `admin` role.
3361
+ */
3362
+ export const listUsersInfiniteOptions = (options) => {
3363
+ const opts = infiniteQueryOptions(
3364
+ // @ts-ignore
3365
+ {
3366
+ queryFn: async ({ pageParam, queryKey, signal }) => {
3367
+ // @ts-ignore
3368
+ const page = typeof pageParam === 'object' ? pageParam : {
3369
+ query: {
3370
+ offset: pageParam
3371
+ }
3372
+ };
3373
+ const params = createInfiniteParams(queryKey, page);
3374
+ return await listUsers({
3375
+ ...options,
3376
+ ...params,
3377
+ signal,
3378
+ throwOnError: true
3379
+ });
3380
+ },
3381
+ queryKey: listUsersInfiniteQueryKey(options)
3382
+ });
3383
+ return opts;
3384
+ };
3385
+ /**
3386
+ * List users
3387
+ *
3388
+ * Returns all users. Requires `owner` or `admin` role.
3389
+ */
3390
+ export const useListUsersQuery = (options) => useQuery(listUsersOptions(options));
3391
+ export const inviteUserMutationKey = (options) => createMutationKey('inviteUser', options, ['Users']);
3392
+ /**
3393
+ * Invite user
3394
+ *
3395
+ * Creates a new user with `invited` status. Requires `owner` or `admin` role.
3396
+ */
3397
+ export const inviteUserMutation = (options) => {
3398
+ const mutationOptions = {
3399
+ mutationFn: async (fnOptions) => await inviteUser({
3400
+ ...options,
3401
+ ...fnOptions,
3402
+ throwOnError: true
3403
+ }),
3404
+ mutationKey: inviteUserMutationKey(options)
3405
+ };
3406
+ return mutationOptions;
3407
+ };
3408
+ /**
3409
+ * Invite user
3410
+ *
3411
+ * Creates a new user with `invited` status. Requires `owner` or `admin` role.
3412
+ */
3413
+ export const useInviteUserMutation = (mutationOptions) => useMutation({ ...inviteUserMutation(), ...mutationOptions });
3414
+ export const getMeQueryKey = (options) => createQueryKey('getMe', options, false, ['Users']);
3415
+ /**
3416
+ * Get current user
3417
+ *
3418
+ * Returns the profile of the currently authenticated user.
3419
+ */
3420
+ export const getMeOptions = (options) => queryOptions({
3421
+ queryFn: async ({ queryKey, signal }) => await getMe({
3422
+ ...options,
3423
+ ...queryKey[0],
3424
+ signal,
3425
+ throwOnError: true
3426
+ }),
3427
+ queryKey: getMeQueryKey(options)
3428
+ });
3429
+ /**
3430
+ * Get current user
3431
+ *
3432
+ * Returns the profile of the currently authenticated user.
3433
+ */
3434
+ export const useGetMeQuery = (options) => useQuery(getMeOptions(options));
3435
+ export const deleteUserMutationKey = (options) => createMutationKey('deleteUser', options, ['Users']);
3436
+ /**
3437
+ * Delete user
3438
+ *
3439
+ * Soft-deletes a user. Requires `owner` or `admin` role.
3440
+ */
3441
+ export const deleteUserMutation = (options) => {
3442
+ const mutationOptions = {
3443
+ mutationFn: async (fnOptions) => await deleteUser({
3444
+ ...options,
3445
+ ...fnOptions,
3446
+ throwOnError: true
3447
+ }),
3448
+ mutationKey: deleteUserMutationKey(options)
3449
+ };
3450
+ return mutationOptions;
3451
+ };
3452
+ /**
3453
+ * Delete user
3454
+ *
3455
+ * Soft-deletes a user. Requires `owner` or `admin` role.
3456
+ */
3457
+ export const useDeleteUserMutation = (mutationOptions) => useMutation({ ...deleteUserMutation(), ...mutationOptions });
3458
+ export const reEnableUserMutationKey = (options) => createMutationKey('reEnableUser', options, ['Users']);
3459
+ /**
3460
+ * Re-enable user
3461
+ *
3462
+ * Re-enables a previously disabled user.
3463
+ */
3464
+ export const reEnableUserMutation = (options) => {
3465
+ const mutationOptions = {
3466
+ mutationFn: async (fnOptions) => await reEnableUser({
3467
+ ...options,
3468
+ ...fnOptions,
3469
+ throwOnError: true
3470
+ }),
3471
+ mutationKey: reEnableUserMutationKey(options)
3472
+ };
3473
+ return mutationOptions;
3474
+ };
3475
+ /**
3476
+ * Re-enable user
3477
+ *
3478
+ * Re-enables a previously disabled user.
3479
+ */
3480
+ export const useReEnableUserMutation = (mutationOptions) => useMutation({ ...reEnableUserMutation(), ...mutationOptions });
3481
+ export const updateUserRoleMutationKey = (options) => createMutationKey('updateUserRole', options, ['Users']);
3482
+ /**
3483
+ * Update user role
3484
+ *
3485
+ * Changes a user's role. Requires `owner` or `admin` role.
3486
+ */
3487
+ export const updateUserRoleMutation = (options) => {
3488
+ const mutationOptions = {
3489
+ mutationFn: async (fnOptions) => await updateUserRole({
3490
+ ...options,
3491
+ ...fnOptions,
3492
+ throwOnError: true
3493
+ }),
3494
+ mutationKey: updateUserRoleMutationKey(options)
3495
+ };
3496
+ return mutationOptions;
3497
+ };
3498
+ /**
3499
+ * Update user role
3500
+ *
3501
+ * Changes a user's role. Requires `owner` or `admin` role.
3502
+ */
3503
+ export const useUpdateUserRoleMutation = (mutationOptions) => useMutation({ ...updateUserRoleMutation(), ...mutationOptions });
3504
+ export const githubWebhookMutationKey = (options) => createMutationKey('githubWebhook', options, ['Webhooks']);
3505
+ /**
3506
+ * GitHub webhook receiver
3507
+ *
3508
+ * Receives push/PR events from GitHub and triggers matching pipelines.
3509
+ * Authenticated via webhook signature verification.
3510
+ */
3511
+ export const githubWebhookMutation = (options) => {
3512
+ const mutationOptions = {
3513
+ mutationFn: async (fnOptions) => await githubWebhook({
3514
+ ...options,
3515
+ ...fnOptions,
3516
+ throwOnError: true
3517
+ }),
3518
+ mutationKey: githubWebhookMutationKey(options)
3519
+ };
3520
+ return mutationOptions;
3521
+ };
3522
+ /**
3523
+ * GitHub webhook receiver
3524
+ *
3525
+ * Receives push/PR events from GitHub and triggers matching pipelines.
3526
+ * Authenticated via webhook signature verification.
3527
+ */
3528
+ export const useGithubWebhookMutation = (mutationOptions) => useMutation({ ...githubWebhookMutation(), ...mutationOptions });
3529
+ export const gitlabWebhookMutationKey = (options) => createMutationKey('gitlabWebhook', options, ['Webhooks']);
3530
+ /**
3531
+ * GitLab webhook receiver
3532
+ *
3533
+ * Receives push/MR events from GitLab and triggers matching pipelines.
3534
+ * Authenticated via webhook secret token.
3535
+ */
3536
+ export const gitlabWebhookMutation = (options) => {
3537
+ const mutationOptions = {
3538
+ mutationFn: async (fnOptions) => await gitlabWebhook({
3539
+ ...options,
3540
+ ...fnOptions,
3541
+ throwOnError: true
3542
+ }),
3543
+ mutationKey: gitlabWebhookMutationKey(options)
3544
+ };
3545
+ return mutationOptions;
3546
+ };
3547
+ /**
3548
+ * GitLab webhook receiver
3549
+ *
3550
+ * Receives push/MR events from GitLab and triggers matching pipelines.
3551
+ * Authenticated via webhook secret token.
3552
+ */
3553
+ export const useGitlabWebhookMutation = (mutationOptions) => useMutation({ ...gitlabWebhookMutation(), ...mutationOptions });