@mutagent/sdk 0.13.43 → 0.13.45

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 (274) hide show
  1. package/README.md +1087 -1067
  2. package/dist/commonjs/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
  3. package/dist/commonjs/funcs/architech-sessions-launch-architech-session.js +1 -1
  4. package/dist/commonjs/funcs/artifacts-get-artifact-version-file.d.ts +20 -0
  5. package/dist/commonjs/funcs/artifacts-get-artifact-version-file.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/artifacts-get-artifact-version-file.js +134 -0
  7. package/dist/commonjs/funcs/artifacts-get-artifact-version-file.js.map +1 -0
  8. package/dist/commonjs/funcs/artifacts-get-artifact.d.ts +2 -2
  9. package/dist/commonjs/funcs/artifacts-get-artifact.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/artifacts-get-artifact.js +2 -2
  11. package/dist/commonjs/funcs/artifacts-get-artifact.js.map +1 -1
  12. package/dist/commonjs/funcs/artifacts-list-artifact-versions.d.ts +2 -2
  13. package/dist/commonjs/funcs/artifacts-list-artifact-versions.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/artifacts-list-artifact-versions.js +2 -2
  15. package/dist/commonjs/funcs/artifacts-list-artifact-versions.js.map +1 -1
  16. package/dist/commonjs/funcs/artifacts-list-artifacts.d.ts +2 -2
  17. package/dist/commonjs/funcs/artifacts-list-artifacts.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/artifacts-list-artifacts.js +2 -2
  19. package/dist/commonjs/funcs/artifacts-list-artifacts.js.map +1 -1
  20. package/dist/commonjs/funcs/gateway-claim-gateway-git-hub-installation.d.ts +1 -1
  21. package/dist/commonjs/funcs/gateway-claim-gateway-git-hub-installation.js +1 -1
  22. package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts +20 -0
  23. package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.js +127 -0
  25. package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.js.map +1 -0
  26. package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts +20 -0
  27. package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.js +131 -0
  29. package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.js.map +1 -0
  30. package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts +20 -0
  31. package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.js +131 -0
  33. package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.js.map +1 -0
  34. package/dist/commonjs/funcs/helix-cloud-start-helix-cloud-session.d.ts +1 -1
  35. package/dist/commonjs/funcs/helix-cloud-start-helix-cloud-session.js +1 -1
  36. package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
  37. package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
  38. package/dist/commonjs/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
  39. package/dist/commonjs/funcs/helix-sessions-launch-helix-session.js +1 -1
  40. package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
  41. package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
  42. package/dist/commonjs/funcs/sandbox-sessions-start-sandbox-web-session.d.ts +1 -1
  43. package/dist/commonjs/funcs/sandbox-sessions-start-sandbox-web-session.js +1 -1
  44. package/dist/commonjs/lib/config.d.ts +2 -2
  45. package/dist/commonjs/lib/config.js +2 -2
  46. package/dist/commonjs/models/errors/get-artifact.d.ts +20 -0
  47. package/dist/commonjs/models/errors/get-artifact.d.ts.map +1 -0
  48. package/dist/commonjs/models/errors/get-artifact.js +23 -0
  49. package/dist/commonjs/models/errors/get-artifact.js.map +1 -0
  50. package/dist/commonjs/models/errors/index.d.ts +6 -0
  51. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  52. package/dist/commonjs/models/errors/index.js +6 -0
  53. package/dist/commonjs/models/errors/index.js.map +1 -1
  54. package/dist/commonjs/models/errors/list-artifact-versions.d.ts +20 -0
  55. package/dist/commonjs/models/errors/list-artifact-versions.d.ts.map +1 -0
  56. package/dist/commonjs/models/errors/list-artifact-versions.js +23 -0
  57. package/dist/commonjs/models/errors/list-artifact-versions.js.map +1 -0
  58. package/dist/commonjs/models/errors/list-artifacts.d.ts +20 -0
  59. package/dist/commonjs/models/errors/list-artifacts.d.ts.map +1 -0
  60. package/dist/commonjs/models/errors/list-artifacts.js +23 -0
  61. package/dist/commonjs/models/errors/list-artifacts.js.map +1 -0
  62. package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.d.ts +135 -0
  63. package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
  64. package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.js +171 -0
  65. package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.js.map +1 -0
  66. package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.d.ts +135 -0
  67. package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
  68. package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.js +167 -0
  69. package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.js.map +1 -0
  70. package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.d.ts +135 -0
  71. package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
  72. package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.js +167 -0
  73. package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.js.map +1 -0
  74. package/dist/commonjs/models/operations/ask-software-factory-session.d.ts +15 -0
  75. package/dist/commonjs/models/operations/ask-software-factory-session.d.ts.map +1 -1
  76. package/dist/commonjs/models/operations/ask-software-factory-session.js +13 -1
  77. package/dist/commonjs/models/operations/ask-software-factory-session.js.map +1 -1
  78. package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts +32 -0
  79. package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js +29 -1
  81. package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
  82. package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts +18 -0
  83. package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/disconnect-gateway-integration.js +18 -1
  85. package/dist/commonjs/models/operations/disconnect-gateway-integration.js.map +1 -1
  86. package/dist/commonjs/models/operations/get-artifact-version-file.d.ts +25 -0
  87. package/dist/commonjs/models/operations/get-artifact-version-file.d.ts.map +1 -0
  88. package/dist/commonjs/models/operations/get-artifact-version-file.js +51 -0
  89. package/dist/commonjs/models/operations/get-artifact-version-file.js.map +1 -0
  90. package/dist/commonjs/models/operations/get-gateway-git-hub-claim.d.ts +5 -4
  91. package/dist/commonjs/models/operations/get-gateway-git-hub-claim.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/get-gateway-git-hub-claim.js +2 -1
  93. package/dist/commonjs/models/operations/get-gateway-git-hub-claim.js.map +1 -1
  94. package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts +18 -0
  95. package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/get-gateway-integration-attempt.js +18 -1
  97. package/dist/commonjs/models/operations/get-gateway-integration-attempt.js.map +1 -1
  98. package/dist/commonjs/models/operations/index.d.ts +4 -0
  99. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  100. package/dist/commonjs/models/operations/index.js +4 -0
  101. package/dist/commonjs/models/operations/index.js.map +1 -1
  102. package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.d.ts +57 -0
  103. package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
  104. package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.js +81 -0
  105. package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.js.map +1 -0
  106. package/dist/commonjs/models/operations/list-gateway-integrations.d.ts +18 -0
  107. package/dist/commonjs/models/operations/list-gateway-integrations.d.ts.map +1 -1
  108. package/dist/commonjs/models/operations/list-gateway-integrations.js +18 -1
  109. package/dist/commonjs/models/operations/list-gateway-integrations.js.map +1 -1
  110. package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.d.ts +31 -0
  111. package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
  112. package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.js +68 -0
  113. package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.js.map +1 -0
  114. package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.d.ts +31 -0
  115. package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
  116. package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.js +68 -0
  117. package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.js.map +1 -0
  118. package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts +18 -0
  119. package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
  120. package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js +18 -1
  121. package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
  122. package/dist/commonjs/sdk/architech-sessions.d.ts +1 -1
  123. package/dist/commonjs/sdk/architech-sessions.js +1 -1
  124. package/dist/commonjs/sdk/artifacts.d.ts +10 -3
  125. package/dist/commonjs/sdk/artifacts.d.ts.map +1 -1
  126. package/dist/commonjs/sdk/artifacts.js +13 -3
  127. package/dist/commonjs/sdk/artifacts.js.map +1 -1
  128. package/dist/commonjs/sdk/gateway.d.ts +22 -1
  129. package/dist/commonjs/sdk/gateway.d.ts.map +1 -1
  130. package/dist/commonjs/sdk/gateway.js +31 -1
  131. package/dist/commonjs/sdk/gateway.js.map +1 -1
  132. package/dist/commonjs/sdk/helix-cloud.d.ts +1 -1
  133. package/dist/commonjs/sdk/helix-cloud.js +1 -1
  134. package/dist/commonjs/sdk/helix-sessions.d.ts +2 -2
  135. package/dist/commonjs/sdk/helix-sessions.js +2 -2
  136. package/dist/commonjs/sdk/sandbox-sessions.d.ts +2 -2
  137. package/dist/commonjs/sdk/sandbox-sessions.js +2 -2
  138. package/dist/esm/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
  139. package/dist/esm/funcs/architech-sessions-launch-architech-session.js +1 -1
  140. package/dist/esm/funcs/artifacts-get-artifact-version-file.d.ts +20 -0
  141. package/dist/esm/funcs/artifacts-get-artifact-version-file.d.ts.map +1 -0
  142. package/dist/esm/funcs/artifacts-get-artifact-version-file.js +98 -0
  143. package/dist/esm/funcs/artifacts-get-artifact-version-file.js.map +1 -0
  144. package/dist/esm/funcs/artifacts-get-artifact.d.ts +2 -2
  145. package/dist/esm/funcs/artifacts-get-artifact.d.ts.map +1 -1
  146. package/dist/esm/funcs/artifacts-get-artifact.js +2 -2
  147. package/dist/esm/funcs/artifacts-get-artifact.js.map +1 -1
  148. package/dist/esm/funcs/artifacts-list-artifact-versions.d.ts +2 -2
  149. package/dist/esm/funcs/artifacts-list-artifact-versions.d.ts.map +1 -1
  150. package/dist/esm/funcs/artifacts-list-artifact-versions.js +2 -2
  151. package/dist/esm/funcs/artifacts-list-artifact-versions.js.map +1 -1
  152. package/dist/esm/funcs/artifacts-list-artifacts.d.ts +2 -2
  153. package/dist/esm/funcs/artifacts-list-artifacts.d.ts.map +1 -1
  154. package/dist/esm/funcs/artifacts-list-artifacts.js +2 -2
  155. package/dist/esm/funcs/artifacts-list-artifacts.js.map +1 -1
  156. package/dist/esm/funcs/gateway-claim-gateway-git-hub-installation.d.ts +1 -1
  157. package/dist/esm/funcs/gateway-claim-gateway-git-hub-installation.js +1 -1
  158. package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts +20 -0
  159. package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts.map +1 -0
  160. package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.js +91 -0
  161. package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.js.map +1 -0
  162. package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts +20 -0
  163. package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
  164. package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.js +95 -0
  165. package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.js.map +1 -0
  166. package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts +20 -0
  167. package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
  168. package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.js +95 -0
  169. package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.js.map +1 -0
  170. package/dist/esm/funcs/helix-cloud-start-helix-cloud-session.d.ts +1 -1
  171. package/dist/esm/funcs/helix-cloud-start-helix-cloud-session.js +1 -1
  172. package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
  173. package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
  174. package/dist/esm/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
  175. package/dist/esm/funcs/helix-sessions-launch-helix-session.js +1 -1
  176. package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
  177. package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
  178. package/dist/esm/funcs/sandbox-sessions-start-sandbox-web-session.d.ts +1 -1
  179. package/dist/esm/funcs/sandbox-sessions-start-sandbox-web-session.js +1 -1
  180. package/dist/esm/lib/config.d.ts +2 -2
  181. package/dist/esm/lib/config.js +2 -2
  182. package/dist/esm/models/errors/get-artifact.d.ts +20 -0
  183. package/dist/esm/models/errors/get-artifact.d.ts.map +1 -0
  184. package/dist/esm/models/errors/get-artifact.js +18 -0
  185. package/dist/esm/models/errors/get-artifact.js.map +1 -0
  186. package/dist/esm/models/errors/index.d.ts +6 -0
  187. package/dist/esm/models/errors/index.d.ts.map +1 -1
  188. package/dist/esm/models/errors/index.js +6 -0
  189. package/dist/esm/models/errors/index.js.map +1 -1
  190. package/dist/esm/models/errors/list-artifact-versions.d.ts +20 -0
  191. package/dist/esm/models/errors/list-artifact-versions.d.ts.map +1 -0
  192. package/dist/esm/models/errors/list-artifact-versions.js +18 -0
  193. package/dist/esm/models/errors/list-artifact-versions.js.map +1 -0
  194. package/dist/esm/models/errors/list-artifacts.d.ts +20 -0
  195. package/dist/esm/models/errors/list-artifacts.d.ts.map +1 -0
  196. package/dist/esm/models/errors/list-artifacts.js +18 -0
  197. package/dist/esm/models/errors/list-artifacts.js.map +1 -0
  198. package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.d.ts +135 -0
  199. package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
  200. package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.js +130 -0
  201. package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.js.map +1 -0
  202. package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.d.ts +135 -0
  203. package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
  204. package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.js +126 -0
  205. package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.js.map +1 -0
  206. package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.d.ts +135 -0
  207. package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
  208. package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.js +126 -0
  209. package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.js.map +1 -0
  210. package/dist/esm/models/operations/ask-software-factory-session.d.ts +15 -0
  211. package/dist/esm/models/operations/ask-software-factory-session.d.ts.map +1 -1
  212. package/dist/esm/models/operations/ask-software-factory-session.js +12 -0
  213. package/dist/esm/models/operations/ask-software-factory-session.js.map +1 -1
  214. package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts +32 -0
  215. package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
  216. package/dist/esm/models/operations/claim-gateway-git-hub-installation.js +27 -0
  217. package/dist/esm/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
  218. package/dist/esm/models/operations/disconnect-gateway-integration.d.ts +18 -0
  219. package/dist/esm/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
  220. package/dist/esm/models/operations/disconnect-gateway-integration.js +16 -0
  221. package/dist/esm/models/operations/disconnect-gateway-integration.js.map +1 -1
  222. package/dist/esm/models/operations/get-artifact-version-file.d.ts +25 -0
  223. package/dist/esm/models/operations/get-artifact-version-file.d.ts.map +1 -0
  224. package/dist/esm/models/operations/get-artifact-version-file.js +14 -0
  225. package/dist/esm/models/operations/get-artifact-version-file.js.map +1 -0
  226. package/dist/esm/models/operations/get-gateway-git-hub-claim.d.ts +5 -4
  227. package/dist/esm/models/operations/get-gateway-git-hub-claim.d.ts.map +1 -1
  228. package/dist/esm/models/operations/get-gateway-git-hub-claim.js +2 -1
  229. package/dist/esm/models/operations/get-gateway-git-hub-claim.js.map +1 -1
  230. package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts +18 -0
  231. package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
  232. package/dist/esm/models/operations/get-gateway-integration-attempt.js +16 -0
  233. package/dist/esm/models/operations/get-gateway-integration-attempt.js.map +1 -1
  234. package/dist/esm/models/operations/index.d.ts +4 -0
  235. package/dist/esm/models/operations/index.d.ts.map +1 -1
  236. package/dist/esm/models/operations/index.js +4 -0
  237. package/dist/esm/models/operations/index.js.map +1 -1
  238. package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.d.ts +57 -0
  239. package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
  240. package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.js +42 -0
  241. package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.js.map +1 -0
  242. package/dist/esm/models/operations/list-gateway-integrations.d.ts +18 -0
  243. package/dist/esm/models/operations/list-gateway-integrations.d.ts.map +1 -1
  244. package/dist/esm/models/operations/list-gateway-integrations.js +16 -0
  245. package/dist/esm/models/operations/list-gateway-integrations.js.map +1 -1
  246. package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.d.ts +31 -0
  247. package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
  248. package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.js +30 -0
  249. package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.js.map +1 -0
  250. package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.d.ts +31 -0
  251. package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
  252. package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.js +30 -0
  253. package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.js.map +1 -0
  254. package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts +18 -0
  255. package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
  256. package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js +16 -0
  257. package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
  258. package/dist/esm/sdk/architech-sessions.d.ts +1 -1
  259. package/dist/esm/sdk/architech-sessions.js +1 -1
  260. package/dist/esm/sdk/artifacts.d.ts +10 -3
  261. package/dist/esm/sdk/artifacts.d.ts.map +1 -1
  262. package/dist/esm/sdk/artifacts.js +13 -3
  263. package/dist/esm/sdk/artifacts.js.map +1 -1
  264. package/dist/esm/sdk/gateway.d.ts +22 -1
  265. package/dist/esm/sdk/gateway.d.ts.map +1 -1
  266. package/dist/esm/sdk/gateway.js +31 -1
  267. package/dist/esm/sdk/gateway.js.map +1 -1
  268. package/dist/esm/sdk/helix-cloud.d.ts +1 -1
  269. package/dist/esm/sdk/helix-cloud.js +1 -1
  270. package/dist/esm/sdk/helix-sessions.d.ts +2 -2
  271. package/dist/esm/sdk/helix-sessions.js +2 -2
  272. package/dist/esm/sdk/sandbox-sessions.d.ts +2 -2
  273. package/dist/esm/sdk/sandbox-sessions.js +2 -2
  274. package/package.json +1 -1
@@ -62,7 +62,7 @@ class HelixCloud extends sdks_js_1.ClientSDK {
62
62
  * Start a session with its goal
63
63
  *
64
64
  * @remarks
65
- * Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
65
+ * Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
66
66
  *
67
67
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
68
68
  */
@@ -6,7 +6,7 @@ export declare class HelixSessions extends ClientSDK {
6
6
  * Launch a session (the helix harness)
7
7
  *
8
8
  * @remarks
9
- * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
9
+ * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
10
10
  *
11
11
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
12
12
  */
@@ -144,7 +144,7 @@ export declare class HelixSessions extends ClientSDK {
144
144
  * Launch a session (the helix harness)
145
145
  *
146
146
  * @remarks
147
- * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
147
+ * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
148
148
  */
149
149
  launchHelixSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
150
150
  /**
@@ -39,7 +39,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
39
39
  * Launch a session (the helix harness)
40
40
  *
41
41
  * @remarks
42
- * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
42
+ * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
43
43
  *
44
44
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
45
45
  */
@@ -209,7 +209,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
209
209
  * Launch a session (the helix harness)
210
210
  *
211
211
  * @remarks
212
- * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
212
+ * Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
213
213
  */
214
214
  async launchHelixSession(request, options) {
215
215
  return (0, fp_js_1.unwrapAsync)((0, helix_sessions_launch_helix_session_js_1.helixSessionsLaunchHelixSession)(this, request, options));
@@ -6,7 +6,7 @@ export declare class SandboxSessions extends ClientSDK {
6
6
  * Launch a session (any harness)
7
7
  *
8
8
  * @remarks
9
- * Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
9
+ * Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
10
10
  */
11
11
  launchSandboxSession(request: models.SandboxSessionLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
12
12
  /**
@@ -118,7 +118,7 @@ export declare class SandboxSessions extends ClientSDK {
118
118
  * Start a session with its goal
119
119
  *
120
120
  * @remarks
121
- * Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
121
+ * Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
122
122
  */
123
123
  startSandboxWebSession(request: models.SandboxSessionWebStartRequest, options?: RequestOptions): Promise<models.HelixCloudStarted>;
124
124
  /**
@@ -42,7 +42,7 @@ class SandboxSessions extends sdks_js_1.ClientSDK {
42
42
  * Launch a session (any harness)
43
43
  *
44
44
  * @remarks
45
- * Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
45
+ * Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
46
46
  */
47
47
  async launchSandboxSession(request, options) {
48
48
  return (0, fp_js_1.unwrapAsync)((0, sandbox_sessions_launch_sandbox_session_js_1.sandboxSessionsLaunchSandboxSession)(this, request, options));
@@ -186,7 +186,7 @@ class SandboxSessions extends sdks_js_1.ClientSDK {
186
186
  * Start a session with its goal
187
187
  *
188
188
  * @remarks
189
- * Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
189
+ * Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
190
190
  */
191
191
  async startSandboxWebSession(request, options) {
192
192
  return (0, fp_js_1.unwrapAsync)((0, sandbox_sessions_start_sandbox_web_session_js_1.sandboxSessionsStartSandboxWebSession)(this, request, options));
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Launch a session (the architech harness)
13
13
  *
14
14
  * @remarks
15
- * Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
15
+ * Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
16
16
  * Launch a session (the architech harness)
17
17
  *
18
18
  * @remarks
19
- * Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
19
+ * Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
20
20
  *
21
21
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
22
22
  */
@@ -0,0 +1,20 @@
1
+ import { MutagentCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
+ import * as errors from "../models/errors/index.js";
5
+ import { MutagentError } from "../models/errors/mutagent-error.js";
6
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
7
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * Download one file of an artifact version (sandbox)
13
+ *
14
+ * @remarks
15
+ * One file of one version, as bytes (content-disposition: attachment), for a sandbox's own task token (Bearer) with artifacts:read: the artifact must be in the token's workspace and open to it, or published by the token's own session (else 404 ARTIFACT_NOT_FOUND, also for a path the version does not list). `path` is the file's manifest path as published (e.g. assets/app.css); an empty or dot segment, a backslash or a control character is 400 ARTIFACT_PATH_INVALID. An expired token, or any caller without a sandbox token, is 401; a token without the scope 403 SANDBOX_SCOPE. Members read files through a view token (POST /artifacts/{id}/view).
16
+ *
17
+ * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
+ */
19
+ export declare function artifactsGetArtifactVersionFile(client: MutagentCore, request: operations.GetArtifactVersionFileRequest, options?: RequestOptions): APIPromise<Result<ReadableStream<Uint8Array>, errors.ErrorResponse | errors.ErrorResponseWithStatus | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
20
+ //# sourceMappingURL=artifacts-get-artifact-version-file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts-get-artifact-version-file.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-get-artifact-version-file.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,cAAc,CAAC,UAAU,CAAC,EACxB,MAAM,CAAC,aAAa,GACpB,MAAM,CAAC,uBAAuB,GAC9B,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,98 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
6
+ import { matchStatusCode } from "../lib/http.js";
7
+ import * as M from "../lib/matchers.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
11
+ import { pathToFunc } from "../lib/url.js";
12
+ import * as errors from "../models/errors/index.js";
13
+ import * as operations from "../models/operations/index.js";
14
+ import { APIPromise } from "../types/async.js";
15
+ /**
16
+ * Download one file of an artifact version (sandbox)
17
+ *
18
+ * @remarks
19
+ * One file of one version, as bytes (content-disposition: attachment), for a sandbox's own task token (Bearer) with artifacts:read: the artifact must be in the token's workspace and open to it, or published by the token's own session (else 404 ARTIFACT_NOT_FOUND, also for a path the version does not list). `path` is the file's manifest path as published (e.g. assets/app.css); an empty or dot segment, a backslash or a control character is 400 ARTIFACT_PATH_INVALID. An expired token, or any caller without a sandbox token, is 401; a token without the scope 403 SANDBOX_SCOPE. Members read files through a view token (POST /artifacts/{id}/view).
20
+ *
21
+ * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
22
+ */
23
+ export function artifactsGetArtifactVersionFile(client, request, options) {
24
+ return new APIPromise($do(client, request, options));
25
+ }
26
+ async function $do(client, request, options) {
27
+ const parsed = safeParse(request, (value) => z.parse(operations.GetArtifactVersionFileRequest$outboundSchema, value), "Input validation failed");
28
+ if (!parsed.ok) {
29
+ return [parsed, { status: "invalid" }];
30
+ }
31
+ const payload = parsed.value;
32
+ const body = null;
33
+ const pathParams = {
34
+ id: encodeSimple("id", payload.id, {
35
+ explode: false,
36
+ charEncoding: "percent",
37
+ }),
38
+ version: encodeSimple("version", payload.version, {
39
+ explode: false,
40
+ charEncoding: "percent",
41
+ }),
42
+ };
43
+ const path = pathToFunc("/api/artifacts/{id}/versions/{version}/file")(pathParams);
44
+ const query = encodeFormQuery({
45
+ "path": payload.path,
46
+ });
47
+ const headers = new Headers(compactMap({
48
+ Accept: "application/octet-stream",
49
+ }));
50
+ const securityInput = await extractSecurity(client._options.security);
51
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1]);
52
+ const context = {
53
+ options: client._options,
54
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
55
+ operationID: "getArtifactVersionFile",
56
+ oAuth2Scopes: null,
57
+ resolvedSecurity: requestSecurity,
58
+ securitySource: client._options.security,
59
+ retryConfig: options?.retries
60
+ || client._options.retryConfig
61
+ || { strategy: "none" },
62
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
63
+ };
64
+ const requestRes = client._createRequest(context, {
65
+ security: requestSecurity,
66
+ method: "GET",
67
+ baseURL: options?.serverURL,
68
+ path: path,
69
+ headers: headers,
70
+ query: query,
71
+ body: body,
72
+ userAgent: client._options.userAgent,
73
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
74
+ }, options);
75
+ if (!requestRes.ok) {
76
+ return [requestRes, { status: "invalid" }];
77
+ }
78
+ const req = requestRes.value;
79
+ const doResult = await client._do(req, {
80
+ context,
81
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82
+ retryConfig: context.retryConfig,
83
+ retryCodes: context.retryCodes,
84
+ });
85
+ if (!doResult.ok) {
86
+ return [doResult, { status: "request-error", request: req }];
87
+ }
88
+ const response = doResult.value;
89
+ const responseFields = {
90
+ HttpMeta: { Response: response, Request: req },
91
+ };
92
+ const [result] = await M.match(M.stream(200, z.custom(x => x instanceof ReadableStream)), M.jsonErr([400, 401, 403, 404], errors.ErrorResponse$inboundSchema), M.jsonErr(500, errors.ErrorResponseWithStatus$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
93
+ if (!result.ok) {
94
+ return [result, { status: "complete", request: req, response }];
95
+ }
96
+ return [result, { status: "complete", request: req, response }];
97
+ }
98
+ //# sourceMappingURL=artifacts-get-artifact-version-file.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts-get-artifact-version-file.js","sourceRoot":"","sources":["../../../src/funcs/artifacts-get-artifact-version-file.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAA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CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,cAAc,CAAC,CACvE,EACD,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,2BAA2B,CAAC,EACnE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,qCAAqC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -13,9 +13,9 @@ import { Result } from "../types/fp.js";
13
13
  * Read an artifact
14
14
  *
15
15
  * @remarks
16
- * The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open.
16
+ * The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open. Also takes a sandbox’s own task token (Bearer) with artifacts:read, for an artifact of the token’s workspace open to it or published by its own session (else 404); members is then empty. An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
20
- export declare function artifactsGetArtifact(client: MutagentCore, request: operations.GetArtifactRequest, options?: RequestOptions): APIPromise<Result<models.ArtifactDetail, errors.ArtifactsError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
20
+ export declare function artifactsGetArtifact(client: MutagentCore, request: operations.GetArtifactRequest, options?: RequestOptions): APIPromise<Result<models.ArtifactDetail, errors.GetArtifactUnauthorized | errors.GetArtifactForbidden | errors.ArtifactsError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
21
21
  //# sourceMappingURL=artifacts-get-artifact.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts-get-artifact.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-get-artifact.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,cAAc,EACnB,MAAM,CAAC,cAAc,GACrB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
1
+ {"version":3,"file":"artifacts-get-artifact.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-get-artifact.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,cAAc,EACnB,MAAM,CAAC,uBAAuB,GAC9B,MAAM,CAAC,oBAAoB,GAC3B,MAAM,CAAC,cAAc,GACrB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
17
17
  * Read an artifact
18
18
  *
19
19
  * @remarks
20
- * The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open.
20
+ * The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open. Also takes a sandbox’s own task token (Bearer) with artifacts:read, for an artifact of the token’s workspace open to it or published by its own session (else 404); members is then empty. An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
21
21
  *
22
22
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
23
23
  */
@@ -86,7 +86,7 @@ async function $do(client, request, options) {
86
86
  const responseFields = {
87
87
  HttpMeta: { Response: response, Request: req },
88
88
  };
89
- const [result] = await M.match(M.json(200, models.ArtifactDetail$inboundSchema), M.jsonErr(404, errors.ArtifactsError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
89
+ const [result] = await M.match(M.json(200, models.ArtifactDetail$inboundSchema), M.jsonErr(401, errors.GetArtifactUnauthorized$inboundSchema), M.jsonErr(403, errors.GetArtifactForbidden$inboundSchema), M.jsonErr(404, errors.ArtifactsError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
90
90
  if (!result.ok) {
91
91
  return [result, { status: "complete", request: req, response }];
92
92
  }
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts-get-artifact.js","sourceRoot":"","sources":["../../../src/funcs/artifacts-get-artifact.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,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AE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAc5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,4BAA4B,CAAC,EAChD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,qCAAqC,CAAC,EAC5D,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,kCAAkC,CAAC,EACzD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,4BAA4B,CAAC,EACnD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -13,9 +13,9 @@ import { Result } from "../types/fp.js";
13
13
  * List an artifact's versions
14
14
  *
15
15
  * @remarks
16
- * Newest first, with who published each and whether it was a rollback.
16
+ * Newest first, with who published each and whether it was a rollback. Also takes a sandbox’s own task token (Bearer) with artifacts:read, as GET /artifacts/{id}.
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
20
- export declare function artifactsListArtifactVersions(client: MutagentCore, request: operations.ListArtifactVersionsRequest, options?: RequestOptions): APIPromise<Result<models.ArtifactVersionList, errors.ArtifactsError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
20
+ export declare function artifactsListArtifactVersions(client: MutagentCore, request: operations.ListArtifactVersionsRequest, options?: RequestOptions): APIPromise<Result<models.ArtifactVersionList, errors.ListArtifactVersionsUnauthorized | errors.ListArtifactVersionsForbidden | errors.ArtifactsError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
21
21
  //# sourceMappingURL=artifacts-list-artifact-versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts-list-artifact-versions.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifact-versions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,mBAAmB,EACxB,MAAM,CAAC,cAAc,GACrB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
1
+ {"version":3,"file":"artifacts-list-artifact-versions.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifact-versions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,mBAAmB,EACxB,MAAM,CAAC,gCAAgC,GACvC,MAAM,CAAC,6BAA6B,GACpC,MAAM,CAAC,cAAc,GACrB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
17
17
  * List an artifact's versions
18
18
  *
19
19
  * @remarks
20
- * Newest first, with who published each and whether it was a rollback.
20
+ * Newest first, with who published each and whether it was a rollback. Also takes a sandbox’s own task token (Bearer) with artifacts:read, as GET /artifacts/{id}.
21
21
  *
22
22
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
23
23
  */
@@ -82,7 +82,7 @@ async function $do(client, request, options) {
82
82
  const responseFields = {
83
83
  HttpMeta: { Response: response, Request: req },
84
84
  };
85
- const [result] = await M.match(M.json(200, models.ArtifactVersionList$inboundSchema), M.jsonErr(404, errors.ArtifactsError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
85
+ const [result] = await M.match(M.json(200, models.ArtifactVersionList$inboundSchema), M.jsonErr(401, errors.ListArtifactVersionsUnauthorized$inboundSchema), M.jsonErr(403, errors.ListArtifactVersionsForbidden$inboundSchema), M.jsonErr(404, errors.ArtifactsError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
86
86
  if (!result.ok) {
87
87
  return [result, { status: "complete", request: req, response }];
88
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts-list-artifact-versions.js","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifact-versions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;A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AAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
1
+ {"version":3,"file":"artifacts-list-artifact-versions.js","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifact-versions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAIpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;;;GAOG;AACH,MAAM,UAAU,6BAA6B,CAC3C,MAAoB,EACpB,OAA+C,EAC/C,OAAwB;IAiBxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAoB,EACpB,OAA+C,EAC/C,OAAwB;IAoBxB,MAAM,MAAM,GAAG,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M,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAc5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,iCAAiC,CAAC,EACrD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,8CAA8C,CAAC,EACrE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,2CAA2C,CAAC,EAClE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,4BAA4B,CAAC,EACnD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -13,9 +13,9 @@ import { Result } from "../types/fp.js";
13
13
  * List artifacts
14
14
  *
15
15
  * @remarks
16
- * Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order.
16
+ * Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order. Also takes a sandbox’s own task token (Bearer) with artifacts:read: the workspace is the token’s, and it lists what is open to that workspace plus what its own session published (scope=mine: only those; shared: none). An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
20
- export declare function artifactsListArtifacts(client: MutagentCore, request?: operations.ListArtifactsRequest | undefined, options?: RequestOptions): APIPromise<Result<models.ArtifactList, errors.ArtifactsError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
20
+ export declare function artifactsListArtifacts(client: MutagentCore, request?: operations.ListArtifactsRequest | undefined, options?: RequestOptions): APIPromise<Result<models.ArtifactList, errors.ArtifactsError | errors.ListArtifactsUnauthorized | errors.ListArtifactsForbidden | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
21
21
  //# sourceMappingURL=artifacts-list-artifacts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts-list-artifacts.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifacts.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,YAAY,EACjB,MAAM,CAAC,cAAc,GACrB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
1
+ {"version":3,"file":"artifacts-list-artifacts.d.ts","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifacts.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,YAAY,EACjB,MAAM,CAAC,cAAc,GACrB,MAAM,CAAC,yBAAyB,GAChC,MAAM,CAAC,sBAAsB,GAC7B,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
17
17
  * List artifacts
18
18
  *
19
19
  * @remarks
20
- * Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order.
20
+ * Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order. Also takes a sandbox’s own task token (Bearer) with artifacts:read: the workspace is the token’s, and it lists what is open to that workspace plus what its own session published (scope=mine: only those; shared: none). An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
21
21
  *
22
22
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
23
23
  */
@@ -87,7 +87,7 @@ async function $do(client, request, options) {
87
87
  const responseFields = {
88
88
  HttpMeta: { Response: response, Request: req },
89
89
  };
90
- const [result] = await M.match(M.json(200, models.ArtifactList$inboundSchema), M.jsonErr(400, errors.ArtifactsError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
90
+ const [result] = await M.match(M.json(200, models.ArtifactList$inboundSchema), M.jsonErr(400, errors.ArtifactsError$inboundSchema), M.jsonErr(401, errors.ListArtifactsUnauthorized$inboundSchema), M.jsonErr(403, errors.ListArtifactsForbidden$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
91
91
  if (!result.ok) {
92
92
  return [result, { status: "complete", request: req, response }];
93
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts-list-artifacts.js","sourceRoot":"","sources":["../../../src/funcs/artifacts-list-artifacts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAA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  * Claim an existing GitHub installation for this organization and workspace
13
13
  *
14
14
  * @remarks
15
- * One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
15
+ * One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named; join it with mode 'join' when you are an active member of its GitHub organization: 403 installation_not_member otherwise, 403 installation_grant_revoked when that organization revoked yours: only it can restore it); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
16
16
  * Claim an existing GitHub installation for this organization and workspace
17
17
  *
18
18
  * @remarks
19
- * One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
19
+ * One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named; join it with mode 'join' when you are an active member of its GitHub organization: 403 installation_not_member otherwise, 403 installation_grant_revoked when that organization revoked yours: only it can restore it); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
20
20
  *
21
21
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
22
22
  */
@@ -0,0 +1,20 @@
1
+ import { MutagentCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
+ import * as errors from "../models/errors/index.js";
5
+ import { MutagentError } from "../models/errors/mutagent-error.js";
6
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
7
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * List the organizations that joined this GitHub installation (owner view)
13
+ *
14
+ * @remarks
15
+ * For the organization that holds the installation (its admins and owners): each grant another MutagenT organization holds through a verified member of the GitHub organization: grantId, githubLogin, organizationName, joinedAt, status and membershipLapsedAt (a flag the daily re-check sets; never enforced). Nothing else of the joining organization. Another organization: 404; a member who is not an admin: 403.
16
+ *
17
+ * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
+ */
19
+ export declare function gatewayListGatewayGitHubInstallationGrants(client: MutagentCore, request: operations.ListGatewayGitHubInstallationGrantsRequest, options?: RequestOptions): APIPromise<Result<operations.ListGatewayGitHubInstallationGrantsResponse, errors.ListGatewayGitHubInstallationGrantsForbidden | errors.ListGatewayGitHubInstallationGrantsNotFoundError | errors.ListGatewayGitHubInstallationGrantsServiceUnavailableError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
20
+ //# sourceMappingURL=gateway-list-gateway-git-hub-installation-grants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateway-list-gateway-git-hub-installation-grants.d.ts","sourceRoot":"","sources":["../../../src/funcs/gateway-list-gateway-git-hub-installation-grants.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,0CAA0C,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,4CAA4C,GACnD,MAAM,CAAC,gDAAgD,GACvD,MAAM,CAAC,0DAA0D,GACjE,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}