@agentxm/client-core 0.17.0 → 0.19.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 (550) hide show
  1. package/dist/src/unstable/agent-capabilities/catalog.d.ts +56 -12
  2. package/dist/src/unstable/agent-capabilities/catalog.d.ts.map +1 -1
  3. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +27 -5
  4. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts.map +1 -1
  5. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +17 -5
  6. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js.map +1 -1
  7. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +1 -1
  8. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +1 -1
  9. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js.map +1 -1
  10. package/dist/src/unstable/agent-capabilities/schema.d.ts +19 -19
  11. package/dist/src/unstable/agent-capabilities/schema.d.ts.map +1 -1
  12. package/dist/src/unstable/agent-capabilities/schema.js +2 -1
  13. package/dist/src/unstable/agent-capabilities/schema.js.map +1 -1
  14. package/dist/src/unstable/agents/augment/service.d.ts +2 -2
  15. package/dist/src/unstable/agents/augment/service.d.ts.map +1 -1
  16. package/dist/src/unstable/agents/augment/service.js +4 -3
  17. package/dist/src/unstable/agents/augment/service.js.map +1 -1
  18. package/dist/src/unstable/agents/claude-code/service.d.ts +2 -2
  19. package/dist/src/unstable/agents/claude-code/service.d.ts.map +1 -1
  20. package/dist/src/unstable/agents/claude-code/service.js +4 -3
  21. package/dist/src/unstable/agents/claude-code/service.js.map +1 -1
  22. package/dist/src/unstable/agents/codex/service.d.ts +1 -1
  23. package/dist/src/unstable/agents/codex/service.d.ts.map +1 -1
  24. package/dist/src/unstable/agents/codex/service.js +3 -2
  25. package/dist/src/unstable/agents/codex/service.js.map +1 -1
  26. package/dist/src/unstable/agents/coding-agent.d.ts +2 -1
  27. package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -1
  28. package/dist/src/unstable/agents/coding-agent.js.map +1 -1
  29. package/dist/src/unstable/agents/cursor/service.d.ts +2 -2
  30. package/dist/src/unstable/agents/cursor/service.d.ts.map +1 -1
  31. package/dist/src/unstable/agents/cursor/service.js +4 -3
  32. package/dist/src/unstable/agents/cursor/service.js.map +1 -1
  33. package/dist/src/unstable/agents/descriptor-paths.d.ts +18 -0
  34. package/dist/src/unstable/agents/descriptor-paths.d.ts.map +1 -0
  35. package/dist/src/unstable/agents/descriptor-paths.js +33 -0
  36. package/dist/src/unstable/agents/descriptor-paths.js.map +1 -0
  37. package/dist/src/unstable/agents/gemini-cli/service.d.ts +2 -2
  38. package/dist/src/unstable/agents/gemini-cli/service.d.ts.map +1 -1
  39. package/dist/src/unstable/agents/gemini-cli/service.js +4 -3
  40. package/dist/src/unstable/agents/gemini-cli/service.js.map +1 -1
  41. package/dist/src/unstable/agents/github-copilot-cli/service.d.ts +1 -1
  42. package/dist/src/unstable/agents/github-copilot-cli/service.d.ts.map +1 -1
  43. package/dist/src/unstable/agents/github-copilot-cli/service.js +3 -2
  44. package/dist/src/unstable/agents/github-copilot-cli/service.js.map +1 -1
  45. package/dist/src/unstable/agents/instructions.d.ts.map +1 -1
  46. package/dist/src/unstable/agents/instructions.js +2 -1
  47. package/dist/src/unstable/agents/instructions.js.map +1 -1
  48. package/dist/src/unstable/agents/junie/service.d.ts +2 -2
  49. package/dist/src/unstable/agents/junie/service.d.ts.map +1 -1
  50. package/dist/src/unstable/agents/junie/service.js +4 -3
  51. package/dist/src/unstable/agents/junie/service.js.map +1 -1
  52. package/dist/src/unstable/agents/kilo/service.d.ts +1 -1
  53. package/dist/src/unstable/agents/kilo/service.d.ts.map +1 -1
  54. package/dist/src/unstable/agents/kilo/service.js +3 -2
  55. package/dist/src/unstable/agents/kilo/service.js.map +1 -1
  56. package/dist/src/unstable/agents/kiro-cli/service.d.ts +2 -2
  57. package/dist/src/unstable/agents/kiro-cli/service.d.ts.map +1 -1
  58. package/dist/src/unstable/agents/kiro-cli/service.js +4 -3
  59. package/dist/src/unstable/agents/kiro-cli/service.js.map +1 -1
  60. package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
  61. package/dist/src/unstable/agents/mcp-sync.js +19 -3
  62. package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
  63. package/dist/src/unstable/agents/opencode/service.d.ts +2 -2
  64. package/dist/src/unstable/agents/opencode/service.d.ts.map +1 -1
  65. package/dist/src/unstable/agents/opencode/service.js +4 -3
  66. package/dist/src/unstable/agents/opencode/service.js.map +1 -1
  67. package/dist/src/unstable/agents/project-only-agent.d.ts +5 -4
  68. package/dist/src/unstable/agents/project-only-agent.d.ts.map +1 -1
  69. package/dist/src/unstable/agents/project-only-agent.js +10 -3
  70. package/dist/src/unstable/agents/project-only-agent.js.map +1 -1
  71. package/dist/src/unstable/agents/repository.js +1 -1
  72. package/dist/src/unstable/agents/repository.js.map +1 -1
  73. package/dist/src/unstable/agents/roo/service.d.ts +2 -2
  74. package/dist/src/unstable/agents/roo/service.d.ts.map +1 -1
  75. package/dist/src/unstable/agents/roo/service.js +4 -3
  76. package/dist/src/unstable/agents/roo/service.js.map +1 -1
  77. package/dist/src/unstable/agents/windsurf/service.d.ts +1 -3
  78. package/dist/src/unstable/agents/windsurf/service.d.ts.map +1 -1
  79. package/dist/src/unstable/agents/windsurf/service.js +7 -5
  80. package/dist/src/unstable/agents/windsurf/service.js.map +1 -1
  81. package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
  82. package/dist/src/unstable/auth/credential-store.js +51 -26
  83. package/dist/src/unstable/auth/credential-store.js.map +1 -1
  84. package/dist/src/unstable/auth/device-login.d.ts +1 -1
  85. package/dist/src/unstable/auth/loopback-login.d.ts +1 -1
  86. package/dist/src/unstable/cli-flags/index.d.ts.map +1 -1
  87. package/dist/src/unstable/cli-flags/index.js +1 -1
  88. package/dist/src/unstable/cli-flags/index.js.map +1 -1
  89. package/dist/src/unstable/cli-flags/resolve-verbosity.js +1 -1
  90. package/dist/src/unstable/cli-flags/resolve-verbosity.js.map +1 -1
  91. package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts.map +1 -1
  92. package/dist/src/unstable/cli-renderer/ansi-chrome.js +1 -7
  93. package/dist/src/unstable/cli-renderer/ansi-chrome.js.map +1 -1
  94. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
  95. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +1 -25
  96. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
  97. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
  98. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +1 -21
  99. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
  100. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
  101. package/dist/src/unstable/cli-renderer/cli-renderer-test.js +1 -9
  102. package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
  103. package/dist/src/unstable/cli-renderer/markdown-formatter.d.ts.map +1 -1
  104. package/dist/src/unstable/cli-renderer/markdown-formatter.js +2 -3
  105. package/dist/src/unstable/cli-renderer/markdown-formatter.js.map +1 -1
  106. package/dist/src/unstable/cli-renderer/renderer-helpers.d.ts +12 -0
  107. package/dist/src/unstable/cli-renderer/renderer-helpers.d.ts.map +1 -0
  108. package/dist/src/unstable/cli-renderer/renderer-helpers.js +27 -0
  109. package/dist/src/unstable/cli-renderer/renderer-helpers.js.map +1 -0
  110. package/dist/src/unstable/cli-runtime/command-argv.d.ts +1 -1
  111. package/dist/src/unstable/cli-runtime/command-argv.d.ts.map +1 -1
  112. package/dist/src/unstable/cli-runtime/command-argv.js +2 -2
  113. package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -1
  114. package/dist/src/unstable/cli-runtime/command-summary.d.ts +1 -1
  115. package/dist/src/unstable/cli-runtime/command-summary.d.ts.map +1 -1
  116. package/dist/src/unstable/cli-runtime/command-summary.js.map +1 -1
  117. package/dist/src/unstable/cli-runtime/index.d.ts +1 -0
  118. package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
  119. package/dist/src/unstable/cli-runtime/index.js +1 -0
  120. package/dist/src/unstable/cli-runtime/index.js.map +1 -1
  121. package/dist/src/unstable/cli-runtime/json-help-doc.d.ts +126 -0
  122. package/dist/src/unstable/cli-runtime/json-help-doc.d.ts.map +1 -0
  123. package/dist/src/unstable/cli-runtime/json-help-doc.js +89 -0
  124. package/dist/src/unstable/cli-runtime/json-help-doc.js.map +1 -0
  125. package/dist/src/unstable/cli-runtime/operation-plan.d.ts.map +1 -1
  126. package/dist/src/unstable/cli-runtime/operation-plan.js +2 -1
  127. package/dist/src/unstable/cli-runtime/operation-plan.js.map +1 -1
  128. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +2 -2
  129. package/dist/src/unstable/commands/manager.d.ts.map +1 -1
  130. package/dist/src/unstable/commands/manager.js +37 -166
  131. package/dist/src/unstable/commands/manager.js.map +1 -1
  132. package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
  133. package/dist/src/unstable/commands/operations/enable.js +2 -9
  134. package/dist/src/unstable/commands/operations/enable.js.map +1 -1
  135. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
  136. package/dist/src/unstable/commands/operations/publish.js +1 -1
  137. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  138. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +9 -9
  139. package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -1
  140. package/dist/src/unstable/commands/operations/uninstall.js +2 -2
  141. package/dist/src/unstable/commands/operations/uninstall.js.map +1 -1
  142. package/dist/src/unstable/commands/paths.d.ts +1 -1
  143. package/dist/src/unstable/commands/paths.d.ts.map +1 -1
  144. package/dist/src/unstable/commands/paths.js +6 -14
  145. package/dist/src/unstable/commands/paths.js.map +1 -1
  146. package/dist/src/unstable/extensions/canonical-path.d.ts +21 -0
  147. package/dist/src/unstable/extensions/canonical-path.d.ts.map +1 -0
  148. package/dist/src/unstable/extensions/canonical-path.js +12 -0
  149. package/dist/src/unstable/extensions/canonical-path.js.map +1 -0
  150. package/dist/src/unstable/extensions/configured-entry.d.ts +11 -0
  151. package/dist/src/unstable/extensions/configured-entry.d.ts.map +1 -0
  152. package/dist/src/unstable/extensions/configured-entry.js +8 -0
  153. package/dist/src/unstable/extensions/configured-entry.js.map +1 -0
  154. package/dist/src/unstable/extensions/discovery-walk.d.ts +8 -0
  155. package/dist/src/unstable/extensions/discovery-walk.d.ts.map +1 -0
  156. package/dist/src/unstable/extensions/discovery-walk.js +15 -0
  157. package/dist/src/unstable/extensions/discovery-walk.js.map +1 -0
  158. package/dist/src/unstable/extensions/extension-paths.d.ts +63 -0
  159. package/dist/src/unstable/extensions/extension-paths.d.ts.map +1 -0
  160. package/dist/src/unstable/extensions/extension-paths.js +45 -0
  161. package/dist/src/unstable/extensions/extension-paths.js.map +1 -0
  162. package/dist/src/unstable/extensions/index.d.ts +4 -0
  163. package/dist/src/unstable/extensions/index.d.ts.map +1 -1
  164. package/dist/src/unstable/extensions/index.js +4 -0
  165. package/dist/src/unstable/extensions/index.js.map +1 -1
  166. package/dist/src/unstable/extensions/installable-types.d.ts +1 -2
  167. package/dist/src/unstable/extensions/installable-types.d.ts.map +1 -1
  168. package/dist/src/unstable/extensions/installable-types.js +7 -44
  169. package/dist/src/unstable/extensions/installable-types.js.map +1 -1
  170. package/dist/src/unstable/extensions/manifest-package-discovery.d.ts +28 -0
  171. package/dist/src/unstable/extensions/manifest-package-discovery.d.ts.map +1 -0
  172. package/dist/src/unstable/extensions/manifest-package-discovery.js +96 -0
  173. package/dist/src/unstable/extensions/manifest-package-discovery.js.map +1 -0
  174. package/dist/src/unstable/extensions/marker-fqn.d.ts +23 -0
  175. package/dist/src/unstable/extensions/marker-fqn.d.ts.map +1 -0
  176. package/dist/src/unstable/extensions/marker-fqn.js +10 -0
  177. package/dist/src/unstable/extensions/marker-fqn.js.map +1 -0
  178. package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -1
  179. package/dist/src/unstable/extensions/materializable-from-disk.js +5 -4
  180. package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
  181. package/dist/src/unstable/extensions/package-materialization.d.ts +44 -0
  182. package/dist/src/unstable/extensions/package-materialization.d.ts.map +1 -0
  183. package/dist/src/unstable/extensions/package-materialization.js +85 -0
  184. package/dist/src/unstable/extensions/package-materialization.js.map +1 -0
  185. package/dist/src/unstable/files/discovery.d.ts +4 -4
  186. package/dist/src/unstable/files/discovery.d.ts.map +1 -1
  187. package/dist/src/unstable/files/discovery.js +7 -94
  188. package/dist/src/unstable/files/discovery.js.map +1 -1
  189. package/dist/src/unstable/files/manager.d.ts.map +1 -1
  190. package/dist/src/unstable/files/manager.js +34 -134
  191. package/dist/src/unstable/files/manager.js.map +1 -1
  192. package/dist/src/unstable/hooks/discovery.d.ts +3 -3
  193. package/dist/src/unstable/hooks/discovery.d.ts.map +1 -1
  194. package/dist/src/unstable/hooks/discovery.js +6 -93
  195. package/dist/src/unstable/hooks/discovery.js.map +1 -1
  196. package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
  197. package/dist/src/unstable/hooks/manager.js +35 -136
  198. package/dist/src/unstable/hooks/manager.js.map +1 -1
  199. package/dist/src/unstable/hooks/operations/publish.d.ts.map +1 -1
  200. package/dist/src/unstable/hooks/operations/publish.js +1 -1
  201. package/dist/src/unstable/hooks/operations/publish.js.map +1 -1
  202. package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
  203. package/dist/src/unstable/install-meta/install-meta.js +4 -4
  204. package/dist/src/unstable/install-meta/install-meta.js.map +1 -1
  205. package/dist/src/unstable/install-method/install-method.d.ts.map +1 -1
  206. package/dist/src/unstable/install-method/install-method.js +3 -2
  207. package/dist/src/unstable/install-method/install-method.js.map +1 -1
  208. package/dist/src/unstable/libraries/index.d.ts +3 -0
  209. package/dist/src/unstable/libraries/index.d.ts.map +1 -0
  210. package/dist/src/unstable/libraries/index.js +2 -0
  211. package/dist/src/unstable/libraries/index.js.map +1 -0
  212. package/dist/src/unstable/libraries/ref.d.ts +17 -0
  213. package/dist/src/unstable/libraries/ref.d.ts.map +1 -0
  214. package/dist/src/unstable/libraries/ref.js +43 -0
  215. package/dist/src/unstable/libraries/ref.js.map +1 -0
  216. package/dist/src/unstable/lint/catalog/command/manifest-present.d.ts +1 -2
  217. package/dist/src/unstable/lint/catalog/command/manifest-present.d.ts.map +1 -1
  218. package/dist/src/unstable/lint/catalog/command/manifest-present.js +6 -20
  219. package/dist/src/unstable/lint/catalog/command/manifest-present.js.map +1 -1
  220. package/dist/src/unstable/lint/catalog/files/manifest-present.d.ts +1 -2
  221. package/dist/src/unstable/lint/catalog/files/manifest-present.d.ts.map +1 -1
  222. package/dist/src/unstable/lint/catalog/files/manifest-present.js +6 -20
  223. package/dist/src/unstable/lint/catalog/files/manifest-present.js.map +1 -1
  224. package/dist/src/unstable/lint/catalog/hook/manifest-present.d.ts +1 -2
  225. package/dist/src/unstable/lint/catalog/hook/manifest-present.d.ts.map +1 -1
  226. package/dist/src/unstable/lint/catalog/hook/manifest-present.js +6 -20
  227. package/dist/src/unstable/lint/catalog/hook/manifest-present.js.map +1 -1
  228. package/dist/src/unstable/lint/catalog/mcp-server/manifest-keys-recognized.js +2 -2
  229. package/dist/src/unstable/lint/catalog/mcp-server/manifest-keys-recognized.js.map +1 -1
  230. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.d.ts +1 -2
  231. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.d.ts.map +1 -1
  232. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js +8 -22
  233. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js.map +1 -1
  234. package/dist/src/unstable/lint/catalog/mcp-server/manifest-schema-valid.js +2 -2
  235. package/dist/src/unstable/lint/catalog/mcp-server/manifest-schema-valid.js.map +1 -1
  236. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts +1 -2
  237. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts.map +1 -1
  238. package/dist/src/unstable/lint/catalog/pack/manifest-present.js +6 -20
  239. package/dist/src/unstable/lint/catalog/pack/manifest-present.js.map +1 -1
  240. package/dist/src/unstable/lint/catalog/shared/manifest-json.js +1 -1
  241. package/dist/src/unstable/lint/catalog/shared/manifest-json.js.map +1 -1
  242. package/dist/src/unstable/lint/catalog/shared/manifest-present.d.ts +25 -0
  243. package/dist/src/unstable/lint/catalog/shared/manifest-present.d.ts.map +1 -0
  244. package/dist/src/unstable/lint/catalog/shared/manifest-present.js +37 -0
  245. package/dist/src/unstable/lint/catalog/shared/manifest-present.js.map +1 -0
  246. package/dist/src/unstable/lint/catalog/shared/schema-rule.js +2 -2
  247. package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
  248. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts +1 -2
  249. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts.map +1 -1
  250. package/dist/src/unstable/lint/catalog/skill/manifest-present.js +8 -25
  251. package/dist/src/unstable/lint/catalog/skill/manifest-present.js.map +1 -1
  252. package/dist/src/unstable/lint/catalog/subagent/manifest-present.d.ts +1 -2
  253. package/dist/src/unstable/lint/catalog/subagent/manifest-present.d.ts.map +1 -1
  254. package/dist/src/unstable/lint/catalog/subagent/manifest-present.js +6 -20
  255. package/dist/src/unstable/lint/catalog/subagent/manifest-present.js.map +1 -1
  256. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts.map +1 -1
  257. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js +3 -2
  258. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js.map +1 -1
  259. package/dist/src/unstable/lockfile/entry-fields.d.ts +34 -0
  260. package/dist/src/unstable/lockfile/entry-fields.d.ts.map +1 -0
  261. package/dist/src/unstable/lockfile/entry-fields.js +51 -0
  262. package/dist/src/unstable/lockfile/entry-fields.js.map +1 -0
  263. package/dist/src/unstable/lockfile/index.d.ts +3 -3
  264. package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
  265. package/dist/src/unstable/lockfile/index.js +2 -2
  266. package/dist/src/unstable/lockfile/index.js.map +1 -1
  267. package/dist/src/unstable/lockfile/lockfile.d.ts +1221 -288
  268. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
  269. package/dist/src/unstable/lockfile/lockfile.js +223 -31
  270. package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
  271. package/dist/src/unstable/lockfile/schema.d.ts +96 -0
  272. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  273. package/dist/src/unstable/lockfile/schema.js +54 -0
  274. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  275. package/dist/src/unstable/mcps/config-writer.d.ts +2 -1
  276. package/dist/src/unstable/mcps/config-writer.d.ts.map +1 -1
  277. package/dist/src/unstable/mcps/config-writer.js +77 -29
  278. package/dist/src/unstable/mcps/config-writer.js.map +1 -1
  279. package/dist/src/unstable/mcps/inspection.d.ts.map +1 -1
  280. package/dist/src/unstable/mcps/inspection.js +24 -4
  281. package/dist/src/unstable/mcps/inspection.js.map +1 -1
  282. package/dist/src/unstable/mcps/manifest-schema.d.ts +3 -3
  283. package/dist/src/unstable/mcps/manifest-schema.d.ts.map +1 -1
  284. package/dist/src/unstable/mcps/manifest-schema.js +4 -4
  285. package/dist/src/unstable/mcps/manifest-schema.js.map +1 -1
  286. package/dist/src/unstable/mcps/operations/disable.d.ts.map +1 -1
  287. package/dist/src/unstable/mcps/operations/disable.js +2 -2
  288. package/dist/src/unstable/mcps/operations/disable.js.map +1 -1
  289. package/dist/src/unstable/mcps/operations/enable.d.ts.map +1 -1
  290. package/dist/src/unstable/mcps/operations/enable.js +5 -8
  291. package/dist/src/unstable/mcps/operations/enable.js.map +1 -1
  292. package/dist/src/unstable/mcps/operations/install.d.ts.map +1 -1
  293. package/dist/src/unstable/mcps/operations/install.js +34 -13
  294. package/dist/src/unstable/mcps/operations/install.js.map +1 -1
  295. package/dist/src/unstable/mcps/operations/publish.d.ts +1 -1
  296. package/dist/src/unstable/mcps/operations/publish.d.ts.map +1 -1
  297. package/dist/src/unstable/mcps/operations/publish.js +2 -2
  298. package/dist/src/unstable/mcps/operations/publish.js.map +1 -1
  299. package/dist/src/unstable/mcps/operations/uninstall.d.ts.map +1 -1
  300. package/dist/src/unstable/mcps/operations/uninstall.js +4 -4
  301. package/dist/src/unstable/mcps/operations/uninstall.js.map +1 -1
  302. package/dist/src/unstable/packaging/bazel.d.ts.map +1 -1
  303. package/dist/src/unstable/packaging/bazel.js +2 -29
  304. package/dist/src/unstable/packaging/bazel.js.map +1 -1
  305. package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
  306. package/dist/src/unstable/packaging/cargo.js +1 -12
  307. package/dist/src/unstable/packaging/cargo.js.map +1 -1
  308. package/dist/src/unstable/packaging/cocoapods.d.ts.map +1 -1
  309. package/dist/src/unstable/packaging/cocoapods.js +1 -26
  310. package/dist/src/unstable/packaging/cocoapods.js.map +1 -1
  311. package/dist/src/unstable/packaging/composer.d.ts.map +1 -1
  312. package/dist/src/unstable/packaging/composer.js +1 -27
  313. package/dist/src/unstable/packaging/composer.js.map +1 -1
  314. package/dist/src/unstable/packaging/conan.d.ts.map +1 -1
  315. package/dist/src/unstable/packaging/conan.js +2 -13
  316. package/dist/src/unstable/packaging/conan.js.map +1 -1
  317. package/dist/src/unstable/packaging/conda.d.ts.map +1 -1
  318. package/dist/src/unstable/packaging/conda.js +1 -26
  319. package/dist/src/unstable/packaging/conda.js.map +1 -1
  320. package/dist/src/unstable/packaging/cpan.d.ts.map +1 -1
  321. package/dist/src/unstable/packaging/cpan.js +2 -27
  322. package/dist/src/unstable/packaging/cpan.js.map +1 -1
  323. package/dist/src/unstable/packaging/cran.d.ts.map +1 -1
  324. package/dist/src/unstable/packaging/cran.js +2 -13
  325. package/dist/src/unstable/packaging/cran.js.map +1 -1
  326. package/dist/src/unstable/packaging/docker.d.ts.map +1 -1
  327. package/dist/src/unstable/packaging/docker.js +1 -27
  328. package/dist/src/unstable/packaging/docker.js.map +1 -1
  329. package/dist/src/unstable/packaging/gem.d.ts.map +1 -1
  330. package/dist/src/unstable/packaging/gem.js +1 -12
  331. package/dist/src/unstable/packaging/gem.js.map +1 -1
  332. package/dist/src/unstable/packaging/golang.d.ts.map +1 -1
  333. package/dist/src/unstable/packaging/golang.js +2 -29
  334. package/dist/src/unstable/packaging/golang.js.map +1 -1
  335. package/dist/src/unstable/packaging/hackage.d.ts.map +1 -1
  336. package/dist/src/unstable/packaging/hackage.js +1 -12
  337. package/dist/src/unstable/packaging/hackage.js.map +1 -1
  338. package/dist/src/unstable/packaging/hex.d.ts.map +1 -1
  339. package/dist/src/unstable/packaging/hex.js +1 -27
  340. package/dist/src/unstable/packaging/hex.js.map +1 -1
  341. package/dist/src/unstable/packaging/huggingface.d.ts.map +1 -1
  342. package/dist/src/unstable/packaging/huggingface.js +2 -13
  343. package/dist/src/unstable/packaging/huggingface.js.map +1 -1
  344. package/dist/src/unstable/packaging/jsr.d.ts.map +1 -1
  345. package/dist/src/unstable/packaging/jsr.js +2 -28
  346. package/dist/src/unstable/packaging/jsr.js.map +1 -1
  347. package/dist/src/unstable/packaging/julia.d.ts.map +1 -1
  348. package/dist/src/unstable/packaging/julia.js +1 -12
  349. package/dist/src/unstable/packaging/julia.js.map +1 -1
  350. package/dist/src/unstable/packaging/luarocks.d.ts.map +1 -1
  351. package/dist/src/unstable/packaging/luarocks.js +1 -26
  352. package/dist/src/unstable/packaging/luarocks.js.map +1 -1
  353. package/dist/src/unstable/packaging/maven.d.ts.map +1 -1
  354. package/dist/src/unstable/packaging/maven.js +1 -26
  355. package/dist/src/unstable/packaging/maven.js.map +1 -1
  356. package/dist/src/unstable/packaging/mojo.d.ts.map +1 -1
  357. package/dist/src/unstable/packaging/mojo.js +1 -26
  358. package/dist/src/unstable/packaging/mojo.js.map +1 -1
  359. package/dist/src/unstable/packaging/npm.d.ts.map +1 -1
  360. package/dist/src/unstable/packaging/npm.js +1 -28
  361. package/dist/src/unstable/packaging/npm.js.map +1 -1
  362. package/dist/src/unstable/packaging/nuget.d.ts.map +1 -1
  363. package/dist/src/unstable/packaging/nuget.js +2 -28
  364. package/dist/src/unstable/packaging/nuget.js.map +1 -1
  365. package/dist/src/unstable/packaging/opam.d.ts.map +1 -1
  366. package/dist/src/unstable/packaging/opam.js +1 -12
  367. package/dist/src/unstable/packaging/opam.js.map +1 -1
  368. package/dist/src/unstable/packaging/pub.d.ts.map +1 -1
  369. package/dist/src/unstable/packaging/pub.js +1 -27
  370. package/dist/src/unstable/packaging/pub.js.map +1 -1
  371. package/dist/src/unstable/packaging/pypi.d.ts.map +1 -1
  372. package/dist/src/unstable/packaging/pypi.js +2 -26
  373. package/dist/src/unstable/packaging/pypi.js.map +1 -1
  374. package/dist/src/unstable/packaging/reader-io.d.ts +29 -0
  375. package/dist/src/unstable/packaging/reader-io.d.ts.map +1 -0
  376. package/dist/src/unstable/packaging/reader-io.js +29 -0
  377. package/dist/src/unstable/packaging/reader-io.js.map +1 -0
  378. package/dist/src/unstable/packaging/swift.d.ts.map +1 -1
  379. package/dist/src/unstable/packaging/swift.js +1 -25
  380. package/dist/src/unstable/packaging/swift.js.map +1 -1
  381. package/dist/src/unstable/packaging/zig.d.ts.map +1 -1
  382. package/dist/src/unstable/packaging/zig.js +1 -26
  383. package/dist/src/unstable/packaging/zig.js.map +1 -1
  384. package/dist/src/unstable/packs/dependency-resolution.d.ts +3 -1
  385. package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
  386. package/dist/src/unstable/packs/dependency-resolution.js +11 -10
  387. package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
  388. package/dist/src/unstable/packs/expansion.d.ts +3 -0
  389. package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
  390. package/dist/src/unstable/packs/expansion.js +2 -2
  391. package/dist/src/unstable/packs/expansion.js.map +1 -1
  392. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
  393. package/dist/src/unstable/packs/operations/publish.js +1 -1
  394. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  395. package/dist/src/unstable/plan/index.d.ts +2 -1
  396. package/dist/src/unstable/plan/index.d.ts.map +1 -1
  397. package/dist/src/unstable/plan/index.js +2 -0
  398. package/dist/src/unstable/plan/index.js.map +1 -1
  399. package/dist/src/unstable/plan/job-step-message.d.ts +7 -0
  400. package/dist/src/unstable/plan/job-step-message.d.ts.map +1 -0
  401. package/dist/src/unstable/plan/job-step-message.js +7 -0
  402. package/dist/src/unstable/plan/job-step-message.js.map +1 -0
  403. package/dist/src/unstable/plan/plan.d.ts +5 -2
  404. package/dist/src/unstable/plan/plan.d.ts.map +1 -1
  405. package/dist/src/unstable/plan/plan.js +10 -1
  406. package/dist/src/unstable/plan/plan.js.map +1 -1
  407. package/dist/src/unstable/plan/resolve-plan.d.ts +1 -1
  408. package/dist/src/unstable/publish/input-normalization.d.ts.map +1 -1
  409. package/dist/src/unstable/publish/input-normalization.js +3 -3
  410. package/dist/src/unstable/publish/input-normalization.js.map +1 -1
  411. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  412. package/dist/src/unstable/publish/manifest-policy.js +2 -2
  413. package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
  414. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1603 -157
  415. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  416. package/dist/src/unstable/registry/__generated__/registry-client.js +249 -3
  417. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  418. package/dist/src/unstable/registry/admin-client.d.ts +2 -2
  419. package/dist/src/unstable/registry/client.d.ts +52 -0
  420. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  421. package/dist/src/unstable/registry/client.js +3 -2
  422. package/dist/src/unstable/registry/client.js.map +1 -1
  423. package/dist/src/unstable/registry/index.d.ts +1 -1
  424. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  425. package/dist/src/unstable/registry/index.js.map +1 -1
  426. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  427. package/dist/src/unstable/registry/local-client.js +1 -0
  428. package/dist/src/unstable/registry/local-client.js.map +1 -1
  429. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  430. package/dist/src/unstable/registry/remote-client.js +59 -0
  431. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  432. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  433. package/dist/src/unstable/registry/schema.js +1 -2
  434. package/dist/src/unstable/registry/schema.js.map +1 -1
  435. package/dist/src/unstable/rules/discovery.d.ts +3 -3
  436. package/dist/src/unstable/rules/discovery.d.ts.map +1 -1
  437. package/dist/src/unstable/rules/discovery.js +6 -93
  438. package/dist/src/unstable/rules/discovery.js.map +1 -1
  439. package/dist/src/unstable/rules/manager.d.ts.map +1 -1
  440. package/dist/src/unstable/rules/manager.js +34 -136
  441. package/dist/src/unstable/rules/manager.js.map +1 -1
  442. package/dist/src/unstable/settings/index.d.ts +2 -2
  443. package/dist/src/unstable/settings/index.d.ts.map +1 -1
  444. package/dist/src/unstable/settings/index.js +1 -1
  445. package/dist/src/unstable/settings/index.js.map +1 -1
  446. package/dist/src/unstable/settings/schema.d.ts +74 -75
  447. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  448. package/dist/src/unstable/settings/schema.js +105 -126
  449. package/dist/src/unstable/settings/schema.js.map +1 -1
  450. package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
  451. package/dist/src/unstable/skills/operations/copy.js +1 -1
  452. package/dist/src/unstable/skills/operations/copy.js.map +1 -1
  453. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
  454. package/dist/src/unstable/skills/operations/install.js +1 -1
  455. package/dist/src/unstable/skills/operations/install.js.map +1 -1
  456. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
  457. package/dist/src/unstable/skills/operations/publish.js +1 -1
  458. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  459. package/dist/src/unstable/skills/paths.d.ts +1 -1
  460. package/dist/src/unstable/skills/paths.d.ts.map +1 -1
  461. package/dist/src/unstable/skills/paths.js +4 -12
  462. package/dist/src/unstable/skills/paths.js.map +1 -1
  463. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts +2 -2
  464. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts +2 -2
  465. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts +1 -1
  466. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts +1 -1
  467. package/dist/src/unstable/source-resolution/providers/convention-discovery.d.ts.map +1 -1
  468. package/dist/src/unstable/source-resolution/providers/convention-discovery.js +3 -11
  469. package/dist/src/unstable/source-resolution/providers/convention-discovery.js.map +1 -1
  470. package/dist/src/unstable/source-resolution/providers/github/scp.d.ts +1 -1
  471. package/dist/src/unstable/source-resolution/providers/github/url.d.ts +1 -1
  472. package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts +1 -1
  473. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts +1 -1
  474. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  475. package/dist/src/unstable/sources/lock-entry-to-ref.js +2 -1
  476. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  477. package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -1
  478. package/dist/src/unstable/sources/source-to-lock-entry.js +6 -61
  479. package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -1
  480. package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -1
  481. package/dist/src/unstable/subagents/lock-entry-builder.js +7 -63
  482. package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -1
  483. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
  484. package/dist/src/unstable/subagents/operations/publish.js +1 -1
  485. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  486. package/dist/src/unstable/subagents/paths.d.ts +1 -1
  487. package/dist/src/unstable/subagents/paths.d.ts.map +1 -1
  488. package/dist/src/unstable/subagents/paths.js +6 -14
  489. package/dist/src/unstable/subagents/paths.js.map +1 -1
  490. package/dist/src/unstable/subagents/rendering/types.d.ts +2 -7
  491. package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -1
  492. package/dist/src/unstable/subagents/rendering/types.js.map +1 -1
  493. package/dist/src/unstable/update-check/update-check.d.ts +1 -1
  494. package/dist/src/unstable/update-check/update-check.js +3 -3
  495. package/dist/src/unstable/update-check/update-check.js.map +1 -1
  496. package/dist/src/unstable/utils/environment.d.ts +1 -13
  497. package/dist/src/unstable/utils/environment.d.ts.map +1 -1
  498. package/dist/src/unstable/utils/environment.js +1 -22
  499. package/dist/src/unstable/utils/environment.js.map +1 -1
  500. package/dist/src/unstable/utils/index.d.ts +1 -1
  501. package/dist/src/unstable/utils/index.d.ts.map +1 -1
  502. package/dist/src/unstable/utils/index.js +1 -1
  503. package/dist/src/unstable/utils/index.js.map +1 -1
  504. package/dist/src/unstable/workflows/install-command/workflow.d.ts +1 -1
  505. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +1 -1
  506. package/dist/src/unstable/workspace/display-plan.d.ts +1 -1
  507. package/dist/src/unstable/workspace/index.d.ts +1 -0
  508. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  509. package/dist/src/unstable/workspace/index.js +1 -0
  510. package/dist/src/unstable/workspace/index.js.map +1 -1
  511. package/dist/src/unstable/workspace/initialization.d.ts +245 -217
  512. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  513. package/dist/src/unstable/workspace/paths.d.ts +3 -0
  514. package/dist/src/unstable/workspace/paths.d.ts.map +1 -1
  515. package/dist/src/unstable/workspace/paths.js +7 -4
  516. package/dist/src/unstable/workspace/paths.js.map +1 -1
  517. package/dist/src/unstable/workspace/read-model/discovery/skills.d.ts.map +1 -1
  518. package/dist/src/unstable/workspace/read-model/discovery/skills.js +3 -17
  519. package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -1
  520. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.d.ts.map +1 -1
  521. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js +2 -1
  522. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js.map +1 -1
  523. package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
  524. package/dist/src/unstable/workspace/read-model/service.js +2 -1
  525. package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
  526. package/dist/src/unstable/workspace/service-interface.d.ts +25 -2
  527. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  528. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  529. package/dist/src/unstable/workspace/service.d.ts +372 -295
  530. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  531. package/dist/src/unstable/workspace/service.js +134 -50
  532. package/dist/src/unstable/workspace/service.js.map +1 -1
  533. package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
  534. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  535. package/dist/src/unstable/workspace/test-stubs.js +10 -0
  536. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  537. package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
  538. package/dist/src/unstable/workspace/version-currency/collectors.js +2 -3
  539. package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
  540. package/dist/src/unstable/workspace/version-currency/test-stubs.d.ts.map +1 -1
  541. package/dist/src/unstable/workspace/version-currency/test-stubs.js +1 -0
  542. package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
  543. package/dist/src/unstable/yaml/index.d.ts +13 -0
  544. package/dist/src/unstable/yaml/index.d.ts.map +1 -0
  545. package/dist/src/unstable/yaml/index.js +73 -0
  546. package/dist/src/unstable/yaml/index.js.map +1 -0
  547. package/package.json +16 -8
  548. package/site-content/__generated__/schemas/axm-lock.schema.json +77 -0
  549. package/site-content/__generated__/schemas/{mcp-server.schema.json → mcp.schema.json} +1 -1
  550. package/site-content/__generated__/schemas/settings.schema.json +61 -8
@@ -308,6 +308,22 @@ export declare const PublishIdentityMismatchEntry: Schema.Struct<{
308
308
  readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
309
309
  readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
310
310
  }>;
311
+ export type LibraryId = string;
312
+ export declare const LibraryId: Schema.String;
313
+ export type LibraryName = string;
314
+ export declare const LibraryName: Schema.String;
315
+ export type LibraryVisibility = "public" | "internal" | "private";
316
+ export declare const LibraryVisibility: Schema.Literals<readonly ["public", "internal", "private"]>;
317
+ export type LibraryMemberId = string;
318
+ export declare const LibraryMemberId: Schema.String;
319
+ export type UpdateLibraryBody = {
320
+ readonly title?: string | null;
321
+ readonly description?: string | null | null;
322
+ };
323
+ export declare const UpdateLibraryBody: Schema.Struct<{
324
+ readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
325
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
326
+ }>;
311
327
  export type PutCollaboratorBody = {
312
328
  readonly role: "write" | "read";
313
329
  };
@@ -368,7 +384,7 @@ export type AuthMeToken = {
368
384
  readonly id: string;
369
385
  readonly type: "session" | "pat" | "oidc";
370
386
  readonly name: string | null;
371
- readonly permissions: unknown | null;
387
+ readonly permissions: Schema.Json | null;
372
388
  readonly scopes: ReadonlyArray<string>;
373
389
  readonly resource_restrictions: ResourceRestrictions;
374
390
  readonly expires_at: string;
@@ -377,7 +393,7 @@ export declare const AuthMeToken: Schema.Struct<{
377
393
  readonly id: Schema.String;
378
394
  readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
379
395
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
380
- readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
396
+ readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
381
397
  readonly scopes: Schema.$Array<Schema.String>;
382
398
  readonly resource_restrictions: Schema.Struct<{
383
399
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
@@ -389,7 +405,7 @@ export type TokenListItem = {
389
405
  readonly name: string | null;
390
406
  readonly type: string;
391
407
  readonly scopes: ReadonlyArray<string>;
392
- readonly permissions: unknown | null;
408
+ readonly permissions: Schema.Json | null;
393
409
  readonly created_at: IsoDateTimeString;
394
410
  readonly expires_at: IsoDateTimeString;
395
411
  readonly last_used_at: IsoDateTimeString | null;
@@ -399,7 +415,7 @@ export declare const TokenListItem: Schema.Struct<{
399
415
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
400
416
  readonly type: Schema.String;
401
417
  readonly scopes: Schema.$Array<Schema.String>;
402
- readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
418
+ readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
403
419
  readonly created_at: Schema.String;
404
420
  readonly expires_at: Schema.String;
405
421
  readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -409,7 +425,7 @@ export type CreateTokenResponse = {
409
425
  readonly token: string;
410
426
  readonly name: string;
411
427
  readonly scopes: ReadonlyArray<string>;
412
- readonly permissions: unknown;
428
+ readonly permissions: Schema.Json;
413
429
  readonly created_at: IsoDateTimeString;
414
430
  readonly expires_at: IsoDateTimeString;
415
431
  };
@@ -418,7 +434,7 @@ export declare const CreateTokenResponse: Schema.Struct<{
418
434
  readonly token: Schema.String;
419
435
  readonly name: Schema.String;
420
436
  readonly scopes: Schema.$Array<Schema.String>;
421
- readonly permissions: Schema.Unknown;
437
+ readonly permissions: Schema.Codec<Schema.Json, Schema.Json, never, never>;
422
438
  readonly created_at: Schema.String;
423
439
  readonly expires_at: Schema.String;
424
440
  }>;
@@ -429,7 +445,7 @@ export type ForbiddenError = {
429
445
  readonly status: number;
430
446
  readonly detail: string;
431
447
  readonly instance?: string;
432
- readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
448
+ readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "library_mutation_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
433
449
  readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails;
434
450
  };
435
451
  export declare const ForbiddenError: Schema.Struct<{
@@ -439,7 +455,7 @@ export declare const ForbiddenError: Schema.Struct<{
439
455
  readonly status: Schema.Number;
440
456
  readonly detail: Schema.String;
441
457
  readonly instance: Schema.optionalKey<Schema.String>;
442
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
458
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
443
459
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
444
460
  readonly requiredScope: Schema.String;
445
461
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -474,6 +490,50 @@ export declare const CreateTokenRequest: Schema.Struct<{
474
490
  }>, Schema.Null]>>;
475
491
  readonly expires_in: Schema.Number;
476
492
  }>;
493
+ export type LibraryMaintainer = {
494
+ readonly kind: "user";
495
+ readonly userId: UserId;
496
+ readonly assignedAt: string | null;
497
+ readonly assignedBy: UserId | null;
498
+ } | {
499
+ readonly kind: "team";
500
+ readonly teamId: TeamId;
501
+ readonly assignedAt: string | null;
502
+ readonly assignedBy: UserId | null;
503
+ } | {
504
+ readonly kind: "none";
505
+ readonly assignedAt: string | null;
506
+ readonly assignedBy: UserId | null;
507
+ };
508
+ export declare const LibraryMaintainer: Schema.Union<readonly [Schema.Struct<{
509
+ readonly kind: Schema.Literal<"user">;
510
+ readonly userId: Schema.String;
511
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
512
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
513
+ }>, Schema.Struct<{
514
+ readonly kind: Schema.Literal<"team">;
515
+ readonly teamId: Schema.String;
516
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
517
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
518
+ }>, Schema.Struct<{
519
+ readonly kind: Schema.Literal<"none">;
520
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
521
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
522
+ }>]>;
523
+ export type LibraryMaintainerTarget = {
524
+ readonly kind: "user";
525
+ readonly userId: UserId;
526
+ } | {
527
+ readonly kind: "team";
528
+ readonly teamId: TeamId;
529
+ };
530
+ export declare const LibraryMaintainerTarget: Schema.Union<readonly [Schema.Struct<{
531
+ readonly kind: Schema.Literal<"user">;
532
+ readonly userId: Schema.String;
533
+ }>, Schema.Struct<{
534
+ readonly kind: Schema.Literal<"team">;
535
+ readonly teamId: Schema.String;
536
+ }>]>;
477
537
  export type ExtensionGrantEntry = {
478
538
  readonly subject: {
479
539
  readonly kind: "user";
@@ -670,6 +730,42 @@ export declare const PublishLintFinding: Schema.Struct<{
670
730
  readonly path: Schema.String;
671
731
  readonly suggestions: Schema.$Array<Schema.String>;
672
732
  }>;
733
+ export type CreateLibraryBody = {
734
+ readonly name: LibraryName;
735
+ readonly title: string;
736
+ readonly description?: string | null | null;
737
+ readonly visibility?: LibraryVisibility | null;
738
+ };
739
+ export declare const CreateLibraryBody: Schema.Struct<{
740
+ readonly name: Schema.String;
741
+ readonly title: Schema.String;
742
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
743
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
744
+ }>;
745
+ export type PatchLibraryVisibilityBody = {
746
+ readonly visibility: LibraryVisibility;
747
+ };
748
+ export declare const PatchLibraryVisibilityBody: Schema.Struct<{
749
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
750
+ }>;
751
+ export type LibraryMember = {
752
+ readonly id: LibraryMemberId;
753
+ readonly libraryId: LibraryId;
754
+ readonly extensionId: string;
755
+ readonly extensionOwner: Handle;
756
+ readonly extensionType: ExtensionType;
757
+ readonly extensionName: ExtensionName;
758
+ readonly addedAt: string;
759
+ };
760
+ export declare const LibraryMember: Schema.Struct<{
761
+ readonly id: Schema.String;
762
+ readonly libraryId: Schema.String;
763
+ readonly extensionId: Schema.String;
764
+ readonly extensionOwner: Schema.String;
765
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
766
+ readonly extensionName: Schema.String;
767
+ readonly addedAt: Schema.String;
768
+ }>;
673
769
  export type AuthMeResponse = {
674
770
  readonly user: AuthMeUser;
675
771
  readonly orgs: ReadonlyArray<never>;
@@ -686,7 +782,7 @@ export declare const AuthMeResponse: Schema.Struct<{
686
782
  readonly id: Schema.String;
687
783
  readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
688
784
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
689
- readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
785
+ readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
690
786
  readonly scopes: Schema.$Array<Schema.String>;
691
787
  readonly resource_restrictions: Schema.Struct<{
692
788
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
@@ -705,7 +801,7 @@ export declare const TokenListResponse: Schema.Struct<{
705
801
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
706
802
  readonly type: Schema.String;
707
803
  readonly scopes: Schema.$Array<Schema.String>;
708
- readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
804
+ readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
709
805
  readonly created_at: Schema.String;
710
806
  readonly expires_at: Schema.String;
711
807
  readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -713,6 +809,78 @@ export declare const TokenListResponse: Schema.Struct<{
713
809
  readonly has_more: Schema.Boolean;
714
810
  readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
715
811
  }>;
812
+ export type Library = {
813
+ readonly id: LibraryId;
814
+ readonly owner: Handle;
815
+ readonly name: LibraryName;
816
+ readonly title: string;
817
+ readonly description: string | null;
818
+ readonly visibility: LibraryVisibility;
819
+ readonly maintainer: LibraryMaintainer;
820
+ readonly createdAt: string;
821
+ readonly updatedAt: string;
822
+ };
823
+ export declare const Library: Schema.Struct<{
824
+ readonly id: Schema.String;
825
+ readonly owner: Schema.String;
826
+ readonly name: Schema.String;
827
+ readonly title: Schema.String;
828
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
829
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
830
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
831
+ readonly kind: Schema.Literal<"user">;
832
+ readonly userId: Schema.String;
833
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
834
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
835
+ }>, Schema.Struct<{
836
+ readonly kind: Schema.Literal<"team">;
837
+ readonly teamId: Schema.String;
838
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
839
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
840
+ }>, Schema.Struct<{
841
+ readonly kind: Schema.Literal<"none">;
842
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
843
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
844
+ }>]>;
845
+ readonly createdAt: Schema.String;
846
+ readonly updatedAt: Schema.String;
847
+ }>;
848
+ export type CreatedLibrary = {
849
+ readonly id: LibraryId;
850
+ readonly owner: Handle;
851
+ readonly name: LibraryName;
852
+ readonly title: string;
853
+ readonly description: string | null;
854
+ readonly visibility: LibraryVisibility;
855
+ readonly maintainer: LibraryMaintainer;
856
+ readonly createdAt: string;
857
+ readonly updatedAt: string;
858
+ };
859
+ export declare const CreatedLibrary: Schema.Struct<{
860
+ readonly id: Schema.String;
861
+ readonly owner: Schema.String;
862
+ readonly name: Schema.String;
863
+ readonly title: Schema.String;
864
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
865
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
866
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
867
+ readonly kind: Schema.Literal<"user">;
868
+ readonly userId: Schema.String;
869
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
870
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
871
+ }>, Schema.Struct<{
872
+ readonly kind: Schema.Literal<"team">;
873
+ readonly teamId: Schema.String;
874
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
875
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
876
+ }>, Schema.Struct<{
877
+ readonly kind: Schema.Literal<"none">;
878
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
879
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
880
+ }>]>;
881
+ readonly createdAt: Schema.String;
882
+ readonly updatedAt: Schema.String;
883
+ }>;
716
884
  export type ExtensionGrantsResponse = {
717
885
  readonly grants: ReadonlyArray<ExtensionGrantEntry>;
718
886
  };
@@ -867,6 +1035,48 @@ export declare const ExtensionLintFailedError: Schema.Struct<{
867
1035
  readonly suggestions: Schema.$Array<Schema.String>;
868
1036
  }>>;
869
1037
  }>;
1038
+ export type LibraryDetail = {
1039
+ readonly library: Library;
1040
+ readonly members: ReadonlyArray<LibraryMember>;
1041
+ readonly hiddenMemberCount: number;
1042
+ };
1043
+ export declare const LibraryDetail: Schema.Struct<{
1044
+ readonly library: Schema.Struct<{
1045
+ readonly id: Schema.String;
1046
+ readonly owner: Schema.String;
1047
+ readonly name: Schema.String;
1048
+ readonly title: Schema.String;
1049
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
1050
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
1051
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
1052
+ readonly kind: Schema.Literal<"user">;
1053
+ readonly userId: Schema.String;
1054
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1055
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
1056
+ }>, Schema.Struct<{
1057
+ readonly kind: Schema.Literal<"team">;
1058
+ readonly teamId: Schema.String;
1059
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1060
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
1061
+ }>, Schema.Struct<{
1062
+ readonly kind: Schema.Literal<"none">;
1063
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1064
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
1065
+ }>]>;
1066
+ readonly createdAt: Schema.String;
1067
+ readonly updatedAt: Schema.String;
1068
+ }>;
1069
+ readonly members: Schema.$Array<Schema.Struct<{
1070
+ readonly id: Schema.String;
1071
+ readonly libraryId: Schema.String;
1072
+ readonly extensionId: Schema.String;
1073
+ readonly extensionOwner: Schema.String;
1074
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
1075
+ readonly extensionName: Schema.String;
1076
+ readonly addedAt: Schema.String;
1077
+ }>>;
1078
+ readonly hiddenMemberCount: Schema.Number;
1079
+ }>;
870
1080
  export type MetaGet200 = MetaResponse;
871
1081
  export declare const MetaGet200: Schema.Struct<{
872
1082
  readonly ok: Schema.Literal<true>;
@@ -1085,7 +1295,7 @@ export declare const AuthGetMe200: Schema.Struct<{
1085
1295
  readonly id: Schema.String;
1086
1296
  readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
1087
1297
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
1088
- readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
1298
+ readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
1089
1299
  readonly scopes: Schema.$Array<Schema.String>;
1090
1300
  readonly resource_restrictions: Schema.Struct<{
1091
1301
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
@@ -1210,7 +1420,7 @@ export declare const TokensList200: Schema.Struct<{
1210
1420
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
1211
1421
  readonly type: Schema.String;
1212
1422
  readonly scopes: Schema.$Array<Schema.String>;
1213
- readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
1423
+ readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
1214
1424
  readonly created_at: Schema.String;
1215
1425
  readonly expires_at: Schema.String;
1216
1426
  readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -1252,7 +1462,7 @@ export declare const TokensList403: Schema.Struct<{
1252
1462
  readonly status: Schema.Number;
1253
1463
  readonly detail: Schema.String;
1254
1464
  readonly instance: Schema.optionalKey<Schema.String>;
1255
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1465
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1256
1466
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1257
1467
  readonly requiredScope: Schema.String;
1258
1468
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1288,7 +1498,7 @@ export declare const TokensCreate201: Schema.Struct<{
1288
1498
  readonly token: Schema.String;
1289
1499
  readonly name: Schema.String;
1290
1500
  readonly scopes: Schema.$Array<Schema.String>;
1291
- readonly permissions: Schema.Unknown;
1501
+ readonly permissions: Schema.Codec<Schema.Json, Schema.Json, never, never>;
1292
1502
  readonly created_at: Schema.String;
1293
1503
  readonly expires_at: Schema.String;
1294
1504
  }>;
@@ -1326,7 +1536,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1326
1536
  readonly status: Schema.Number;
1327
1537
  readonly detail: Schema.String;
1328
1538
  readonly instance: Schema.optionalKey<Schema.String>;
1329
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1539
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1330
1540
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1331
1541
  readonly requiredScope: Schema.String;
1332
1542
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1348,7 +1558,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1348
1558
  readonly status: Schema.Number;
1349
1559
  readonly detail: Schema.String;
1350
1560
  readonly instance: Schema.optionalKey<Schema.String>;
1351
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1561
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1352
1562
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1353
1563
  readonly requiredScope: Schema.String;
1354
1564
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1424,7 +1634,7 @@ export declare const TokensDelete403: Schema.Struct<{
1424
1634
  readonly status: Schema.Number;
1425
1635
  readonly detail: Schema.String;
1426
1636
  readonly instance: Schema.optionalKey<Schema.String>;
1427
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1637
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1428
1638
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1429
1639
  readonly requiredScope: Schema.String;
1430
1640
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1596,7 +1806,7 @@ export declare const OrgsTeamsCreateTeam403: Schema.Struct<{
1596
1806
  readonly status: Schema.Number;
1597
1807
  readonly detail: Schema.String;
1598
1808
  readonly instance: Schema.optionalKey<Schema.String>;
1599
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1809
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1600
1810
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1601
1811
  readonly requiredScope: Schema.String;
1602
1812
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1714,7 +1924,7 @@ export declare const OrgsTeamsDeleteTeam403: Schema.Struct<{
1714
1924
  readonly status: Schema.Number;
1715
1925
  readonly detail: Schema.String;
1716
1926
  readonly instance: Schema.optionalKey<Schema.String>;
1717
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1927
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1718
1928
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1719
1929
  readonly requiredScope: Schema.String;
1720
1930
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1809,7 +2019,7 @@ export declare const OrgsTeamsUpdateTeam403: Schema.Struct<{
1809
2019
  readonly status: Schema.Number;
1810
2020
  readonly detail: Schema.String;
1811
2021
  readonly instance: Schema.optionalKey<Schema.String>;
1812
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2022
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1813
2023
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1814
2024
  readonly requiredScope: Schema.String;
1815
2025
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1949,7 +2159,7 @@ export declare const OrgsTeamsAddTeamMember403: Schema.Struct<{
1949
2159
  readonly status: Schema.Number;
1950
2160
  readonly detail: Schema.String;
1951
2161
  readonly instance: Schema.optionalKey<Schema.String>;
1952
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2162
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1953
2163
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1954
2164
  readonly requiredScope: Schema.String;
1955
2165
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2031,7 +2241,7 @@ export declare const OrgsTeamsRemoveTeamMember403: Schema.Struct<{
2031
2241
  readonly status: Schema.Number;
2032
2242
  readonly detail: Schema.String;
2033
2243
  readonly instance: Schema.optionalKey<Schema.String>;
2034
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2244
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2035
2245
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2036
2246
  readonly requiredScope: Schema.String;
2037
2247
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2109,7 +2319,7 @@ export declare const OrgsTeamsChangeTeamMemberRole403: Schema.Struct<{
2109
2319
  readonly status: Schema.Number;
2110
2320
  readonly detail: Schema.String;
2111
2321
  readonly instance: Schema.optionalKey<Schema.String>;
2112
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2322
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2113
2323
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2114
2324
  readonly requiredScope: Schema.String;
2115
2325
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2403,7 +2613,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2403
2613
  readonly status: Schema.Number;
2404
2614
  readonly detail: Schema.String;
2405
2615
  readonly instance: Schema.optionalKey<Schema.String>;
2406
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2616
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2407
2617
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2408
2618
  readonly requiredScope: Schema.String;
2409
2619
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2425,7 +2635,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2425
2635
  readonly status: Schema.Number;
2426
2636
  readonly detail: Schema.String;
2427
2637
  readonly instance: Schema.optionalKey<Schema.String>;
2428
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2638
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2429
2639
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2430
2640
  readonly requiredScope: Schema.String;
2431
2641
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2631,7 +2841,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2631
2841
  readonly status: Schema.Number;
2632
2842
  readonly detail: Schema.String;
2633
2843
  readonly instance: Schema.optionalKey<Schema.String>;
2634
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2844
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2635
2845
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2636
2846
  readonly requiredScope: Schema.String;
2637
2847
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2653,7 +2863,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2653
2863
  readonly status: Schema.Number;
2654
2864
  readonly detail: Schema.String;
2655
2865
  readonly instance: Schema.optionalKey<Schema.String>;
2656
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2866
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2657
2867
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2658
2868
  readonly requiredScope: Schema.String;
2659
2869
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2882,7 +3092,7 @@ export declare const ExtensionsDeleteVersion403: Schema.Struct<{
2882
3092
  readonly status: Schema.Number;
2883
3093
  readonly detail: Schema.String;
2884
3094
  readonly instance: Schema.optionalKey<Schema.String>;
2885
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3095
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2886
3096
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2887
3097
  readonly requiredScope: Schema.String;
2888
3098
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3008,7 +3218,7 @@ export declare const ExtensionsDeprecate403: Schema.Struct<{
3008
3218
  readonly status: Schema.Number;
3009
3219
  readonly detail: Schema.String;
3010
3220
  readonly instance: Schema.optionalKey<Schema.String>;
3011
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3221
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3012
3222
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3013
3223
  readonly requiredScope: Schema.String;
3014
3224
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3088,7 +3298,7 @@ export declare const ExtensionsUndeprecate403: Schema.Struct<{
3088
3298
  readonly status: Schema.Number;
3089
3299
  readonly detail: Schema.String;
3090
3300
  readonly instance: Schema.optionalKey<Schema.String>;
3091
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3301
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3092
3302
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3093
3303
  readonly requiredScope: Schema.String;
3094
3304
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3182,7 +3392,7 @@ export declare const ExtensionsYankVersion403: Schema.Struct<{
3182
3392
  readonly status: Schema.Number;
3183
3393
  readonly detail: Schema.String;
3184
3394
  readonly instance: Schema.optionalKey<Schema.String>;
3185
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3395
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3186
3396
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3187
3397
  readonly requiredScope: Schema.String;
3188
3398
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3276,7 +3486,7 @@ export declare const ExtensionsUnyankVersion403: Schema.Struct<{
3276
3486
  readonly status: Schema.Number;
3277
3487
  readonly detail: Schema.String;
3278
3488
  readonly instance: Schema.optionalKey<Schema.String>;
3279
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3489
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3280
3490
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3281
3491
  readonly requiredScope: Schema.String;
3282
3492
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3308,24 +3518,38 @@ export declare const ExtensionsUnyankVersion404: Schema.Struct<{
3308
3518
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3309
3519
  }>>;
3310
3520
  }>;
3311
- export type CollaboratorsListCollaborators200 = {
3312
- readonly collaborators: ReadonlyArray<{
3313
- readonly userId: UserId;
3314
- readonly role: string;
3315
- readonly grantedBy: UserId | null;
3316
- readonly createdAt: string;
3317
- }>;
3521
+ export type LibrariesListLibraries200 = {
3522
+ readonly libraries: ReadonlyArray<Library>;
3318
3523
  };
3319
- export declare const CollaboratorsListCollaborators200: Schema.Struct<{
3320
- readonly collaborators: Schema.$Array<Schema.Struct<{
3321
- readonly userId: Schema.String;
3322
- readonly role: Schema.String;
3323
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3524
+ export declare const LibrariesListLibraries200: Schema.Struct<{
3525
+ readonly libraries: Schema.$Array<Schema.Struct<{
3526
+ readonly id: Schema.String;
3527
+ readonly owner: Schema.String;
3528
+ readonly name: Schema.String;
3529
+ readonly title: Schema.String;
3530
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3531
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3532
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3533
+ readonly kind: Schema.Literal<"user">;
3534
+ readonly userId: Schema.String;
3535
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3536
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3537
+ }>, Schema.Struct<{
3538
+ readonly kind: Schema.Literal<"team">;
3539
+ readonly teamId: Schema.String;
3540
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3541
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3542
+ }>, Schema.Struct<{
3543
+ readonly kind: Schema.Literal<"none">;
3544
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3545
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3546
+ }>]>;
3324
3547
  readonly createdAt: Schema.String;
3548
+ readonly updatedAt: Schema.String;
3325
3549
  }>>;
3326
3550
  }>;
3327
- export type CollaboratorsListCollaborators400 = DecodeErrorResponse;
3328
- export declare const CollaboratorsListCollaborators400: Schema.Struct<{
3551
+ export type LibrariesListLibraries400 = DecodeErrorResponse;
3552
+ export declare const LibrariesListLibraries400: Schema.Struct<{
3329
3553
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3330
3554
  readonly type: Schema.String;
3331
3555
  readonly title: Schema.String;
@@ -3334,8 +3558,8 @@ export declare const CollaboratorsListCollaborators400: Schema.Struct<{
3334
3558
  readonly instance: Schema.optionalKey<Schema.String>;
3335
3559
  readonly code: Schema.String;
3336
3560
  }>;
3337
- export type CollaboratorsListCollaborators401 = ProblemDetails;
3338
- export declare const CollaboratorsListCollaborators401: Schema.Struct<{
3561
+ export type LibrariesListLibraries404 = ProblemDetails;
3562
+ export declare const LibrariesListLibraries404: Schema.Struct<{
3339
3563
  readonly type: Schema.String;
3340
3564
  readonly title: Schema.String;
3341
3565
  readonly status: Schema.Number;
@@ -3350,86 +3574,41 @@ export declare const CollaboratorsListCollaborators401: Schema.Struct<{
3350
3574
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3351
3575
  }>>;
3352
3576
  }>;
3353
- export type CollaboratorsListCollaborators403 = ForbiddenError | ForbiddenError;
3354
- export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [Schema.Struct<{
3355
- readonly kind: Schema.Literal<"ForbiddenError">;
3356
- readonly type: Schema.String;
3577
+ export type LibrariesCreateLibraryRequestJson = CreateLibraryBody;
3578
+ export declare const LibrariesCreateLibraryRequestJson: Schema.Struct<{
3579
+ readonly name: Schema.String;
3357
3580
  readonly title: Schema.String;
3358
- readonly status: Schema.Number;
3359
- readonly detail: Schema.String;
3360
- readonly instance: Schema.optionalKey<Schema.String>;
3361
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3362
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3363
- readonly requiredScope: Schema.String;
3364
- readonly grantedScopes: Schema.$Array<Schema.String>;
3365
- }>, Schema.Struct<{
3366
- readonly requiredScope: Schema.String;
3367
- readonly tokenScopes: Schema.$Array<Schema.String>;
3368
- readonly requiredRole: Schema.optionalKey<Schema.String>;
3369
- }>, Schema.Struct<{
3370
- readonly retryable: Schema.Boolean;
3371
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3372
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3373
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3374
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3375
- }>]>>;
3376
- }>, Schema.Struct<{
3377
- readonly kind: Schema.Literal<"ForbiddenError">;
3378
- readonly type: Schema.String;
3581
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
3582
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
3583
+ }>;
3584
+ export type LibrariesCreateLibrary201 = CreatedLibrary;
3585
+ export declare const LibrariesCreateLibrary201: Schema.Struct<{
3586
+ readonly id: Schema.String;
3587
+ readonly owner: Schema.String;
3588
+ readonly name: Schema.String;
3379
3589
  readonly title: Schema.String;
3380
- readonly status: Schema.Number;
3381
- readonly detail: Schema.String;
3382
- readonly instance: Schema.optionalKey<Schema.String>;
3383
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3384
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3385
- readonly requiredScope: Schema.String;
3386
- readonly grantedScopes: Schema.$Array<Schema.String>;
3590
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3591
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3592
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3593
+ readonly kind: Schema.Literal<"user">;
3594
+ readonly userId: Schema.String;
3595
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3596
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3387
3597
  }>, Schema.Struct<{
3388
- readonly requiredScope: Schema.String;
3389
- readonly tokenScopes: Schema.$Array<Schema.String>;
3390
- readonly requiredRole: Schema.optionalKey<Schema.String>;
3598
+ readonly kind: Schema.Literal<"team">;
3599
+ readonly teamId: Schema.String;
3600
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3601
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3391
3602
  }>, Schema.Struct<{
3392
- readonly retryable: Schema.Boolean;
3393
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3394
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3395
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3396
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3397
- }>]>>;
3398
- }>]>;
3399
- export type CollaboratorsListCollaborators404 = ProblemDetails;
3400
- export declare const CollaboratorsListCollaborators404: Schema.Struct<{
3401
- readonly type: Schema.String;
3402
- readonly title: Schema.String;
3403
- readonly status: Schema.Number;
3404
- readonly detail: Schema.String;
3405
- readonly instance: Schema.optionalKey<Schema.String>;
3406
- readonly code: Schema.String;
3407
- readonly details: Schema.optionalKey<Schema.Struct<{
3408
- readonly retryable: Schema.Boolean;
3409
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3410
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3411
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3412
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3413
- }>>;
3414
- }>;
3415
- export type CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
3416
- export declare const CollaboratorsUpsertCollaboratorRequestJson: Schema.Struct<{
3417
- readonly role: Schema.Literals<readonly ["write", "read"]>;
3418
- }>;
3419
- export type CollaboratorsUpsertCollaborator200 = {
3420
- readonly userId: UserId;
3421
- readonly role: string;
3422
- readonly grantedBy: UserId | null;
3423
- readonly createdAt: string;
3424
- };
3425
- export declare const CollaboratorsUpsertCollaborator200: Schema.Struct<{
3426
- readonly userId: Schema.String;
3427
- readonly role: Schema.String;
3428
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3603
+ readonly kind: Schema.Literal<"none">;
3604
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3605
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3606
+ }>]>;
3429
3607
  readonly createdAt: Schema.String;
3608
+ readonly updatedAt: Schema.String;
3430
3609
  }>;
3431
- export type CollaboratorsUpsertCollaborator400 = ProblemDetails | DecodeErrorResponse;
3432
- export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [Schema.Struct<{
3610
+ export type LibrariesCreateLibrary400 = ProblemDetails | DecodeErrorResponse;
3611
+ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.Struct<{
3433
3612
  readonly type: Schema.String;
3434
3613
  readonly title: Schema.String;
3435
3614
  readonly status: Schema.Number;
@@ -3452,8 +3631,8 @@ export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [
3452
3631
  readonly instance: Schema.optionalKey<Schema.String>;
3453
3632
  readonly code: Schema.String;
3454
3633
  }>]>;
3455
- export type CollaboratorsUpsertCollaborator401 = ProblemDetails;
3456
- export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
3634
+ export type LibrariesCreateLibrary401 = ProblemDetails;
3635
+ export declare const LibrariesCreateLibrary401: Schema.Struct<{
3457
3636
  readonly type: Schema.String;
3458
3637
  readonly title: Schema.String;
3459
3638
  readonly status: Schema.Number;
@@ -3468,15 +3647,15 @@ export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
3468
3647
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3469
3648
  }>>;
3470
3649
  }>;
3471
- export type CollaboratorsUpsertCollaborator403 = ForbiddenError | ForbiddenError;
3472
- export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [Schema.Struct<{
3650
+ export type LibrariesCreateLibrary403 = ForbiddenError | ForbiddenError;
3651
+ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.Struct<{
3473
3652
  readonly kind: Schema.Literal<"ForbiddenError">;
3474
3653
  readonly type: Schema.String;
3475
3654
  readonly title: Schema.String;
3476
3655
  readonly status: Schema.Number;
3477
3656
  readonly detail: Schema.String;
3478
3657
  readonly instance: Schema.optionalKey<Schema.String>;
3479
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3658
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3480
3659
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3481
3660
  readonly requiredScope: Schema.String;
3482
3661
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3498,7 +3677,7 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
3498
3677
  readonly status: Schema.Number;
3499
3678
  readonly detail: Schema.String;
3500
3679
  readonly instance: Schema.optionalKey<Schema.String>;
3501
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3680
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3502
3681
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3503
3682
  readonly requiredScope: Schema.String;
3504
3683
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3514,8 +3693,8 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
3514
3693
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3515
3694
  }>]>>;
3516
3695
  }>]>;
3517
- export type CollaboratorsUpsertCollaborator404 = ProblemDetails;
3518
- export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
3696
+ export type LibrariesCreateLibrary404 = ProblemDetails;
3697
+ export declare const LibrariesCreateLibrary404: Schema.Struct<{
3519
3698
  readonly type: Schema.String;
3520
3699
  readonly title: Schema.String;
3521
3700
  readonly status: Schema.Number;
@@ -3530,18 +3709,1221 @@ export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
3530
3709
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3531
3710
  }>>;
3532
3711
  }>;
3533
- export type CollaboratorsDeleteCollaborator400 = DecodeErrorResponse;
3534
- export declare const CollaboratorsDeleteCollaborator400: Schema.Struct<{
3535
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
3712
+ export type LibrariesCreateLibrary409 = ProblemDetails;
3713
+ export declare const LibrariesCreateLibrary409: Schema.Struct<{
3536
3714
  readonly type: Schema.String;
3537
3715
  readonly title: Schema.String;
3538
3716
  readonly status: Schema.Number;
3539
3717
  readonly detail: Schema.String;
3540
3718
  readonly instance: Schema.optionalKey<Schema.String>;
3541
3719
  readonly code: Schema.String;
3720
+ readonly details: Schema.optionalKey<Schema.Struct<{
3721
+ readonly retryable: Schema.Boolean;
3722
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3723
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3724
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3725
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3726
+ }>>;
3542
3727
  }>;
3543
- export type CollaboratorsDeleteCollaborator401 = ProblemDetails;
3544
- export declare const CollaboratorsDeleteCollaborator401: Schema.Struct<{
3728
+ export type LibrariesCreateLibrary422 = ProblemDetails;
3729
+ export declare const LibrariesCreateLibrary422: Schema.Struct<{
3730
+ readonly type: Schema.String;
3731
+ readonly title: Schema.String;
3732
+ readonly status: Schema.Number;
3733
+ readonly detail: Schema.String;
3734
+ readonly instance: Schema.optionalKey<Schema.String>;
3735
+ readonly code: Schema.String;
3736
+ readonly details: Schema.optionalKey<Schema.Struct<{
3737
+ readonly retryable: Schema.Boolean;
3738
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3739
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3740
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3741
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3742
+ }>>;
3743
+ }>;
3744
+ export type LibrariesGetLibrary200 = LibraryDetail;
3745
+ export declare const LibrariesGetLibrary200: Schema.Struct<{
3746
+ readonly library: Schema.Struct<{
3747
+ readonly id: Schema.String;
3748
+ readonly owner: Schema.String;
3749
+ readonly name: Schema.String;
3750
+ readonly title: Schema.String;
3751
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3752
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3753
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3754
+ readonly kind: Schema.Literal<"user">;
3755
+ readonly userId: Schema.String;
3756
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3757
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3758
+ }>, Schema.Struct<{
3759
+ readonly kind: Schema.Literal<"team">;
3760
+ readonly teamId: Schema.String;
3761
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3762
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3763
+ }>, Schema.Struct<{
3764
+ readonly kind: Schema.Literal<"none">;
3765
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3766
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3767
+ }>]>;
3768
+ readonly createdAt: Schema.String;
3769
+ readonly updatedAt: Schema.String;
3770
+ }>;
3771
+ readonly members: Schema.$Array<Schema.Struct<{
3772
+ readonly id: Schema.String;
3773
+ readonly libraryId: Schema.String;
3774
+ readonly extensionId: Schema.String;
3775
+ readonly extensionOwner: Schema.String;
3776
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3777
+ readonly extensionName: Schema.String;
3778
+ readonly addedAt: Schema.String;
3779
+ }>>;
3780
+ readonly hiddenMemberCount: Schema.Number;
3781
+ }>;
3782
+ export type LibrariesGetLibrary400 = DecodeErrorResponse;
3783
+ export declare const LibrariesGetLibrary400: Schema.Struct<{
3784
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
3785
+ readonly type: Schema.String;
3786
+ readonly title: Schema.String;
3787
+ readonly status: Schema.Number;
3788
+ readonly detail: Schema.String;
3789
+ readonly instance: Schema.optionalKey<Schema.String>;
3790
+ readonly code: Schema.String;
3791
+ }>;
3792
+ export type LibrariesGetLibrary404 = ProblemDetails;
3793
+ export declare const LibrariesGetLibrary404: Schema.Struct<{
3794
+ readonly type: Schema.String;
3795
+ readonly title: Schema.String;
3796
+ readonly status: Schema.Number;
3797
+ readonly detail: Schema.String;
3798
+ readonly instance: Schema.optionalKey<Schema.String>;
3799
+ readonly code: Schema.String;
3800
+ readonly details: Schema.optionalKey<Schema.Struct<{
3801
+ readonly retryable: Schema.Boolean;
3802
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3803
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3804
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3805
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3806
+ }>>;
3807
+ }>;
3808
+ export type LibrariesGetLibrary422 = ProblemDetails;
3809
+ export declare const LibrariesGetLibrary422: Schema.Struct<{
3810
+ readonly type: Schema.String;
3811
+ readonly title: Schema.String;
3812
+ readonly status: Schema.Number;
3813
+ readonly detail: Schema.String;
3814
+ readonly instance: Schema.optionalKey<Schema.String>;
3815
+ readonly code: Schema.String;
3816
+ readonly details: Schema.optionalKey<Schema.Struct<{
3817
+ readonly retryable: Schema.Boolean;
3818
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3819
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3820
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3821
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3822
+ }>>;
3823
+ }>;
3824
+ export type LibrariesDeleteLibrary400 = DecodeErrorResponse;
3825
+ export declare const LibrariesDeleteLibrary400: Schema.Struct<{
3826
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
3827
+ readonly type: Schema.String;
3828
+ readonly title: Schema.String;
3829
+ readonly status: Schema.Number;
3830
+ readonly detail: Schema.String;
3831
+ readonly instance: Schema.optionalKey<Schema.String>;
3832
+ readonly code: Schema.String;
3833
+ }>;
3834
+ export type LibrariesDeleteLibrary401 = ProblemDetails;
3835
+ export declare const LibrariesDeleteLibrary401: Schema.Struct<{
3836
+ readonly type: Schema.String;
3837
+ readonly title: Schema.String;
3838
+ readonly status: Schema.Number;
3839
+ readonly detail: Schema.String;
3840
+ readonly instance: Schema.optionalKey<Schema.String>;
3841
+ readonly code: Schema.String;
3842
+ readonly details: Schema.optionalKey<Schema.Struct<{
3843
+ readonly retryable: Schema.Boolean;
3844
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3845
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3846
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3847
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3848
+ }>>;
3849
+ }>;
3850
+ export type LibrariesDeleteLibrary403 = ForbiddenError | ForbiddenError;
3851
+ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.Struct<{
3852
+ readonly kind: Schema.Literal<"ForbiddenError">;
3853
+ readonly type: Schema.String;
3854
+ readonly title: Schema.String;
3855
+ readonly status: Schema.Number;
3856
+ readonly detail: Schema.String;
3857
+ readonly instance: Schema.optionalKey<Schema.String>;
3858
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3859
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3860
+ readonly requiredScope: Schema.String;
3861
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3862
+ }>, Schema.Struct<{
3863
+ readonly requiredScope: Schema.String;
3864
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3865
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3866
+ }>, Schema.Struct<{
3867
+ readonly retryable: Schema.Boolean;
3868
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3869
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3870
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3871
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3872
+ }>]>>;
3873
+ }>, Schema.Struct<{
3874
+ readonly kind: Schema.Literal<"ForbiddenError">;
3875
+ readonly type: Schema.String;
3876
+ readonly title: Schema.String;
3877
+ readonly status: Schema.Number;
3878
+ readonly detail: Schema.String;
3879
+ readonly instance: Schema.optionalKey<Schema.String>;
3880
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3881
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3882
+ readonly requiredScope: Schema.String;
3883
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3884
+ }>, Schema.Struct<{
3885
+ readonly requiredScope: Schema.String;
3886
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3887
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3888
+ }>, Schema.Struct<{
3889
+ readonly retryable: Schema.Boolean;
3890
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3891
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3892
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3893
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3894
+ }>]>>;
3895
+ }>]>;
3896
+ export type LibrariesDeleteLibrary404 = ProblemDetails;
3897
+ export declare const LibrariesDeleteLibrary404: Schema.Struct<{
3898
+ readonly type: Schema.String;
3899
+ readonly title: Schema.String;
3900
+ readonly status: Schema.Number;
3901
+ readonly detail: Schema.String;
3902
+ readonly instance: Schema.optionalKey<Schema.String>;
3903
+ readonly code: Schema.String;
3904
+ readonly details: Schema.optionalKey<Schema.Struct<{
3905
+ readonly retryable: Schema.Boolean;
3906
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3907
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3908
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3909
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3910
+ }>>;
3911
+ }>;
3912
+ export type LibrariesDeleteLibrary422 = ProblemDetails;
3913
+ export declare const LibrariesDeleteLibrary422: Schema.Struct<{
3914
+ readonly type: Schema.String;
3915
+ readonly title: Schema.String;
3916
+ readonly status: Schema.Number;
3917
+ readonly detail: Schema.String;
3918
+ readonly instance: Schema.optionalKey<Schema.String>;
3919
+ readonly code: Schema.String;
3920
+ readonly details: Schema.optionalKey<Schema.Struct<{
3921
+ readonly retryable: Schema.Boolean;
3922
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3923
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3924
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3925
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3926
+ }>>;
3927
+ }>;
3928
+ export type LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
3929
+ export declare const LibrariesUpdateLibraryRequestJson: Schema.Struct<{
3930
+ readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3931
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
3932
+ }>;
3933
+ export type LibrariesUpdateLibrary200 = Library;
3934
+ export declare const LibrariesUpdateLibrary200: Schema.Struct<{
3935
+ readonly id: Schema.String;
3936
+ readonly owner: Schema.String;
3937
+ readonly name: Schema.String;
3938
+ readonly title: Schema.String;
3939
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3940
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3941
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3942
+ readonly kind: Schema.Literal<"user">;
3943
+ readonly userId: Schema.String;
3944
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3945
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3946
+ }>, Schema.Struct<{
3947
+ readonly kind: Schema.Literal<"team">;
3948
+ readonly teamId: Schema.String;
3949
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3950
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3951
+ }>, Schema.Struct<{
3952
+ readonly kind: Schema.Literal<"none">;
3953
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3954
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3955
+ }>]>;
3956
+ readonly createdAt: Schema.String;
3957
+ readonly updatedAt: Schema.String;
3958
+ }>;
3959
+ export type LibrariesUpdateLibrary400 = ProblemDetails | DecodeErrorResponse;
3960
+ export declare const LibrariesUpdateLibrary400: Schema.Union<readonly [Schema.Struct<{
3961
+ readonly type: Schema.String;
3962
+ readonly title: Schema.String;
3963
+ readonly status: Schema.Number;
3964
+ readonly detail: Schema.String;
3965
+ readonly instance: Schema.optionalKey<Schema.String>;
3966
+ readonly code: Schema.String;
3967
+ readonly details: Schema.optionalKey<Schema.Struct<{
3968
+ readonly retryable: Schema.Boolean;
3969
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3970
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3971
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3972
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3973
+ }>>;
3974
+ }>, Schema.Struct<{
3975
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
3976
+ readonly type: Schema.String;
3977
+ readonly title: Schema.String;
3978
+ readonly status: Schema.Number;
3979
+ readonly detail: Schema.String;
3980
+ readonly instance: Schema.optionalKey<Schema.String>;
3981
+ readonly code: Schema.String;
3982
+ }>]>;
3983
+ export type LibrariesUpdateLibrary401 = ProblemDetails;
3984
+ export declare const LibrariesUpdateLibrary401: Schema.Struct<{
3985
+ readonly type: Schema.String;
3986
+ readonly title: Schema.String;
3987
+ readonly status: Schema.Number;
3988
+ readonly detail: Schema.String;
3989
+ readonly instance: Schema.optionalKey<Schema.String>;
3990
+ readonly code: Schema.String;
3991
+ readonly details: Schema.optionalKey<Schema.Struct<{
3992
+ readonly retryable: Schema.Boolean;
3993
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3994
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3995
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3996
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3997
+ }>>;
3998
+ }>;
3999
+ export type LibrariesUpdateLibrary403 = ForbiddenError | ForbiddenError;
4000
+ export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.Struct<{
4001
+ readonly kind: Schema.Literal<"ForbiddenError">;
4002
+ readonly type: Schema.String;
4003
+ readonly title: Schema.String;
4004
+ readonly status: Schema.Number;
4005
+ readonly detail: Schema.String;
4006
+ readonly instance: Schema.optionalKey<Schema.String>;
4007
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4008
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4009
+ readonly requiredScope: Schema.String;
4010
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4011
+ }>, Schema.Struct<{
4012
+ readonly requiredScope: Schema.String;
4013
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4014
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4015
+ }>, Schema.Struct<{
4016
+ readonly retryable: Schema.Boolean;
4017
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4018
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4019
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4020
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4021
+ }>]>>;
4022
+ }>, Schema.Struct<{
4023
+ readonly kind: Schema.Literal<"ForbiddenError">;
4024
+ readonly type: Schema.String;
4025
+ readonly title: Schema.String;
4026
+ readonly status: Schema.Number;
4027
+ readonly detail: Schema.String;
4028
+ readonly instance: Schema.optionalKey<Schema.String>;
4029
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4030
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4031
+ readonly requiredScope: Schema.String;
4032
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4033
+ }>, Schema.Struct<{
4034
+ readonly requiredScope: Schema.String;
4035
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4036
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4037
+ }>, Schema.Struct<{
4038
+ readonly retryable: Schema.Boolean;
4039
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4040
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4041
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4042
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4043
+ }>]>>;
4044
+ }>]>;
4045
+ export type LibrariesUpdateLibrary404 = ProblemDetails;
4046
+ export declare const LibrariesUpdateLibrary404: Schema.Struct<{
4047
+ readonly type: Schema.String;
4048
+ readonly title: Schema.String;
4049
+ readonly status: Schema.Number;
4050
+ readonly detail: Schema.String;
4051
+ readonly instance: Schema.optionalKey<Schema.String>;
4052
+ readonly code: Schema.String;
4053
+ readonly details: Schema.optionalKey<Schema.Struct<{
4054
+ readonly retryable: Schema.Boolean;
4055
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4056
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4057
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4058
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4059
+ }>>;
4060
+ }>;
4061
+ export type LibrariesUpdateLibrary422 = ProblemDetails;
4062
+ export declare const LibrariesUpdateLibrary422: Schema.Struct<{
4063
+ readonly type: Schema.String;
4064
+ readonly title: Schema.String;
4065
+ readonly status: Schema.Number;
4066
+ readonly detail: Schema.String;
4067
+ readonly instance: Schema.optionalKey<Schema.String>;
4068
+ readonly code: Schema.String;
4069
+ readonly details: Schema.optionalKey<Schema.Struct<{
4070
+ readonly retryable: Schema.Boolean;
4071
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4072
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4073
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4074
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4075
+ }>>;
4076
+ }>;
4077
+ export type LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
4078
+ export declare const LibrariesSetLibraryVisibilityRequestJson: Schema.Struct<{
4079
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
4080
+ }>;
4081
+ export type LibrariesSetLibraryVisibility200 = Library;
4082
+ export declare const LibrariesSetLibraryVisibility200: Schema.Struct<{
4083
+ readonly id: Schema.String;
4084
+ readonly owner: Schema.String;
4085
+ readonly name: Schema.String;
4086
+ readonly title: Schema.String;
4087
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4088
+ readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
4089
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4090
+ readonly kind: Schema.Literal<"user">;
4091
+ readonly userId: Schema.String;
4092
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4093
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4094
+ }>, Schema.Struct<{
4095
+ readonly kind: Schema.Literal<"team">;
4096
+ readonly teamId: Schema.String;
4097
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4098
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4099
+ }>, Schema.Struct<{
4100
+ readonly kind: Schema.Literal<"none">;
4101
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4102
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4103
+ }>]>;
4104
+ readonly createdAt: Schema.String;
4105
+ readonly updatedAt: Schema.String;
4106
+ }>;
4107
+ export type LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
4108
+ export declare const LibrariesSetLibraryVisibility400: Schema.Struct<{
4109
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4110
+ readonly type: Schema.String;
4111
+ readonly title: Schema.String;
4112
+ readonly status: Schema.Number;
4113
+ readonly detail: Schema.String;
4114
+ readonly instance: Schema.optionalKey<Schema.String>;
4115
+ readonly code: Schema.String;
4116
+ }>;
4117
+ export type LibrariesSetLibraryVisibility401 = ProblemDetails;
4118
+ export declare const LibrariesSetLibraryVisibility401: Schema.Struct<{
4119
+ readonly type: Schema.String;
4120
+ readonly title: Schema.String;
4121
+ readonly status: Schema.Number;
4122
+ readonly detail: Schema.String;
4123
+ readonly instance: Schema.optionalKey<Schema.String>;
4124
+ readonly code: Schema.String;
4125
+ readonly details: Schema.optionalKey<Schema.Struct<{
4126
+ readonly retryable: Schema.Boolean;
4127
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4128
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4129
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4130
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4131
+ }>>;
4132
+ }>;
4133
+ export type LibrariesSetLibraryVisibility403 = ForbiddenError | ForbiddenError;
4134
+ export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Schema.Struct<{
4135
+ readonly kind: Schema.Literal<"ForbiddenError">;
4136
+ readonly type: Schema.String;
4137
+ readonly title: Schema.String;
4138
+ readonly status: Schema.Number;
4139
+ readonly detail: Schema.String;
4140
+ readonly instance: Schema.optionalKey<Schema.String>;
4141
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4142
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4143
+ readonly requiredScope: Schema.String;
4144
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4145
+ }>, Schema.Struct<{
4146
+ readonly requiredScope: Schema.String;
4147
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4148
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4149
+ }>, Schema.Struct<{
4150
+ readonly retryable: Schema.Boolean;
4151
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4152
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4153
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4154
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4155
+ }>]>>;
4156
+ }>, Schema.Struct<{
4157
+ readonly kind: Schema.Literal<"ForbiddenError">;
4158
+ readonly type: Schema.String;
4159
+ readonly title: Schema.String;
4160
+ readonly status: Schema.Number;
4161
+ readonly detail: Schema.String;
4162
+ readonly instance: Schema.optionalKey<Schema.String>;
4163
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4164
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4165
+ readonly requiredScope: Schema.String;
4166
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4167
+ }>, Schema.Struct<{
4168
+ readonly requiredScope: Schema.String;
4169
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4170
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4171
+ }>, Schema.Struct<{
4172
+ readonly retryable: Schema.Boolean;
4173
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4174
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4175
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4176
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4177
+ }>]>>;
4178
+ }>]>;
4179
+ export type LibrariesSetLibraryVisibility404 = ProblemDetails;
4180
+ export declare const LibrariesSetLibraryVisibility404: Schema.Struct<{
4181
+ readonly type: Schema.String;
4182
+ readonly title: Schema.String;
4183
+ readonly status: Schema.Number;
4184
+ readonly detail: Schema.String;
4185
+ readonly instance: Schema.optionalKey<Schema.String>;
4186
+ readonly code: Schema.String;
4187
+ readonly details: Schema.optionalKey<Schema.Struct<{
4188
+ readonly retryable: Schema.Boolean;
4189
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4190
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4191
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4192
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4193
+ }>>;
4194
+ }>;
4195
+ export type LibrariesSetLibraryVisibility422 = ProblemDetails;
4196
+ export declare const LibrariesSetLibraryVisibility422: Schema.Struct<{
4197
+ readonly type: Schema.String;
4198
+ readonly title: Schema.String;
4199
+ readonly status: Schema.Number;
4200
+ readonly detail: Schema.String;
4201
+ readonly instance: Schema.optionalKey<Schema.String>;
4202
+ readonly code: Schema.String;
4203
+ readonly details: Schema.optionalKey<Schema.Struct<{
4204
+ readonly retryable: Schema.Boolean;
4205
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4206
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4207
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4208
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4209
+ }>>;
4210
+ }>;
4211
+ export type LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
4212
+ export declare const LibrariesSetLibraryMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
4213
+ readonly kind: Schema.Literal<"user">;
4214
+ readonly userId: Schema.String;
4215
+ }>, Schema.Struct<{
4216
+ readonly kind: Schema.Literal<"team">;
4217
+ readonly teamId: Schema.String;
4218
+ }>]>;
4219
+ export type LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
4220
+ export declare const LibrariesSetLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
4221
+ readonly kind: Schema.Literal<"user">;
4222
+ readonly userId: Schema.String;
4223
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4224
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4225
+ }>, Schema.Struct<{
4226
+ readonly kind: Schema.Literal<"team">;
4227
+ readonly teamId: Schema.String;
4228
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4229
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4230
+ }>, Schema.Struct<{
4231
+ readonly kind: Schema.Literal<"none">;
4232
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4233
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4234
+ }>]>;
4235
+ export type LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
4236
+ export declare const LibrariesSetLibraryMaintainer400: Schema.Struct<{
4237
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4238
+ readonly type: Schema.String;
4239
+ readonly title: Schema.String;
4240
+ readonly status: Schema.Number;
4241
+ readonly detail: Schema.String;
4242
+ readonly instance: Schema.optionalKey<Schema.String>;
4243
+ readonly code: Schema.String;
4244
+ }>;
4245
+ export type LibrariesSetLibraryMaintainer401 = ProblemDetails;
4246
+ export declare const LibrariesSetLibraryMaintainer401: Schema.Struct<{
4247
+ readonly type: Schema.String;
4248
+ readonly title: Schema.String;
4249
+ readonly status: Schema.Number;
4250
+ readonly detail: Schema.String;
4251
+ readonly instance: Schema.optionalKey<Schema.String>;
4252
+ readonly code: Schema.String;
4253
+ readonly details: Schema.optionalKey<Schema.Struct<{
4254
+ readonly retryable: Schema.Boolean;
4255
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4256
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4257
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4258
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4259
+ }>>;
4260
+ }>;
4261
+ export type LibrariesSetLibraryMaintainer403 = ForbiddenError | ForbiddenError;
4262
+ export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
4263
+ readonly kind: Schema.Literal<"ForbiddenError">;
4264
+ readonly type: Schema.String;
4265
+ readonly title: Schema.String;
4266
+ readonly status: Schema.Number;
4267
+ readonly detail: Schema.String;
4268
+ readonly instance: Schema.optionalKey<Schema.String>;
4269
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4270
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4271
+ readonly requiredScope: Schema.String;
4272
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4273
+ }>, Schema.Struct<{
4274
+ readonly requiredScope: Schema.String;
4275
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4276
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4277
+ }>, Schema.Struct<{
4278
+ readonly retryable: Schema.Boolean;
4279
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4280
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4281
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4282
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4283
+ }>]>>;
4284
+ }>, Schema.Struct<{
4285
+ readonly kind: Schema.Literal<"ForbiddenError">;
4286
+ readonly type: Schema.String;
4287
+ readonly title: Schema.String;
4288
+ readonly status: Schema.Number;
4289
+ readonly detail: Schema.String;
4290
+ readonly instance: Schema.optionalKey<Schema.String>;
4291
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4292
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4293
+ readonly requiredScope: Schema.String;
4294
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4295
+ }>, Schema.Struct<{
4296
+ readonly requiredScope: Schema.String;
4297
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4298
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4299
+ }>, Schema.Struct<{
4300
+ readonly retryable: Schema.Boolean;
4301
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4302
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4303
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4304
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4305
+ }>]>>;
4306
+ }>]>;
4307
+ export type LibrariesSetLibraryMaintainer404 = ProblemDetails;
4308
+ export declare const LibrariesSetLibraryMaintainer404: Schema.Struct<{
4309
+ readonly type: Schema.String;
4310
+ readonly title: Schema.String;
4311
+ readonly status: Schema.Number;
4312
+ readonly detail: Schema.String;
4313
+ readonly instance: Schema.optionalKey<Schema.String>;
4314
+ readonly code: Schema.String;
4315
+ readonly details: Schema.optionalKey<Schema.Struct<{
4316
+ readonly retryable: Schema.Boolean;
4317
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4318
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4319
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4320
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4321
+ }>>;
4322
+ }>;
4323
+ export type LibrariesSetLibraryMaintainer422 = ProblemDetails;
4324
+ export declare const LibrariesSetLibraryMaintainer422: Schema.Struct<{
4325
+ readonly type: Schema.String;
4326
+ readonly title: Schema.String;
4327
+ readonly status: Schema.Number;
4328
+ readonly detail: Schema.String;
4329
+ readonly instance: Schema.optionalKey<Schema.String>;
4330
+ readonly code: Schema.String;
4331
+ readonly details: Schema.optionalKey<Schema.Struct<{
4332
+ readonly retryable: Schema.Boolean;
4333
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4334
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4335
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4336
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4337
+ }>>;
4338
+ }>;
4339
+ export type LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
4340
+ export declare const LibrariesClearLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
4341
+ readonly kind: Schema.Literal<"user">;
4342
+ readonly userId: Schema.String;
4343
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4344
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4345
+ }>, Schema.Struct<{
4346
+ readonly kind: Schema.Literal<"team">;
4347
+ readonly teamId: Schema.String;
4348
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4349
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4350
+ }>, Schema.Struct<{
4351
+ readonly kind: Schema.Literal<"none">;
4352
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4353
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4354
+ }>]>;
4355
+ export type LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
4356
+ export declare const LibrariesClearLibraryMaintainer400: Schema.Struct<{
4357
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4358
+ readonly type: Schema.String;
4359
+ readonly title: Schema.String;
4360
+ readonly status: Schema.Number;
4361
+ readonly detail: Schema.String;
4362
+ readonly instance: Schema.optionalKey<Schema.String>;
4363
+ readonly code: Schema.String;
4364
+ }>;
4365
+ export type LibrariesClearLibraryMaintainer401 = ProblemDetails;
4366
+ export declare const LibrariesClearLibraryMaintainer401: Schema.Struct<{
4367
+ readonly type: Schema.String;
4368
+ readonly title: Schema.String;
4369
+ readonly status: Schema.Number;
4370
+ readonly detail: Schema.String;
4371
+ readonly instance: Schema.optionalKey<Schema.String>;
4372
+ readonly code: Schema.String;
4373
+ readonly details: Schema.optionalKey<Schema.Struct<{
4374
+ readonly retryable: Schema.Boolean;
4375
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4376
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4377
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4378
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4379
+ }>>;
4380
+ }>;
4381
+ export type LibrariesClearLibraryMaintainer403 = ForbiddenError | ForbiddenError;
4382
+ export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
4383
+ readonly kind: Schema.Literal<"ForbiddenError">;
4384
+ readonly type: Schema.String;
4385
+ readonly title: Schema.String;
4386
+ readonly status: Schema.Number;
4387
+ readonly detail: Schema.String;
4388
+ readonly instance: Schema.optionalKey<Schema.String>;
4389
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4390
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4391
+ readonly requiredScope: Schema.String;
4392
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4393
+ }>, Schema.Struct<{
4394
+ readonly requiredScope: Schema.String;
4395
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4396
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4397
+ }>, Schema.Struct<{
4398
+ readonly retryable: Schema.Boolean;
4399
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4400
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4401
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4402
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4403
+ }>]>>;
4404
+ }>, Schema.Struct<{
4405
+ readonly kind: Schema.Literal<"ForbiddenError">;
4406
+ readonly type: Schema.String;
4407
+ readonly title: Schema.String;
4408
+ readonly status: Schema.Number;
4409
+ readonly detail: Schema.String;
4410
+ readonly instance: Schema.optionalKey<Schema.String>;
4411
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4412
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4413
+ readonly requiredScope: Schema.String;
4414
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4415
+ }>, Schema.Struct<{
4416
+ readonly requiredScope: Schema.String;
4417
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4418
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4419
+ }>, Schema.Struct<{
4420
+ readonly retryable: Schema.Boolean;
4421
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4422
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4423
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4424
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4425
+ }>]>>;
4426
+ }>]>;
4427
+ export type LibrariesClearLibraryMaintainer404 = ProblemDetails;
4428
+ export declare const LibrariesClearLibraryMaintainer404: Schema.Struct<{
4429
+ readonly type: Schema.String;
4430
+ readonly title: Schema.String;
4431
+ readonly status: Schema.Number;
4432
+ readonly detail: Schema.String;
4433
+ readonly instance: Schema.optionalKey<Schema.String>;
4434
+ readonly code: Schema.String;
4435
+ readonly details: Schema.optionalKey<Schema.Struct<{
4436
+ readonly retryable: Schema.Boolean;
4437
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4438
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4439
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4440
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4441
+ }>>;
4442
+ }>;
4443
+ export type LibrariesClearLibraryMaintainer422 = ProblemDetails;
4444
+ export declare const LibrariesClearLibraryMaintainer422: Schema.Struct<{
4445
+ readonly type: Schema.String;
4446
+ readonly title: Schema.String;
4447
+ readonly status: Schema.Number;
4448
+ readonly detail: Schema.String;
4449
+ readonly instance: Schema.optionalKey<Schema.String>;
4450
+ readonly code: Schema.String;
4451
+ readonly details: Schema.optionalKey<Schema.Struct<{
4452
+ readonly retryable: Schema.Boolean;
4453
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4454
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4455
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4456
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4457
+ }>>;
4458
+ }>;
4459
+ export type LibrariesAddLibraryMember200 = LibraryMember;
4460
+ export declare const LibrariesAddLibraryMember200: Schema.Struct<{
4461
+ readonly id: Schema.String;
4462
+ readonly libraryId: Schema.String;
4463
+ readonly extensionId: Schema.String;
4464
+ readonly extensionOwner: Schema.String;
4465
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4466
+ readonly extensionName: Schema.String;
4467
+ readonly addedAt: Schema.String;
4468
+ }>;
4469
+ export type LibrariesAddLibraryMember400 = DecodeErrorResponse;
4470
+ export declare const LibrariesAddLibraryMember400: Schema.Struct<{
4471
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4472
+ readonly type: Schema.String;
4473
+ readonly title: Schema.String;
4474
+ readonly status: Schema.Number;
4475
+ readonly detail: Schema.String;
4476
+ readonly instance: Schema.optionalKey<Schema.String>;
4477
+ readonly code: Schema.String;
4478
+ }>;
4479
+ export type LibrariesAddLibraryMember401 = ProblemDetails;
4480
+ export declare const LibrariesAddLibraryMember401: Schema.Struct<{
4481
+ readonly type: Schema.String;
4482
+ readonly title: Schema.String;
4483
+ readonly status: Schema.Number;
4484
+ readonly detail: Schema.String;
4485
+ readonly instance: Schema.optionalKey<Schema.String>;
4486
+ readonly code: Schema.String;
4487
+ readonly details: Schema.optionalKey<Schema.Struct<{
4488
+ readonly retryable: Schema.Boolean;
4489
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4490
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4491
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4492
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4493
+ }>>;
4494
+ }>;
4495
+ export type LibrariesAddLibraryMember403 = ForbiddenError | ForbiddenError;
4496
+ export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema.Struct<{
4497
+ readonly kind: Schema.Literal<"ForbiddenError">;
4498
+ readonly type: Schema.String;
4499
+ readonly title: Schema.String;
4500
+ readonly status: Schema.Number;
4501
+ readonly detail: Schema.String;
4502
+ readonly instance: Schema.optionalKey<Schema.String>;
4503
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4504
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4505
+ readonly requiredScope: Schema.String;
4506
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4507
+ }>, Schema.Struct<{
4508
+ readonly requiredScope: Schema.String;
4509
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4510
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4511
+ }>, Schema.Struct<{
4512
+ readonly retryable: Schema.Boolean;
4513
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4514
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4515
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4516
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4517
+ }>]>>;
4518
+ }>, Schema.Struct<{
4519
+ readonly kind: Schema.Literal<"ForbiddenError">;
4520
+ readonly type: Schema.String;
4521
+ readonly title: Schema.String;
4522
+ readonly status: Schema.Number;
4523
+ readonly detail: Schema.String;
4524
+ readonly instance: Schema.optionalKey<Schema.String>;
4525
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4526
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4527
+ readonly requiredScope: Schema.String;
4528
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4529
+ }>, Schema.Struct<{
4530
+ readonly requiredScope: Schema.String;
4531
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4532
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4533
+ }>, Schema.Struct<{
4534
+ readonly retryable: Schema.Boolean;
4535
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4536
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4537
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4538
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4539
+ }>]>>;
4540
+ }>]>;
4541
+ export type LibrariesAddLibraryMember404 = ProblemDetails;
4542
+ export declare const LibrariesAddLibraryMember404: Schema.Struct<{
4543
+ readonly type: Schema.String;
4544
+ readonly title: Schema.String;
4545
+ readonly status: Schema.Number;
4546
+ readonly detail: Schema.String;
4547
+ readonly instance: Schema.optionalKey<Schema.String>;
4548
+ readonly code: Schema.String;
4549
+ readonly details: Schema.optionalKey<Schema.Struct<{
4550
+ readonly retryable: Schema.Boolean;
4551
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4552
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4553
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4554
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4555
+ }>>;
4556
+ }>;
4557
+ export type LibrariesAddLibraryMember409 = ProblemDetails;
4558
+ export declare const LibrariesAddLibraryMember409: Schema.Struct<{
4559
+ readonly type: Schema.String;
4560
+ readonly title: Schema.String;
4561
+ readonly status: Schema.Number;
4562
+ readonly detail: Schema.String;
4563
+ readonly instance: Schema.optionalKey<Schema.String>;
4564
+ readonly code: Schema.String;
4565
+ readonly details: Schema.optionalKey<Schema.Struct<{
4566
+ readonly retryable: Schema.Boolean;
4567
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4568
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4569
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4570
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4571
+ }>>;
4572
+ }>;
4573
+ export type LibrariesAddLibraryMember422 = ProblemDetails;
4574
+ export declare const LibrariesAddLibraryMember422: Schema.Struct<{
4575
+ readonly type: Schema.String;
4576
+ readonly title: Schema.String;
4577
+ readonly status: Schema.Number;
4578
+ readonly detail: Schema.String;
4579
+ readonly instance: Schema.optionalKey<Schema.String>;
4580
+ readonly code: Schema.String;
4581
+ readonly details: Schema.optionalKey<Schema.Struct<{
4582
+ readonly retryable: Schema.Boolean;
4583
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4584
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4585
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4586
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4587
+ }>>;
4588
+ }>;
4589
+ export type LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
4590
+ export declare const LibrariesRemoveLibraryMember400: Schema.Struct<{
4591
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4592
+ readonly type: Schema.String;
4593
+ readonly title: Schema.String;
4594
+ readonly status: Schema.Number;
4595
+ readonly detail: Schema.String;
4596
+ readonly instance: Schema.optionalKey<Schema.String>;
4597
+ readonly code: Schema.String;
4598
+ }>;
4599
+ export type LibrariesRemoveLibraryMember401 = ProblemDetails;
4600
+ export declare const LibrariesRemoveLibraryMember401: Schema.Struct<{
4601
+ readonly type: Schema.String;
4602
+ readonly title: Schema.String;
4603
+ readonly status: Schema.Number;
4604
+ readonly detail: Schema.String;
4605
+ readonly instance: Schema.optionalKey<Schema.String>;
4606
+ readonly code: Schema.String;
4607
+ readonly details: Schema.optionalKey<Schema.Struct<{
4608
+ readonly retryable: Schema.Boolean;
4609
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4610
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4611
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4612
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4613
+ }>>;
4614
+ }>;
4615
+ export type LibrariesRemoveLibraryMember403 = ForbiddenError | ForbiddenError;
4616
+ export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Schema.Struct<{
4617
+ readonly kind: Schema.Literal<"ForbiddenError">;
4618
+ readonly type: Schema.String;
4619
+ readonly title: Schema.String;
4620
+ readonly status: Schema.Number;
4621
+ readonly detail: Schema.String;
4622
+ readonly instance: Schema.optionalKey<Schema.String>;
4623
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4624
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4625
+ readonly requiredScope: Schema.String;
4626
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4627
+ }>, Schema.Struct<{
4628
+ readonly requiredScope: Schema.String;
4629
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4630
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4631
+ }>, Schema.Struct<{
4632
+ readonly retryable: Schema.Boolean;
4633
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4634
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4635
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4636
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4637
+ }>]>>;
4638
+ }>, Schema.Struct<{
4639
+ readonly kind: Schema.Literal<"ForbiddenError">;
4640
+ readonly type: Schema.String;
4641
+ readonly title: Schema.String;
4642
+ readonly status: Schema.Number;
4643
+ readonly detail: Schema.String;
4644
+ readonly instance: Schema.optionalKey<Schema.String>;
4645
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4646
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4647
+ readonly requiredScope: Schema.String;
4648
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4649
+ }>, Schema.Struct<{
4650
+ readonly requiredScope: Schema.String;
4651
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4652
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4653
+ }>, Schema.Struct<{
4654
+ readonly retryable: Schema.Boolean;
4655
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4656
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4657
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4658
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4659
+ }>]>>;
4660
+ }>]>;
4661
+ export type LibrariesRemoveLibraryMember404 = ProblemDetails;
4662
+ export declare const LibrariesRemoveLibraryMember404: Schema.Struct<{
4663
+ readonly type: Schema.String;
4664
+ readonly title: Schema.String;
4665
+ readonly status: Schema.Number;
4666
+ readonly detail: Schema.String;
4667
+ readonly instance: Schema.optionalKey<Schema.String>;
4668
+ readonly code: Schema.String;
4669
+ readonly details: Schema.optionalKey<Schema.Struct<{
4670
+ readonly retryable: Schema.Boolean;
4671
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4672
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4673
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4674
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4675
+ }>>;
4676
+ }>;
4677
+ export type LibrariesRemoveLibraryMember422 = ProblemDetails;
4678
+ export declare const LibrariesRemoveLibraryMember422: Schema.Struct<{
4679
+ readonly type: Schema.String;
4680
+ readonly title: Schema.String;
4681
+ readonly status: Schema.Number;
4682
+ readonly detail: Schema.String;
4683
+ readonly instance: Schema.optionalKey<Schema.String>;
4684
+ readonly code: Schema.String;
4685
+ readonly details: Schema.optionalKey<Schema.Struct<{
4686
+ readonly retryable: Schema.Boolean;
4687
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4688
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4689
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4690
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4691
+ }>>;
4692
+ }>;
4693
+ export type CollaboratorsListCollaborators200 = {
4694
+ readonly collaborators: ReadonlyArray<{
4695
+ readonly userId: UserId;
4696
+ readonly role: string;
4697
+ readonly grantedBy: UserId | null;
4698
+ readonly createdAt: string;
4699
+ }>;
4700
+ };
4701
+ export declare const CollaboratorsListCollaborators200: Schema.Struct<{
4702
+ readonly collaborators: Schema.$Array<Schema.Struct<{
4703
+ readonly userId: Schema.String;
4704
+ readonly role: Schema.String;
4705
+ readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4706
+ readonly createdAt: Schema.String;
4707
+ }>>;
4708
+ }>;
4709
+ export type CollaboratorsListCollaborators400 = DecodeErrorResponse;
4710
+ export declare const CollaboratorsListCollaborators400: Schema.Struct<{
4711
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4712
+ readonly type: Schema.String;
4713
+ readonly title: Schema.String;
4714
+ readonly status: Schema.Number;
4715
+ readonly detail: Schema.String;
4716
+ readonly instance: Schema.optionalKey<Schema.String>;
4717
+ readonly code: Schema.String;
4718
+ }>;
4719
+ export type CollaboratorsListCollaborators401 = ProblemDetails;
4720
+ export declare const CollaboratorsListCollaborators401: Schema.Struct<{
4721
+ readonly type: Schema.String;
4722
+ readonly title: Schema.String;
4723
+ readonly status: Schema.Number;
4724
+ readonly detail: Schema.String;
4725
+ readonly instance: Schema.optionalKey<Schema.String>;
4726
+ readonly code: Schema.String;
4727
+ readonly details: Schema.optionalKey<Schema.Struct<{
4728
+ readonly retryable: Schema.Boolean;
4729
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4730
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4731
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4732
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4733
+ }>>;
4734
+ }>;
4735
+ export type CollaboratorsListCollaborators403 = ForbiddenError | ForbiddenError;
4736
+ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [Schema.Struct<{
4737
+ readonly kind: Schema.Literal<"ForbiddenError">;
4738
+ readonly type: Schema.String;
4739
+ readonly title: Schema.String;
4740
+ readonly status: Schema.Number;
4741
+ readonly detail: Schema.String;
4742
+ readonly instance: Schema.optionalKey<Schema.String>;
4743
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4744
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4745
+ readonly requiredScope: Schema.String;
4746
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4747
+ }>, Schema.Struct<{
4748
+ readonly requiredScope: Schema.String;
4749
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4750
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4751
+ }>, Schema.Struct<{
4752
+ readonly retryable: Schema.Boolean;
4753
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4754
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4755
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4756
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4757
+ }>]>>;
4758
+ }>, Schema.Struct<{
4759
+ readonly kind: Schema.Literal<"ForbiddenError">;
4760
+ readonly type: Schema.String;
4761
+ readonly title: Schema.String;
4762
+ readonly status: Schema.Number;
4763
+ readonly detail: Schema.String;
4764
+ readonly instance: Schema.optionalKey<Schema.String>;
4765
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4766
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4767
+ readonly requiredScope: Schema.String;
4768
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4769
+ }>, Schema.Struct<{
4770
+ readonly requiredScope: Schema.String;
4771
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4772
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4773
+ }>, Schema.Struct<{
4774
+ readonly retryable: Schema.Boolean;
4775
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4776
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4777
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4778
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4779
+ }>]>>;
4780
+ }>]>;
4781
+ export type CollaboratorsListCollaborators404 = ProblemDetails;
4782
+ export declare const CollaboratorsListCollaborators404: Schema.Struct<{
4783
+ readonly type: Schema.String;
4784
+ readonly title: Schema.String;
4785
+ readonly status: Schema.Number;
4786
+ readonly detail: Schema.String;
4787
+ readonly instance: Schema.optionalKey<Schema.String>;
4788
+ readonly code: Schema.String;
4789
+ readonly details: Schema.optionalKey<Schema.Struct<{
4790
+ readonly retryable: Schema.Boolean;
4791
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4792
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4793
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4794
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4795
+ }>>;
4796
+ }>;
4797
+ export type CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
4798
+ export declare const CollaboratorsUpsertCollaboratorRequestJson: Schema.Struct<{
4799
+ readonly role: Schema.Literals<readonly ["write", "read"]>;
4800
+ }>;
4801
+ export type CollaboratorsUpsertCollaborator200 = {
4802
+ readonly userId: UserId;
4803
+ readonly role: string;
4804
+ readonly grantedBy: UserId | null;
4805
+ readonly createdAt: string;
4806
+ };
4807
+ export declare const CollaboratorsUpsertCollaborator200: Schema.Struct<{
4808
+ readonly userId: Schema.String;
4809
+ readonly role: Schema.String;
4810
+ readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4811
+ readonly createdAt: Schema.String;
4812
+ }>;
4813
+ export type CollaboratorsUpsertCollaborator400 = ProblemDetails | DecodeErrorResponse;
4814
+ export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [Schema.Struct<{
4815
+ readonly type: Schema.String;
4816
+ readonly title: Schema.String;
4817
+ readonly status: Schema.Number;
4818
+ readonly detail: Schema.String;
4819
+ readonly instance: Schema.optionalKey<Schema.String>;
4820
+ readonly code: Schema.String;
4821
+ readonly details: Schema.optionalKey<Schema.Struct<{
4822
+ readonly retryable: Schema.Boolean;
4823
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4824
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4825
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4826
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4827
+ }>>;
4828
+ }>, Schema.Struct<{
4829
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4830
+ readonly type: Schema.String;
4831
+ readonly title: Schema.String;
4832
+ readonly status: Schema.Number;
4833
+ readonly detail: Schema.String;
4834
+ readonly instance: Schema.optionalKey<Schema.String>;
4835
+ readonly code: Schema.String;
4836
+ }>]>;
4837
+ export type CollaboratorsUpsertCollaborator401 = ProblemDetails;
4838
+ export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
4839
+ readonly type: Schema.String;
4840
+ readonly title: Schema.String;
4841
+ readonly status: Schema.Number;
4842
+ readonly detail: Schema.String;
4843
+ readonly instance: Schema.optionalKey<Schema.String>;
4844
+ readonly code: Schema.String;
4845
+ readonly details: Schema.optionalKey<Schema.Struct<{
4846
+ readonly retryable: Schema.Boolean;
4847
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4848
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4849
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4850
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4851
+ }>>;
4852
+ }>;
4853
+ export type CollaboratorsUpsertCollaborator403 = ForbiddenError | ForbiddenError;
4854
+ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [Schema.Struct<{
4855
+ readonly kind: Schema.Literal<"ForbiddenError">;
4856
+ readonly type: Schema.String;
4857
+ readonly title: Schema.String;
4858
+ readonly status: Schema.Number;
4859
+ readonly detail: Schema.String;
4860
+ readonly instance: Schema.optionalKey<Schema.String>;
4861
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4862
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4863
+ readonly requiredScope: Schema.String;
4864
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4865
+ }>, Schema.Struct<{
4866
+ readonly requiredScope: Schema.String;
4867
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4868
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4869
+ }>, Schema.Struct<{
4870
+ readonly retryable: Schema.Boolean;
4871
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4872
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4873
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4874
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4875
+ }>]>>;
4876
+ }>, Schema.Struct<{
4877
+ readonly kind: Schema.Literal<"ForbiddenError">;
4878
+ readonly type: Schema.String;
4879
+ readonly title: Schema.String;
4880
+ readonly status: Schema.Number;
4881
+ readonly detail: Schema.String;
4882
+ readonly instance: Schema.optionalKey<Schema.String>;
4883
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4884
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4885
+ readonly requiredScope: Schema.String;
4886
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4887
+ }>, Schema.Struct<{
4888
+ readonly requiredScope: Schema.String;
4889
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4890
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4891
+ }>, Schema.Struct<{
4892
+ readonly retryable: Schema.Boolean;
4893
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4894
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4895
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4896
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4897
+ }>]>>;
4898
+ }>]>;
4899
+ export type CollaboratorsUpsertCollaborator404 = ProblemDetails;
4900
+ export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
4901
+ readonly type: Schema.String;
4902
+ readonly title: Schema.String;
4903
+ readonly status: Schema.Number;
4904
+ readonly detail: Schema.String;
4905
+ readonly instance: Schema.optionalKey<Schema.String>;
4906
+ readonly code: Schema.String;
4907
+ readonly details: Schema.optionalKey<Schema.Struct<{
4908
+ readonly retryable: Schema.Boolean;
4909
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4910
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4911
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4912
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4913
+ }>>;
4914
+ }>;
4915
+ export type CollaboratorsDeleteCollaborator400 = DecodeErrorResponse;
4916
+ export declare const CollaboratorsDeleteCollaborator400: Schema.Struct<{
4917
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4918
+ readonly type: Schema.String;
4919
+ readonly title: Schema.String;
4920
+ readonly status: Schema.Number;
4921
+ readonly detail: Schema.String;
4922
+ readonly instance: Schema.optionalKey<Schema.String>;
4923
+ readonly code: Schema.String;
4924
+ }>;
4925
+ export type CollaboratorsDeleteCollaborator401 = ProblemDetails;
4926
+ export declare const CollaboratorsDeleteCollaborator401: Schema.Struct<{
3545
4927
  readonly type: Schema.String;
3546
4928
  readonly title: Schema.String;
3547
4929
  readonly status: Schema.Number;
@@ -3564,7 +4946,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
3564
4946
  readonly status: Schema.Number;
3565
4947
  readonly detail: Schema.String;
3566
4948
  readonly instance: Schema.optionalKey<Schema.String>;
3567
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4949
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3568
4950
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3569
4951
  readonly requiredScope: Schema.String;
3570
4952
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3586,7 +4968,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
3586
4968
  readonly status: Schema.Number;
3587
4969
  readonly detail: Schema.String;
3588
4970
  readonly instance: Schema.optionalKey<Schema.String>;
3589
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4971
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3590
4972
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3591
4973
  readonly requiredScope: Schema.String;
3592
4974
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3683,7 +5065,7 @@ export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Sc
3683
5065
  readonly status: Schema.Number;
3684
5066
  readonly detail: Schema.String;
3685
5067
  readonly instance: Schema.optionalKey<Schema.String>;
3686
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5068
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3687
5069
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3688
5070
  readonly requiredScope: Schema.String;
3689
5071
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3705,7 +5087,7 @@ export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Sc
3705
5087
  readonly status: Schema.Number;
3706
5088
  readonly detail: Schema.String;
3707
5089
  readonly instance: Schema.optionalKey<Schema.String>;
3708
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5090
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3709
5091
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3710
5092
  readonly requiredScope: Schema.String;
3711
5093
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3797,7 +5179,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
3797
5179
  readonly status: Schema.Number;
3798
5180
  readonly detail: Schema.String;
3799
5181
  readonly instance: Schema.optionalKey<Schema.String>;
3800
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5182
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3801
5183
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3802
5184
  readonly requiredScope: Schema.String;
3803
5185
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3819,7 +5201,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
3819
5201
  readonly status: Schema.Number;
3820
5202
  readonly detail: Schema.String;
3821
5203
  readonly instance: Schema.optionalKey<Schema.String>;
3822
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5204
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3823
5205
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3824
5206
  readonly requiredScope: Schema.String;
3825
5207
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3931,7 +5313,7 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
3931
5313
  readonly status: Schema.Number;
3932
5314
  readonly detail: Schema.String;
3933
5315
  readonly instance: Schema.optionalKey<Schema.String>;
3934
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5316
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3935
5317
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3936
5318
  readonly requiredScope: Schema.String;
3937
5319
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3953,7 +5335,7 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
3953
5335
  readonly status: Schema.Number;
3954
5336
  readonly detail: Schema.String;
3955
5337
  readonly instance: Schema.optionalKey<Schema.String>;
3956
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5338
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3957
5339
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3958
5340
  readonly requiredScope: Schema.String;
3959
5341
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4019,7 +5401,7 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
4019
5401
  readonly status: Schema.Number;
4020
5402
  readonly detail: Schema.String;
4021
5403
  readonly instance: Schema.optionalKey<Schema.String>;
4022
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5404
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4023
5405
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4024
5406
  readonly requiredScope: Schema.String;
4025
5407
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4041,7 +5423,7 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
4041
5423
  readonly status: Schema.Number;
4042
5424
  readonly detail: Schema.String;
4043
5425
  readonly instance: Schema.optionalKey<Schema.String>;
4044
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5426
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4045
5427
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4046
5428
  readonly requiredScope: Schema.String;
4047
5429
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4148,7 +5530,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
4148
5530
  readonly status: Schema.Number;
4149
5531
  readonly detail: Schema.String;
4150
5532
  readonly instance: Schema.optionalKey<Schema.String>;
4151
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5533
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4152
5534
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4153
5535
  readonly requiredScope: Schema.String;
4154
5536
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4170,7 +5552,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
4170
5552
  readonly status: Schema.Number;
4171
5553
  readonly detail: Schema.String;
4172
5554
  readonly instance: Schema.optionalKey<Schema.String>;
4173
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5555
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4174
5556
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4175
5557
  readonly requiredScope: Schema.String;
4176
5558
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4252,7 +5634,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
4252
5634
  readonly status: Schema.Number;
4253
5635
  readonly detail: Schema.String;
4254
5636
  readonly instance: Schema.optionalKey<Schema.String>;
4255
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5637
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4256
5638
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4257
5639
  readonly requiredScope: Schema.String;
4258
5640
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4274,7 +5656,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
4274
5656
  readonly status: Schema.Number;
4275
5657
  readonly detail: Schema.String;
4276
5658
  readonly instance: Schema.optionalKey<Schema.String>;
4277
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5659
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4278
5660
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4279
5661
  readonly requiredScope: Schema.String;
4280
5662
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4340,7 +5722,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
4340
5722
  readonly status: Schema.Number;
4341
5723
  readonly detail: Schema.String;
4342
5724
  readonly instance: Schema.optionalKey<Schema.String>;
4343
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5725
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4344
5726
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4345
5727
  readonly requiredScope: Schema.String;
4346
5728
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4362,7 +5744,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
4362
5744
  readonly status: Schema.Number;
4363
5745
  readonly detail: Schema.String;
4364
5746
  readonly instance: Schema.optionalKey<Schema.String>;
4365
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5747
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4366
5748
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4367
5749
  readonly requiredScope: Schema.String;
4368
5750
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4444,7 +5826,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
4444
5826
  readonly status: Schema.Number;
4445
5827
  readonly detail: Schema.String;
4446
5828
  readonly instance: Schema.optionalKey<Schema.String>;
4447
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5829
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4448
5830
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4449
5831
  readonly requiredScope: Schema.String;
4450
5832
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4466,7 +5848,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
4466
5848
  readonly status: Schema.Number;
4467
5849
  readonly detail: Schema.String;
4468
5850
  readonly instance: Schema.optionalKey<Schema.String>;
4469
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5851
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4470
5852
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4471
5853
  readonly requiredScope: Schema.String;
4472
5854
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4556,7 +5938,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
4556
5938
  readonly status: Schema.Number;
4557
5939
  readonly detail: Schema.String;
4558
5940
  readonly instance: Schema.optionalKey<Schema.String>;
4559
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5941
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4560
5942
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4561
5943
  readonly requiredScope: Schema.String;
4562
5944
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4578,7 +5960,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
4578
5960
  readonly status: Schema.Number;
4579
5961
  readonly detail: Schema.String;
4580
5962
  readonly instance: Schema.optionalKey<Schema.String>;
4581
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5963
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4582
5964
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4583
5965
  readonly requiredScope: Schema.String;
4584
5966
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4676,7 +6058,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
4676
6058
  readonly status: Schema.Number;
4677
6059
  readonly detail: Schema.String;
4678
6060
  readonly instance: Schema.optionalKey<Schema.String>;
4679
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
6061
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4680
6062
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4681
6063
  readonly requiredScope: Schema.String;
4682
6064
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4698,7 +6080,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
4698
6080
  readonly status: Schema.Number;
4699
6081
  readonly detail: Schema.String;
4700
6082
  readonly instance: Schema.optionalKey<Schema.String>;
4701
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
6083
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4702
6084
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4703
6085
  readonly requiredScope: Schema.String;
4704
6086
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5284,6 +6666,70 @@ export interface RegistryClient {
5284
6666
  readonly ExtensionsUnyankVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
5285
6667
  readonly config?: Config | undefined;
5286
6668
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUnyankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUnyankVersion400", typeof ExtensionsUnyankVersion400.Type> | RegistryClientError<"ExtensionsUnyankVersion401", typeof ExtensionsUnyankVersion401.Type> | RegistryClientError<"ExtensionsUnyankVersion403", typeof ExtensionsUnyankVersion403.Type> | RegistryClientError<"ExtensionsUnyankVersion404", typeof ExtensionsUnyankVersion404.Type>>;
6669
+ /**
6670
+ * List owner Libraries
6671
+ */
6672
+ readonly LibrariesListLibraries: <Config extends OperationConfig>(owner: string, options: {
6673
+ readonly config?: Config | undefined;
6674
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesListLibraries200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraries400", typeof LibrariesListLibraries400.Type> | RegistryClientError<"LibrariesListLibraries404", typeof LibrariesListLibraries404.Type>>;
6675
+ /**
6676
+ * Create a Library
6677
+ */
6678
+ readonly LibrariesCreateLibrary: <Config extends OperationConfig>(owner: string, options: {
6679
+ readonly payload: typeof LibrariesCreateLibraryRequestJson.Encoded;
6680
+ readonly config?: Config | undefined;
6681
+ }) => Effect.Effect<WithOptionalResponse<typeof LibrariesCreateLibrary201.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesCreateLibrary400", typeof LibrariesCreateLibrary400.Type> | RegistryClientError<"LibrariesCreateLibrary401", typeof LibrariesCreateLibrary401.Type> | RegistryClientError<"LibrariesCreateLibrary403", typeof LibrariesCreateLibrary403.Type> | RegistryClientError<"LibrariesCreateLibrary404", typeof LibrariesCreateLibrary404.Type> | RegistryClientError<"LibrariesCreateLibrary409", typeof LibrariesCreateLibrary409.Type> | RegistryClientError<"LibrariesCreateLibrary422", typeof LibrariesCreateLibrary422.Type>>;
6682
+ /**
6683
+ * Get a Library
6684
+ */
6685
+ readonly LibrariesGetLibrary: <Config extends OperationConfig>(owner: string, name: string, options: {
6686
+ readonly config?: Config | undefined;
6687
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesGetLibrary200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesGetLibrary400", typeof LibrariesGetLibrary400.Type> | RegistryClientError<"LibrariesGetLibrary404", typeof LibrariesGetLibrary404.Type> | RegistryClientError<"LibrariesGetLibrary422", typeof LibrariesGetLibrary422.Type>>;
6688
+ /**
6689
+ * Delete a Library
6690
+ */
6691
+ readonly LibrariesDeleteLibrary: <Config extends OperationConfig>(owner: string, name: string, options: {
6692
+ readonly config?: Config | undefined;
6693
+ } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesDeleteLibrary400", typeof LibrariesDeleteLibrary400.Type> | RegistryClientError<"LibrariesDeleteLibrary401", typeof LibrariesDeleteLibrary401.Type> | RegistryClientError<"LibrariesDeleteLibrary403", typeof LibrariesDeleteLibrary403.Type> | RegistryClientError<"LibrariesDeleteLibrary404", typeof LibrariesDeleteLibrary404.Type> | RegistryClientError<"LibrariesDeleteLibrary422", typeof LibrariesDeleteLibrary422.Type>>;
6694
+ /**
6695
+ * Update a Library
6696
+ */
6697
+ readonly LibrariesUpdateLibrary: <Config extends OperationConfig>(owner: string, name: string, options: {
6698
+ readonly payload: typeof LibrariesUpdateLibraryRequestJson.Encoded;
6699
+ readonly config?: Config | undefined;
6700
+ }) => Effect.Effect<WithOptionalResponse<typeof LibrariesUpdateLibrary200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesUpdateLibrary400", typeof LibrariesUpdateLibrary400.Type> | RegistryClientError<"LibrariesUpdateLibrary401", typeof LibrariesUpdateLibrary401.Type> | RegistryClientError<"LibrariesUpdateLibrary403", typeof LibrariesUpdateLibrary403.Type> | RegistryClientError<"LibrariesUpdateLibrary404", typeof LibrariesUpdateLibrary404.Type> | RegistryClientError<"LibrariesUpdateLibrary422", typeof LibrariesUpdateLibrary422.Type>>;
6701
+ /**
6702
+ * Set Library visibility
6703
+ */
6704
+ readonly LibrariesSetLibraryVisibility: <Config extends OperationConfig>(owner: string, name: string, options: {
6705
+ readonly payload: typeof LibrariesSetLibraryVisibilityRequestJson.Encoded;
6706
+ readonly config?: Config | undefined;
6707
+ }) => Effect.Effect<WithOptionalResponse<typeof LibrariesSetLibraryVisibility200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesSetLibraryVisibility400", typeof LibrariesSetLibraryVisibility400.Type> | RegistryClientError<"LibrariesSetLibraryVisibility401", typeof LibrariesSetLibraryVisibility401.Type> | RegistryClientError<"LibrariesSetLibraryVisibility403", typeof LibrariesSetLibraryVisibility403.Type> | RegistryClientError<"LibrariesSetLibraryVisibility404", typeof LibrariesSetLibraryVisibility404.Type> | RegistryClientError<"LibrariesSetLibraryVisibility422", typeof LibrariesSetLibraryVisibility422.Type>>;
6708
+ /**
6709
+ * Set Library maintainer
6710
+ */
6711
+ readonly LibrariesSetLibraryMaintainer: <Config extends OperationConfig>(owner: string, name: string, options: {
6712
+ readonly payload: typeof LibrariesSetLibraryMaintainerRequestJson.Encoded;
6713
+ readonly config?: Config | undefined;
6714
+ }) => Effect.Effect<WithOptionalResponse<typeof LibrariesSetLibraryMaintainer200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesSetLibraryMaintainer400", typeof LibrariesSetLibraryMaintainer400.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer401", typeof LibrariesSetLibraryMaintainer401.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer403", typeof LibrariesSetLibraryMaintainer403.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer404", typeof LibrariesSetLibraryMaintainer404.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer422", typeof LibrariesSetLibraryMaintainer422.Type>>;
6715
+ /**
6716
+ * Clear Library maintainer
6717
+ */
6718
+ readonly LibrariesClearLibraryMaintainer: <Config extends OperationConfig>(owner: string, name: string, options: {
6719
+ readonly config?: Config | undefined;
6720
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesClearLibraryMaintainer200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesClearLibraryMaintainer400", typeof LibrariesClearLibraryMaintainer400.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer401", typeof LibrariesClearLibraryMaintainer401.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer403", typeof LibrariesClearLibraryMaintainer403.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer404", typeof LibrariesClearLibraryMaintainer404.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer422", typeof LibrariesClearLibraryMaintainer422.Type>>;
6721
+ /**
6722
+ * Add a Library member
6723
+ */
6724
+ readonly LibrariesAddLibraryMember: <Config extends OperationConfig>(owner: string, name: string, extensionOwner: string, extensionType: string, extensionName: string, options: {
6725
+ readonly config?: Config | undefined;
6726
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesAddLibraryMember200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesAddLibraryMember400", typeof LibrariesAddLibraryMember400.Type> | RegistryClientError<"LibrariesAddLibraryMember401", typeof LibrariesAddLibraryMember401.Type> | RegistryClientError<"LibrariesAddLibraryMember403", typeof LibrariesAddLibraryMember403.Type> | RegistryClientError<"LibrariesAddLibraryMember404", typeof LibrariesAddLibraryMember404.Type> | RegistryClientError<"LibrariesAddLibraryMember409", typeof LibrariesAddLibraryMember409.Type> | RegistryClientError<"LibrariesAddLibraryMember422", typeof LibrariesAddLibraryMember422.Type>>;
6727
+ /**
6728
+ * Remove a Library member
6729
+ */
6730
+ readonly LibrariesRemoveLibraryMember: <Config extends OperationConfig>(owner: string, name: string, extensionOwner: string, extensionType: string, extensionName: string, options: {
6731
+ readonly config?: Config | undefined;
6732
+ } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesRemoveLibraryMember400", typeof LibrariesRemoveLibraryMember400.Type> | RegistryClientError<"LibrariesRemoveLibraryMember401", typeof LibrariesRemoveLibraryMember401.Type> | RegistryClientError<"LibrariesRemoveLibraryMember403", typeof LibrariesRemoveLibraryMember403.Type> | RegistryClientError<"LibrariesRemoveLibraryMember404", typeof LibrariesRemoveLibraryMember404.Type> | RegistryClientError<"LibrariesRemoveLibraryMember422", typeof LibrariesRemoveLibraryMember422.Type>>;
5287
6733
  /**
5288
6734
  * List extension collaborators
5289
6735
  */