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,24 +2,24 @@ 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 Links extends APIResource {
8
8
  /**
9
9
  * Retrieve one link: state, counts, and embedded active_run/last_run. Poll this
10
10
  * after POST /transfer.
11
11
  */
12
- retrieve(id: string, options?: RequestOptions): APIPromise<void>;
12
+ retrieve(id: string, params?: LinkRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<void>;
13
13
  /**
14
14
  * Pause/resume a link (state "paused" | "ready"), change its mode (synced -> once
15
15
  * is the sync downgrade), or edit its policy in place.
16
16
  */
17
- update(id: string, body: LinkUpdateParams, options?: RequestOptions): APIPromise<void>;
17
+ update(id: string, params: LinkUpdateParams, options?: RequestOptions): APIPromise<void>;
18
18
  /**
19
19
  * List transfer links, filterable by vault, connection, direction, mode, and
20
20
  * state.
21
21
  */
22
- list(query?: LinkListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
22
+ list(params?: LinkListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
23
23
  /**
24
24
  * Delete a link and its ledger. vault_docs=delete additionally removes the vault
25
25
  * documents an import link brought in (default: keep).
@@ -29,29 +29,103 @@ export declare class Links extends APIResource {
29
29
  * Per-file transfer ledger for a link: provider item, vault object, path, content
30
30
  * version, state, and error.
31
31
  */
32
- listObjects(id: string, query?: LinkListObjectsParams | null | undefined, options?: RequestOptions): APIPromise<void>;
32
+ listObjects(id: string, params?: LinkListObjectsParams | null | undefined, options?: RequestOptions): APIPromise<void>;
33
+ }
34
+ export interface LinkRetrieveParams {
35
+ /**
36
+ * Trusted server-to-server application-user assertion. Derive it from the
37
+ * authenticated application session, never browser input. Omit only for the legacy
38
+ * organization-scoped namespace.
39
+ */
40
+ 'x-case-connector-subject'?: string;
33
41
  }
34
42
  export interface LinkUpdateParams {
43
+ /**
44
+ * Body param
45
+ */
35
46
  mode?: 'once' | 'synced';
47
+ /**
48
+ * Body param: Replaces the entire stored policy; omitted fields return to
49
+ * defaults. Repeat deletes, collisions and filters that should be retained.
50
+ * Folder/file exclusions require deletes: preserve (the default).
51
+ */
36
52
  policy?: unknown;
53
+ /**
54
+ * Body param
55
+ */
37
56
  state?: 'paused' | 'ready';
57
+ /**
58
+ * Header param: Trusted server-to-server application-user assertion. Derive it
59
+ * from the authenticated application session, never browser input. Omit only for
60
+ * the legacy organization-scoped namespace.
61
+ */
62
+ 'x-case-connector-subject'?: string;
38
63
  }
39
64
  export interface LinkListParams {
65
+ /**
66
+ * Query param
67
+ */
40
68
  connection_id?: string;
69
+ /**
70
+ * Query param: Opaque cursor from the previous page.
71
+ */
72
+ cursor?: string;
73
+ /**
74
+ * Query param
75
+ */
41
76
  direction?: 'import' | 'export';
77
+ /**
78
+ * Query param
79
+ */
42
80
  mode?: 'once' | 'synced';
81
+ /**
82
+ * Query param
83
+ */
43
84
  pair_id?: string;
85
+ /**
86
+ * Query param
87
+ */
44
88
  state?: 'ready' | 'running' | 'active' | 'paused' | 'orphaned' | 'error';
89
+ /**
90
+ * Query param
91
+ */
45
92
  vault_id?: string;
93
+ /**
94
+ * Header param: Trusted server-to-server application-user assertion. Derive it
95
+ * from the authenticated application session, never browser input. Omit only for
96
+ * the legacy organization-scoped namespace.
97
+ */
98
+ 'x-case-connector-subject'?: string;
46
99
  }
47
100
  export interface LinkDeleteParams {
101
+ /**
102
+ * Query param
103
+ */
48
104
  vault_docs?: 'keep' | 'delete';
105
+ /**
106
+ * Header param: Trusted server-to-server application-user assertion. Derive it
107
+ * from the authenticated application session, never browser input. Omit only for
108
+ * the legacy organization-scoped namespace.
109
+ */
110
+ 'x-case-connector-subject'?: string;
49
111
  }
50
112
  export interface LinkListObjectsParams {
113
+ /**
114
+ * Query param
115
+ */
51
116
  cursor?: string;
117
+ /**
118
+ * Query param
119
+ */
52
120
  state?: 'pending' | 'transferring' | 'ingesting' | 'synced' | 'skipped' | 'failed' | 'tombstoned';
121
+ /**
122
+ * Header param: Trusted server-to-server application-user assertion. Derive it
123
+ * from the authenticated application session, never browser input. Omit only for
124
+ * the legacy organization-scoped namespace.
125
+ */
126
+ 'x-case-connector-subject'?: string;
53
127
  }
54
128
  export declare namespace Links {
55
- export { type LinkUpdateParams as LinkUpdateParams, type LinkListParams as LinkListParams, type LinkDeleteParams as LinkDeleteParams, type LinkListObjectsParams as LinkListObjectsParams, };
129
+ export { type LinkRetrieveParams as LinkRetrieveParams, type LinkUpdateParams as LinkUpdateParams, type LinkListParams as LinkListParams, type LinkDeleteParams as LinkDeleteParams, type LinkListObjectsParams as LinkListObjectsParams, };
56
130
  }
57
131
  //# sourceMappingURL=links.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"links.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/links.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,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,I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AAG,SAAS,GAAG,QAAQ,GAAG,YAAY,CAAC;IAElG;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -2,24 +2,24 @@ 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 Links extends APIResource {
8
8
  /**
9
9
  * Retrieve one link: state, counts, and embedded active_run/last_run. Poll this
10
10
  * after POST /transfer.
11
11
  */
12
- retrieve(id: string, options?: RequestOptions): APIPromise<void>;
12
+ retrieve(id: string, params?: LinkRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<void>;
13
13
  /**
14
14
  * Pause/resume a link (state "paused" | "ready"), change its mode (synced -> once
15
15
  * is the sync downgrade), or edit its policy in place.
16
16
  */
17
- update(id: string, body: LinkUpdateParams, options?: RequestOptions): APIPromise<void>;
17
+ update(id: string, params: LinkUpdateParams, options?: RequestOptions): APIPromise<void>;
18
18
  /**
19
19
  * List transfer links, filterable by vault, connection, direction, mode, and
20
20
  * state.
21
21
  */
22
- list(query?: LinkListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
22
+ list(params?: LinkListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
23
23
  /**
24
24
  * Delete a link and its ledger. vault_docs=delete additionally removes the vault
25
25
  * documents an import link brought in (default: keep).
@@ -29,29 +29,103 @@ export declare class Links extends APIResource {
29
29
  * Per-file transfer ledger for a link: provider item, vault object, path, content
30
30
  * version, state, and error.
31
31
  */
32
- listObjects(id: string, query?: LinkListObjectsParams | null | undefined, options?: RequestOptions): APIPromise<void>;
32
+ listObjects(id: string, params?: LinkListObjectsParams | null | undefined, options?: RequestOptions): APIPromise<void>;
33
+ }
34
+ export interface LinkRetrieveParams {
35
+ /**
36
+ * Trusted server-to-server application-user assertion. Derive it from the
37
+ * authenticated application session, never browser input. Omit only for the legacy
38
+ * organization-scoped namespace.
39
+ */
40
+ 'x-case-connector-subject'?: string;
33
41
  }
34
42
  export interface LinkUpdateParams {
43
+ /**
44
+ * Body param
45
+ */
35
46
  mode?: 'once' | 'synced';
47
+ /**
48
+ * Body param: Replaces the entire stored policy; omitted fields return to
49
+ * defaults. Repeat deletes, collisions and filters that should be retained.
50
+ * Folder/file exclusions require deletes: preserve (the default).
51
+ */
36
52
  policy?: unknown;
53
+ /**
54
+ * Body param
55
+ */
37
56
  state?: 'paused' | 'ready';
57
+ /**
58
+ * Header param: Trusted server-to-server application-user assertion. Derive it
59
+ * from the authenticated application session, never browser input. Omit only for
60
+ * the legacy organization-scoped namespace.
61
+ */
62
+ 'x-case-connector-subject'?: string;
38
63
  }
39
64
  export interface LinkListParams {
65
+ /**
66
+ * Query param
67
+ */
40
68
  connection_id?: string;
69
+ /**
70
+ * Query param: Opaque cursor from the previous page.
71
+ */
72
+ cursor?: string;
73
+ /**
74
+ * Query param
75
+ */
41
76
  direction?: 'import' | 'export';
77
+ /**
78
+ * Query param
79
+ */
42
80
  mode?: 'once' | 'synced';
81
+ /**
82
+ * Query param
83
+ */
43
84
  pair_id?: string;
85
+ /**
86
+ * Query param
87
+ */
44
88
  state?: 'ready' | 'running' | 'active' | 'paused' | 'orphaned' | 'error';
89
+ /**
90
+ * Query param
91
+ */
45
92
  vault_id?: string;
93
+ /**
94
+ * Header param: Trusted server-to-server application-user assertion. Derive it
95
+ * from the authenticated application session, never browser input. Omit only for
96
+ * the legacy organization-scoped namespace.
97
+ */
98
+ 'x-case-connector-subject'?: string;
46
99
  }
47
100
  export interface LinkDeleteParams {
101
+ /**
102
+ * Query param
103
+ */
48
104
  vault_docs?: 'keep' | 'delete';
105
+ /**
106
+ * Header param: Trusted server-to-server application-user assertion. Derive it
107
+ * from the authenticated application session, never browser input. Omit only for
108
+ * the legacy organization-scoped namespace.
109
+ */
110
+ 'x-case-connector-subject'?: string;
49
111
  }
50
112
  export interface LinkListObjectsParams {
113
+ /**
114
+ * Query param
115
+ */
51
116
  cursor?: string;
117
+ /**
118
+ * Query param
119
+ */
52
120
  state?: 'pending' | 'transferring' | 'ingesting' | 'synced' | 'skipped' | 'failed' | 'tombstoned';
121
+ /**
122
+ * Header param: Trusted server-to-server application-user assertion. Derive it
123
+ * from the authenticated application session, never browser input. Omit only for
124
+ * the legacy organization-scoped namespace.
125
+ */
126
+ 'x-case-connector-subject'?: string;
53
127
  }
54
128
  export declare namespace Links {
55
- export { type LinkUpdateParams as LinkUpdateParams, type LinkListParams as LinkListParams, type LinkDeleteParams as LinkDeleteParams, type LinkListObjectsParams as LinkListObjectsParams, };
129
+ export { type LinkRetrieveParams as LinkRetrieveParams, type LinkUpdateParams as LinkUpdateParams, type LinkListParams as LinkListParams, type LinkDeleteParams as LinkDeleteParams, type LinkListObjectsParams as LinkListObjectsParams, };
56
130
  }
57
131
  //# sourceMappingURL=links.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/links.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,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;;OAGG;IACH,MAAM,CAAC,EAAE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WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,YAAY,CAAC;IAElG;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -6,39 +6,66 @@ 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 Links extends resource_1.APIResource {
12
12
  /**
13
13
  * Retrieve one link: state, counts, and embedded active_run/last_run. Poll this
14
14
  * after POST /transfer.
15
15
  */
16
- retrieve(id, options) {
16
+ retrieve(id, params = {}, options) {
17
+ const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
17
18
  return this._client.get((0, path_1.path) `/connectors/v1/links/${id}`, {
18
19
  ...options,
19
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
20
+ headers: (0, headers_1.buildHeaders)([
21
+ {
22
+ Accept: '*/*',
23
+ ...(xCaseConnectorSubject != null ?
24
+ { 'x-case-connector-subject': xCaseConnectorSubject }
25
+ : undefined),
26
+ },
27
+ options?.headers,
28
+ ]),
20
29
  });
21
30
  }
22
31
  /**
23
32
  * Pause/resume a link (state "paused" | "ready"), change its mode (synced -> once
24
33
  * is the sync downgrade), or edit its policy in place.
25
34
  */
26
- update(id, body, options) {
35
+ update(id, params, options) {
36
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
27
37
  return this._client.patch((0, path_1.path) `/connectors/v1/links/${id}`, {
28
38
  body,
29
39
  ...options,
30
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
40
+ headers: (0, headers_1.buildHeaders)([
41
+ {
42
+ Accept: '*/*',
43
+ ...(xCaseConnectorSubject != null ?
44
+ { 'x-case-connector-subject': xCaseConnectorSubject }
45
+ : undefined),
46
+ },
47
+ options?.headers,
48
+ ]),
31
49
  });
32
50
  }
33
51
  /**
34
52
  * List transfer links, filterable by vault, connection, direction, mode, and
35
53
  * state.
36
54
  */
37
- list(query = {}, options) {
55
+ list(params = {}, options) {
56
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
38
57
  return this._client.get('/connectors/v1/links', {
39
58
  query,
40
59
  ...options,
41
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
60
+ headers: (0, headers_1.buildHeaders)([
61
+ {
62
+ Accept: '*/*',
63
+ ...(xCaseConnectorSubject != null ?
64
+ { 'x-case-connector-subject': xCaseConnectorSubject }
65
+ : undefined),
66
+ },
67
+ options?.headers,
68
+ ]),
42
69
  });
43
70
  }
44
71
  /**
@@ -46,22 +73,39 @@ class Links extends resource_1.APIResource {
46
73
  * documents an import link brought in (default: keep).
47
74
  */
48
75
  delete(id, params = {}, options) {
49
- const { vault_docs } = params ?? {};
76
+ const { vault_docs, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
50
77
  return this._client.delete((0, path_1.path) `/connectors/v1/links/${id}`, {
51
78
  query: { vault_docs },
52
79
  ...options,
53
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
80
+ headers: (0, headers_1.buildHeaders)([
81
+ {
82
+ Accept: '*/*',
83
+ ...(xCaseConnectorSubject != null ?
84
+ { 'x-case-connector-subject': xCaseConnectorSubject }
85
+ : undefined),
86
+ },
87
+ options?.headers,
88
+ ]),
54
89
  });
55
90
  }
56
91
  /**
57
92
  * Per-file transfer ledger for a link: provider item, vault object, path, content
58
93
  * version, state, and error.
59
94
  */
60
- listObjects(id, query = {}, options) {
95
+ listObjects(id, params = {}, options) {
96
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
61
97
  return this._client.get((0, path_1.path) `/connectors/v1/links/${id}/objects`, {
62
98
  query,
63
99
  ...options,
64
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
100
+ headers: (0, headers_1.buildHeaders)([
101
+ {
102
+ Accept: '*/*',
103
+ ...(xCaseConnectorSubject != null ?
104
+ { 'x-case-connector-subject': xCaseConnectorSubject }
105
+ : undefined),
106
+ },
107
+ options?.headers,
108
+ ]),
65
109
  });
66
110
  }
67
111
  }
@@ -1 +1 @@
1
- {"version":3,"file":"links.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,EAAE,EAAE;YACxD,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;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,IAAsB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,EAAE,EAAE;YAC1D,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,C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M,EAAE,KAAK;oBACb,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AApHD,sBAoHC"}
@@ -3,39 +3,66 @@ 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 Links extends APIResource {
9
9
  /**
10
10
  * Retrieve one link: state, counts, and embedded active_run/last_run. Poll this
11
11
  * after POST /transfer.
12
12
  */
13
- retrieve(id, options) {
13
+ retrieve(id, params = {}, options) {
14
+ const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
14
15
  return this._client.get(path `/connectors/v1/links/${id}`, {
15
16
  ...options,
16
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
17
+ headers: buildHeaders([
18
+ {
19
+ Accept: '*/*',
20
+ ...(xCaseConnectorSubject != null ?
21
+ { 'x-case-connector-subject': xCaseConnectorSubject }
22
+ : undefined),
23
+ },
24
+ options?.headers,
25
+ ]),
17
26
  });
18
27
  }
19
28
  /**
20
29
  * Pause/resume a link (state "paused" | "ready"), change its mode (synced -> once
21
30
  * is the sync downgrade), or edit its policy in place.
22
31
  */
23
- update(id, body, options) {
32
+ update(id, params, options) {
33
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
24
34
  return this._client.patch(path `/connectors/v1/links/${id}`, {
25
35
  body,
26
36
  ...options,
27
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
37
+ headers: buildHeaders([
38
+ {
39
+ Accept: '*/*',
40
+ ...(xCaseConnectorSubject != null ?
41
+ { 'x-case-connector-subject': xCaseConnectorSubject }
42
+ : undefined),
43
+ },
44
+ options?.headers,
45
+ ]),
28
46
  });
29
47
  }
30
48
  /**
31
49
  * List transfer links, filterable by vault, connection, direction, mode, and
32
50
  * state.
33
51
  */
34
- list(query = {}, options) {
52
+ list(params = {}, options) {
53
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
35
54
  return this._client.get('/connectors/v1/links', {
36
55
  query,
37
56
  ...options,
38
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
57
+ headers: buildHeaders([
58
+ {
59
+ Accept: '*/*',
60
+ ...(xCaseConnectorSubject != null ?
61
+ { 'x-case-connector-subject': xCaseConnectorSubject }
62
+ : undefined),
63
+ },
64
+ options?.headers,
65
+ ]),
39
66
  });
40
67
  }
41
68
  /**
@@ -43,22 +70,39 @@ export class Links extends APIResource {
43
70
  * documents an import link brought in (default: keep).
44
71
  */
45
72
  delete(id, params = {}, options) {
46
- const { vault_docs } = params ?? {};
73
+ const { vault_docs, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
47
74
  return this._client.delete(path `/connectors/v1/links/${id}`, {
48
75
  query: { vault_docs },
49
76
  ...options,
50
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
77
+ headers: buildHeaders([
78
+ {
79
+ Accept: '*/*',
80
+ ...(xCaseConnectorSubject != null ?
81
+ { 'x-case-connector-subject': xCaseConnectorSubject }
82
+ : undefined),
83
+ },
84
+ options?.headers,
85
+ ]),
51
86
  });
52
87
  }
53
88
  /**
54
89
  * Per-file transfer ledger for a link: provider item, vault object, path, content
55
90
  * version, state, and error.
56
91
  */
57
- listObjects(id, query = {}, options) {
92
+ listObjects(id, params = {}, options) {
93
+ const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
58
94
  return this._client.get(path `/connectors/v1/links/${id}/objects`, {
59
95
  query,
60
96
  ...options,
61
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
97
+ headers: buildHeaders([
98
+ {
99
+ Accept: '*/*',
100
+ ...(xCaseConnectorSubject != null ?
101
+ { 'x-case-connector-subject': xCaseConnectorSubject }
102
+ : undefined),
103
+ },
104
+ options?.headers,
105
+ ]),
62
106
  });
63
107
  }
64
108
  }
@@ -1 +1 @@
1
- {"version":3,"file":"links.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/links.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,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,EAAE,EAAE,EAAE;YACxD,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;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,IAAsB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,wBAAwB,EAAE,EAAE,EAAE;YAC1D,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;IAED;;;OAGG;IACH,IAAI,CAAC,QAA2C,EAAE,EAAE,OAAwB;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE;YAC9C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OA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