casedev 0.69.0 → 0.70.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 (349) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/client.d.mts +5 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +1 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/connectors/connectors.d.mts +2 -2
  12. package/resources/connectors/connectors.d.mts.map +1 -1
  13. package/resources/connectors/connectors.d.ts +2 -2
  14. package/resources/connectors/connectors.d.ts.map +1 -1
  15. package/resources/connectors/connectors.js.map +1 -1
  16. package/resources/connectors/connectors.mjs +1 -1
  17. package/resources/connectors/connectors.mjs.map +1 -1
  18. package/resources/connectors/index.d.mts +1 -1
  19. package/resources/connectors/index.d.mts.map +1 -1
  20. package/resources/connectors/index.d.ts +1 -1
  21. package/resources/connectors/index.d.ts.map +1 -1
  22. package/resources/connectors/index.js.map +1 -1
  23. package/resources/connectors/index.mjs.map +1 -1
  24. package/resources/connectors/v1/applications/applications.d.mts +10 -0
  25. package/resources/connectors/v1/applications/applications.d.mts.map +1 -0
  26. package/resources/connectors/v1/applications/applications.d.ts +10 -0
  27. package/resources/connectors/v1/applications/applications.d.ts.map +1 -0
  28. package/resources/connectors/v1/applications/applications.js +17 -0
  29. package/resources/connectors/v1/applications/applications.js.map +1 -0
  30. package/resources/connectors/v1/applications/applications.mjs +12 -0
  31. package/resources/connectors/v1/applications/applications.mjs.map +1 -0
  32. package/resources/connectors/v1/applications/index.d.mts +3 -0
  33. package/resources/connectors/v1/applications/index.d.mts.map +1 -0
  34. package/resources/connectors/v1/applications/index.d.ts +3 -0
  35. package/resources/connectors/v1/applications/index.d.ts.map +1 -0
  36. package/resources/connectors/v1/applications/index.js +9 -0
  37. package/resources/connectors/v1/applications/index.js.map +1 -0
  38. package/resources/connectors/v1/applications/index.mjs +4 -0
  39. package/resources/connectors/v1/applications/index.mjs.map +1 -0
  40. package/resources/connectors/v1/applications/keys.d.mts +34 -0
  41. package/resources/connectors/v1/applications/keys.d.mts.map +1 -0
  42. package/resources/connectors/v1/applications/keys.d.ts +34 -0
  43. package/resources/connectors/v1/applications/keys.d.ts.map +1 -0
  44. package/resources/connectors/v1/applications/keys.js +34 -0
  45. package/resources/connectors/v1/applications/keys.js.map +1 -0
  46. package/resources/connectors/v1/applications/keys.mjs +30 -0
  47. package/resources/connectors/v1/applications/keys.mjs.map +1 -0
  48. package/resources/connectors/v1/applications.d.mts +2 -0
  49. package/resources/connectors/v1/applications.d.mts.map +1 -0
  50. package/resources/connectors/v1/applications.d.ts +2 -0
  51. package/resources/connectors/v1/applications.d.ts.map +1 -0
  52. package/resources/connectors/v1/applications.js +6 -0
  53. package/resources/connectors/v1/applications.js.map +1 -0
  54. package/resources/connectors/v1/applications.mjs +3 -0
  55. package/resources/connectors/v1/applications.mjs.map +1 -0
  56. package/resources/connectors/v1/connections.d.mts +124 -15
  57. package/resources/connectors/v1/connections.d.mts.map +1 -1
  58. package/resources/connectors/v1/connections.d.ts +124 -15
  59. package/resources/connectors/v1/connections.d.ts.map +1 -1
  60. package/resources/connectors/v1/connections.js +84 -12
  61. package/resources/connectors/v1/connections.js.map +1 -1
  62. package/resources/connectors/v1/connections.mjs +84 -12
  63. package/resources/connectors/v1/connections.mjs.map +1 -1
  64. package/resources/connectors/v1/index.d.mts +5 -4
  65. package/resources/connectors/v1/index.d.mts.map +1 -1
  66. package/resources/connectors/v1/index.d.ts +5 -4
  67. package/resources/connectors/v1/index.d.ts.map +1 -1
  68. package/resources/connectors/v1/index.js +5 -3
  69. package/resources/connectors/v1/index.js.map +1 -1
  70. package/resources/connectors/v1/index.mjs +1 -0
  71. package/resources/connectors/v1/index.mjs.map +1 -1
  72. package/resources/connectors/v1/installations/index.d.mts +2 -1
  73. package/resources/connectors/v1/installations/index.d.mts.map +1 -1
  74. package/resources/connectors/v1/installations/index.d.ts +2 -1
  75. package/resources/connectors/v1/installations/index.d.ts.map +1 -1
  76. package/resources/connectors/v1/installations/index.js +3 -1
  77. package/resources/connectors/v1/installations/index.js.map +1 -1
  78. package/resources/connectors/v1/installations/index.mjs +2 -1
  79. package/resources/connectors/v1/installations/index.mjs.map +1 -1
  80. package/resources/connectors/v1/installations/installations.d.mts +32 -4
  81. package/resources/connectors/v1/installations/installations.d.mts.map +1 -1
  82. package/resources/connectors/v1/installations/installations.d.ts +32 -4
  83. package/resources/connectors/v1/installations/installations.d.ts.map +1 -1
  84. package/resources/connectors/v1/installations/installations.js +11 -7
  85. package/resources/connectors/v1/installations/installations.js.map +1 -1
  86. package/resources/connectors/v1/installations/installations.mjs +11 -7
  87. package/resources/connectors/v1/installations/installations.mjs.map +1 -1
  88. package/resources/connectors/v1/installations/tokens.d.mts +37 -0
  89. package/resources/connectors/v1/installations/tokens.d.mts.map +1 -0
  90. package/resources/connectors/v1/installations/tokens.d.ts +37 -0
  91. package/resources/connectors/v1/installations/tokens.d.ts.map +1 -0
  92. package/resources/connectors/v1/installations/tokens.js +35 -0
  93. package/resources/connectors/v1/installations/tokens.js.map +1 -0
  94. package/resources/connectors/v1/installations/tokens.mjs +31 -0
  95. package/resources/connectors/v1/installations/tokens.mjs.map +1 -0
  96. package/resources/connectors/v1/installations/vaults.d.mts +1 -1
  97. package/resources/connectors/v1/installations/vaults.d.ts +1 -1
  98. package/resources/connectors/v1/installations/vaults.js +1 -1
  99. package/resources/connectors/v1/installations/vaults.mjs +1 -1
  100. package/resources/connectors/v1/links.d.mts +80 -6
  101. package/resources/connectors/v1/links.d.mts.map +1 -1
  102. package/resources/connectors/v1/links.d.ts +80 -6
  103. package/resources/connectors/v1/links.d.ts.map +1 -1
  104. package/resources/connectors/v1/links.js +55 -11
  105. package/resources/connectors/v1/links.js.map +1 -1
  106. package/resources/connectors/v1/links.mjs +55 -11
  107. package/resources/connectors/v1/links.mjs.map +1 -1
  108. package/resources/connectors/v1/v1.d.mts +169 -20
  109. package/resources/connectors/v1/v1.d.mts.map +1 -1
  110. package/resources/connectors/v1/v1.d.ts +169 -20
  111. package/resources/connectors/v1/v1.d.ts.map +1 -1
  112. package/resources/connectors/v1/v1.js +44 -13
  113. package/resources/connectors/v1/v1.js.map +1 -1
  114. package/resources/connectors/v1/v1.mjs +45 -14
  115. package/resources/connectors/v1/v1.mjs.map +1 -1
  116. package/resources/index.d.mts +2 -2
  117. package/resources/index.d.mts.map +1 -1
  118. package/resources/index.d.ts +2 -2
  119. package/resources/index.d.ts.map +1 -1
  120. package/resources/index.js.map +1 -1
  121. package/resources/index.mjs.map +1 -1
  122. package/resources/linc/v1/index.d.mts +1 -1
  123. package/resources/linc/v1/index.d.mts.map +1 -1
  124. package/resources/linc/v1/index.d.ts +1 -1
  125. package/resources/linc/v1/index.d.ts.map +1 -1
  126. package/resources/linc/v1/index.js.map +1 -1
  127. package/resources/linc/v1/index.mjs.map +1 -1
  128. package/resources/linc/v1/sessions.d.mts +94 -12
  129. package/resources/linc/v1/sessions.d.mts.map +1 -1
  130. package/resources/linc/v1/sessions.d.ts +94 -12
  131. package/resources/linc/v1/sessions.d.ts.map +1 -1
  132. package/resources/linc/v1/sessions.js +25 -3
  133. package/resources/linc/v1/sessions.js.map +1 -1
  134. package/resources/linc/v1/sessions.mjs +25 -3
  135. package/resources/linc/v1/sessions.mjs.map +1 -1
  136. package/resources/linc/v1/v1.d.mts +2 -2
  137. package/resources/linc/v1/v1.d.mts.map +1 -1
  138. package/resources/linc/v1/v1.d.ts +2 -2
  139. package/resources/linc/v1/v1.d.ts.map +1 -1
  140. package/resources/linc/v1/v1.js.map +1 -1
  141. package/resources/linc/v1/v1.mjs.map +1 -1
  142. package/resources/llm/v1/chat.d.mts +23 -12
  143. package/resources/llm/v1/chat.d.mts.map +1 -1
  144. package/resources/llm/v1/chat.d.ts +23 -12
  145. package/resources/llm/v1/chat.d.ts.map +1 -1
  146. package/resources/llm/v1/chat.js +14 -2
  147. package/resources/llm/v1/chat.js.map +1 -1
  148. package/resources/llm/v1/chat.mjs +14 -2
  149. package/resources/llm/v1/chat.mjs.map +1 -1
  150. package/resources/llm/v1/v1.d.mts +3 -3
  151. package/resources/llm/v1/v1.d.ts +3 -3
  152. package/resources/llm/v1/v1.js +3 -3
  153. package/resources/llm/v1/v1.mjs +3 -3
  154. package/resources/matters/index.d.mts +1 -1
  155. package/resources/matters/index.d.mts.map +1 -1
  156. package/resources/matters/index.d.ts +1 -1
  157. package/resources/matters/index.d.ts.map +1 -1
  158. package/resources/matters/index.js.map +1 -1
  159. package/resources/matters/index.mjs +1 -1
  160. package/resources/matters/index.mjs.map +1 -1
  161. package/resources/matters/matters.d.mts +2 -2
  162. package/resources/matters/matters.d.mts.map +1 -1
  163. package/resources/matters/matters.d.ts +2 -2
  164. package/resources/matters/matters.d.ts.map +1 -1
  165. package/resources/matters/matters.js.map +1 -1
  166. package/resources/matters/matters.mjs.map +1 -1
  167. package/resources/matters/v1/content-purges.d.mts +69 -0
  168. package/resources/matters/v1/content-purges.d.mts.map +1 -0
  169. package/resources/matters/v1/content-purges.d.ts +69 -0
  170. package/resources/matters/v1/content-purges.d.ts.map +1 -0
  171. package/resources/matters/v1/content-purges.js +28 -0
  172. package/resources/matters/v1/content-purges.js.map +1 -0
  173. package/resources/matters/v1/content-purges.mjs +24 -0
  174. package/resources/matters/v1/content-purges.mjs.map +1 -0
  175. package/resources/matters/v1/events/subscriptions.d.mts +15 -1
  176. package/resources/matters/v1/events/subscriptions.d.mts.map +1 -1
  177. package/resources/matters/v1/events/subscriptions.d.ts +15 -1
  178. package/resources/matters/v1/events/subscriptions.d.ts.map +1 -1
  179. package/resources/matters/v1/events/subscriptions.js +6 -2
  180. package/resources/matters/v1/events/subscriptions.js.map +1 -1
  181. package/resources/matters/v1/events/subscriptions.mjs +6 -2
  182. package/resources/matters/v1/events/subscriptions.mjs.map +1 -1
  183. package/resources/matters/v1/index.d.mts +5 -3
  184. package/resources/matters/v1/index.d.mts.map +1 -1
  185. package/resources/matters/v1/index.d.ts +5 -3
  186. package/resources/matters/v1/index.d.ts.map +1 -1
  187. package/resources/matters/v1/index.js +5 -1
  188. package/resources/matters/v1/index.js.map +1 -1
  189. package/resources/matters/v1/index.mjs +3 -1
  190. package/resources/matters/v1/index.mjs.map +1 -1
  191. package/resources/matters/v1/parties.d.mts +29 -3
  192. package/resources/matters/v1/parties.d.mts.map +1 -1
  193. package/resources/matters/v1/parties.d.ts +29 -3
  194. package/resources/matters/v1/parties.d.ts.map +1 -1
  195. package/resources/matters/v1/parties.js +7 -6
  196. package/resources/matters/v1/parties.js.map +1 -1
  197. package/resources/matters/v1/parties.mjs +7 -6
  198. package/resources/matters/v1/parties.mjs.map +1 -1
  199. package/resources/matters/v1/purges.d.mts +43 -0
  200. package/resources/matters/v1/purges.d.mts.map +1 -0
  201. package/resources/matters/v1/purges.d.ts +43 -0
  202. package/resources/matters/v1/purges.d.ts.map +1 -0
  203. package/resources/matters/v1/purges.js +20 -0
  204. package/resources/matters/v1/purges.js.map +1 -0
  205. package/resources/matters/v1/purges.mjs +16 -0
  206. package/resources/matters/v1/purges.mjs.map +1 -0
  207. package/resources/matters/v1/v1.d.mts +74 -8
  208. package/resources/matters/v1/v1.d.mts.map +1 -1
  209. package/resources/matters/v1/v1.d.ts +74 -8
  210. package/resources/matters/v1/v1.d.ts.map +1 -1
  211. package/resources/matters/v1/v1.js +24 -6
  212. package/resources/matters/v1/v1.js.map +1 -1
  213. package/resources/matters/v1/v1.mjs +24 -6
  214. package/resources/matters/v1/v1.mjs.map +1 -1
  215. package/resources/matters/v1/work-items.d.mts +29 -3
  216. package/resources/matters/v1/work-items.d.mts.map +1 -1
  217. package/resources/matters/v1/work-items.d.ts +29 -3
  218. package/resources/matters/v1/work-items.d.ts.map +1 -1
  219. package/resources/matters/v1/work-items.js +7 -6
  220. package/resources/matters/v1/work-items.js.map +1 -1
  221. package/resources/matters/v1/work-items.mjs +7 -6
  222. package/resources/matters/v1/work-items.mjs.map +1 -1
  223. package/resources/skills/index.d.mts +1 -1
  224. package/resources/skills/index.d.mts.map +1 -1
  225. package/resources/skills/index.d.ts +1 -1
  226. package/resources/skills/index.d.ts.map +1 -1
  227. package/resources/skills/index.js.map +1 -1
  228. package/resources/skills/index.mjs.map +1 -1
  229. package/resources/skills/skills.d.mts +84 -4
  230. package/resources/skills/skills.d.mts.map +1 -1
  231. package/resources/skills/skills.d.ts +84 -4
  232. package/resources/skills/skills.d.ts.map +1 -1
  233. package/resources/skills/skills.js +7 -0
  234. package/resources/skills/skills.js.map +1 -1
  235. package/resources/skills/skills.mjs +7 -0
  236. package/resources/skills/skills.mjs.map +1 -1
  237. package/resources/vault/events/subscriptions.d.mts +12 -6
  238. package/resources/vault/events/subscriptions.d.mts.map +1 -1
  239. package/resources/vault/events/subscriptions.d.ts +12 -6
  240. package/resources/vault/events/subscriptions.d.ts.map +1 -1
  241. package/resources/vault/events/subscriptions.js +6 -2
  242. package/resources/vault/events/subscriptions.js.map +1 -1
  243. package/resources/vault/events/subscriptions.mjs +6 -2
  244. package/resources/vault/events/subscriptions.mjs.map +1 -1
  245. package/resources/vault/groups.d.mts +1 -1
  246. package/resources/vault/groups.d.ts +1 -1
  247. package/resources/vault/groups.js +1 -1
  248. package/resources/vault/groups.mjs +1 -1
  249. package/resources/vault/index.d.mts +3 -3
  250. package/resources/vault/index.d.mts.map +1 -1
  251. package/resources/vault/index.d.ts +3 -3
  252. package/resources/vault/index.d.ts.map +1 -1
  253. package/resources/vault/index.js.map +1 -1
  254. package/resources/vault/index.mjs.map +1 -1
  255. package/resources/vault/multipart.d.mts +49 -10
  256. package/resources/vault/multipart.d.mts.map +1 -1
  257. package/resources/vault/multipart.d.ts +49 -10
  258. package/resources/vault/multipart.d.ts.map +1 -1
  259. package/resources/vault/multipart.js +11 -12
  260. package/resources/vault/multipart.js.map +1 -1
  261. package/resources/vault/multipart.mjs +11 -12
  262. package/resources/vault/multipart.mjs.map +1 -1
  263. package/resources/vault/objects.d.mts +161 -15
  264. package/resources/vault/objects.d.mts.map +1 -1
  265. package/resources/vault/objects.d.ts +161 -15
  266. package/resources/vault/objects.d.ts.map +1 -1
  267. package/resources/vault/objects.js +46 -11
  268. package/resources/vault/objects.js.map +1 -1
  269. package/resources/vault/objects.mjs +46 -11
  270. package/resources/vault/objects.mjs.map +1 -1
  271. package/resources/vault/vault.d.mts +123 -62
  272. package/resources/vault/vault.d.mts.map +1 -1
  273. package/resources/vault/vault.d.ts +123 -62
  274. package/resources/vault/vault.d.ts.map +1 -1
  275. package/resources/vault/vault.js +21 -20
  276. package/resources/vault/vault.js.map +1 -1
  277. package/resources/vault/vault.mjs +21 -20
  278. package/resources/vault/vault.mjs.map +1 -1
  279. package/resources/voice/transcription.d.mts +4 -0
  280. package/resources/voice/transcription.d.mts.map +1 -1
  281. package/resources/voice/transcription.d.ts +4 -0
  282. package/resources/voice/transcription.d.ts.map +1 -1
  283. package/resources/webhooks/v1/endpoints.d.mts +33 -2
  284. package/resources/webhooks/v1/endpoints.d.mts.map +1 -1
  285. package/resources/webhooks/v1/endpoints.d.ts +33 -2
  286. package/resources/webhooks/v1/endpoints.d.ts.map +1 -1
  287. package/resources/webhooks/v1/endpoints.js +1 -5
  288. package/resources/webhooks/v1/endpoints.js.map +1 -1
  289. package/resources/webhooks/v1/endpoints.mjs +1 -5
  290. package/resources/webhooks/v1/endpoints.mjs.map +1 -1
  291. package/resources/webhooks/v1/index.d.mts +1 -1
  292. package/resources/webhooks/v1/index.d.mts.map +1 -1
  293. package/resources/webhooks/v1/index.d.ts +1 -1
  294. package/resources/webhooks/v1/index.d.ts.map +1 -1
  295. package/resources/webhooks/v1/index.js.map +1 -1
  296. package/resources/webhooks/v1/index.mjs.map +1 -1
  297. package/resources/webhooks/v1/v1.d.mts +2 -2
  298. package/resources/webhooks/v1/v1.d.mts.map +1 -1
  299. package/resources/webhooks/v1/v1.d.ts +2 -2
  300. package/resources/webhooks/v1/v1.d.ts.map +1 -1
  301. package/resources/webhooks/v1/v1.js.map +1 -1
  302. package/resources/webhooks/v1/v1.mjs.map +1 -1
  303. package/src/client.ts +7 -1
  304. package/src/resources/connectors/connectors.ts +15 -1
  305. package/src/resources/connectors/index.ts +4 -0
  306. package/src/resources/connectors/v1/applications/applications.ts +20 -0
  307. package/src/resources/connectors/v1/applications/index.ts +4 -0
  308. package/src/resources/connectors/v1/applications/keys.ts +58 -0
  309. package/src/resources/connectors/v1/applications.ts +3 -0
  310. package/src/resources/connectors/v1/connections.ts +227 -20
  311. package/src/resources/connectors/v1/index.ts +9 -0
  312. package/src/resources/connectors/v1/installations/index.ts +7 -1
  313. package/src/resources/connectors/v1/installations/installations.ts +50 -8
  314. package/src/resources/connectors/v1/installations/tokens.ts +61 -0
  315. package/src/resources/connectors/v1/installations/vaults.ts +1 -1
  316. package/src/resources/connectors/v1/links.ts +140 -11
  317. package/src/resources/connectors/v1/v1.ts +246 -16
  318. package/src/resources/index.ts +3 -0
  319. package/src/resources/linc/v1/index.ts +2 -0
  320. package/src/resources/linc/v1/sessions.ts +138 -12
  321. package/src/resources/linc/v1/v1.ts +4 -0
  322. package/src/resources/llm/v1/chat.ts +38 -13
  323. package/src/resources/llm/v1/v1.ts +3 -3
  324. package/src/resources/matters/index.ts +8 -1
  325. package/src/resources/matters/matters.ts +3 -1
  326. package/src/resources/matters/v1/content-purges.ts +115 -0
  327. package/src/resources/matters/v1/events/subscriptions.ts +21 -2
  328. package/src/resources/matters/v1/index.ts +17 -2
  329. package/src/resources/matters/v1/parties.ts +44 -8
  330. package/src/resources/matters/v1/purges.ts +66 -0
  331. package/src/resources/matters/v1/v1.ts +117 -10
  332. package/src/resources/matters/v1/work-items.ts +37 -7
  333. package/src/resources/skills/index.ts +2 -0
  334. package/src/resources/skills/skills.ts +115 -3
  335. package/src/resources/vault/events/subscriptions.ts +18 -7
  336. package/src/resources/vault/groups.ts +1 -1
  337. package/src/resources/vault/index.ts +4 -0
  338. package/src/resources/vault/multipart.ts +59 -14
  339. package/src/resources/vault/objects.ts +203 -16
  340. package/src/resources/vault/vault.ts +148 -67
  341. package/src/resources/voice/transcription.ts +5 -0
  342. package/src/resources/webhooks/v1/endpoints.ts +52 -6
  343. package/src/resources/webhooks/v1/index.ts +1 -0
  344. package/src/resources/webhooks/v1/v1.ts +2 -0
  345. package/src/version.ts +1 -1
  346. package/version.d.mts +1 -1
  347. package/version.d.ts +1 -1
  348. package/version.js +1 -1
  349. package/version.mjs +1 -1
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.js";
2
2
  import { APIPromise } from "../../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../../internal/request-options.js";
4
4
  /**
5
- * Import and export between provider folders (Google Drive) and vaults
5
+ * Import and export between provider folders and vaults
6
6
  */
7
7
  export declare class Connections extends APIResource {
8
8
  /**
@@ -10,15 +10,19 @@ export declare class Connections extends APIResource {
10
10
  * hosted OAuth flow. The user completes provider consent at connect_url and is
11
11
  * redirected to return_url with ?connection_id=.
12
12
  */
13
- create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<ConnectionCreateResponse>;
13
+ create(params: ConnectionCreateParams, options?: RequestOptions): APIPromise<ConnectionCreateResponse>;
14
14
  /**
15
15
  * Retrieve one provider connection, including account identity and health.
16
16
  */
17
- retrieve(id: string, options?: RequestOptions): APIPromise<void>;
17
+ retrieve(id: string, params?: ConnectionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<void>;
18
18
  /**
19
- * List provider connections for the organization, with health status.
19
+ * List provider connections for the organization, with health status. Returns at
20
+ * most `limit` connections (default 200, maximum 200). When `pagination.has_more`
21
+ * is true, replay `pagination.next_cursor` as `?cursor=` to fetch the following
22
+ * page. Cursors are opaque and are only valid for the exact filter set and
23
+ * installation/subject scope they were issued under.
20
24
  */
21
- list(query?: ConnectionListParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionListResponse>;
25
+ list(params?: ConnectionListParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionListResponse>;
22
26
  /**
23
27
  * Unlink a provider account: revoke tokens at the provider and delete them.
24
28
  * purge=true additionally deletes the vault documents its import links brought in.
@@ -29,8 +33,17 @@ export declare class Connections extends APIResource {
29
33
  * returns top-level resources. Pass the stable browse_ref fields returned by one
30
34
  * response to navigate into the next level. Returns 403
31
35
  * provider_scope_insufficient when the connection scope cannot browse server-side.
36
+ * Clio browsing shares request capacity with background runs; throttled responses
37
+ * include Retry-After when a retry deadline is known.
32
38
  */
33
- browse(id: string, query?: ConnectionBrowseParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionBrowseResponse>;
39
+ browse(id: string, params?: ConnectionBrowseParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionBrowseResponse>;
40
+ /**
41
+ * Enable or disable new runs and scheduled syncs for one provider across the
42
+ * authenticated organization or installation. This organization-wide operation
43
+ * requires explicit confirmation. Existing credentials, links, and imported files
44
+ * are preserved; active runs are not interrupted.
45
+ */
46
+ updateAll(body: ConnectionUpdateAllParams, options?: RequestOptions): APIPromise<void>;
34
47
  }
35
48
  export interface ConnectionCreateResponse {
36
49
  connect_url?: string;
@@ -40,12 +53,31 @@ export interface ConnectionCreateResponse {
40
53
  export interface ConnectionListResponse {
41
54
  capabilities?: ConnectionListResponse.Capabilities;
42
55
  connections?: Array<unknown>;
56
+ /**
57
+ * @deprecated Mirror of `pagination.next_cursor`. Prefer `pagination`.
58
+ */
43
59
  cursor?: string | null;
60
+ pagination?: ConnectionListResponse.Pagination;
61
+ /**
62
+ * Available import providers and their adapter-declared capabilities.
63
+ */
64
+ providers?: Array<ConnectionListResponse.Provider>;
44
65
  }
45
66
  export declare namespace ConnectionListResponse {
46
67
  interface Capabilities {
47
68
  google_drive_folder_mirroring?: boolean;
48
69
  }
70
+ interface Pagination {
71
+ has_more?: boolean;
72
+ limit?: number;
73
+ next_cursor?: string | null;
74
+ }
75
+ interface Provider {
76
+ id?: string;
77
+ resource_types?: Array<string>;
78
+ scope_tier?: string;
79
+ supports_export?: boolean;
80
+ }
49
81
  }
50
82
  export interface ConnectionBrowseResponse {
51
83
  cursor?: string | null;
@@ -56,6 +88,11 @@ export declare namespace ConnectionBrowseResponse {
56
88
  id?: string;
57
89
  browse_ref?: unknown | null;
58
90
  container_id?: string | null;
91
+ description?: string | null;
92
+ /**
93
+ * Importable container root, when different from its browse reference.
94
+ */
95
+ import_ref?: unknown | null;
59
96
  kind?: 'my_drive' | 'shared_drive' | 'matter' | 'site' | 'document_library' | 'folder' | 'file';
60
97
  mime_type?: string | null;
61
98
  modified_at?: string | null;
@@ -66,44 +103,116 @@ export declare namespace ConnectionBrowseResponse {
66
103
  }
67
104
  }
68
105
  export interface ConnectionCreateParams {
69
- provider: 'clio' | 'gdrive' | 'microsoft';
70
106
  /**
71
- * HTTPS URL the user is sent back to after consent.
107
+ * Body param
108
+ */
109
+ provider: 'box' | 'clio' | 'dropbox' | 'gdrive' | 'microsoft' | 'smokeball';
110
+ /**
111
+ * Body param: HTTPS URL the user is sent back to after consent.
72
112
  */
73
113
  return_url: string;
74
114
  /**
75
- * Provider-specific OAuth permission tier. Omit to use the provider's default.
115
+ * Body param: Provider-specific OAuth permission tier. Omit to use the provider's
116
+ * default. Microsoft defaults to organizational OneDrive/SharePoint; use
117
+ * microsoft.personal.read for a personal Microsoft account's own OneDrive.
118
+ * Microsoft write tiers are a separately gated private pilot; exports and paired
119
+ * sync are not yet available.
120
+ */
121
+ scope_tier?: 'box.readwrite' | 'box.readwrite.webhooks' | 'clio.us' | 'dropbox.readwrite' | 'drive' | 'microsoft.read' | 'microsoft.personal.read' | 'microsoft.write' | 'microsoft.personal.write' | 'smokeball.us' | 'smokeball.us.staging';
122
+ /**
123
+ * Header param: Trusted server-to-server application-user assertion. Derive it
124
+ * from the authenticated application session, never browser input. Omit only for
125
+ * the legacy organization-scoped namespace.
126
+ */
127
+ 'x-case-connector-subject'?: string;
128
+ }
129
+ export interface ConnectionRetrieveParams {
130
+ /**
131
+ * Trusted server-to-server application-user assertion. Derive it from the
132
+ * authenticated application session, never browser input. Omit only for the legacy
133
+ * organization-scoped namespace.
76
134
  */
77
- scope_tier?: 'clio.us' | 'drive' | 'microsoft.read';
135
+ 'x-case-connector-subject'?: string;
78
136
  }
79
137
  export interface ConnectionListParams {
138
+ /**
139
+ * Query param: Opaque continuation cursor from `pagination.next_cursor` of the
140
+ * previous page. Must be replayed with the same filters and scope that produced
141
+ * it.
142
+ */
143
+ cursor?: string;
144
+ /**
145
+ * Query param: Connections per page (1-200). Defaults to 200.
146
+ */
147
+ limit?: number;
148
+ /**
149
+ * Query param
150
+ */
80
151
  provider?: string;
152
+ /**
153
+ * Query param
154
+ */
81
155
  status?: 'pending' | 'healthy' | 'reauth_required' | 'revoked' | 'throttled';
156
+ /**
157
+ * Header param: Trusted server-to-server application-user assertion. Derive it
158
+ * from the authenticated application session, never browser input. Omit only for
159
+ * the legacy organization-scoped namespace.
160
+ */
161
+ 'x-case-connector-subject'?: string;
82
162
  }
83
163
  export interface ConnectionDeleteParams {
164
+ /**
165
+ * Query param
166
+ */
84
167
  purge?: boolean;
168
+ /**
169
+ * Header param: Trusted server-to-server application-user assertion. Derive it
170
+ * from the authenticated application session, never browser input. Omit only for
171
+ * the legacy organization-scoped namespace.
172
+ */
173
+ 'x-case-connector-subject'?: string;
85
174
  }
86
175
  export interface ConnectionBrowseParams {
87
176
  /**
88
- * Container id to list, or the container containing parent
177
+ * Query param: Container id to list, or the container containing parent
89
178
  */
90
179
  container?: string;
180
+ /**
181
+ * Query param
182
+ */
91
183
  cursor?: string;
184
+ /**
185
+ * Query param
186
+ */
92
187
  page_size?: number;
93
188
  /**
94
- * Folder id to list
189
+ * Query param: Folder id to list
95
190
  */
96
191
  parent?: string;
97
192
  /**
98
- * Optional provider-supported search text
193
+ * Query param: Optional provider-supported search text
99
194
  */
100
195
  query?: string;
101
196
  /**
102
- * Site id to list
197
+ * Query param: Site id to list
103
198
  */
104
199
  site?: string;
200
+ /**
201
+ * Header param: Trusted server-to-server application-user assertion. Derive it
202
+ * from the authenticated application session, never browser input. Omit only for
203
+ * the legacy organization-scoped namespace.
204
+ */
205
+ 'x-case-connector-subject'?: string;
206
+ }
207
+ export interface ConnectionUpdateAllParams {
208
+ /**
209
+ * Confirms that this change applies to every user connection in scope.
210
+ */
211
+ confirm_organization_wide: true;
212
+ enabled: boolean;
213
+ provider: string;
105
214
  }
106
215
  export declare namespace Connections {
107
- export { type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionListResponse as ConnectionListResponse, type ConnectionBrowseResponse as ConnectionBrowseResponse, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionDeleteParams as ConnectionDeleteParams, type ConnectionBrowseParams as ConnectionBrowseParams, };
216
+ export { type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionListResponse as ConnectionListResponse, type ConnectionBrowseResponse as ConnectionBrowseResponse, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionRetrieveParams as ConnectionRetrieveParams, type ConnectionListParams as ConnectionListParams, type ConnectionDeleteParams as ConnectionDeleteParams, type ConnectionBrowseParams as ConnectionBrowseParams, type ConnectionUpdateAllParams as ConnectionUpdateAllParams, };
108
217
  }
109
218
  //# sourceMappingURL=connections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc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wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
1
+ {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAgBtG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAgBnB;;;;;;OAMG;IACH,IAAI,CACF,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAgBrC;;;OAGG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAiBnB;;;;;;;OAOG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,w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KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -6,7 +6,7 @@ const resource_1 = require("../../../core/resource.js");
6
6
  const headers_1 = require("../../../internal/headers.js");
7
7
  const path_1 = require("../../../internal/utils/path.js");
8
8
  /**
9
- * Import and export between provider folders (Google Drive) and vaults
9
+ * Import and export between provider folders and vaults
10
10
  */
11
11
  class Connections extends resource_1.APIResource {
12
12
  /**
@@ -14,34 +14,79 @@ class Connections extends resource_1.APIResource {
14
14
  * hosted OAuth flow. The user completes provider consent at connect_url and is
15
15
  * redirected to return_url with ?connection_id=.
16
16
  */
17
- create(body, options) {
18
- return this._client.post('/connectors/v1/connections', { body, ...options });
17
+ create(params, options) {
18
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
19
+ return this._client.post('/connectors/v1/connections', {
20
+ body,
21
+ ...options,
22
+ headers: (0, headers_1.buildHeaders)([
23
+ {
24
+ ...(xCaseConnectorSubject != null ?
25
+ { 'x-case-connector-subject': xCaseConnectorSubject }
26
+ : undefined),
27
+ },
28
+ options?.headers,
29
+ ]),
30
+ });
19
31
  }
20
32
  /**
21
33
  * Retrieve one provider connection, including account identity and health.
22
34
  */
23
- retrieve(id, options) {
35
+ retrieve(id, params = {}, options) {
36
+ const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
24
37
  return this._client.get((0, path_1.path) `/connectors/v1/connections/${id}`, {
25
38
  ...options,
26
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
39
+ headers: (0, headers_1.buildHeaders)([
40
+ {
41
+ Accept: '*/*',
42
+ ...(xCaseConnectorSubject != null ?
43
+ { 'x-case-connector-subject': xCaseConnectorSubject }
44
+ : undefined),
45
+ },
46
+ options?.headers,
47
+ ]),
27
48
  });
28
49
  }
29
50
  /**
30
- * List provider connections for the organization, with health status.
51
+ * List provider connections for the organization, with health status. Returns at
52
+ * most `limit` connections (default 200, maximum 200). When `pagination.has_more`
53
+ * is true, replay `pagination.next_cursor` as `?cursor=` to fetch the following
54
+ * page. Cursors are opaque and are only valid for the exact filter set and
55
+ * installation/subject scope they were issued under.
31
56
  */
32
- list(query = {}, options) {
33
- return this._client.get('/connectors/v1/connections', { query, ...options });
57
+ list(params = {}, options) {
58
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
59
+ return this._client.get('/connectors/v1/connections', {
60
+ query,
61
+ ...options,
62
+ headers: (0, headers_1.buildHeaders)([
63
+ {
64
+ ...(xCaseConnectorSubject != null ?
65
+ { 'x-case-connector-subject': xCaseConnectorSubject }
66
+ : undefined),
67
+ },
68
+ options?.headers,
69
+ ]),
70
+ });
34
71
  }
35
72
  /**
36
73
  * Unlink a provider account: revoke tokens at the provider and delete them.
37
74
  * purge=true additionally deletes the vault documents its import links brought in.
38
75
  */
39
76
  delete(id, params = {}, options) {
40
- const { purge } = params ?? {};
77
+ const { purge, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
41
78
  return this._client.delete((0, path_1.path) `/connectors/v1/connections/${id}`, {
42
79
  query: { purge },
43
80
  ...options,
44
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
81
+ headers: (0, headers_1.buildHeaders)([
82
+ {
83
+ Accept: '*/*',
84
+ ...(xCaseConnectorSubject != null ?
85
+ { 'x-case-connector-subject': xCaseConnectorSubject }
86
+ : undefined),
87
+ },
88
+ options?.headers,
89
+ ]),
45
90
  });
46
91
  }
47
92
  /**
@@ -49,9 +94,36 @@ class Connections extends resource_1.APIResource {
49
94
  * returns top-level resources. Pass the stable browse_ref fields returned by one
50
95
  * response to navigate into the next level. Returns 403
51
96
  * provider_scope_insufficient when the connection scope cannot browse server-side.
97
+ * Clio browsing shares request capacity with background runs; throttled responses
98
+ * include Retry-After when a retry deadline is known.
99
+ */
100
+ browse(id, params = {}, options) {
101
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
102
+ return this._client.get((0, path_1.path) `/connectors/v1/connections/${id}/browse`, {
103
+ query,
104
+ ...options,
105
+ headers: (0, headers_1.buildHeaders)([
106
+ {
107
+ ...(xCaseConnectorSubject != null ?
108
+ { 'x-case-connector-subject': xCaseConnectorSubject }
109
+ : undefined),
110
+ },
111
+ options?.headers,
112
+ ]),
113
+ });
114
+ }
115
+ /**
116
+ * Enable or disable new runs and scheduled syncs for one provider across the
117
+ * authenticated organization or installation. This organization-wide operation
118
+ * requires explicit confirmation. Existing credentials, links, and imported files
119
+ * are preserved; active runs are not interrupted.
52
120
  */
53
- browse(id, query = {}, options) {
54
- return this._client.get((0, path_1.path) `/connectors/v1/connections/${id}/browse`, { query, ...options });
121
+ updateAll(body, options) {
122
+ return this._client.patch('/connectors/v1/connections', {
123
+ body,
124
+ ...options,
125
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
126
+ });
55
127
  }
56
128
  }
57
129
  exports.Connections = Connections;
@@ -1 +1 @@
1
- {"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,EAAE,EAAE;YAC9D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,EAAE,EAAE;YACjE,KAAK,EAAE,EAAE,KAAK,EAAE;YAChB,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AA5DD,kCA4DC"}
1
+ {"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,MAA8B,EAAE,OAAwB;QAC7D,MAAM,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9E,OAAO,IAAI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AO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE;YACtD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAzID,kCAyIC"}
@@ -3,7 +3,7 @@ import { APIResource } from "../../../core/resource.mjs";
3
3
  import { buildHeaders } from "../../../internal/headers.mjs";
4
4
  import { path } from "../../../internal/utils/path.mjs";
5
5
  /**
6
- * Import and export between provider folders (Google Drive) and vaults
6
+ * Import and export between provider folders and vaults
7
7
  */
8
8
  export class Connections extends APIResource {
9
9
  /**
@@ -11,34 +11,79 @@ export class Connections extends APIResource {
11
11
  * hosted OAuth flow. The user completes provider consent at connect_url and is
12
12
  * redirected to return_url with ?connection_id=.
13
13
  */
14
- create(body, options) {
15
- return this._client.post('/connectors/v1/connections', { body, ...options });
14
+ create(params, options) {
15
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
16
+ return this._client.post('/connectors/v1/connections', {
17
+ body,
18
+ ...options,
19
+ headers: buildHeaders([
20
+ {
21
+ ...(xCaseConnectorSubject != null ?
22
+ { 'x-case-connector-subject': xCaseConnectorSubject }
23
+ : undefined),
24
+ },
25
+ options?.headers,
26
+ ]),
27
+ });
16
28
  }
17
29
  /**
18
30
  * Retrieve one provider connection, including account identity and health.
19
31
  */
20
- retrieve(id, options) {
32
+ retrieve(id, params = {}, options) {
33
+ const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
21
34
  return this._client.get(path `/connectors/v1/connections/${id}`, {
22
35
  ...options,
23
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
36
+ headers: buildHeaders([
37
+ {
38
+ Accept: '*/*',
39
+ ...(xCaseConnectorSubject != null ?
40
+ { 'x-case-connector-subject': xCaseConnectorSubject }
41
+ : undefined),
42
+ },
43
+ options?.headers,
44
+ ]),
24
45
  });
25
46
  }
26
47
  /**
27
- * List provider connections for the organization, with health status.
48
+ * List provider connections for the organization, with health status. Returns at
49
+ * most `limit` connections (default 200, maximum 200). When `pagination.has_more`
50
+ * is true, replay `pagination.next_cursor` as `?cursor=` to fetch the following
51
+ * page. Cursors are opaque and are only valid for the exact filter set and
52
+ * installation/subject scope they were issued under.
28
53
  */
29
- list(query = {}, options) {
30
- return this._client.get('/connectors/v1/connections', { query, ...options });
54
+ list(params = {}, options) {
55
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
56
+ return this._client.get('/connectors/v1/connections', {
57
+ query,
58
+ ...options,
59
+ headers: buildHeaders([
60
+ {
61
+ ...(xCaseConnectorSubject != null ?
62
+ { 'x-case-connector-subject': xCaseConnectorSubject }
63
+ : undefined),
64
+ },
65
+ options?.headers,
66
+ ]),
67
+ });
31
68
  }
32
69
  /**
33
70
  * Unlink a provider account: revoke tokens at the provider and delete them.
34
71
  * purge=true additionally deletes the vault documents its import links brought in.
35
72
  */
36
73
  delete(id, params = {}, options) {
37
- const { purge } = params ?? {};
74
+ const { purge, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
38
75
  return this._client.delete(path `/connectors/v1/connections/${id}`, {
39
76
  query: { purge },
40
77
  ...options,
41
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
78
+ headers: buildHeaders([
79
+ {
80
+ Accept: '*/*',
81
+ ...(xCaseConnectorSubject != null ?
82
+ { 'x-case-connector-subject': xCaseConnectorSubject }
83
+ : undefined),
84
+ },
85
+ options?.headers,
86
+ ]),
42
87
  });
43
88
  }
44
89
  /**
@@ -46,9 +91,36 @@ export class Connections extends APIResource {
46
91
  * returns top-level resources. Pass the stable browse_ref fields returned by one
47
92
  * response to navigate into the next level. Returns 403
48
93
  * provider_scope_insufficient when the connection scope cannot browse server-side.
94
+ * Clio browsing shares request capacity with background runs; throttled responses
95
+ * include Retry-After when a retry deadline is known.
96
+ */
97
+ browse(id, params = {}, options) {
98
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
99
+ return this._client.get(path `/connectors/v1/connections/${id}/browse`, {
100
+ query,
101
+ ...options,
102
+ headers: buildHeaders([
103
+ {
104
+ ...(xCaseConnectorSubject != null ?
105
+ { 'x-case-connector-subject': xCaseConnectorSubject }
106
+ : undefined),
107
+ },
108
+ options?.headers,
109
+ ]),
110
+ });
111
+ }
112
+ /**
113
+ * Enable or disable new runs and scheduled syncs for one provider across the
114
+ * authenticated organization or installation. This organization-wide operation
115
+ * requires explicit confirmation. Existing credentials, links, and imported files
116
+ * are preserved; active runs are not interrupted.
49
117
  */
50
- browse(id, query = {}, options) {
51
- return this._client.get(path `/connectors/v1/connections/${id}/browse`, { query, ...options });
118
+ updateAll(body, options) {
119
+ return this._client.patch('/connectors/v1/connections', {
120
+ body,
121
+ ...options,
122
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
123
+ });
52
124
  }
53
125
  }
54
126
  //# sourceMappingURL=connections.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,EAAE,EAAE;YAC9D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,8BAA8B,EAAE,EAAE,EAAE;YACjE,KAAK,EAAE,EAAE,KAAK,EAAE;YAChB,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF"}
1
+ {"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;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AAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,SAAS,CAAC,IAA+B,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE;YACtD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,5 +1,6 @@
1
- export { Connections, type ConnectionCreateResponse, type ConnectionListResponse, type ConnectionBrowseResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionBrowseParams, } from "./connections.mjs";
2
- export { Installations, type InstallationListParams, type InstallationEnsureParams, } from "./installations/index.mjs";
3
- export { Links, type LinkUpdateParams, type LinkListParams, type LinkDeleteParams, type LinkListObjectsParams, } from "./links.mjs";
4
- export { V1, type V1SyncLinkResponse, type V1TransferResponse, type V1SyncLinkParams, type V1TransferParams, } from "./v1.mjs";
1
+ export { Applications } from "./applications/index.mjs";
2
+ export { Connections, type ConnectionCreateResponse, type ConnectionListResponse, type ConnectionBrowseResponse, type ConnectionCreateParams, type ConnectionRetrieveParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionBrowseParams, type ConnectionUpdateAllParams, } from "./connections.mjs";
3
+ export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations/index.mjs";
4
+ export { Links, type LinkRetrieveParams, type LinkUpdateParams, type LinkListParams, type LinkDeleteParams, type LinkListObjectsParams, } from "./links.mjs";
5
+ export { V1, type SyncLinkLinkRun, type SyncLinkRun, type TransferLinkRun, type TransferRun, type V1SyncLinkResponse, type V1TransferResponse, type V1SyncLinkParams, type V1TransferParams, } from "./v1.mjs";
5
6
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,0BAAsB;AACvB,OAAO,EACL,aAAa,EACb,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,kCAA8B;AAC/B,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,oBAAgB;AACjB,OAAO,EACL,EAAE,EACF,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,iBAAa"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,iCAA6B;AACpD,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B,0BAAsB;AACvB,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,kCAA8B;AAC/B,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,oBAAgB;AACjB,OAAO,EACL,EAAE,EACF,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,iBAAa"}
@@ -1,5 +1,6 @@
1
- export { Connections, type ConnectionCreateResponse, type ConnectionListResponse, type ConnectionBrowseResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionBrowseParams, } from "./connections.js";
2
- export { Installations, type InstallationListParams, type InstallationEnsureParams, } from "./installations/index.js";
3
- export { Links, type LinkUpdateParams, type LinkListParams, type LinkDeleteParams, type LinkListObjectsParams, } from "./links.js";
4
- export { V1, type V1SyncLinkResponse, type V1TransferResponse, type V1SyncLinkParams, type V1TransferParams, } from "./v1.js";
1
+ export { Applications } from "./applications/index.js";
2
+ export { Connections, type ConnectionCreateResponse, type ConnectionListResponse, type ConnectionBrowseResponse, type ConnectionCreateParams, type ConnectionRetrieveParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionBrowseParams, type ConnectionUpdateAllParams, } from "./connections.js";
3
+ export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations/index.js";
4
+ export { Links, type LinkRetrieveParams, type LinkUpdateParams, type LinkListParams, type LinkDeleteParams, type LinkListObjectsParams, } from "./links.js";
5
+ export { V1, type SyncLinkLinkRun, type SyncLinkRun, type TransferLinkRun, type TransferRun, type V1SyncLinkResponse, type V1TransferResponse, type V1SyncLinkParams, type V1TransferParams, } from "./v1.js";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,yBAAsB;AACvB,OAAO,EACL,aAAa,EACb,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,iCAA8B;AAC/B,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,mBAAgB;AACjB,OAAO,EACL,EAAE,EACF,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,gBAAa"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B,yBAAsB;AACvB,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,iCAA8B;AAC/B,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,mBAAgB;AACjB,OAAO,EACL,EAAE,EACF,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,gBAAa"}
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.V1 = exports.Links = exports.Installations = exports.Connections = void 0;
4
+ exports.V1 = exports.Links = exports.Installations = exports.Connections = exports.Applications = void 0;
5
+ var index_1 = require("./applications/index.js");
6
+ Object.defineProperty(exports, "Applications", { enumerable: true, get: function () { return index_1.Applications; } });
5
7
  var connections_1 = require("./connections.js");
6
8
  Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
7
- var index_1 = require("./installations/index.js");
8
- Object.defineProperty(exports, "Installations", { enumerable: true, get: function () { return index_1.Installations; } });
9
+ var index_2 = require("./installations/index.js");
10
+ Object.defineProperty(exports, "Installations", { enumerable: true, get: function () { return index_2.Installations; } });
9
11
  var links_1 = require("./links.js");
10
12
  Object.defineProperty(exports, "Links", { enumerable: true, get: function () { return links_1.Links; } });
11
13
  var v1_1 = require("./v1.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDASuB;AARrB,0GAAA,WAAW,OAAA;AASb,kDAI+B;AAH7B,sGAAA,aAAa,OAAA;AAIf,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,8BAMc;AALZ,wFAAA,EAAE,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iDAAoD;AAA3C,qGAAA,YAAY,OAAA;AACrB,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,kDAK+B;AAJ7B,sGAAA,aAAa,OAAA;AAKf,oCAOiB;AANf,8FAAA,KAAK,OAAA;AAOP,8BAUc;AATZ,wFAAA,EAAE,OAAA"}
@@ -1,4 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Applications } from "./applications/index.mjs";
2
3
  export { Connections, } from "./connections.mjs";
3
4
  export { Installations, } from "./installations/index.mjs";
4
5
  export { Links, } from "./links.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAQZ,0BAAsB;AACvB,OAAO,EACL,aAAa,GAGd,kCAA8B;AAC/B,OAAO,EACL,KAAK,GAKN,oBAAgB;AACjB,OAAO,EACL,EAAE,GAKH,iBAAa"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,YAAY,EAAE,iCAA6B;AACpD,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,aAAa,GAId,kCAA8B;AAC/B,OAAO,EACL,KAAK,GAMN,oBAAgB;AACjB,OAAO,EACL,EAAE,GASH,iBAAa"}
@@ -1,3 +1,4 @@
1
- export { Installations, type InstallationListParams, type InstallationEnsureParams } from "./installations.mjs";
1
+ export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations.mjs";
2
+ export { Tokens, type TokenCreateResponse, type TokenCreateParams, type TokenRevokeParams } from "./tokens.mjs";
2
3
  export { Vaults, type VaultGrantParams, type VaultRevokeParams } from "./vaults.mjs";
3
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,sBAAsB,EAAE,KAAK,wBAAwB,EAAE,4BAAwB;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,4BAAwB;AACzB,OAAO,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB"}