@letta-ai/letta-client 0.1.160 → 0.1.162

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 (322) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +43 -38
  3. package/api/resources/agents/client/Client.d.ts +6 -48
  4. package/api/resources/agents/client/Client.js +34 -231
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/files/client/Client.d.ts +83 -0
  9. package/api/resources/agents/resources/files/client/Client.js +276 -0
  10. package/api/resources/agents/resources/files/client/index.d.ts +1 -0
  11. package/api/resources/agents/resources/files/client/index.js +2 -0
  12. package/api/resources/agents/resources/files/index.d.ts +1 -0
  13. package/api/resources/agents/resources/files/index.js +17 -0
  14. package/api/resources/agents/resources/folders/client/Client.d.ts +74 -0
  15. package/api/resources/agents/resources/folders/client/Client.js +272 -0
  16. package/api/resources/agents/resources/folders/client/index.d.ts +1 -0
  17. package/api/resources/agents/resources/folders/client/index.js +2 -0
  18. package/api/resources/agents/resources/folders/index.d.ts +1 -0
  19. package/api/resources/agents/resources/folders/index.js +17 -0
  20. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  21. package/api/resources/agents/resources/index.d.ts +2 -0
  22. package/api/resources/agents/resources/index.js +3 -1
  23. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  24. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  25. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  26. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  27. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  28. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  29. package/api/resources/batches/client/Client.js +4 -4
  30. package/api/resources/blocks/client/Client.js +6 -6
  31. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  32. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  33. package/api/resources/embeddingModels/client/Client.js +1 -1
  34. package/api/resources/folders/client/Client.d.ts +157 -0
  35. package/api/resources/folders/client/Client.js +691 -0
  36. package/api/resources/folders/client/index.d.ts +1 -0
  37. package/api/resources/folders/client/index.js +17 -0
  38. package/api/resources/folders/client/requests/FolderCreate.d.ts +26 -0
  39. package/api/resources/folders/client/requests/FolderCreate.js +5 -0
  40. package/api/resources/folders/client/requests/FolderUpdate.d.ts +20 -0
  41. package/api/resources/folders/client/requests/FolderUpdate.js +5 -0
  42. package/api/resources/folders/client/requests/GetFoldersMetadataRequest.d.ts +10 -0
  43. package/api/resources/folders/client/requests/GetFoldersMetadataRequest.js +5 -0
  44. package/api/resources/folders/client/requests/index.d.ts +3 -0
  45. package/api/resources/folders/client/requests/index.js +2 -0
  46. package/api/resources/folders/index.d.ts +2 -0
  47. package/api/resources/folders/index.js +18 -0
  48. package/api/resources/folders/resources/files/client/Client.d.ts +78 -0
  49. package/api/resources/folders/resources/files/client/Client.js +289 -0
  50. package/api/resources/folders/resources/files/client/index.d.ts +1 -0
  51. package/api/resources/folders/resources/files/client/index.js +17 -0
  52. package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +14 -0
  53. package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.js +5 -0
  54. package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +21 -0
  55. package/api/resources/folders/resources/files/client/requests/FilesListRequest.js +5 -0
  56. package/api/resources/folders/resources/files/client/requests/index.d.ts +2 -0
  57. package/api/resources/folders/resources/files/client/requests/index.js +2 -0
  58. package/api/resources/folders/resources/files/index.d.ts +1 -0
  59. package/api/resources/folders/resources/files/index.js +17 -0
  60. package/api/resources/folders/resources/index.d.ts +4 -0
  61. package/api/resources/folders/resources/index.js +43 -0
  62. package/api/resources/folders/resources/passages/client/Client.d.ts +49 -0
  63. package/api/resources/folders/resources/passages/client/Client.js +149 -0
  64. package/api/resources/folders/resources/passages/client/index.d.ts +1 -0
  65. package/api/resources/folders/resources/passages/client/index.js +17 -0
  66. package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
  67. package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.js +5 -0
  68. package/api/resources/folders/resources/passages/client/requests/index.d.ts +1 -0
  69. package/api/resources/folders/resources/passages/client/requests/index.js +2 -0
  70. package/api/resources/folders/resources/passages/index.d.ts +1 -0
  71. package/api/resources/folders/resources/passages/index.js +17 -0
  72. package/api/resources/groups/client/Client.js +6 -6
  73. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  74. package/api/resources/health/client/Client.js +1 -1
  75. package/api/resources/identities/client/Client.js +7 -7
  76. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  77. package/api/resources/index.d.ts +2 -0
  78. package/api/resources/index.js +3 -1
  79. package/api/resources/jobs/client/Client.js +5 -5
  80. package/api/resources/messages/client/Client.js +1 -1
  81. package/api/resources/models/client/Client.js +1 -1
  82. package/api/resources/projects/client/Client.js +1 -1
  83. package/api/resources/providers/client/Client.js +5 -5
  84. package/api/resources/runs/client/Client.js +4 -4
  85. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  86. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  87. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  88. package/api/resources/sources/client/Client.js +10 -10
  89. package/api/resources/sources/resources/files/client/Client.js +3 -3
  90. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  91. package/api/resources/steps/client/Client.js +2 -2
  92. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  93. package/api/resources/tags/client/Client.js +1 -1
  94. package/api/resources/telemetry/client/Client.js +1 -1
  95. package/api/resources/templates/client/Client.js +1 -1
  96. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  97. package/api/resources/tools/client/Client.js +19 -19
  98. package/api/resources/voice/client/Client.js +1 -1
  99. package/api/types/Folder.d.ts +37 -0
  100. package/api/types/Folder.js +5 -0
  101. package/api/types/index.d.ts +1 -0
  102. package/api/types/index.js +1 -0
  103. package/dist/Client.d.ts +3 -0
  104. package/dist/Client.js +43 -38
  105. package/dist/api/resources/agents/client/Client.d.ts +6 -48
  106. package/dist/api/resources/agents/client/Client.js +34 -231
  107. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  108. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  109. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  110. package/dist/api/resources/agents/resources/files/client/Client.d.ts +83 -0
  111. package/dist/api/resources/agents/resources/files/client/Client.js +276 -0
  112. package/dist/api/resources/agents/resources/files/client/index.d.ts +1 -0
  113. package/dist/api/resources/agents/resources/files/client/index.js +2 -0
  114. package/dist/api/resources/agents/resources/files/index.d.ts +1 -0
  115. package/dist/api/resources/agents/resources/files/index.js +17 -0
  116. package/dist/api/resources/agents/resources/folders/client/Client.d.ts +74 -0
  117. package/dist/api/resources/agents/resources/folders/client/Client.js +272 -0
  118. package/dist/api/resources/agents/resources/folders/client/index.d.ts +1 -0
  119. package/dist/api/resources/agents/resources/folders/client/index.js +2 -0
  120. package/dist/api/resources/agents/resources/folders/index.d.ts +1 -0
  121. package/dist/api/resources/agents/resources/folders/index.js +17 -0
  122. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  123. package/dist/api/resources/agents/resources/index.d.ts +2 -0
  124. package/dist/api/resources/agents/resources/index.js +3 -1
  125. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  126. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  127. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  128. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  129. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  130. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  131. package/dist/api/resources/batches/client/Client.js +4 -4
  132. package/dist/api/resources/blocks/client/Client.js +6 -6
  133. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  134. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  135. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  136. package/dist/api/resources/folders/client/Client.d.ts +157 -0
  137. package/dist/api/resources/folders/client/Client.js +691 -0
  138. package/dist/api/resources/folders/client/index.d.ts +1 -0
  139. package/dist/api/resources/folders/client/index.js +17 -0
  140. package/dist/api/resources/folders/client/requests/FolderCreate.d.ts +26 -0
  141. package/dist/api/resources/folders/client/requests/FolderCreate.js +5 -0
  142. package/dist/api/resources/folders/client/requests/FolderUpdate.d.ts +20 -0
  143. package/dist/api/resources/folders/client/requests/FolderUpdate.js +5 -0
  144. package/dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.d.ts +10 -0
  145. package/dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js +5 -0
  146. package/dist/api/resources/folders/client/requests/index.d.ts +3 -0
  147. package/dist/api/resources/folders/client/requests/index.js +2 -0
  148. package/dist/api/resources/folders/index.d.ts +2 -0
  149. package/dist/api/resources/folders/index.js +18 -0
  150. package/dist/api/resources/folders/resources/files/client/Client.d.ts +78 -0
  151. package/dist/api/resources/folders/resources/files/client/Client.js +289 -0
  152. package/dist/api/resources/folders/resources/files/client/index.d.ts +1 -0
  153. package/dist/api/resources/folders/resources/files/client/index.js +17 -0
  154. package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +14 -0
  155. package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.js +5 -0
  156. package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +21 -0
  157. package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.js +5 -0
  158. package/dist/api/resources/folders/resources/files/client/requests/index.d.ts +2 -0
  159. package/dist/api/resources/folders/resources/files/client/requests/index.js +2 -0
  160. package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
  161. package/dist/api/resources/folders/resources/files/index.js +17 -0
  162. package/dist/api/resources/folders/resources/index.d.ts +4 -0
  163. package/dist/api/resources/folders/resources/index.js +43 -0
  164. package/dist/api/resources/folders/resources/passages/client/Client.d.ts +49 -0
  165. package/dist/api/resources/folders/resources/passages/client/Client.js +149 -0
  166. package/dist/api/resources/folders/resources/passages/client/index.d.ts +1 -0
  167. package/dist/api/resources/folders/resources/passages/client/index.js +17 -0
  168. package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
  169. package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.js +5 -0
  170. package/dist/api/resources/folders/resources/passages/client/requests/index.d.ts +1 -0
  171. package/dist/api/resources/folders/resources/passages/client/requests/index.js +2 -0
  172. package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
  173. package/dist/api/resources/folders/resources/passages/index.js +17 -0
  174. package/dist/api/resources/groups/client/Client.js +6 -6
  175. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  176. package/dist/api/resources/health/client/Client.js +1 -1
  177. package/dist/api/resources/identities/client/Client.js +7 -7
  178. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  179. package/dist/api/resources/index.d.ts +2 -0
  180. package/dist/api/resources/index.js +3 -1
  181. package/dist/api/resources/jobs/client/Client.js +5 -5
  182. package/dist/api/resources/messages/client/Client.js +1 -1
  183. package/dist/api/resources/models/client/Client.js +1 -1
  184. package/dist/api/resources/projects/client/Client.js +1 -1
  185. package/dist/api/resources/providers/client/Client.js +5 -5
  186. package/dist/api/resources/runs/client/Client.js +4 -4
  187. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  188. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  189. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  190. package/dist/api/resources/sources/client/Client.js +10 -10
  191. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  192. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  193. package/dist/api/resources/steps/client/Client.js +2 -2
  194. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  195. package/dist/api/resources/tags/client/Client.js +1 -1
  196. package/dist/api/resources/telemetry/client/Client.js +1 -1
  197. package/dist/api/resources/templates/client/Client.js +1 -1
  198. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  199. package/dist/api/resources/tools/client/Client.js +19 -19
  200. package/dist/api/resources/voice/client/Client.js +1 -1
  201. package/dist/api/types/Folder.d.ts +37 -0
  202. package/dist/api/types/Folder.js +5 -0
  203. package/dist/api/types/index.d.ts +1 -0
  204. package/dist/api/types/index.js +1 -0
  205. package/dist/serialization/resources/agents/client/index.d.ts +0 -2
  206. package/dist/serialization/resources/agents/client/index.js +1 -3
  207. package/dist/serialization/resources/agents/resources/files/client/closeAll.d.ts +9 -0
  208. package/{serialization/resources/agents/client/closeAllOpenFiles.js → dist/serialization/resources/agents/resources/files/client/closeAll.js} +1 -1
  209. package/dist/serialization/resources/agents/resources/files/client/index.d.ts +2 -0
  210. package/dist/serialization/resources/agents/resources/files/client/index.js +38 -0
  211. package/dist/serialization/resources/agents/resources/files/client/open.d.ts +9 -0
  212. package/{serialization/resources/agents/client/openFile.js → dist/serialization/resources/agents/resources/files/client/open.js} +1 -1
  213. package/dist/serialization/resources/agents/resources/files/index.d.ts +1 -0
  214. package/dist/serialization/resources/agents/resources/files/index.js +17 -0
  215. package/dist/serialization/resources/agents/resources/folders/client/index.d.ts +1 -0
  216. package/dist/serialization/resources/agents/resources/folders/client/index.js +37 -0
  217. package/dist/serialization/resources/agents/resources/folders/client/list.d.ts +11 -0
  218. package/dist/serialization/resources/agents/resources/folders/client/list.js +42 -0
  219. package/dist/serialization/resources/agents/resources/folders/index.d.ts +1 -0
  220. package/dist/serialization/resources/agents/resources/folders/index.js +17 -0
  221. package/dist/serialization/resources/agents/resources/index.d.ts +2 -0
  222. package/dist/serialization/resources/agents/resources/index.js +3 -1
  223. package/dist/serialization/resources/{agents/client/openFile.d.ts → folders/client/count.d.ts} +2 -2
  224. package/dist/serialization/resources/folders/client/count.js +41 -0
  225. package/dist/serialization/resources/{agents/client/closeAllOpenFiles.d.ts → folders/client/getAgentsForFolder.d.ts} +1 -1
  226. package/dist/serialization/resources/folders/client/index.d.ts +5 -0
  227. package/dist/serialization/resources/folders/client/index.js +44 -0
  228. package/dist/serialization/resources/folders/client/list.d.ts +11 -0
  229. package/dist/serialization/resources/folders/client/list.js +42 -0
  230. package/dist/serialization/resources/folders/client/requests/FolderCreate.d.ts +19 -0
  231. package/dist/serialization/resources/folders/client/requests/FolderCreate.js +50 -0
  232. package/dist/serialization/resources/folders/client/requests/FolderUpdate.d.ts +17 -0
  233. package/dist/serialization/resources/folders/client/requests/FolderUpdate.js +48 -0
  234. package/dist/serialization/resources/folders/client/requests/index.d.ts +2 -0
  235. package/dist/serialization/resources/folders/client/requests/index.js +7 -0
  236. package/dist/serialization/resources/folders/client/retrieveByName.d.ts +9 -0
  237. package/dist/serialization/resources/folders/client/retrieveByName.js +41 -0
  238. package/dist/serialization/resources/folders/index.d.ts +2 -0
  239. package/dist/serialization/resources/folders/index.js +18 -0
  240. package/dist/serialization/resources/folders/resources/files/client/index.d.ts +1 -0
  241. package/dist/serialization/resources/folders/resources/files/client/index.js +37 -0
  242. package/dist/serialization/resources/folders/resources/files/client/list.d.ts +11 -0
  243. package/dist/serialization/resources/folders/resources/files/client/list.js +42 -0
  244. package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
  245. package/dist/serialization/resources/folders/resources/files/index.js +17 -0
  246. package/dist/serialization/resources/folders/resources/index.d.ts +2 -0
  247. package/dist/serialization/resources/folders/resources/index.js +38 -0
  248. package/dist/serialization/resources/folders/resources/passages/client/index.d.ts +1 -0
  249. package/dist/serialization/resources/folders/resources/passages/client/index.js +37 -0
  250. package/dist/serialization/resources/folders/resources/passages/client/list.d.ts +11 -0
  251. package/dist/serialization/resources/folders/resources/passages/client/list.js +42 -0
  252. package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
  253. package/dist/serialization/resources/folders/resources/passages/index.js +17 -0
  254. package/dist/serialization/resources/index.d.ts +2 -0
  255. package/dist/serialization/resources/index.js +3 -1
  256. package/dist/serialization/types/Folder.d.ts +22 -0
  257. package/dist/serialization/types/Folder.js +53 -0
  258. package/dist/serialization/types/index.d.ts +1 -0
  259. package/dist/serialization/types/index.js +1 -0
  260. package/dist/version.d.ts +1 -1
  261. package/dist/version.js +1 -1
  262. package/package.json +1 -1
  263. package/reference.md +1931 -857
  264. package/serialization/resources/agents/client/index.d.ts +0 -2
  265. package/serialization/resources/agents/client/index.js +1 -3
  266. package/serialization/resources/agents/resources/files/client/closeAll.d.ts +9 -0
  267. package/serialization/resources/agents/resources/files/client/closeAll.js +41 -0
  268. package/serialization/resources/agents/resources/files/client/index.d.ts +2 -0
  269. package/serialization/resources/agents/resources/files/client/index.js +38 -0
  270. package/serialization/resources/agents/resources/files/client/open.d.ts +9 -0
  271. package/serialization/resources/agents/resources/files/client/open.js +41 -0
  272. package/serialization/resources/agents/resources/files/index.d.ts +1 -0
  273. package/serialization/resources/agents/resources/files/index.js +17 -0
  274. package/serialization/resources/agents/resources/folders/client/index.d.ts +1 -0
  275. package/serialization/resources/agents/resources/folders/client/index.js +37 -0
  276. package/serialization/resources/agents/resources/folders/client/list.d.ts +11 -0
  277. package/serialization/resources/agents/resources/folders/client/list.js +42 -0
  278. package/serialization/resources/agents/resources/folders/index.d.ts +1 -0
  279. package/serialization/resources/agents/resources/folders/index.js +17 -0
  280. package/serialization/resources/agents/resources/index.d.ts +2 -0
  281. package/serialization/resources/agents/resources/index.js +3 -1
  282. package/serialization/resources/{agents/client/openFile.d.ts → folders/client/count.d.ts} +2 -2
  283. package/serialization/resources/folders/client/count.js +41 -0
  284. package/serialization/resources/{agents/client/closeAllOpenFiles.d.ts → folders/client/getAgentsForFolder.d.ts} +1 -1
  285. package/serialization/resources/folders/client/index.d.ts +5 -0
  286. package/serialization/resources/folders/client/index.js +44 -0
  287. package/serialization/resources/folders/client/list.d.ts +11 -0
  288. package/serialization/resources/folders/client/list.js +42 -0
  289. package/serialization/resources/folders/client/requests/FolderCreate.d.ts +19 -0
  290. package/serialization/resources/folders/client/requests/FolderCreate.js +50 -0
  291. package/serialization/resources/folders/client/requests/FolderUpdate.d.ts +17 -0
  292. package/serialization/resources/folders/client/requests/FolderUpdate.js +48 -0
  293. package/serialization/resources/folders/client/requests/index.d.ts +2 -0
  294. package/serialization/resources/folders/client/requests/index.js +7 -0
  295. package/serialization/resources/folders/client/retrieveByName.d.ts +9 -0
  296. package/serialization/resources/folders/client/retrieveByName.js +41 -0
  297. package/serialization/resources/folders/index.d.ts +2 -0
  298. package/serialization/resources/folders/index.js +18 -0
  299. package/serialization/resources/folders/resources/files/client/index.d.ts +1 -0
  300. package/serialization/resources/folders/resources/files/client/index.js +37 -0
  301. package/serialization/resources/folders/resources/files/client/list.d.ts +11 -0
  302. package/serialization/resources/folders/resources/files/client/list.js +42 -0
  303. package/serialization/resources/folders/resources/files/index.d.ts +1 -0
  304. package/serialization/resources/folders/resources/files/index.js +17 -0
  305. package/serialization/resources/folders/resources/index.d.ts +2 -0
  306. package/serialization/resources/folders/resources/index.js +38 -0
  307. package/serialization/resources/folders/resources/passages/client/index.d.ts +1 -0
  308. package/serialization/resources/folders/resources/passages/client/index.js +37 -0
  309. package/serialization/resources/folders/resources/passages/client/list.d.ts +11 -0
  310. package/serialization/resources/folders/resources/passages/client/list.js +42 -0
  311. package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
  312. package/serialization/resources/folders/resources/passages/index.js +17 -0
  313. package/serialization/resources/index.d.ts +2 -0
  314. package/serialization/resources/index.js +3 -1
  315. package/serialization/types/Folder.d.ts +22 -0
  316. package/serialization/types/Folder.js +53 -0
  317. package/serialization/types/index.d.ts +1 -0
  318. package/serialization/types/index.js +1 -0
  319. package/version.d.ts +1 -1
  320. package/version.js +1 -1
  321. /package/dist/serialization/resources/{agents/client/closeAllOpenFiles.js → folders/client/getAgentsForFolder.js} +0 -0
  322. /package/{dist/serialization/resources/agents/client/openFile.js → serialization/resources/folders/client/getAgentsForFolder.js} +0 -0
@@ -86,7 +86,7 @@ class Projects {
86
86
  method: "GET",
87
87
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
88
88
  ? yield core.Supplier.get(this._options.project)
89
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -92,7 +92,7 @@ class Providers {
92
92
  method: "GET",
93
93
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
94
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -164,7 +164,7 @@ class Providers {
164
164
  method: "POST",
165
165
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
166
166
  ? yield core.Supplier.get(this._options.project)
167
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -232,7 +232,7 @@ class Providers {
232
232
  method: "DELETE",
233
233
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
234
234
  ? yield core.Supplier.get(this._options.project)
235
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
235
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
236
236
  contentType: "application/json",
237
237
  requestType: "json",
238
238
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -296,7 +296,7 @@ class Providers {
296
296
  method: "PATCH",
297
297
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
298
298
  ? yield core.Supplier.get(this._options.project)
299
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
300
  contentType: "application/json",
301
301
  requestType: "json",
302
302
  body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -361,7 +361,7 @@ class Providers {
361
361
  method: "GET",
362
362
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
363
363
  ? yield core.Supplier.get(this._options.project)
364
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
364
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
365
365
  contentType: "application/json",
366
366
  requestType: "json",
367
367
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -103,7 +103,7 @@ class Runs {
103
103
  method: "GET",
104
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
105
  ? yield core.Supplier.get(this._options.project)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -181,7 +181,7 @@ class Runs {
181
181
  method: "GET",
182
182
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
183
183
  ? yield core.Supplier.get(this._options.project)
184
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  queryParameters: _queryParams,
187
187
  requestType: "json",
@@ -249,7 +249,7 @@ class Runs {
249
249
  method: "GET",
250
250
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
251
251
  ? yield core.Supplier.get(this._options.project)
252
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
252
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -316,7 +316,7 @@ class Runs {
316
316
  method: "DELETE",
317
317
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
318
318
  ? yield core.Supplier.get(this._options.project)
319
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
319
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
320
320
  contentType: "application/json",
321
321
  requestType: "json",
322
322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -109,7 +109,7 @@ class Messages {
109
109
  method: "GET",
110
110
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
111
111
  ? yield core.Supplier.get(this._options.project)
112
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
113
  contentType: "application/json",
114
114
  queryParameters: _queryParams,
115
115
  requestType: "json",
@@ -103,7 +103,7 @@ class Steps {
103
103
  method: "GET",
104
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
105
  ? yield core.Supplier.get(this._options.project)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -78,7 +78,7 @@ class Usage {
78
78
  method: "GET",
79
79
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
80
80
  ? yield core.Supplier.get(this._options.project)
81
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Sources {
87
87
  method: "GET",
88
88
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
89
89
  ? yield core.Supplier.get(this._options.project)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  requestType: "json",
93
93
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -154,7 +154,7 @@ class Sources {
154
154
  method: "GET",
155
155
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
156
156
  ? yield core.Supplier.get(this._options.project)
157
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
158
  contentType: "application/json",
159
159
  requestType: "json",
160
160
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -221,7 +221,7 @@ class Sources {
221
221
  method: "DELETE",
222
222
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
223
223
  ? yield core.Supplier.get(this._options.project)
224
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -283,7 +283,7 @@ class Sources {
283
283
  method: "PATCH",
284
284
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
285
285
  ? yield core.Supplier.get(this._options.project)
286
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
287
  contentType: "application/json",
288
288
  requestType: "json",
289
289
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -351,7 +351,7 @@ class Sources {
351
351
  method: "GET",
352
352
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
353
353
  ? yield core.Supplier.get(this._options.project)
354
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
354
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
355
355
  contentType: "application/json",
356
356
  requestType: "json",
357
357
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -429,7 +429,7 @@ class Sources {
429
429
  method: "GET",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
433
433
  contentType: "application/json",
434
434
  queryParameters: _queryParams,
435
435
  requestType: "json",
@@ -496,7 +496,7 @@ class Sources {
496
496
  method: "GET",
497
497
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
498
498
  ? yield core.Supplier.get(this._options.project)
499
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
499
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
500
500
  contentType: "application/json",
501
501
  requestType: "json",
502
502
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -565,7 +565,7 @@ class Sources {
565
565
  method: "POST",
566
566
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
567
567
  ? yield core.Supplier.get(this._options.project)
568
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
568
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
569
569
  contentType: "application/json",
570
570
  requestType: "json",
571
571
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -633,7 +633,7 @@ class Sources {
633
633
  method: "GET",
634
634
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
635
635
  ? yield core.Supplier.get(this._options.project)
636
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
636
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
637
637
  contentType: "application/json",
638
638
  requestType: "json",
639
639
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -707,7 +707,7 @@ class Sources {
707
707
  method: "GET",
708
708
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
709
709
  ? yield core.Supplier.get(this._options.project)
710
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
710
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
711
711
  contentType: "application/json",
712
712
  queryParameters: _queryParams,
713
713
  requestType: "json",
@@ -87,7 +87,7 @@ class Files {
87
87
  method: "POST",
88
88
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
89
89
  ? yield core.Supplier.get(this._options.project)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  queryParameters: _queryParams,
92
92
  requestType: "file",
93
93
  duplex: _maybeEncodedRequest.duplex,
@@ -168,7 +168,7 @@ class Files {
168
168
  method: "GET",
169
169
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
170
170
  ? yield core.Supplier.get(this._options.project)
171
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
172
  contentType: "application/json",
173
173
  queryParameters: _queryParams,
174
174
  requestType: "json",
@@ -237,7 +237,7 @@ class Files {
237
237
  method: "DELETE",
238
238
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
239
239
  ? yield core.Supplier.get(this._options.project)
240
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -90,7 +90,7 @@ class Passages {
90
90
  method: "GET",
91
91
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -135,7 +135,7 @@ class Steps {
135
135
  method: "GET",
136
136
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
137
137
  ? yield core.Supplier.get(this._options.project)
138
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  queryParameters: _queryParams,
141
141
  requestType: "json",
@@ -203,7 +203,7 @@ class Steps {
203
203
  method: "GET",
204
204
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
205
205
  ? yield core.Supplier.get(this._options.project)
206
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
206
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
207
207
  contentType: "application/json",
208
208
  requestType: "json",
209
209
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -84,7 +84,7 @@ class Feedback {
84
84
  method: "PATCH",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  queryParameters: _queryParams,
90
90
  requestType: "json",
@@ -89,7 +89,7 @@ class Tags {
89
89
  method: "GET",
90
90
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
91
91
  ? yield core.Supplier.get(this._options.project)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
@@ -76,7 +76,7 @@ class Telemetry {
76
76
  method: "GET",
77
77
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
78
78
  ? yield core.Supplier.get(this._options.project)
79
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -94,7 +94,7 @@ class Templates {
94
94
  method: "GET",
95
95
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
96
96
  ? yield core.Supplier.get(this._options.project)
97
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -80,7 +80,7 @@ class Agents {
80
80
  method: "POST",
81
81
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
82
82
  ? yield core.Supplier.get(this._options.project)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -78,7 +78,7 @@ class Tools {
78
78
  method: "GET",
79
79
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
80
80
  ? yield core.Supplier.get(this._options.project)
81
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -145,7 +145,7 @@ class Tools {
145
145
  method: "DELETE",
146
146
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
147
147
  ? yield core.Supplier.get(this._options.project)
148
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -207,7 +207,7 @@ class Tools {
207
207
  method: "PATCH",
208
208
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
209
209
  ? yield core.Supplier.get(this._options.project)
210
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -280,7 +280,7 @@ class Tools {
280
280
  method: "GET",
281
281
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
282
282
  ? yield core.Supplier.get(this._options.project)
283
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
284
  contentType: "application/json",
285
285
  queryParameters: _queryParams,
286
286
  requestType: "json",
@@ -359,7 +359,7 @@ class Tools {
359
359
  method: "GET",
360
360
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
361
361
  ? yield core.Supplier.get(this._options.project)
362
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
362
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
363
363
  contentType: "application/json",
364
364
  queryParameters: _queryParams,
365
365
  requestType: "json",
@@ -429,7 +429,7 @@ class Tools {
429
429
  method: "POST",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
433
433
  contentType: "application/json",
434
434
  requestType: "json",
435
435
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -499,7 +499,7 @@ class Tools {
499
499
  method: "PUT",
500
500
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
501
501
  ? yield core.Supplier.get(this._options.project)
502
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
502
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
503
  contentType: "application/json",
504
504
  requestType: "json",
505
505
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -566,7 +566,7 @@ class Tools {
566
566
  method: "POST",
567
567
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
568
568
  ? yield core.Supplier.get(this._options.project)
569
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
569
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
570
570
  contentType: "application/json",
571
571
  requestType: "json",
572
572
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +638,7 @@ class Tools {
638
638
  method: "POST",
639
639
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
640
640
  ? yield core.Supplier.get(this._options.project)
641
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
641
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
642
642
  contentType: "application/json",
643
643
  requestType: "json",
644
644
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -707,7 +707,7 @@ class Tools {
707
707
  method: "GET",
708
708
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
709
709
  ? yield core.Supplier.get(this._options.project)
710
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
710
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
711
711
  contentType: "application/json",
712
712
  requestType: "json",
713
713
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -774,7 +774,7 @@ class Tools {
774
774
  method: "GET",
775
775
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
776
776
  ? yield core.Supplier.get(this._options.project)
777
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
777
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
778
778
  contentType: "application/json",
779
779
  requestType: "json",
780
780
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -841,7 +841,7 @@ class Tools {
841
841
  method: "POST",
842
842
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
843
843
  ? yield core.Supplier.get(this._options.project)
844
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
844
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
845
845
  contentType: "application/json",
846
846
  requestType: "json",
847
847
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -909,7 +909,7 @@ class Tools {
909
909
  method: "GET",
910
910
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
911
911
  ? yield core.Supplier.get(this._options.project)
912
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
912
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
913
913
  contentType: "application/json",
914
914
  requestType: "json",
915
915
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -980,7 +980,7 @@ class Tools {
980
980
  method: "PUT",
981
981
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
982
982
  ? yield core.Supplier.get(this._options.project)
983
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
983
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
984
984
  contentType: "application/json",
985
985
  requestType: "json",
986
986
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1048,7 +1048,7 @@ class Tools {
1048
1048
  method: "GET",
1049
1049
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1050
1050
  ? yield core.Supplier.get(this._options.project)
1051
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1051
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1052
1052
  contentType: "application/json",
1053
1053
  requestType: "json",
1054
1054
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1116,7 +1116,7 @@ class Tools {
1116
1116
  method: "POST",
1117
1117
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1118
1118
  ? yield core.Supplier.get(this._options.project)
1119
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1119
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1120
1120
  contentType: "application/json",
1121
1121
  requestType: "json",
1122
1122
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1183,7 +1183,7 @@ class Tools {
1183
1183
  method: "DELETE",
1184
1184
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1185
1185
  ? yield core.Supplier.get(this._options.project)
1186
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1186
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1187
1187
  contentType: "application/json",
1188
1188
  requestType: "json",
1189
1189
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1251,7 +1251,7 @@ class Tools {
1251
1251
  method: "PATCH",
1252
1252
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1253
1253
  ? yield core.Supplier.get(this._options.project)
1254
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1254
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1255
1255
  contentType: "application/json",
1256
1256
  requestType: "json",
1257
1257
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1324,7 +1324,7 @@ class Tools {
1324
1324
  method: "POST",
1325
1325
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1326
1326
  ? yield core.Supplier.get(this._options.project)
1327
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1327
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1328
1328
  contentType: "application/json",
1329
1329
  requestType: "json",
1330
1330
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -82,7 +82,7 @@ class Voice {
82
82
  method: "POST",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.160", "User-Agent": "@letta-ai/letta-client/0.1.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.162", "User-Agent": "@letta-ai/letta-client/0.1.162", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(_body, {