@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,287 @@
1
+ import { APIResource } from "../../../../core/resource.mjs";
2
+ import * as BetaAPI from "../../beta.mjs";
3
+ import * as MembersAPI from "./members.mjs";
4
+ import { MemberAddParams, MemberListParams, MemberRemoveParams, MemberRemoveResponse, MemberRetrieveParams, MemberUpdateParams, Members } from "./members.mjs";
5
+ import * as RateLimitsAPI from "./rate-limits.mjs";
6
+ import { BetaWorkspaceRateLimit, BetaWorkspaceRateLimitValue, BetaWorkspaceRateLimitsPageCursor, RateLimitListParams, RateLimits } from "./rate-limits.mjs";
7
+ import * as ServiceAccountsAPI from "./service-accounts.mjs";
8
+ import { ServiceAccountAddParams, ServiceAccountListParams, ServiceAccountRemoveParams, ServiceAccountRemoveResponse, ServiceAccountRetrieveParams, ServiceAccountUpdateParams, ServiceAccounts } from "./service-accounts.mjs";
9
+ import { APIPromise } from "../../../../core/api-promise.mjs";
10
+ import { Page, type PageParams, PagePromise } from "../../../../core/pagination.mjs";
11
+ import { RequestOptions } from "../../../../internal/request-options.mjs";
12
+ export declare class Workspaces extends APIResource {
13
+ rateLimits: RateLimitsAPI.RateLimits;
14
+ members: MembersAPI.Members;
15
+ serviceAccounts: ServiceAccountsAPI.ServiceAccounts;
16
+ /**
17
+ * Create Workspace
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const betaWorkspace =
22
+ * await client.beta.organization.workspaces.create({
23
+ * name: 'x',
24
+ * });
25
+ * ```
26
+ */
27
+ create(params: WorkspaceCreateParams, options?: RequestOptions): APIPromise<BetaWorkspace>;
28
+ /**
29
+ * Get Workspace
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const betaWorkspace =
34
+ * await client.beta.organization.workspaces.retrieve(
35
+ * 'workspace_id',
36
+ * );
37
+ * ```
38
+ */
39
+ retrieve(workspaceID: string, options?: RequestOptions): APIPromise<BetaWorkspace>;
40
+ /**
41
+ * Update Workspace
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const betaWorkspace =
46
+ * await client.beta.organization.workspaces.update(
47
+ * 'workspace_id',
48
+ * );
49
+ * ```
50
+ */
51
+ update(workspaceID: string, body: WorkspaceUpdateParams, options?: RequestOptions): APIPromise<BetaWorkspace>;
52
+ /**
53
+ * List Workspaces
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * // Automatically fetches more pages as needed.
58
+ * for await (const betaWorkspace of client.beta.organization.workspaces.list()) {
59
+ * // ...
60
+ * }
61
+ * ```
62
+ */
63
+ list(query?: WorkspaceListParams | null | undefined, options?: RequestOptions): PagePromise<BetaWorkspacesPage, BetaWorkspace>;
64
+ /**
65
+ * Archive Workspace
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * const betaWorkspace =
70
+ * await client.beta.organization.workspaces.archive(
71
+ * 'workspace_id',
72
+ * );
73
+ * ```
74
+ */
75
+ archive(workspaceID: string, options?: RequestOptions): APIPromise<BetaWorkspace>;
76
+ }
77
+ export type BetaWorkspacesPage = Page<BetaWorkspace>;
78
+ export type BetaWorkspaceMembersPage = Page<BetaWorkspaceMember>;
79
+ export type BetaAllowedInferenceGeo = 'global' | 'us';
80
+ export interface BetaDataResidency {
81
+ /**
82
+ * Permitted inference geo values. 'unrestricted' means all geos are allowed.
83
+ */
84
+ allowed_inference_geos: Array<string> | 'unrestricted';
85
+ /**
86
+ * Default inference geo applied when requests omit the parameter.
87
+ */
88
+ default_inference_geo: string;
89
+ /**
90
+ * Geographic region for workspace data storage. Immutable after creation.
91
+ */
92
+ workspace_geo: string;
93
+ }
94
+ export interface BetaDataResidencyCreateConfig {
95
+ /**
96
+ * Permitted inference geo values. Defaults to 'unrestricted' if omitted, which
97
+ * allows all geos. Use the string 'unrestricted' to allow all geos, or a list of
98
+ * specific geos.
99
+ */
100
+ allowed_inference_geos?: Array<BetaAllowedInferenceGeo> | 'unrestricted' | null;
101
+ /**
102
+ * Default inference geo applied when requests omit the parameter. Defaults to
103
+ * 'global' if omitted. Must be a member of `allowed_inference_geos` unless
104
+ * `allowed_inference_geos` is `"unrestricted"`.
105
+ */
106
+ default_inference_geo?: 'global' | 'us' | null;
107
+ /**
108
+ * Geographic region for workspace data storage. Immutable after creation. Defaults
109
+ * to 'us' if omitted.
110
+ */
111
+ workspace_geo?: 'us' | null;
112
+ }
113
+ export interface BetaDataResidencyUpdateConfig {
114
+ /**
115
+ * Permitted inference geo values. Use 'unrestricted' to allow all geos, or a list
116
+ * of specific geos.
117
+ */
118
+ allowed_inference_geos?: Array<BetaAllowedInferenceGeo> | 'unrestricted' | null;
119
+ /**
120
+ * Default inference geo applied when requests omit the parameter. Must be a member
121
+ * of `allowed_inference_geos` unless `allowed_inference_geos` is `"unrestricted"`.
122
+ */
123
+ default_inference_geo?: 'global' | 'us' | null;
124
+ }
125
+ export type BetaNoBillingWorkspaceRole = 'workspace_admin' | 'workspace_developer' | 'workspace_restricted_developer' | 'workspace_user';
126
+ export interface BetaWorkspace {
127
+ /**
128
+ * ID of the Workspace.
129
+ */
130
+ id: string;
131
+ /**
132
+ * RFC 3339 datetime string indicating when the Workspace was archived, or `null`
133
+ * if the Workspace is not archived.
134
+ */
135
+ archived_at: string | null;
136
+ /**
137
+ * Identifier for this Workspace's encryption compartment. When you configure a
138
+ * customer-managed encryption key (CMEK) on AWS, reference this value in your KMS
139
+ * key-policy condition so the key is scoped to this compartment. On GCP and Azure,
140
+ * Anthropic enforces the compartment binding automatically; you do not need to
141
+ * reference this value in your key configuration. See the CMEK integration guide
142
+ * for the required key configuration, including the value used during key
143
+ * validation.
144
+ */
145
+ compartment_id: string;
146
+ /**
147
+ * RFC 3339 datetime string indicating when the Workspace was created.
148
+ */
149
+ created_at: string;
150
+ /**
151
+ * Data residency configuration.
152
+ */
153
+ data_residency: BetaDataResidency;
154
+ /**
155
+ * Hex color code representing the Workspace in the Anthropic Console.
156
+ */
157
+ display_color: string;
158
+ /**
159
+ * ID of the customer-managed encryption key (CMEK) configuration to use for this
160
+ * Workspace. Setting this field requires CMEK to be enabled for your organization.
161
+ * When set, data stored for this Workspace is encrypted with the referenced key.
162
+ * Create key configurations with the External Keys API. This field is write-once:
163
+ * once a key is attached to a Workspace it cannot be detached or replaced. To
164
+ * rotate key material, rotate the underlying key on your cloud KMS; the
165
+ * `external_key_id` stays the same.
166
+ */
167
+ external_key_id: string | null;
168
+ /**
169
+ * Name of the Workspace.
170
+ */
171
+ name: string;
172
+ /**
173
+ * User-defined tags as string key-value pairs. Keys may not begin with
174
+ * `anthropic`.
175
+ */
176
+ tags: {
177
+ [key: string]: string;
178
+ };
179
+ /**
180
+ * Object type.
181
+ *
182
+ * For Workspaces, this is always `"workspace"`.
183
+ */
184
+ type: 'workspace';
185
+ }
186
+ export interface BetaWorkspaceMember {
187
+ /**
188
+ * Object type.
189
+ *
190
+ * For Workspace Members, this is always `"workspace_member"`.
191
+ */
192
+ type: 'workspace_member';
193
+ /**
194
+ * ID of the User.
195
+ */
196
+ user_id: string;
197
+ /**
198
+ * ID of the Workspace.
199
+ */
200
+ workspace_id: string;
201
+ /**
202
+ * Role of the Workspace Member.
203
+ */
204
+ workspace_role: BetaWorkspaceRole;
205
+ }
206
+ export type BetaWorkspaceRole = 'workspace_admin' | 'workspace_billing' | 'workspace_developer' | 'workspace_restricted_developer' | 'workspace_user';
207
+ export interface WorkspaceCreateParams {
208
+ /**
209
+ * Body param: Name of the Workspace.
210
+ */
211
+ name: string;
212
+ /**
213
+ * Body param: Data residency configuration for the workspace. If omitted, defaults
214
+ * to `workspace_geo: "us"`, `allowed_inference_geos: "unrestricted"`, and
215
+ * `default_inference_geo: "global"`.
216
+ */
217
+ data_residency?: BetaDataResidencyCreateConfig | null;
218
+ /**
219
+ * Body param: Hex color code representing the Workspace in the Anthropic Console.
220
+ */
221
+ display_color?: string | null;
222
+ /**
223
+ * Body param: ID of the customer-managed encryption key (CMEK) configuration to
224
+ * use for this Workspace. Setting this field requires CMEK to be enabled for your
225
+ * organization. When set, data stored for this Workspace is encrypted with the
226
+ * referenced key. Create key configurations with the External Keys API. This field
227
+ * is write-once: once a key is attached to a Workspace it cannot be detached or
228
+ * replaced. To rotate key material, rotate the underlying key on your cloud KMS;
229
+ * the `external_key_id` stays the same.
230
+ */
231
+ external_key_id?: string | null;
232
+ /**
233
+ * Body param: User-defined tags as string key-value pairs. Keys may not begin with
234
+ * `anthropic`.
235
+ */
236
+ tags?: {
237
+ [key: string]: string;
238
+ } | null;
239
+ /**
240
+ * Header param: Optional header to specify the beta version(s) you want to use.
241
+ */
242
+ betas?: Array<BetaAPI.AnthropicBeta>;
243
+ }
244
+ export interface WorkspaceUpdateParams {
245
+ /**
246
+ * Data residency configuration for the workspace.
247
+ */
248
+ data_residency?: BetaDataResidencyUpdateConfig | null;
249
+ /**
250
+ * Hex color code representing the Workspace in the Anthropic Console.
251
+ */
252
+ display_color?: string;
253
+ /**
254
+ * ID of the customer-managed encryption key (CMEK) configuration to use for this
255
+ * Workspace. Setting this field requires CMEK to be enabled for your organization.
256
+ * When set, data stored for this Workspace is encrypted with the referenced key.
257
+ * Create key configurations with the External Keys API. This field is write-once:
258
+ * once a key is attached to a Workspace it cannot be detached or replaced. To
259
+ * rotate key material, rotate the underlying key on your cloud KMS; the
260
+ * `external_key_id` stays the same.
261
+ */
262
+ external_key_id?: string;
263
+ /**
264
+ * Name of the Workspace.
265
+ */
266
+ name?: string;
267
+ /**
268
+ * User-defined tags as string key-value pairs. Keys may not begin with
269
+ * `anthropic`.
270
+ */
271
+ tags?: {
272
+ [key: string]: string | null;
273
+ } | null;
274
+ }
275
+ export interface WorkspaceListParams extends PageParams {
276
+ /**
277
+ * Whether to include Workspaces that have been archived in the response
278
+ */
279
+ include_archived?: boolean;
280
+ }
281
+ export declare namespace Workspaces {
282
+ export { type BetaAllowedInferenceGeo as BetaAllowedInferenceGeo, type BetaDataResidency as BetaDataResidency, type BetaDataResidencyCreateConfig as BetaDataResidencyCreateConfig, type BetaDataResidencyUpdateConfig as BetaDataResidencyUpdateConfig, type BetaNoBillingWorkspaceRole as BetaNoBillingWorkspaceRole, type BetaWorkspace as BetaWorkspace, type BetaWorkspaceMember as BetaWorkspaceMember, type BetaWorkspaceRole as BetaWorkspaceRole, type BetaWorkspacesPage as BetaWorkspacesPage, type WorkspaceCreateParams as WorkspaceCreateParams, type WorkspaceUpdateParams as WorkspaceUpdateParams, type WorkspaceListParams as WorkspaceListParams, };
283
+ export { RateLimits as RateLimits, type BetaWorkspaceRateLimit as BetaWorkspaceRateLimit, type BetaWorkspaceRateLimitValue as BetaWorkspaceRateLimitValue, type BetaWorkspaceRateLimitsPageCursor as BetaWorkspaceRateLimitsPageCursor, type RateLimitListParams as RateLimitListParams, };
284
+ export { Members as Members, type MemberRemoveResponse as MemberRemoveResponse, type MemberRetrieveParams as MemberRetrieveParams, type MemberUpdateParams as MemberUpdateParams, type MemberListParams as MemberListParams, type MemberAddParams as MemberAddParams, type MemberRemoveParams as MemberRemoveParams, };
285
+ export { ServiceAccounts as ServiceAccounts, type ServiceAccountRemoveResponse as ServiceAccountRemoveResponse, type ServiceAccountRetrieveParams as ServiceAccountRetrieveParams, type ServiceAccountUpdateParams as ServiceAccountUpdateParams, type ServiceAccountListParams as ServiceAccountListParams, type ServiceAccountAddParams as ServiceAccountAddParams, type ServiceAccountRemoveParams as ServiceAccountRemoveParams, };
286
+ }
287
+ //# sourceMappingURL=workspaces.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/organization/workspaces/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,OAAO,uBAAmB;AACtC,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,OAAO,EACR,sBAAkB;AACnB,OAAO,KAAK,aAAa,0BAAsB;AAC/C,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,iCAAiC,EACjC,mBAAmB,EACnB,UAAU,EACX,0BAAsB;AACvB,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,eAAe,EAChB,+BAA2B;AAC5B,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,wCAAoC;AAEjF,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAClF,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAE3G;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAY1F;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAA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,IAAI,UAAU,EACxB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -0,0 +1,287 @@
1
+ import { APIResource } from "../../../../core/resource.js";
2
+ import * as BetaAPI from "../../beta.js";
3
+ import * as MembersAPI from "./members.js";
4
+ import { MemberAddParams, MemberListParams, MemberRemoveParams, MemberRemoveResponse, MemberRetrieveParams, MemberUpdateParams, Members } from "./members.js";
5
+ import * as RateLimitsAPI from "./rate-limits.js";
6
+ import { BetaWorkspaceRateLimit, BetaWorkspaceRateLimitValue, BetaWorkspaceRateLimitsPageCursor, RateLimitListParams, RateLimits } from "./rate-limits.js";
7
+ import * as ServiceAccountsAPI from "./service-accounts.js";
8
+ import { ServiceAccountAddParams, ServiceAccountListParams, ServiceAccountRemoveParams, ServiceAccountRemoveResponse, ServiceAccountRetrieveParams, ServiceAccountUpdateParams, ServiceAccounts } from "./service-accounts.js";
9
+ import { APIPromise } from "../../../../core/api-promise.js";
10
+ import { Page, type PageParams, PagePromise } from "../../../../core/pagination.js";
11
+ import { RequestOptions } from "../../../../internal/request-options.js";
12
+ export declare class Workspaces extends APIResource {
13
+ rateLimits: RateLimitsAPI.RateLimits;
14
+ members: MembersAPI.Members;
15
+ serviceAccounts: ServiceAccountsAPI.ServiceAccounts;
16
+ /**
17
+ * Create Workspace
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const betaWorkspace =
22
+ * await client.beta.organization.workspaces.create({
23
+ * name: 'x',
24
+ * });
25
+ * ```
26
+ */
27
+ create(params: WorkspaceCreateParams, options?: RequestOptions): APIPromise<BetaWorkspace>;
28
+ /**
29
+ * Get Workspace
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const betaWorkspace =
34
+ * await client.beta.organization.workspaces.retrieve(
35
+ * 'workspace_id',
36
+ * );
37
+ * ```
38
+ */
39
+ retrieve(workspaceID: string, options?: RequestOptions): APIPromise<BetaWorkspace>;
40
+ /**
41
+ * Update Workspace
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const betaWorkspace =
46
+ * await client.beta.organization.workspaces.update(
47
+ * 'workspace_id',
48
+ * );
49
+ * ```
50
+ */
51
+ update(workspaceID: string, body: WorkspaceUpdateParams, options?: RequestOptions): APIPromise<BetaWorkspace>;
52
+ /**
53
+ * List Workspaces
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * // Automatically fetches more pages as needed.
58
+ * for await (const betaWorkspace of client.beta.organization.workspaces.list()) {
59
+ * // ...
60
+ * }
61
+ * ```
62
+ */
63
+ list(query?: WorkspaceListParams | null | undefined, options?: RequestOptions): PagePromise<BetaWorkspacesPage, BetaWorkspace>;
64
+ /**
65
+ * Archive Workspace
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * const betaWorkspace =
70
+ * await client.beta.organization.workspaces.archive(
71
+ * 'workspace_id',
72
+ * );
73
+ * ```
74
+ */
75
+ archive(workspaceID: string, options?: RequestOptions): APIPromise<BetaWorkspace>;
76
+ }
77
+ export type BetaWorkspacesPage = Page<BetaWorkspace>;
78
+ export type BetaWorkspaceMembersPage = Page<BetaWorkspaceMember>;
79
+ export type BetaAllowedInferenceGeo = 'global' | 'us';
80
+ export interface BetaDataResidency {
81
+ /**
82
+ * Permitted inference geo values. 'unrestricted' means all geos are allowed.
83
+ */
84
+ allowed_inference_geos: Array<string> | 'unrestricted';
85
+ /**
86
+ * Default inference geo applied when requests omit the parameter.
87
+ */
88
+ default_inference_geo: string;
89
+ /**
90
+ * Geographic region for workspace data storage. Immutable after creation.
91
+ */
92
+ workspace_geo: string;
93
+ }
94
+ export interface BetaDataResidencyCreateConfig {
95
+ /**
96
+ * Permitted inference geo values. Defaults to 'unrestricted' if omitted, which
97
+ * allows all geos. Use the string 'unrestricted' to allow all geos, or a list of
98
+ * specific geos.
99
+ */
100
+ allowed_inference_geos?: Array<BetaAllowedInferenceGeo> | 'unrestricted' | null;
101
+ /**
102
+ * Default inference geo applied when requests omit the parameter. Defaults to
103
+ * 'global' if omitted. Must be a member of `allowed_inference_geos` unless
104
+ * `allowed_inference_geos` is `"unrestricted"`.
105
+ */
106
+ default_inference_geo?: 'global' | 'us' | null;
107
+ /**
108
+ * Geographic region for workspace data storage. Immutable after creation. Defaults
109
+ * to 'us' if omitted.
110
+ */
111
+ workspace_geo?: 'us' | null;
112
+ }
113
+ export interface BetaDataResidencyUpdateConfig {
114
+ /**
115
+ * Permitted inference geo values. Use 'unrestricted' to allow all geos, or a list
116
+ * of specific geos.
117
+ */
118
+ allowed_inference_geos?: Array<BetaAllowedInferenceGeo> | 'unrestricted' | null;
119
+ /**
120
+ * Default inference geo applied when requests omit the parameter. Must be a member
121
+ * of `allowed_inference_geos` unless `allowed_inference_geos` is `"unrestricted"`.
122
+ */
123
+ default_inference_geo?: 'global' | 'us' | null;
124
+ }
125
+ export type BetaNoBillingWorkspaceRole = 'workspace_admin' | 'workspace_developer' | 'workspace_restricted_developer' | 'workspace_user';
126
+ export interface BetaWorkspace {
127
+ /**
128
+ * ID of the Workspace.
129
+ */
130
+ id: string;
131
+ /**
132
+ * RFC 3339 datetime string indicating when the Workspace was archived, or `null`
133
+ * if the Workspace is not archived.
134
+ */
135
+ archived_at: string | null;
136
+ /**
137
+ * Identifier for this Workspace's encryption compartment. When you configure a
138
+ * customer-managed encryption key (CMEK) on AWS, reference this value in your KMS
139
+ * key-policy condition so the key is scoped to this compartment. On GCP and Azure,
140
+ * Anthropic enforces the compartment binding automatically; you do not need to
141
+ * reference this value in your key configuration. See the CMEK integration guide
142
+ * for the required key configuration, including the value used during key
143
+ * validation.
144
+ */
145
+ compartment_id: string;
146
+ /**
147
+ * RFC 3339 datetime string indicating when the Workspace was created.
148
+ */
149
+ created_at: string;
150
+ /**
151
+ * Data residency configuration.
152
+ */
153
+ data_residency: BetaDataResidency;
154
+ /**
155
+ * Hex color code representing the Workspace in the Anthropic Console.
156
+ */
157
+ display_color: string;
158
+ /**
159
+ * ID of the customer-managed encryption key (CMEK) configuration to use for this
160
+ * Workspace. Setting this field requires CMEK to be enabled for your organization.
161
+ * When set, data stored for this Workspace is encrypted with the referenced key.
162
+ * Create key configurations with the External Keys API. This field is write-once:
163
+ * once a key is attached to a Workspace it cannot be detached or replaced. To
164
+ * rotate key material, rotate the underlying key on your cloud KMS; the
165
+ * `external_key_id` stays the same.
166
+ */
167
+ external_key_id: string | null;
168
+ /**
169
+ * Name of the Workspace.
170
+ */
171
+ name: string;
172
+ /**
173
+ * User-defined tags as string key-value pairs. Keys may not begin with
174
+ * `anthropic`.
175
+ */
176
+ tags: {
177
+ [key: string]: string;
178
+ };
179
+ /**
180
+ * Object type.
181
+ *
182
+ * For Workspaces, this is always `"workspace"`.
183
+ */
184
+ type: 'workspace';
185
+ }
186
+ export interface BetaWorkspaceMember {
187
+ /**
188
+ * Object type.
189
+ *
190
+ * For Workspace Members, this is always `"workspace_member"`.
191
+ */
192
+ type: 'workspace_member';
193
+ /**
194
+ * ID of the User.
195
+ */
196
+ user_id: string;
197
+ /**
198
+ * ID of the Workspace.
199
+ */
200
+ workspace_id: string;
201
+ /**
202
+ * Role of the Workspace Member.
203
+ */
204
+ workspace_role: BetaWorkspaceRole;
205
+ }
206
+ export type BetaWorkspaceRole = 'workspace_admin' | 'workspace_billing' | 'workspace_developer' | 'workspace_restricted_developer' | 'workspace_user';
207
+ export interface WorkspaceCreateParams {
208
+ /**
209
+ * Body param: Name of the Workspace.
210
+ */
211
+ name: string;
212
+ /**
213
+ * Body param: Data residency configuration for the workspace. If omitted, defaults
214
+ * to `workspace_geo: "us"`, `allowed_inference_geos: "unrestricted"`, and
215
+ * `default_inference_geo: "global"`.
216
+ */
217
+ data_residency?: BetaDataResidencyCreateConfig | null;
218
+ /**
219
+ * Body param: Hex color code representing the Workspace in the Anthropic Console.
220
+ */
221
+ display_color?: string | null;
222
+ /**
223
+ * Body param: ID of the customer-managed encryption key (CMEK) configuration to
224
+ * use for this Workspace. Setting this field requires CMEK to be enabled for your
225
+ * organization. When set, data stored for this Workspace is encrypted with the
226
+ * referenced key. Create key configurations with the External Keys API. This field
227
+ * is write-once: once a key is attached to a Workspace it cannot be detached or
228
+ * replaced. To rotate key material, rotate the underlying key on your cloud KMS;
229
+ * the `external_key_id` stays the same.
230
+ */
231
+ external_key_id?: string | null;
232
+ /**
233
+ * Body param: User-defined tags as string key-value pairs. Keys may not begin with
234
+ * `anthropic`.
235
+ */
236
+ tags?: {
237
+ [key: string]: string;
238
+ } | null;
239
+ /**
240
+ * Header param: Optional header to specify the beta version(s) you want to use.
241
+ */
242
+ betas?: Array<BetaAPI.AnthropicBeta>;
243
+ }
244
+ export interface WorkspaceUpdateParams {
245
+ /**
246
+ * Data residency configuration for the workspace.
247
+ */
248
+ data_residency?: BetaDataResidencyUpdateConfig | null;
249
+ /**
250
+ * Hex color code representing the Workspace in the Anthropic Console.
251
+ */
252
+ display_color?: string;
253
+ /**
254
+ * ID of the customer-managed encryption key (CMEK) configuration to use for this
255
+ * Workspace. Setting this field requires CMEK to be enabled for your organization.
256
+ * When set, data stored for this Workspace is encrypted with the referenced key.
257
+ * Create key configurations with the External Keys API. This field is write-once:
258
+ * once a key is attached to a Workspace it cannot be detached or replaced. To
259
+ * rotate key material, rotate the underlying key on your cloud KMS; the
260
+ * `external_key_id` stays the same.
261
+ */
262
+ external_key_id?: string;
263
+ /**
264
+ * Name of the Workspace.
265
+ */
266
+ name?: string;
267
+ /**
268
+ * User-defined tags as string key-value pairs. Keys may not begin with
269
+ * `anthropic`.
270
+ */
271
+ tags?: {
272
+ [key: string]: string | null;
273
+ } | null;
274
+ }
275
+ export interface WorkspaceListParams extends PageParams {
276
+ /**
277
+ * Whether to include Workspaces that have been archived in the response
278
+ */
279
+ include_archived?: boolean;
280
+ }
281
+ export declare namespace Workspaces {
282
+ export { type BetaAllowedInferenceGeo as BetaAllowedInferenceGeo, type BetaDataResidency as BetaDataResidency, type BetaDataResidencyCreateConfig as BetaDataResidencyCreateConfig, type BetaDataResidencyUpdateConfig as BetaDataResidencyUpdateConfig, type BetaNoBillingWorkspaceRole as BetaNoBillingWorkspaceRole, type BetaWorkspace as BetaWorkspace, type BetaWorkspaceMember as BetaWorkspaceMember, type BetaWorkspaceRole as BetaWorkspaceRole, type BetaWorkspacesPage as BetaWorkspacesPage, type WorkspaceCreateParams as WorkspaceCreateParams, type WorkspaceUpdateParams as WorkspaceUpdateParams, type WorkspaceListParams as WorkspaceListParams, };
283
+ export { RateLimits as RateLimits, type BetaWorkspaceRateLimit as BetaWorkspaceRateLimit, type BetaWorkspaceRateLimitValue as BetaWorkspaceRateLimitValue, type BetaWorkspaceRateLimitsPageCursor as BetaWorkspaceRateLimitsPageCursor, type RateLimitListParams as RateLimitListParams, };
284
+ export { Members as Members, type MemberRemoveResponse as MemberRemoveResponse, type MemberRetrieveParams as MemberRetrieveParams, type MemberUpdateParams as MemberUpdateParams, type MemberListParams as MemberListParams, type MemberAddParams as MemberAddParams, type MemberRemoveParams as MemberRemoveParams, };
285
+ export { ServiceAccounts as ServiceAccounts, type ServiceAccountRemoveResponse as ServiceAccountRemoveResponse, type ServiceAccountRetrieveParams as ServiceAccountRetrieveParams, type ServiceAccountUpdateParams as ServiceAccountUpdateParams, type ServiceAccountListParams as ServiceAccountListParams, type ServiceAccountAddParams as ServiceAccountAddParams, type ServiceAccountRemoveParams as ServiceAccountRemoveParams, };
286
+ }
287
+ //# sourceMappingURL=workspaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/organization/workspaces/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,OAAO,sBAAmB;AACtC,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,OAAO,EACR,qBAAkB;AACnB,OAAO,KAAK,aAAa,yBAAsB;AAC/C,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,iCAAiC,EACjC,mBAAmB,EACnB,UAAU,EACX,yBAAsB;AACvB,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,eAAe,EAChB,8BAA2B;AAC5B,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,uCAAoC;AAEjF,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAClF,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAE3G;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,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