@anthropic-ai/sdk 0.120.0 → 0.121.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 (364) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/helpers/beta/standard-schema.d.mts +45 -0
  3. package/helpers/beta/standard-schema.d.mts.map +1 -0
  4. package/helpers/beta/standard-schema.d.ts +45 -0
  5. package/helpers/beta/standard-schema.d.ts.map +1 -0
  6. package/helpers/beta/standard-schema.js +58 -0
  7. package/helpers/beta/standard-schema.js.map +1 -0
  8. package/helpers/beta/standard-schema.mjs +54 -0
  9. package/helpers/beta/standard-schema.mjs.map +1 -0
  10. package/internal/detect-platform.js +1 -1
  11. package/internal/detect-platform.js.map +1 -1
  12. package/internal/detect-platform.mjs +1 -1
  13. package/internal/detect-platform.mjs.map +1 -1
  14. package/internal/utils/values.d.mts +6 -0
  15. package/internal/utils/values.d.mts.map +1 -1
  16. package/internal/utils/values.d.ts +6 -0
  17. package/internal/utils/values.d.ts.map +1 -1
  18. package/internal/utils/values.js +7 -0
  19. package/internal/utils/values.js.map +1 -1
  20. package/internal/utils/values.mjs +6 -0
  21. package/internal/utils/values.mjs.map +1 -1
  22. package/lib/BetaMessageStream.d.mts.map +1 -1
  23. package/lib/BetaMessageStream.d.ts.map +1 -1
  24. package/lib/BetaMessageStream.js +3 -4
  25. package/lib/BetaMessageStream.js.map +1 -1
  26. package/lib/BetaMessageStream.mjs +1 -2
  27. package/lib/BetaMessageStream.mjs.map +1 -1
  28. package/lib/MessageStream.d.mts.map +1 -1
  29. package/lib/MessageStream.d.ts.map +1 -1
  30. package/lib/MessageStream.js +3 -4
  31. package/lib/MessageStream.js.map +1 -1
  32. package/lib/MessageStream.mjs +1 -2
  33. package/lib/MessageStream.mjs.map +1 -1
  34. package/lib/sessions/accumulate.d.mts.map +1 -1
  35. package/lib/sessions/accumulate.d.ts.map +1 -1
  36. package/lib/sessions/accumulate.js +3 -4
  37. package/lib/sessions/accumulate.js.map +1 -1
  38. package/lib/sessions/accumulate.mjs +1 -2
  39. package/lib/sessions/accumulate.mjs.map +1 -1
  40. package/lib/standard-schema.d.mts +131 -0
  41. package/lib/standard-schema.d.mts.map +1 -0
  42. package/lib/standard-schema.d.ts +131 -0
  43. package/lib/standard-schema.d.ts.map +1 -0
  44. package/lib/standard-schema.js +45 -0
  45. package/lib/standard-schema.js.map +1 -0
  46. package/lib/standard-schema.mjs +41 -0
  47. package/lib/standard-schema.mjs.map +1 -0
  48. package/lib/tools/BetaToolRunner.d.mts.map +1 -1
  49. package/lib/tools/BetaToolRunner.d.ts.map +1 -1
  50. package/lib/tools/BetaToolRunner.js +35 -6
  51. package/lib/tools/BetaToolRunner.js.map +1 -1
  52. package/lib/tools/BetaToolRunner.mjs +35 -6
  53. package/lib/tools/BetaToolRunner.mjs.map +1 -1
  54. package/package.json +2 -11
  55. package/resources/beta/beta.d.mts +5 -1
  56. package/resources/beta/beta.d.mts.map +1 -1
  57. package/resources/beta/beta.d.ts +5 -1
  58. package/resources/beta/beta.d.ts.map +1 -1
  59. package/resources/beta/beta.js +4 -0
  60. package/resources/beta/beta.js.map +1 -1
  61. package/resources/beta/beta.mjs +4 -0
  62. package/resources/beta/beta.mjs.map +1 -1
  63. package/resources/beta/environments/environments.d.mts +8 -1
  64. package/resources/beta/environments/environments.d.mts.map +1 -1
  65. package/resources/beta/environments/environments.d.ts +8 -1
  66. package/resources/beta/environments/environments.d.ts.map +1 -1
  67. package/resources/beta/environments/environments.js.map +1 -1
  68. package/resources/beta/environments/environments.mjs.map +1 -1
  69. package/resources/beta/index.d.mts +1 -0
  70. package/resources/beta/index.d.mts.map +1 -1
  71. package/resources/beta/index.d.ts +1 -0
  72. package/resources/beta/index.d.ts.map +1 -1
  73. package/resources/beta/index.js +11 -9
  74. package/resources/beta/index.js.map +1 -1
  75. package/resources/beta/index.mjs +1 -0
  76. package/resources/beta/index.mjs.map +1 -1
  77. package/resources/beta/memory-stores/memories.d.mts +6 -5
  78. package/resources/beta/memory-stores/memories.d.mts.map +1 -1
  79. package/resources/beta/memory-stores/memories.d.ts +6 -5
  80. package/resources/beta/memory-stores/memories.d.ts.map +1 -1
  81. package/resources/beta/memory-stores/memory-versions.d.mts +8 -5
  82. package/resources/beta/memory-stores/memory-versions.d.mts.map +1 -1
  83. package/resources/beta/memory-stores/memory-versions.d.ts +8 -5
  84. package/resources/beta/memory-stores/memory-versions.d.ts.map +1 -1
  85. package/resources/beta/messages/messages.d.mts +50 -8
  86. package/resources/beta/messages/messages.d.mts.map +1 -1
  87. package/resources/beta/messages/messages.d.ts +50 -8
  88. package/resources/beta/messages/messages.d.ts.map +1 -1
  89. package/resources/beta/messages/messages.js.map +1 -1
  90. package/resources/beta/messages/messages.mjs.map +1 -1
  91. package/resources/beta/organization/api-keys.d.mts +177 -0
  92. package/resources/beta/organization/api-keys.d.mts.map +1 -0
  93. package/resources/beta/organization/api-keys.d.ts +177 -0
  94. package/resources/beta/organization/api-keys.d.ts.map +1 -0
  95. package/resources/beta/organization/api-keys.js +56 -0
  96. package/resources/beta/organization/api-keys.js.map +1 -0
  97. package/resources/beta/organization/api-keys.mjs +52 -0
  98. package/resources/beta/organization/api-keys.mjs.map +1 -0
  99. package/resources/beta/organization/external-keys.d.mts +269 -0
  100. package/resources/beta/organization/external-keys.d.mts.map +1 -0
  101. package/resources/beta/organization/external-keys.d.ts +269 -0
  102. package/resources/beta/organization/external-keys.d.ts.map +1 -0
  103. package/resources/beta/organization/external-keys.js +119 -0
  104. package/resources/beta/organization/external-keys.js.map +1 -0
  105. package/resources/beta/organization/external-keys.mjs +115 -0
  106. package/resources/beta/organization/external-keys.mjs.map +1 -0
  107. package/resources/beta/organization/federation/federation.d.mts +14 -0
  108. package/resources/beta/organization/federation/federation.d.mts.map +1 -0
  109. package/resources/beta/organization/federation/federation.d.ts +14 -0
  110. package/resources/beta/organization/federation/federation.d.ts.map +1 -0
  111. package/resources/beta/organization/federation/federation.js +21 -0
  112. package/resources/beta/organization/federation/federation.js.map +1 -0
  113. package/resources/beta/organization/federation/federation.mjs +16 -0
  114. package/resources/beta/organization/federation/federation.mjs.map +1 -0
  115. package/resources/beta/organization/federation/index.d.mts +4 -0
  116. package/resources/beta/organization/federation/index.d.mts.map +1 -0
  117. package/resources/beta/organization/federation/index.d.ts +4 -0
  118. package/resources/beta/organization/federation/index.d.ts.map +1 -0
  119. package/resources/beta/organization/federation/index.js +11 -0
  120. package/resources/beta/organization/federation/index.js.map +1 -0
  121. package/resources/beta/organization/federation/index.mjs +5 -0
  122. package/resources/beta/organization/federation/index.mjs.map +1 -0
  123. package/resources/beta/organization/federation/issuers.d.mts +353 -0
  124. package/resources/beta/organization/federation/issuers.d.mts.map +1 -0
  125. package/resources/beta/organization/federation/issuers.d.ts +353 -0
  126. package/resources/beta/organization/federation/issuers.d.ts.map +1 -0
  127. package/resources/beta/organization/federation/issuers.js +169 -0
  128. package/resources/beta/organization/federation/issuers.js.map +1 -0
  129. package/resources/beta/organization/federation/issuers.mjs +165 -0
  130. package/resources/beta/organization/federation/issuers.mjs.map +1 -0
  131. package/resources/beta/organization/federation/rules/index.d.mts +3 -0
  132. package/resources/beta/organization/federation/rules/index.d.mts.map +1 -0
  133. package/resources/beta/organization/federation/rules/index.d.ts +3 -0
  134. package/resources/beta/organization/federation/rules/index.d.ts.map +1 -0
  135. package/resources/beta/organization/federation/rules/index.js +9 -0
  136. package/resources/beta/organization/federation/rules/index.js.map +1 -0
  137. package/resources/beta/organization/federation/rules/index.mjs +4 -0
  138. package/resources/beta/organization/federation/rules/index.mjs.map +1 -0
  139. package/resources/beta/organization/federation/rules/rules.d.mts +468 -0
  140. package/resources/beta/organization/federation/rules/rules.d.mts.map +1 -0
  141. package/resources/beta/organization/federation/rules/rules.d.ts +468 -0
  142. package/resources/beta/organization/federation/rules/rules.d.ts.map +1 -0
  143. package/resources/beta/organization/federation/rules/rules.js +198 -0
  144. package/resources/beta/organization/federation/rules/rules.js.map +1 -0
  145. package/resources/beta/organization/federation/rules/rules.mjs +193 -0
  146. package/resources/beta/organization/federation/rules/rules.mjs.map +1 -0
  147. package/resources/beta/organization/federation/rules/workspaces.d.mts +124 -0
  148. package/resources/beta/organization/federation/rules/workspaces.d.mts.map +1 -0
  149. package/resources/beta/organization/federation/rules/workspaces.d.ts +124 -0
  150. package/resources/beta/organization/federation/rules/workspaces.d.ts.map +1 -0
  151. package/resources/beta/organization/federation/rules/workspaces.js +114 -0
  152. package/resources/beta/organization/federation/rules/workspaces.js.map +1 -0
  153. package/resources/beta/organization/federation/rules/workspaces.mjs +110 -0
  154. package/resources/beta/organization/federation/rules/workspaces.mjs.map +1 -0
  155. package/resources/beta/organization/federation/rules.d.mts +2 -0
  156. package/resources/beta/organization/federation/rules.d.mts.map +1 -0
  157. package/resources/beta/organization/federation/rules.d.ts +2 -0
  158. package/resources/beta/organization/federation/rules.d.ts.map +1 -0
  159. package/resources/beta/organization/federation/rules.js +6 -0
  160. package/resources/beta/organization/federation/rules.js.map +1 -0
  161. package/resources/beta/organization/federation/rules.mjs +3 -0
  162. package/resources/beta/organization/federation/rules.mjs.map +1 -0
  163. package/resources/beta/organization/federation.d.mts +2 -0
  164. package/resources/beta/organization/federation.d.mts.map +1 -0
  165. package/resources/beta/organization/federation.d.ts +2 -0
  166. package/resources/beta/organization/federation.d.ts.map +1 -0
  167. package/resources/beta/organization/federation.js +6 -0
  168. package/resources/beta/organization/federation.js.map +1 -0
  169. package/resources/beta/organization/federation.mjs +3 -0
  170. package/resources/beta/organization/federation.mjs.map +1 -0
  171. package/resources/beta/organization/index.d.mts +10 -0
  172. package/resources/beta/organization/index.d.mts.map +1 -0
  173. package/resources/beta/organization/index.d.ts +10 -0
  174. package/resources/beta/organization/index.d.ts.map +1 -0
  175. package/resources/beta/organization/index.js +23 -0
  176. package/resources/beta/organization/index.js.map +1 -0
  177. package/resources/beta/organization/index.mjs +11 -0
  178. package/resources/beta/organization/index.mjs.map +1 -0
  179. package/resources/beta/organization/invites.d.mts +162 -0
  180. package/resources/beta/organization/invites.d.mts.map +1 -0
  181. package/resources/beta/organization/invites.d.ts +162 -0
  182. package/resources/beta/organization/invites.d.ts.map +1 -0
  183. package/resources/beta/organization/invites.js +76 -0
  184. package/resources/beta/organization/invites.js.map +1 -0
  185. package/resources/beta/organization/invites.mjs +72 -0
  186. package/resources/beta/organization/invites.mjs.map +1 -0
  187. package/resources/beta/organization/organization.d.mts +69 -0
  188. package/resources/beta/organization/organization.d.mts.map +1 -0
  189. package/resources/beta/organization/organization.d.ts +69 -0
  190. package/resources/beta/organization/organization.d.ts.map +1 -0
  191. package/resources/beta/organization/organization.js +58 -0
  192. package/resources/beta/organization/organization.js.map +1 -0
  193. package/resources/beta/organization/organization.mjs +53 -0
  194. package/resources/beta/organization/organization.mjs.map +1 -0
  195. package/resources/beta/organization/rate-limits.d.mts +78 -0
  196. package/resources/beta/organization/rate-limits.d.mts.map +1 -0
  197. package/resources/beta/organization/rate-limits.d.ts +78 -0
  198. package/resources/beta/organization/rate-limits.d.ts.map +1 -0
  199. package/resources/beta/organization/rate-limits.js +32 -0
  200. package/resources/beta/organization/rate-limits.js.map +1 -0
  201. package/resources/beta/organization/rate-limits.mjs +28 -0
  202. package/resources/beta/organization/rate-limits.mjs.map +1 -0
  203. package/resources/beta/organization/service-accounts/index.d.mts +3 -0
  204. package/resources/beta/organization/service-accounts/index.d.mts.map +1 -0
  205. package/resources/beta/organization/service-accounts/index.d.ts +3 -0
  206. package/resources/beta/organization/service-accounts/index.d.ts.map +1 -0
  207. package/resources/beta/organization/service-accounts/index.js +9 -0
  208. package/resources/beta/organization/service-accounts/index.js.map +1 -0
  209. package/resources/beta/organization/service-accounts/index.mjs +4 -0
  210. package/resources/beta/organization/service-accounts/index.mjs.map +1 -0
  211. package/resources/beta/organization/service-accounts/service-accounts.d.mts +258 -0
  212. package/resources/beta/organization/service-accounts/service-accounts.d.mts.map +1 -0
  213. package/resources/beta/organization/service-accounts/service-accounts.d.ts +258 -0
  214. package/resources/beta/organization/service-accounts/service-accounts.d.ts.map +1 -0
  215. package/resources/beta/organization/service-accounts/service-accounts.js +174 -0
  216. package/resources/beta/organization/service-accounts/service-accounts.js.map +1 -0
  217. package/resources/beta/organization/service-accounts/service-accounts.mjs +169 -0
  218. package/resources/beta/organization/service-accounts/service-accounts.mjs.map +1 -0
  219. package/resources/beta/organization/service-accounts/workspaces.d.mts +141 -0
  220. package/resources/beta/organization/service-accounts/workspaces.d.mts.map +1 -0
  221. package/resources/beta/organization/service-accounts/workspaces.d.ts +141 -0
  222. package/resources/beta/organization/service-accounts/workspaces.d.ts.map +1 -0
  223. package/resources/beta/organization/service-accounts/workspaces.js +125 -0
  224. package/resources/beta/organization/service-accounts/workspaces.js.map +1 -0
  225. package/resources/beta/organization/service-accounts/workspaces.mjs +121 -0
  226. package/resources/beta/organization/service-accounts/workspaces.mjs.map +1 -0
  227. package/resources/beta/organization/service-accounts.d.mts +2 -0
  228. package/resources/beta/organization/service-accounts.d.mts.map +1 -0
  229. package/resources/beta/organization/service-accounts.d.ts +2 -0
  230. package/resources/beta/organization/service-accounts.d.ts.map +1 -0
  231. package/resources/beta/organization/service-accounts.js +6 -0
  232. package/resources/beta/organization/service-accounts.js.map +1 -0
  233. package/resources/beta/organization/service-accounts.mjs +3 -0
  234. package/resources/beta/organization/service-accounts.mjs.map +1 -0
  235. package/resources/beta/organization/users.d.mts +124 -0
  236. package/resources/beta/organization/users.d.mts.map +1 -0
  237. package/resources/beta/organization/users.d.ts +124 -0
  238. package/resources/beta/organization/users.d.ts.map +1 -0
  239. package/resources/beta/organization/users.js +67 -0
  240. package/resources/beta/organization/users.js.map +1 -0
  241. package/resources/beta/organization/users.mjs +63 -0
  242. package/resources/beta/organization/users.mjs.map +1 -0
  243. package/resources/beta/organization/workspaces/index.d.mts +5 -0
  244. package/resources/beta/organization/workspaces/index.d.mts.map +1 -0
  245. package/resources/beta/organization/workspaces/index.d.ts +5 -0
  246. package/resources/beta/organization/workspaces/index.d.ts.map +1 -0
  247. package/resources/beta/organization/workspaces/index.js +13 -0
  248. package/resources/beta/organization/workspaces/index.js.map +1 -0
  249. package/resources/beta/organization/workspaces/index.mjs +6 -0
  250. package/resources/beta/organization/workspaces/index.mjs.map +1 -0
  251. package/resources/beta/organization/workspaces/members.d.mts +135 -0
  252. package/resources/beta/organization/workspaces/members.d.mts.map +1 -0
  253. package/resources/beta/organization/workspaces/members.d.ts +135 -0
  254. package/resources/beta/organization/workspaces/members.d.ts.map +1 -0
  255. package/resources/beta/organization/workspaces/members.js +102 -0
  256. package/resources/beta/organization/workspaces/members.js.map +1 -0
  257. package/resources/beta/organization/workspaces/members.mjs +98 -0
  258. package/resources/beta/organization/workspaces/members.mjs.map +1 -0
  259. package/resources/beta/organization/workspaces/rate-limits.d.mts +84 -0
  260. package/resources/beta/organization/workspaces/rate-limits.d.mts.map +1 -0
  261. package/resources/beta/organization/workspaces/rate-limits.d.ts +84 -0
  262. package/resources/beta/organization/workspaces/rate-limits.d.ts.map +1 -0
  263. package/resources/beta/organization/workspaces/rate-limits.js +35 -0
  264. package/resources/beta/organization/workspaces/rate-limits.js.map +1 -0
  265. package/resources/beta/organization/workspaces/rate-limits.mjs +31 -0
  266. package/resources/beta/organization/workspaces/rate-limits.mjs.map +1 -0
  267. package/resources/beta/organization/workspaces/service-accounts.d.mts +210 -0
  268. package/resources/beta/organization/workspaces/service-accounts.d.mts.map +1 -0
  269. package/resources/beta/organization/workspaces/service-accounts.d.ts +210 -0
  270. package/resources/beta/organization/workspaces/service-accounts.d.ts.map +1 -0
  271. package/resources/beta/organization/workspaces/service-accounts.js +189 -0
  272. package/resources/beta/organization/workspaces/service-accounts.js.map +1 -0
  273. package/resources/beta/organization/workspaces/service-accounts.mjs +185 -0
  274. package/resources/beta/organization/workspaces/service-accounts.mjs.map +1 -0
  275. package/resources/beta/organization/workspaces/workspaces.d.mts +287 -0
  276. package/resources/beta/organization/workspaces/workspaces.d.mts.map +1 -0
  277. package/resources/beta/organization/workspaces/workspaces.d.ts +287 -0
  278. package/resources/beta/organization/workspaces/workspaces.d.ts.map +1 -0
  279. package/resources/beta/organization/workspaces/workspaces.js +112 -0
  280. package/resources/beta/organization/workspaces/workspaces.js.map +1 -0
  281. package/resources/beta/organization/workspaces/workspaces.mjs +107 -0
  282. package/resources/beta/organization/workspaces/workspaces.mjs.map +1 -0
  283. package/resources/beta/organization/workspaces.d.mts +2 -0
  284. package/resources/beta/organization/workspaces.d.mts.map +1 -0
  285. package/resources/beta/organization/workspaces.d.ts +2 -0
  286. package/resources/beta/organization/workspaces.d.ts.map +1 -0
  287. package/resources/beta/organization/workspaces.js +6 -0
  288. package/resources/beta/organization/workspaces.js.map +1 -0
  289. package/resources/beta/organization/workspaces.mjs +3 -0
  290. package/resources/beta/organization/workspaces.mjs.map +1 -0
  291. package/resources/beta/organization.d.mts +2 -0
  292. package/resources/beta/organization.d.mts.map +1 -0
  293. package/resources/beta/organization.d.ts +2 -0
  294. package/resources/beta/organization.d.ts.map +1 -0
  295. package/resources/beta/organization.js +6 -0
  296. package/resources/beta/organization.js.map +1 -0
  297. package/resources/beta/organization.mjs +3 -0
  298. package/resources/beta/organization.mjs.map +1 -0
  299. package/resources/beta/sessions/threads/threads.d.mts +2 -1
  300. package/resources/beta/sessions/threads/threads.d.mts.map +1 -1
  301. package/resources/beta/sessions/threads/threads.d.ts +2 -1
  302. package/resources/beta/sessions/threads/threads.d.ts.map +1 -1
  303. package/resources/beta/sessions/threads/threads.js.map +1 -1
  304. package/resources/beta/sessions/threads/threads.mjs.map +1 -1
  305. package/src/helpers/beta/standard-schema.ts +99 -0
  306. package/src/internal/detect-platform.ts +1 -1
  307. package/src/internal/utils/values.ts +7 -0
  308. package/src/lib/BetaMessageStream.ts +1 -3
  309. package/src/lib/MessageStream.ts +1 -3
  310. package/src/lib/sessions/accumulate.ts +1 -3
  311. package/src/lib/standard-schema.ts +209 -0
  312. package/src/lib/tools/BetaToolRunner.ts +38 -6
  313. package/src/resources/beta/beta.ts +18 -1
  314. package/src/resources/beta/environments/environments.ts +8 -1
  315. package/src/resources/beta/index.ts +1 -0
  316. package/src/resources/beta/memory-stores/memories.ts +6 -5
  317. package/src/resources/beta/memory-stores/memory-versions.ts +8 -5
  318. package/src/resources/beta/messages/messages.ts +50 -8
  319. package/src/resources/beta/organization/api-keys.ts +231 -0
  320. package/src/resources/beta/organization/external-keys.ts +362 -0
  321. package/src/resources/beta/organization/federation/federation.ts +71 -0
  322. package/src/resources/beta/organization/federation/index.ts +31 -0
  323. package/src/resources/beta/organization/federation/issuers.ts +486 -0
  324. package/src/resources/beta/organization/federation/rules/index.ts +23 -0
  325. package/src/resources/beta/organization/federation/rules/rules.ts +624 -0
  326. package/src/resources/beta/organization/federation/rules/workspaces.ts +196 -0
  327. package/src/resources/beta/organization/federation/rules.ts +3 -0
  328. package/src/resources/beta/organization/federation.ts +3 -0
  329. package/src/resources/beta/organization/index.ts +83 -0
  330. package/src/resources/beta/organization/invites.ts +207 -0
  331. package/src/resources/beta/organization/organization.ts +245 -0
  332. package/src/resources/beta/organization/rate-limits.ts +105 -0
  333. package/src/resources/beta/organization/service-accounts/index.ts +21 -0
  334. package/src/resources/beta/organization/service-accounts/service-accounts.ts +389 -0
  335. package/src/resources/beta/organization/service-accounts/workspaces.ts +217 -0
  336. package/src/resources/beta/organization/service-accounts.ts +3 -0
  337. package/src/resources/beta/organization/users.ts +163 -0
  338. package/src/resources/beta/organization/workspaces/index.ts +43 -0
  339. package/src/resources/beta/organization/workspaces/members.ts +209 -0
  340. package/src/resources/beta/organization/workspaces/rate-limits.ts +114 -0
  341. package/src/resources/beta/organization/workspaces/service-accounts.ts +325 -0
  342. package/src/resources/beta/organization/workspaces/workspaces.ts +434 -0
  343. package/src/resources/beta/organization/workspaces.ts +3 -0
  344. package/src/resources/beta/organization.ts +3 -0
  345. package/src/resources/beta/sessions/threads/threads.ts +2 -1
  346. package/src/tools/agent-toolset/node.browser.ts +1 -1
  347. package/src/tools/agent-toolset/node.ts +4 -4
  348. package/src/version.ts +1 -1
  349. package/tools/agent-toolset/node.browser.d.mts +1 -1
  350. package/tools/agent-toolset/node.browser.d.mts.map +1 -1
  351. package/tools/agent-toolset/node.browser.d.ts +1 -1
  352. package/tools/agent-toolset/node.browser.d.ts.map +1 -1
  353. package/tools/agent-toolset/node.browser.js.map +1 -1
  354. package/tools/agent-toolset/node.browser.mjs.map +1 -1
  355. package/tools/agent-toolset/node.d.mts +2 -2
  356. package/tools/agent-toolset/node.d.mts.map +1 -1
  357. package/tools/agent-toolset/node.d.ts +2 -2
  358. package/tools/agent-toolset/node.d.ts.map +1 -1
  359. package/tools/agent-toolset/node.js.map +1 -1
  360. package/tools/agent-toolset/node.mjs.map +1 -1
  361. package/version.d.mts +1 -1
  362. package/version.d.ts +1 -1
  363. package/version.js +1 -1
  364. package/version.mjs +1 -1
@@ -0,0 +1,174 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ServiceAccounts = void 0;
5
+ const tslib_1 = require("../../../../internal/tslib.js");
6
+ const resource_1 = require("../../../../core/resource.js");
7
+ const WorkspacesAPI = tslib_1.__importStar(require("./workspaces.js"));
8
+ const workspaces_1 = require("./workspaces.js");
9
+ const pagination_1 = require("../../../../core/pagination.js");
10
+ const headers_1 = require("../../../../internal/headers.js");
11
+ const path_1 = require("../../../../internal/utils/path.js");
12
+ class ServiceAccounts extends resource_1.APIResource {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.workspaces = new WorkspacesAPI.Workspaces(this._client);
16
+ }
17
+ /**
18
+ * **Requires an OAuth access token with the `org:admin` scope**, from
19
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
20
+ * API keys are not accepted. See
21
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
22
+ *
23
+ * Create a service account.
24
+ *
25
+ * A service account is a named workload identity that federation rules target.
26
+ * `organization_role` is `developer` (default) or `admin`; a rule may only be
27
+ * created or retargeted to grant `org:admin` scope when the target's
28
+ * `organization_role` is `admin`. Creating an `admin`-role service account
29
+ * requires an interactive credential (a user OAuth token or a Console session) — a
30
+ * workload may only create `developer`-role service accounts.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const betaServiceAccount =
35
+ * await client.beta.organization.serviceAccounts.create({
36
+ * name: 'ci-deploy-bot',
37
+ * });
38
+ * ```
39
+ */
40
+ create(params, options) {
41
+ const { betas, ...body } = params;
42
+ return this._client.post('/v1/organizations/service_accounts?beta=true', {
43
+ body,
44
+ ...options,
45
+ headers: (0, headers_1.buildHeaders)([
46
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
47
+ options?.headers,
48
+ ]),
49
+ });
50
+ }
51
+ /**
52
+ * **Requires an OAuth access token with the `org:admin` scope**, from
53
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
54
+ * API keys are not accepted. See
55
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
56
+ *
57
+ * Retrieve a service account by its ID (`svac_...`).
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const betaServiceAccount =
62
+ * await client.beta.organization.serviceAccounts.retrieve(
63
+ * 'service_account_id',
64
+ * );
65
+ * ```
66
+ */
67
+ retrieve(serviceAccountID, params = {}, options) {
68
+ const { betas } = params ?? {};
69
+ return this._client.get((0, path_1.path) `/v1/organizations/service_accounts/${serviceAccountID}?beta=true`, {
70
+ ...options,
71
+ headers: (0, headers_1.buildHeaders)([
72
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
73
+ options?.headers,
74
+ ]),
75
+ });
76
+ }
77
+ /**
78
+ * **Requires an OAuth access token with the `org:admin` scope**, from
79
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
80
+ * API keys are not accepted. See
81
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
82
+ *
83
+ * Update a service account.
84
+ *
85
+ * Only `description` and `organization_role` are mutable; `name` cannot be
86
+ * changed. Archived service accounts cannot be updated; this returns 400. Setting
87
+ * `organization_role` to `admin` (even when unchanged) requires an interactive
88
+ * credential (a user OAuth token or a Console session).
89
+ *
90
+ * @example
91
+ * ```ts
92
+ * const betaServiceAccount =
93
+ * await client.beta.organization.serviceAccounts.update(
94
+ * 'service_account_id',
95
+ * );
96
+ * ```
97
+ */
98
+ update(serviceAccountID, params, options) {
99
+ const { betas, ...body } = params;
100
+ return this._client.post((0, path_1.path) `/v1/organizations/service_accounts/${serviceAccountID}?beta=true`, {
101
+ body,
102
+ ...options,
103
+ headers: (0, headers_1.buildHeaders)([
104
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
105
+ options?.headers,
106
+ ]),
107
+ });
108
+ }
109
+ /**
110
+ * **Requires an OAuth access token with the `org:admin` scope**, from
111
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
112
+ * API keys are not accepted. See
113
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
114
+ *
115
+ * List service accounts in the caller's organization.
116
+ *
117
+ * Results are ordered by creation time, newest first. Use `limit` and the
118
+ * `next_page` cursor to paginate; set `include_archived=true` to include archived
119
+ * service accounts.
120
+ *
121
+ * @example
122
+ * ```ts
123
+ * // Automatically fetches more pages as needed.
124
+ * for await (const betaServiceAccount of client.beta.organization.serviceAccounts.list()) {
125
+ * // ...
126
+ * }
127
+ * ```
128
+ */
129
+ list(params = {}, options) {
130
+ const { betas, ...query } = params ?? {};
131
+ return this._client.getAPIList('/v1/organizations/service_accounts?beta=true', (pagination_1.PageCursor), {
132
+ query,
133
+ ...options,
134
+ headers: (0, headers_1.buildHeaders)([
135
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
136
+ options?.headers,
137
+ ]),
138
+ });
139
+ }
140
+ /**
141
+ * **Requires an OAuth access token with the `org:admin` scope**, from
142
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
143
+ * API keys are not accepted. See
144
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
145
+ *
146
+ * Archive a service account.
147
+ *
148
+ * Idempotent; re-archiving returns the service account with its original
149
+ * `archived_at`. Rejected with 400 if any live (non-archived) federation rule
150
+ * still targets this service account, same as issuer archival; archive those rules
151
+ * first or change their target to another service account.
152
+ *
153
+ * @example
154
+ * ```ts
155
+ * const betaServiceAccount =
156
+ * await client.beta.organization.serviceAccounts.archive(
157
+ * 'service_account_id',
158
+ * );
159
+ * ```
160
+ */
161
+ archive(serviceAccountID, params = {}, options) {
162
+ const { betas } = params ?? {};
163
+ return this._client.post((0, path_1.path) `/v1/organizations/service_accounts/${serviceAccountID}/archive?beta=true`, {
164
+ ...options,
165
+ headers: (0, headers_1.buildHeaders)([
166
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
167
+ options?.headers,
168
+ ]),
169
+ });
170
+ }
171
+ }
172
+ exports.ServiceAccounts = ServiceAccounts;
173
+ ServiceAccounts.Workspaces = workspaces_1.Workspaces;
174
+ //# sourceMappingURL=service-accounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-accounts.js","sourceRoot":"","sources":["../../../../src/resources/beta/organization/service-accounts/service-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AAExD,uEAA8C;AAC9C,gDAMsB;AAGtB,+DAA6F;AAC7F,6DAA4D;AAE5D,6DAAuD;AAEvD,MAAa,eAAgB,SAAQ,sBAAW;IAAhD;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmLpF,CAAC;IAjLC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,MAAkC,EAAE,OAAwB;QACjE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC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ACH,CAAC,CAAC;IACL,CAAC;CACF;AApLD,0CAoLC;AAwKD,eAAe,CAAC,UAAU,GAAG,uBAAU,CAAC"}
@@ -0,0 +1,169 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../../core/resource.mjs";
3
+ import * as WorkspacesAPI from "./workspaces.mjs";
4
+ import { Workspaces, } from "./workspaces.mjs";
5
+ import { PageCursor } from "../../../../core/pagination.mjs";
6
+ import { buildHeaders } from "../../../../internal/headers.mjs";
7
+ import { path } from "../../../../internal/utils/path.mjs";
8
+ export class ServiceAccounts extends APIResource {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.workspaces = new WorkspacesAPI.Workspaces(this._client);
12
+ }
13
+ /**
14
+ * **Requires an OAuth access token with the `org:admin` scope**, from
15
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
16
+ * API keys are not accepted. See
17
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
18
+ *
19
+ * Create a service account.
20
+ *
21
+ * A service account is a named workload identity that federation rules target.
22
+ * `organization_role` is `developer` (default) or `admin`; a rule may only be
23
+ * created or retargeted to grant `org:admin` scope when the target's
24
+ * `organization_role` is `admin`. Creating an `admin`-role service account
25
+ * requires an interactive credential (a user OAuth token or a Console session) — a
26
+ * workload may only create `developer`-role service accounts.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const betaServiceAccount =
31
+ * await client.beta.organization.serviceAccounts.create({
32
+ * name: 'ci-deploy-bot',
33
+ * });
34
+ * ```
35
+ */
36
+ create(params, options) {
37
+ const { betas, ...body } = params;
38
+ return this._client.post('/v1/organizations/service_accounts?beta=true', {
39
+ body,
40
+ ...options,
41
+ headers: buildHeaders([
42
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
43
+ options?.headers,
44
+ ]),
45
+ });
46
+ }
47
+ /**
48
+ * **Requires an OAuth access token with the `org:admin` scope**, from
49
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
50
+ * API keys are not accepted. See
51
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
52
+ *
53
+ * Retrieve a service account by its ID (`svac_...`).
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const betaServiceAccount =
58
+ * await client.beta.organization.serviceAccounts.retrieve(
59
+ * 'service_account_id',
60
+ * );
61
+ * ```
62
+ */
63
+ retrieve(serviceAccountID, params = {}, options) {
64
+ const { betas } = params ?? {};
65
+ return this._client.get(path `/v1/organizations/service_accounts/${serviceAccountID}?beta=true`, {
66
+ ...options,
67
+ headers: buildHeaders([
68
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
69
+ options?.headers,
70
+ ]),
71
+ });
72
+ }
73
+ /**
74
+ * **Requires an OAuth access token with the `org:admin` scope**, from
75
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
76
+ * API keys are not accepted. See
77
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
78
+ *
79
+ * Update a service account.
80
+ *
81
+ * Only `description` and `organization_role` are mutable; `name` cannot be
82
+ * changed. Archived service accounts cannot be updated; this returns 400. Setting
83
+ * `organization_role` to `admin` (even when unchanged) requires an interactive
84
+ * credential (a user OAuth token or a Console session).
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * const betaServiceAccount =
89
+ * await client.beta.organization.serviceAccounts.update(
90
+ * 'service_account_id',
91
+ * );
92
+ * ```
93
+ */
94
+ update(serviceAccountID, params, options) {
95
+ const { betas, ...body } = params;
96
+ return this._client.post(path `/v1/organizations/service_accounts/${serviceAccountID}?beta=true`, {
97
+ body,
98
+ ...options,
99
+ headers: buildHeaders([
100
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
101
+ options?.headers,
102
+ ]),
103
+ });
104
+ }
105
+ /**
106
+ * **Requires an OAuth access token with the `org:admin` scope**, from
107
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
108
+ * API keys are not accepted. See
109
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
110
+ *
111
+ * List service accounts in the caller's organization.
112
+ *
113
+ * Results are ordered by creation time, newest first. Use `limit` and the
114
+ * `next_page` cursor to paginate; set `include_archived=true` to include archived
115
+ * service accounts.
116
+ *
117
+ * @example
118
+ * ```ts
119
+ * // Automatically fetches more pages as needed.
120
+ * for await (const betaServiceAccount of client.beta.organization.serviceAccounts.list()) {
121
+ * // ...
122
+ * }
123
+ * ```
124
+ */
125
+ list(params = {}, options) {
126
+ const { betas, ...query } = params ?? {};
127
+ return this._client.getAPIList('/v1/organizations/service_accounts?beta=true', (PageCursor), {
128
+ query,
129
+ ...options,
130
+ headers: buildHeaders([
131
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
132
+ options?.headers,
133
+ ]),
134
+ });
135
+ }
136
+ /**
137
+ * **Requires an OAuth access token with the `org:admin` scope**, from
138
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
139
+ * API keys are not accepted. See
140
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
141
+ *
142
+ * Archive a service account.
143
+ *
144
+ * Idempotent; re-archiving returns the service account with its original
145
+ * `archived_at`. Rejected with 400 if any live (non-archived) federation rule
146
+ * still targets this service account, same as issuer archival; archive those rules
147
+ * first or change their target to another service account.
148
+ *
149
+ * @example
150
+ * ```ts
151
+ * const betaServiceAccount =
152
+ * await client.beta.organization.serviceAccounts.archive(
153
+ * 'service_account_id',
154
+ * );
155
+ * ```
156
+ */
157
+ archive(serviceAccountID, params = {}, options) {
158
+ const { betas } = params ?? {};
159
+ return this._client.post(path `/v1/organizations/service_accounts/${serviceAccountID}/archive?beta=true`, {
160
+ ...options,
161
+ headers: buildHeaders([
162
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
163
+ options?.headers,
164
+ ]),
165
+ });
166
+ }
167
+ }
168
+ ServiceAccounts.Workspaces = Workspaces;
169
+ //# sourceMappingURL=service-accounts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-accounts.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/organization/service-accounts/service-accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AAExD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EAKL,UAAU,GACX,yBAAqB;AAGtB,OAAO,EAAE,UAAU,EAAsC,wCAAoC;AAC7F,OAAO,EAAE,YAAY,EAAE,yCAAqC;AAE5D,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAAhD;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmLpF,CAAC;IAjLC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,MAAkC,EAAE,OAAwB;QACjE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8CAA8C,EAAE;YACvE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CACN,gBAAwB,EACxB,SAA0D,EAAE,EAC5D,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,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C,CAAC,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CACL,gBAAwB,EACxB,SAAyD,EAAE,EAC3D,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,sCAAsC,gBAAgB,oBAAoB,EAAE;YACvG,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAwKD,eAAe,CAAC,UAAU,GAAG,UAAU,CAAC"}
@@ -0,0 +1,141 @@
1
+ import { APIResource } from "../../../../core/resource.mjs";
2
+ import * as BetaAPI from "../../beta.mjs";
3
+ import * as ServiceAccountsAPI from "./service-accounts.mjs";
4
+ import { BetaServiceAccountWorkspaceMembersPageCursor } from "./service-accounts.mjs";
5
+ import * as OrganizationWorkspacesAPI from "../workspaces/workspaces.mjs";
6
+ import { APIPromise } from "../../../../core/api-promise.mjs";
7
+ import { type PageCursorParams, PagePromise } from "../../../../core/pagination.mjs";
8
+ import { RequestOptions } from "../../../../internal/request-options.mjs";
9
+ export declare class Workspaces extends APIResource {
10
+ /**
11
+ * **Requires an OAuth access token with the `org:admin` scope**, from
12
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
13
+ * API keys are not accepted. See
14
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
15
+ *
16
+ * List the workspaces a service account is a member of.
17
+ *
18
+ * Each entry includes the service account's `workspace_role` in that workspace.
19
+ * Use `limit` and the `next_page` cursor to paginate. When the service account has
20
+ * no explicit default-workspace membership, the implicit (`implicit: true`)
21
+ * membership is returned as the first entry on the first page; with `limit=1` the
22
+ * first page may return up to 2 entries (the implicit entry plus one explicit
23
+ * membership) so a pagination cursor can be derived. Memberships are returned only
24
+ * while the service account is active. Without a `page` cursor, an archived
25
+ * service account returns an empty list. A `page` cursor that does not match an
26
+ * active membership returns a 400 invalid-request error. A cursor stops matching
27
+ * when the membership is removed, the workspace is deleted, or the service account
28
+ * is archived. Restart pagination from the first page to recover.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * // Automatically fetches more pages as needed.
33
+ * for await (const betaServiceAccountWorkspaceMember of client.beta.organization.serviceAccounts.workspaces.list(
34
+ * 'service_account_id',
35
+ * )) {
36
+ * // ...
37
+ * }
38
+ * ```
39
+ */
40
+ list(serviceAccountID: string, params?: WorkspaceListParams | null | undefined, options?: RequestOptions): PagePromise<BetaServiceAccountWorkspaceMembersPageCursor, ServiceAccountsAPI.BetaServiceAccountWorkspaceMember>;
41
+ /**
42
+ * **Requires an OAuth access token with the `org:admin` scope**, from
43
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
44
+ * API keys are not accepted. See
45
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
46
+ *
47
+ * Add a service account to a workspace with the given `workspace_role`.
48
+ *
49
+ * Mirror of `POST /workspaces/{workspace_id}/service_accounts`, addressed from the
50
+ * service-account side; both create the same membership. If the service account is
51
+ * already an explicit member of the workspace, its `workspace_role` is replaced
52
+ * with the value supplied here. Archived workspaces return 400. Archived service
53
+ * accounts cannot be added and are rejected.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const betaServiceAccountWorkspaceMember =
58
+ * await client.beta.organization.serviceAccounts.workspaces.add(
59
+ * 'service_account_id',
60
+ * {
61
+ * workspace_id: 'workspace_id',
62
+ * workspace_role: 'workspace_admin',
63
+ * },
64
+ * );
65
+ * ```
66
+ */
67
+ add(serviceAccountID: string, params: WorkspaceAddParams, options?: RequestOptions): APIPromise<ServiceAccountsAPI.BetaServiceAccountWorkspaceMember>;
68
+ /**
69
+ * **Requires an OAuth access token with the `org:admin` scope**, from
70
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
71
+ * API keys are not accepted. See
72
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
73
+ *
74
+ * Remove a service account from a workspace.
75
+ *
76
+ * Mirror of
77
+ * `DELETE /workspaces/{workspace_id}/service_accounts/{service_account_id}`,
78
+ * addressed from the service-account side. Removal is idempotent (returns 200 even
79
+ * if the membership was already removed). A DELETE against the implicit
80
+ * default-workspace membership returns 200 but is a no-op and the membership
81
+ * persists; deleting an explicit default-workspace row reverts to the implicit
82
+ * `workspace_user` membership. Archived workspaces return 400.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const workspace =
87
+ * await client.beta.organization.serviceAccounts.workspaces.remove(
88
+ * 'workspace_id',
89
+ * { service_account_id: 'service_account_id' },
90
+ * );
91
+ * ```
92
+ */
93
+ remove(workspaceID: string, params: WorkspaceRemoveParams, options?: RequestOptions): APIPromise<WorkspaceRemoveResponse>;
94
+ }
95
+ export interface WorkspaceRemoveResponse {
96
+ /**
97
+ * Tagged service account ID (`svac_...`) named in the delete request. Removal is
98
+ * idempotent; see the endpoint description for the implicit-membership no-op.
99
+ */
100
+ service_account_id: string;
101
+ type: 'service_account_workspace_member_deleted';
102
+ /**
103
+ * Tagged workspace ID (`wrkspc_...`) named in the delete request.
104
+ */
105
+ workspace_id: string;
106
+ }
107
+ export interface WorkspaceListParams extends PageCursorParams {
108
+ /**
109
+ * Header param: Optional header to specify the beta version(s) you want to use.
110
+ */
111
+ betas?: Array<BetaAPI.AnthropicBeta>;
112
+ }
113
+ export interface WorkspaceAddParams {
114
+ /**
115
+ * Body param: Tagged workspace ID to add the service account to.
116
+ */
117
+ workspace_id: string;
118
+ /**
119
+ * Body param: Role to assign to the service account in this workspace.
120
+ */
121
+ workspace_role: OrganizationWorkspacesAPI.BetaNoBillingWorkspaceRole;
122
+ /**
123
+ * Header param: Optional header to specify the beta version(s) you want to use.
124
+ */
125
+ betas?: Array<BetaAPI.AnthropicBeta>;
126
+ }
127
+ export interface WorkspaceRemoveParams {
128
+ /**
129
+ * Path param: ID of the service account.
130
+ */
131
+ service_account_id: string;
132
+ /**
133
+ * Header param: Optional header to specify the beta version(s) you want to use.
134
+ */
135
+ betas?: Array<BetaAPI.AnthropicBeta>;
136
+ }
137
+ export declare namespace Workspaces {
138
+ export { type WorkspaceRemoveResponse as WorkspaceRemoveResponse, type WorkspaceListParams as WorkspaceListParams, type WorkspaceAddParams as WorkspaceAddParams, type WorkspaceRemoveParams as WorkspaceRemoveParams, };
139
+ }
140
+ export { type BetaServiceAccountWorkspaceMembersPageCursor };
141
+ //# sourceMappingURL=workspaces.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/organization/service-accounts/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,OAAO,uBAAmB;AACtC,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAAE,4CAA4C,EAAE,+BAA2B;AAClF,OAAO,KAAK,yBAAyB,qCAAiC;AACtE,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE,wCAAoC;AAE7F,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAA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KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,4CAA4C,EAAE,CAAC"}
@@ -0,0 +1,141 @@
1
+ import { APIResource } from "../../../../core/resource.js";
2
+ import * as BetaAPI from "../../beta.js";
3
+ import * as ServiceAccountsAPI from "./service-accounts.js";
4
+ import { BetaServiceAccountWorkspaceMembersPageCursor } from "./service-accounts.js";
5
+ import * as OrganizationWorkspacesAPI from "../workspaces/workspaces.js";
6
+ import { APIPromise } from "../../../../core/api-promise.js";
7
+ import { type PageCursorParams, PagePromise } from "../../../../core/pagination.js";
8
+ import { RequestOptions } from "../../../../internal/request-options.js";
9
+ export declare class Workspaces extends APIResource {
10
+ /**
11
+ * **Requires an OAuth access token with the `org:admin` scope**, from
12
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
13
+ * API keys are not accepted. See
14
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
15
+ *
16
+ * List the workspaces a service account is a member of.
17
+ *
18
+ * Each entry includes the service account's `workspace_role` in that workspace.
19
+ * Use `limit` and the `next_page` cursor to paginate. When the service account has
20
+ * no explicit default-workspace membership, the implicit (`implicit: true`)
21
+ * membership is returned as the first entry on the first page; with `limit=1` the
22
+ * first page may return up to 2 entries (the implicit entry plus one explicit
23
+ * membership) so a pagination cursor can be derived. Memberships are returned only
24
+ * while the service account is active. Without a `page` cursor, an archived
25
+ * service account returns an empty list. A `page` cursor that does not match an
26
+ * active membership returns a 400 invalid-request error. A cursor stops matching
27
+ * when the membership is removed, the workspace is deleted, or the service account
28
+ * is archived. Restart pagination from the first page to recover.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * // Automatically fetches more pages as needed.
33
+ * for await (const betaServiceAccountWorkspaceMember of client.beta.organization.serviceAccounts.workspaces.list(
34
+ * 'service_account_id',
35
+ * )) {
36
+ * // ...
37
+ * }
38
+ * ```
39
+ */
40
+ list(serviceAccountID: string, params?: WorkspaceListParams | null | undefined, options?: RequestOptions): PagePromise<BetaServiceAccountWorkspaceMembersPageCursor, ServiceAccountsAPI.BetaServiceAccountWorkspaceMember>;
41
+ /**
42
+ * **Requires an OAuth access token with the `org:admin` scope**, from
43
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
44
+ * API keys are not accepted. See
45
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
46
+ *
47
+ * Add a service account to a workspace with the given `workspace_role`.
48
+ *
49
+ * Mirror of `POST /workspaces/{workspace_id}/service_accounts`, addressed from the
50
+ * service-account side; both create the same membership. If the service account is
51
+ * already an explicit member of the workspace, its `workspace_role` is replaced
52
+ * with the value supplied here. Archived workspaces return 400. Archived service
53
+ * accounts cannot be added and are rejected.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const betaServiceAccountWorkspaceMember =
58
+ * await client.beta.organization.serviceAccounts.workspaces.add(
59
+ * 'service_account_id',
60
+ * {
61
+ * workspace_id: 'workspace_id',
62
+ * workspace_role: 'workspace_admin',
63
+ * },
64
+ * );
65
+ * ```
66
+ */
67
+ add(serviceAccountID: string, params: WorkspaceAddParams, options?: RequestOptions): APIPromise<ServiceAccountsAPI.BetaServiceAccountWorkspaceMember>;
68
+ /**
69
+ * **Requires an OAuth access token with the `org:admin` scope**, from
70
+ * `ant auth login --scope org:admin` or a workload identity federation rule; Admin
71
+ * API keys are not accepted. See
72
+ * [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
73
+ *
74
+ * Remove a service account from a workspace.
75
+ *
76
+ * Mirror of
77
+ * `DELETE /workspaces/{workspace_id}/service_accounts/{service_account_id}`,
78
+ * addressed from the service-account side. Removal is idempotent (returns 200 even
79
+ * if the membership was already removed). A DELETE against the implicit
80
+ * default-workspace membership returns 200 but is a no-op and the membership
81
+ * persists; deleting an explicit default-workspace row reverts to the implicit
82
+ * `workspace_user` membership. Archived workspaces return 400.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const workspace =
87
+ * await client.beta.organization.serviceAccounts.workspaces.remove(
88
+ * 'workspace_id',
89
+ * { service_account_id: 'service_account_id' },
90
+ * );
91
+ * ```
92
+ */
93
+ remove(workspaceID: string, params: WorkspaceRemoveParams, options?: RequestOptions): APIPromise<WorkspaceRemoveResponse>;
94
+ }
95
+ export interface WorkspaceRemoveResponse {
96
+ /**
97
+ * Tagged service account ID (`svac_...`) named in the delete request. Removal is
98
+ * idempotent; see the endpoint description for the implicit-membership no-op.
99
+ */
100
+ service_account_id: string;
101
+ type: 'service_account_workspace_member_deleted';
102
+ /**
103
+ * Tagged workspace ID (`wrkspc_...`) named in the delete request.
104
+ */
105
+ workspace_id: string;
106
+ }
107
+ export interface WorkspaceListParams extends PageCursorParams {
108
+ /**
109
+ * Header param: Optional header to specify the beta version(s) you want to use.
110
+ */
111
+ betas?: Array<BetaAPI.AnthropicBeta>;
112
+ }
113
+ export interface WorkspaceAddParams {
114
+ /**
115
+ * Body param: Tagged workspace ID to add the service account to.
116
+ */
117
+ workspace_id: string;
118
+ /**
119
+ * Body param: Role to assign to the service account in this workspace.
120
+ */
121
+ workspace_role: OrganizationWorkspacesAPI.BetaNoBillingWorkspaceRole;
122
+ /**
123
+ * Header param: Optional header to specify the beta version(s) you want to use.
124
+ */
125
+ betas?: Array<BetaAPI.AnthropicBeta>;
126
+ }
127
+ export interface WorkspaceRemoveParams {
128
+ /**
129
+ * Path param: ID of the service account.
130
+ */
131
+ service_account_id: string;
132
+ /**
133
+ * Header param: Optional header to specify the beta version(s) you want to use.
134
+ */
135
+ betas?: Array<BetaAPI.AnthropicBeta>;
136
+ }
137
+ export declare namespace Workspaces {
138
+ export { type WorkspaceRemoveResponse as WorkspaceRemoveResponse, type WorkspaceListParams as WorkspaceListParams, type WorkspaceAddParams as WorkspaceAddParams, type WorkspaceRemoveParams as WorkspaceRemoveParams, };
139
+ }
140
+ export { type BetaServiceAccountWorkspaceMembersPageCursor };
141
+ //# sourceMappingURL=workspaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/organization/service-accounts/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,OAAO,sBAAmB;AACtC,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EAAE,4CAA4C,EAAE,8BAA2B;AAClF,OAAO,KAAK,yBAAyB,oCAAiC;AACtE,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAc,KAAK,gBAAgB,EAAE,WAAW,EAAE,uCAAoC;AAE7F,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CACZ,4CAA4C,EAC5C,kBAAkB,CAAC,iCAAiC,CACrD;IAgBD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,GAAG,CACD,gBAAgB,EAAE,MAAM,EACxB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC,iCAAiC,CAAC;IAenE;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAavC;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B,IAAI,EAAE,0CAA0C,CAAC;IAEjD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAoB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