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
@@ -0,0 +1,3 @@
1
+ export { Applications } from "./applications.js";
2
+ export { Keys, type KeyBindResponse, type KeyBindParams, type KeyRevokeParams } from "./keys.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,0BAAuB;AAC9C,OAAO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,kBAAe"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Keys = exports.Applications = void 0;
5
+ var applications_1 = require("./applications.js");
6
+ Object.defineProperty(exports, "Applications", { enumerable: true, get: function () { return applications_1.Applications; } });
7
+ var keys_1 = require("./keys.js");
8
+ Object.defineProperty(exports, "Keys", { enumerable: true, get: function () { return keys_1.Keys; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,kCAA8F;AAArF,4FAAA,IAAI,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Applications } from "./applications.mjs";
3
+ export { Keys } from "./keys.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,YAAY,EAAE,2BAAuB;AAC9C,OAAO,EAAE,IAAI,EAAkE,mBAAe"}
@@ -0,0 +1,34 @@
1
+ import { APIResource } from "../../../../core/resource.mjs";
2
+ import { APIPromise } from "../../../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../../../internal/request-options.mjs";
4
+ /**
5
+ * Import and export between provider folders and vaults
6
+ */
7
+ export declare class Keys extends APIResource {
8
+ /**
9
+ * Requires an owner/admin Clerk session. Explicitly binds a non-system connector
10
+ * API key to one application. Allows multiple keys for controlled rotation. Does
11
+ * not grant Vault access or mint credentials.
12
+ */
13
+ bind(keyID: string, params: KeyBindParams, options?: RequestOptions): APIPromise<KeyBindResponse>;
14
+ /**
15
+ * Requires an owner/admin Clerk session. Immediately invalidates tokens minted
16
+ * through this binding. Rebinding later does not revive those tokens.
17
+ */
18
+ revoke(keyID: string, params: KeyRevokeParams, options?: RequestOptions): APIPromise<void>;
19
+ }
20
+ export interface KeyBindResponse {
21
+ id: string;
22
+ api_key_id: string;
23
+ application_id: string;
24
+ }
25
+ export interface KeyBindParams {
26
+ id: string;
27
+ }
28
+ export interface KeyRevokeParams {
29
+ id: string;
30
+ }
31
+ export declare namespace Keys {
32
+ export { type KeyBindResponse as KeyBindResponse, type KeyBindParams as KeyBindParams, type KeyRevokeParams as KeyRevokeParams, };
33
+ }
34
+ //# sourceMappingURL=keys.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAKjG;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO3F;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,34 @@
1
+ import { APIResource } from "../../../../core/resource.js";
2
+ import { APIPromise } from "../../../../core/api-promise.js";
3
+ import { RequestOptions } from "../../../../internal/request-options.js";
4
+ /**
5
+ * Import and export between provider folders and vaults
6
+ */
7
+ export declare class Keys extends APIResource {
8
+ /**
9
+ * Requires an owner/admin Clerk session. Explicitly binds a non-system connector
10
+ * API key to one application. Allows multiple keys for controlled rotation. Does
11
+ * not grant Vault access or mint credentials.
12
+ */
13
+ bind(keyID: string, params: KeyBindParams, options?: RequestOptions): APIPromise<KeyBindResponse>;
14
+ /**
15
+ * Requires an owner/admin Clerk session. Immediately invalidates tokens minted
16
+ * through this binding. Rebinding later does not revive those tokens.
17
+ */
18
+ revoke(keyID: string, params: KeyRevokeParams, options?: RequestOptions): APIPromise<void>;
19
+ }
20
+ export interface KeyBindResponse {
21
+ id: string;
22
+ api_key_id: string;
23
+ application_id: string;
24
+ }
25
+ export interface KeyBindParams {
26
+ id: string;
27
+ }
28
+ export interface KeyRevokeParams {
29
+ id: string;
30
+ }
31
+ export declare namespace Keys {
32
+ export { type KeyBindResponse as KeyBindResponse, type KeyBindParams as KeyBindParams, type KeyRevokeParams as KeyRevokeParams, };
33
+ }
34
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAKjG;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO3F;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Keys = void 0;
5
+ const resource_1 = require("../../../../core/resource.js");
6
+ const headers_1 = require("../../../../internal/headers.js");
7
+ const path_1 = require("../../../../internal/utils/path.js");
8
+ /**
9
+ * Import and export between provider folders and vaults
10
+ */
11
+ class Keys extends resource_1.APIResource {
12
+ /**
13
+ * Requires an owner/admin Clerk session. Explicitly binds a non-system connector
14
+ * API key to one application. Allows multiple keys for controlled rotation. Does
15
+ * not grant Vault access or mint credentials.
16
+ */
17
+ bind(keyID, params, options) {
18
+ const { id } = params;
19
+ return this._client.put((0, path_1.path) `/connectors/v1/applications/${id}/keys/${keyID}`, options);
20
+ }
21
+ /**
22
+ * Requires an owner/admin Clerk session. Immediately invalidates tokens minted
23
+ * through this binding. Rebinding later does not revive those tokens.
24
+ */
25
+ revoke(keyID, params, options) {
26
+ const { id } = params;
27
+ return this._client.delete((0, path_1.path) `/connectors/v1/applications/${id}/keys/${keyID}`, {
28
+ ...options,
29
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
30
+ });
31
+ }
32
+ }
33
+ exports.Keys = Keys;
34
+ //# sourceMappingURL=keys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAExD,6DAA4D;AAE5D,6DAAuD;AAEvD;;GAEG;AACH,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAa,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE;YAChF,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;AAtBD,oBAsBC"}
@@ -0,0 +1,30 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../../core/resource.mjs";
3
+ import { buildHeaders } from "../../../../internal/headers.mjs";
4
+ import { path } from "../../../../internal/utils/path.mjs";
5
+ /**
6
+ * Import and export between provider folders and vaults
7
+ */
8
+ export class Keys extends APIResource {
9
+ /**
10
+ * Requires an owner/admin Clerk session. Explicitly binds a non-system connector
11
+ * API key to one application. Allows multiple keys for controlled rotation. Does
12
+ * not grant Vault access or mint credentials.
13
+ */
14
+ bind(keyID, params, options) {
15
+ const { id } = params;
16
+ return this._client.put(path `/connectors/v1/applications/${id}/keys/${keyID}`, options);
17
+ }
18
+ /**
19
+ * Requires an owner/admin Clerk session. Immediately invalidates tokens minted
20
+ * through this binding. Rebinding later does not revive those tokens.
21
+ */
22
+ revoke(keyID, params, options) {
23
+ const { id } = params;
24
+ return this._client.delete(path `/connectors/v1/applications/${id}/keys/${keyID}`, {
25
+ ...options,
26
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
27
+ });
28
+ }
29
+ }
30
+ //# sourceMappingURL=keys.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AAExD,OAAO,EAAE,YAAY,EAAE,yCAAqC;AAE5D,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAa,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE;YAChF,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"}
@@ -0,0 +1,2 @@
1
+ export * from "./applications/index.mjs";
2
+ //# sourceMappingURL=applications.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applications.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":"AAEA,yCAAqC"}
@@ -0,0 +1,2 @@
1
+ export * from "./applications/index.js";
2
+ //# sourceMappingURL=applications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":"AAEA,wCAAqC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../../../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./applications/index.js"), exports);
6
+ //# sourceMappingURL=applications.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applications.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAAqC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./applications/index.mjs";
3
+ //# sourceMappingURL=applications.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applications.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,yCAAqC"}
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.mjs";
2
2
  import { APIPromise } from "../../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../../internal/request-options.mjs";
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.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+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H,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,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.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;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,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