@letta-ai/letta-client 0.0.68656 → 0.0.68658

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 (337) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +45 -40
  3. package/README.md +9 -9
  4. package/api/resources/agents/client/Client.js +9 -9
  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.js +4 -4
  9. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  10. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  11. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  12. package/api/resources/agents/resources/messages/client/Client.js +10 -10
  13. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  14. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  15. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  16. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  17. package/api/resources/archives/client/Client.d.ts +78 -0
  18. package/api/resources/archives/client/Client.js +325 -0
  19. package/api/resources/archives/client/index.d.ts +1 -0
  20. package/api/resources/archives/client/index.js +17 -0
  21. package/api/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
  22. package/api/resources/archives/client/requests/ArchiveCreateRequest.js +5 -0
  23. package/api/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +11 -0
  24. package/api/resources/archives/client/requests/ArchiveUpdateRequest.js +5 -0
  25. package/api/resources/archives/client/requests/ListArchivesRequest.d.ts +34 -0
  26. package/api/resources/archives/client/requests/ListArchivesRequest.js +5 -0
  27. package/api/resources/archives/client/requests/index.d.ts +3 -0
  28. package/api/resources/archives/client/requests/index.js +2 -0
  29. package/api/resources/archives/index.d.ts +2 -0
  30. package/api/resources/archives/index.js +18 -0
  31. package/api/resources/archives/types/ListArchivesRequestOrder.d.ts +11 -0
  32. package/api/resources/archives/types/ListArchivesRequestOrder.js +10 -0
  33. package/api/resources/archives/types/index.d.ts +1 -0
  34. package/api/resources/archives/types/index.js +17 -0
  35. package/api/resources/batches/client/Client.js +4 -4
  36. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  37. package/api/resources/blocks/client/Client.js +6 -6
  38. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  39. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  40. package/api/resources/folders/client/Client.js +8 -8
  41. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  42. package/api/resources/folders/resources/files/client/Client.js +3 -3
  43. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  44. package/api/resources/groups/client/Client.js +6 -6
  45. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  46. package/api/resources/health/client/Client.js +1 -1
  47. package/api/resources/identities/client/Client.js +7 -7
  48. package/api/resources/identities/resources/agents/client/Client.js +1 -1
  49. package/api/resources/identities/resources/blocks/client/Client.js +1 -1
  50. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  51. package/api/resources/index.d.ts +3 -0
  52. package/api/resources/index.js +4 -1
  53. package/api/resources/jobs/client/Client.d.ts +0 -1
  54. package/api/resources/jobs/client/Client.js +9 -7
  55. package/api/resources/jobs/client/requests/JobsListRequest.d.ts +4 -0
  56. package/api/resources/models/client/Client.js +2 -2
  57. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  58. package/api/resources/projects/client/Client.js +1 -1
  59. package/api/resources/providers/client/Client.js +6 -6
  60. package/api/resources/runs/client/Client.js +15 -7
  61. package/api/resources/runs/client/requests/RunsListRequest.d.ts +9 -0
  62. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  63. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  64. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  65. package/api/resources/sources/client/Client.js +10 -10
  66. package/api/resources/sources/resources/files/client/Client.js +3 -3
  67. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  68. package/api/resources/steps/client/Client.d.ts +3 -0
  69. package/api/resources/steps/client/Client.js +7 -2
  70. package/api/resources/steps/index.d.ts +1 -1
  71. package/api/resources/steps/index.js +1 -1
  72. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  73. package/api/resources/steps/resources/index.d.ts +3 -0
  74. package/api/resources/steps/resources/index.js +4 -1
  75. package/api/resources/steps/resources/messages/client/Client.d.ts +50 -0
  76. package/api/resources/steps/resources/messages/client/Client.js +166 -0
  77. package/api/resources/steps/resources/messages/client/index.d.ts +1 -0
  78. package/api/resources/steps/resources/messages/client/index.js +17 -0
  79. package/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +30 -0
  80. package/api/resources/steps/resources/messages/client/requests/MessagesListRequest.js +5 -0
  81. package/api/resources/steps/resources/messages/client/requests/index.d.ts +1 -0
  82. package/api/resources/steps/resources/messages/client/requests/index.js +2 -0
  83. package/api/resources/steps/resources/messages/index.d.ts +2 -0
  84. package/api/resources/steps/resources/messages/index.js +18 -0
  85. package/api/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  86. package/api/resources/steps/resources/messages/types/MessagesListRequestOrder.js +10 -0
  87. package/api/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +5 -0
  88. package/api/resources/steps/resources/messages/types/MessagesListResponseItem.js +5 -0
  89. package/api/resources/steps/resources/messages/types/index.d.ts +2 -0
  90. package/api/resources/steps/resources/messages/types/index.js +18 -0
  91. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  92. package/api/resources/steps/resources/trace/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 +9 -9
  96. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  97. package/api/resources/tools/client/Client.js +20 -20
  98. package/api/resources/voice/client/Client.js +1 -1
  99. package/api/types/Archive.d.ts +35 -0
  100. package/api/types/Archive.js +5 -0
  101. package/api/types/BatchJob.d.ts +2 -0
  102. package/api/types/ChildToolRule.d.ts +1 -1
  103. package/api/types/ConditionalToolRule.d.ts +1 -1
  104. package/api/types/ContinueToolRule.d.ts +1 -1
  105. package/api/types/InitToolRule.d.ts +1 -1
  106. package/api/types/Job.d.ts +2 -0
  107. package/api/types/MaxCountPerStepToolRule.d.ts +1 -1
  108. package/api/types/Memory.d.ts +3 -1
  109. package/api/types/MemoryAgentType.d.ts +8 -0
  110. package/api/types/MemoryAgentType.js +5 -0
  111. package/api/types/ParentToolRule.d.ts +1 -1
  112. package/api/types/RequiredBeforeExitToolRule.d.ts +1 -1
  113. package/api/types/RequiresApprovalToolRule.d.ts +1 -1
  114. package/api/types/Run.d.ts +2 -0
  115. package/api/types/Step.d.ts +1 -1
  116. package/api/types/TerminalToolRule.d.ts +1 -1
  117. package/api/types/index.d.ts +2 -0
  118. package/api/types/index.js +2 -0
  119. package/dist/Client.d.ts +3 -0
  120. package/dist/Client.js +45 -40
  121. package/dist/api/resources/agents/client/Client.js +9 -9
  122. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  123. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  124. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  125. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  126. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  127. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  128. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  129. package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
  130. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  131. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  132. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  133. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  134. package/dist/api/resources/archives/client/Client.d.ts +78 -0
  135. package/dist/api/resources/archives/client/Client.js +325 -0
  136. package/dist/api/resources/archives/client/index.d.ts +1 -0
  137. package/dist/api/resources/archives/client/index.js +17 -0
  138. package/dist/api/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
  139. package/dist/api/resources/archives/client/requests/ArchiveCreateRequest.js +5 -0
  140. package/dist/api/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +11 -0
  141. package/dist/api/resources/archives/client/requests/ArchiveUpdateRequest.js +5 -0
  142. package/dist/api/resources/archives/client/requests/ListArchivesRequest.d.ts +34 -0
  143. package/dist/api/resources/archives/client/requests/ListArchivesRequest.js +5 -0
  144. package/dist/api/resources/archives/client/requests/index.d.ts +3 -0
  145. package/dist/api/resources/archives/client/requests/index.js +2 -0
  146. package/dist/api/resources/archives/index.d.ts +2 -0
  147. package/dist/api/resources/archives/index.js +18 -0
  148. package/dist/api/resources/archives/types/ListArchivesRequestOrder.d.ts +11 -0
  149. package/dist/api/resources/archives/types/ListArchivesRequestOrder.js +10 -0
  150. package/dist/api/resources/archives/types/index.d.ts +1 -0
  151. package/dist/api/resources/archives/types/index.js +17 -0
  152. package/dist/api/resources/batches/client/Client.js +4 -4
  153. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  154. package/dist/api/resources/blocks/client/Client.js +6 -6
  155. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  156. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  157. package/dist/api/resources/folders/client/Client.js +8 -8
  158. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  159. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  160. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  161. package/dist/api/resources/groups/client/Client.js +6 -6
  162. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  163. package/dist/api/resources/health/client/Client.js +1 -1
  164. package/dist/api/resources/identities/client/Client.js +7 -7
  165. package/dist/api/resources/identities/resources/agents/client/Client.js +1 -1
  166. package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
  167. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  168. package/dist/api/resources/index.d.ts +3 -0
  169. package/dist/api/resources/index.js +4 -1
  170. package/dist/api/resources/jobs/client/Client.d.ts +0 -1
  171. package/dist/api/resources/jobs/client/Client.js +9 -7
  172. package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +4 -0
  173. package/dist/api/resources/models/client/Client.js +2 -2
  174. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  175. package/dist/api/resources/projects/client/Client.js +1 -1
  176. package/dist/api/resources/providers/client/Client.js +6 -6
  177. package/dist/api/resources/runs/client/Client.js +15 -7
  178. package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +9 -0
  179. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  180. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  181. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  182. package/dist/api/resources/sources/client/Client.js +10 -10
  183. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  184. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  185. package/dist/api/resources/steps/client/Client.d.ts +3 -0
  186. package/dist/api/resources/steps/client/Client.js +7 -2
  187. package/dist/api/resources/steps/index.d.ts +1 -1
  188. package/dist/api/resources/steps/index.js +1 -1
  189. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  190. package/dist/api/resources/steps/resources/index.d.ts +3 -0
  191. package/dist/api/resources/steps/resources/index.js +4 -1
  192. package/dist/api/resources/steps/resources/messages/client/Client.d.ts +50 -0
  193. package/dist/api/resources/steps/resources/messages/client/Client.js +166 -0
  194. package/dist/api/resources/steps/resources/messages/client/index.d.ts +1 -0
  195. package/dist/api/resources/steps/resources/messages/client/index.js +17 -0
  196. package/dist/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +30 -0
  197. package/dist/api/resources/steps/resources/messages/client/requests/MessagesListRequest.js +5 -0
  198. package/dist/api/resources/steps/resources/messages/client/requests/index.d.ts +1 -0
  199. package/dist/api/resources/steps/resources/messages/client/requests/index.js +2 -0
  200. package/dist/api/resources/steps/resources/messages/index.d.ts +2 -0
  201. package/dist/api/resources/steps/resources/messages/index.js +18 -0
  202. package/dist/api/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  203. package/dist/api/resources/steps/resources/messages/types/MessagesListRequestOrder.js +10 -0
  204. package/dist/api/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +5 -0
  205. package/dist/api/resources/steps/resources/messages/types/MessagesListResponseItem.js +5 -0
  206. package/dist/api/resources/steps/resources/messages/types/index.d.ts +2 -0
  207. package/dist/api/resources/steps/resources/messages/types/index.js +18 -0
  208. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  209. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  210. package/dist/api/resources/tags/client/Client.js +1 -1
  211. package/dist/api/resources/telemetry/client/Client.js +1 -1
  212. package/dist/api/resources/templates/client/Client.js +9 -9
  213. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  214. package/dist/api/resources/tools/client/Client.js +20 -20
  215. package/dist/api/resources/voice/client/Client.js +1 -1
  216. package/dist/api/types/Archive.d.ts +35 -0
  217. package/dist/api/types/Archive.js +5 -0
  218. package/dist/api/types/BatchJob.d.ts +2 -0
  219. package/dist/api/types/ChildToolRule.d.ts +1 -1
  220. package/dist/api/types/ConditionalToolRule.d.ts +1 -1
  221. package/dist/api/types/ContinueToolRule.d.ts +1 -1
  222. package/dist/api/types/InitToolRule.d.ts +1 -1
  223. package/dist/api/types/Job.d.ts +2 -0
  224. package/dist/api/types/MaxCountPerStepToolRule.d.ts +1 -1
  225. package/dist/api/types/Memory.d.ts +3 -1
  226. package/dist/api/types/MemoryAgentType.d.ts +8 -0
  227. package/dist/api/types/MemoryAgentType.js +5 -0
  228. package/dist/api/types/ParentToolRule.d.ts +1 -1
  229. package/dist/api/types/RequiredBeforeExitToolRule.d.ts +1 -1
  230. package/dist/api/types/RequiresApprovalToolRule.d.ts +1 -1
  231. package/dist/api/types/Run.d.ts +2 -0
  232. package/dist/api/types/Step.d.ts +1 -1
  233. package/dist/api/types/TerminalToolRule.d.ts +1 -1
  234. package/dist/api/types/index.d.ts +2 -0
  235. package/dist/api/types/index.js +2 -0
  236. package/dist/serialization/resources/archives/client/index.d.ts +2 -0
  237. package/dist/serialization/resources/archives/client/index.js +41 -0
  238. package/dist/serialization/resources/archives/client/listArchives.d.ts +11 -0
  239. package/dist/serialization/resources/archives/client/listArchives.js +42 -0
  240. package/dist/serialization/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
  241. package/dist/serialization/resources/archives/client/requests/ArchiveCreateRequest.js +44 -0
  242. package/dist/serialization/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +13 -0
  243. package/dist/serialization/resources/archives/client/requests/ArchiveUpdateRequest.js +44 -0
  244. package/dist/serialization/resources/archives/client/requests/index.d.ts +2 -0
  245. package/dist/serialization/resources/archives/client/requests/index.js +7 -0
  246. package/dist/serialization/resources/archives/index.d.ts +2 -0
  247. package/dist/serialization/resources/archives/index.js +18 -0
  248. package/dist/serialization/resources/archives/types/ListArchivesRequestOrder.d.ts +10 -0
  249. package/dist/serialization/resources/archives/types/ListArchivesRequestOrder.js +41 -0
  250. package/dist/serialization/resources/archives/types/index.d.ts +1 -0
  251. package/dist/serialization/resources/archives/types/index.js +17 -0
  252. package/dist/serialization/resources/index.d.ts +3 -0
  253. package/dist/serialization/resources/index.js +4 -1
  254. package/dist/serialization/resources/steps/index.d.ts +1 -1
  255. package/dist/serialization/resources/steps/index.js +1 -1
  256. package/dist/serialization/resources/steps/resources/index.d.ts +2 -0
  257. package/dist/serialization/resources/steps/resources/index.js +3 -1
  258. package/dist/serialization/resources/steps/resources/messages/client/index.d.ts +1 -0
  259. package/dist/serialization/resources/steps/resources/messages/client/index.js +37 -0
  260. package/dist/serialization/resources/steps/resources/messages/client/list.d.ts +11 -0
  261. package/dist/serialization/resources/steps/resources/messages/client/list.js +42 -0
  262. package/dist/serialization/resources/steps/resources/messages/index.d.ts +2 -0
  263. package/dist/serialization/resources/steps/resources/messages/index.js +18 -0
  264. package/dist/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  265. package/dist/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.js +41 -0
  266. package/dist/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +19 -0
  267. package/dist/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.js +60 -0
  268. package/dist/serialization/resources/steps/resources/messages/types/index.d.ts +2 -0
  269. package/dist/serialization/resources/steps/resources/messages/types/index.js +18 -0
  270. package/dist/serialization/types/Archive.d.ts +21 -0
  271. package/dist/serialization/types/Archive.js +52 -0
  272. package/dist/serialization/types/BatchJob.d.ts +2 -0
  273. package/dist/serialization/types/BatchJob.js +2 -0
  274. package/dist/serialization/types/Job.d.ts +2 -0
  275. package/dist/serialization/types/Job.js +2 -0
  276. package/dist/serialization/types/Memory.d.ts +2 -0
  277. package/dist/serialization/types/Memory.js +2 -0
  278. package/dist/serialization/types/MemoryAgentType.d.ts +11 -0
  279. package/dist/serialization/types/MemoryAgentType.js +42 -0
  280. package/dist/serialization/types/Run.d.ts +2 -0
  281. package/dist/serialization/types/Run.js +2 -0
  282. package/dist/serialization/types/index.d.ts +2 -0
  283. package/dist/serialization/types/index.js +2 -0
  284. package/dist/version.d.ts +1 -1
  285. package/dist/version.js +1 -1
  286. package/package.json +1 -1
  287. package/reference.md +274 -1
  288. package/serialization/resources/archives/client/index.d.ts +2 -0
  289. package/serialization/resources/archives/client/index.js +41 -0
  290. package/serialization/resources/archives/client/listArchives.d.ts +11 -0
  291. package/serialization/resources/archives/client/listArchives.js +42 -0
  292. package/serialization/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
  293. package/serialization/resources/archives/client/requests/ArchiveCreateRequest.js +44 -0
  294. package/serialization/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +13 -0
  295. package/serialization/resources/archives/client/requests/ArchiveUpdateRequest.js +44 -0
  296. package/serialization/resources/archives/client/requests/index.d.ts +2 -0
  297. package/serialization/resources/archives/client/requests/index.js +7 -0
  298. package/serialization/resources/archives/index.d.ts +2 -0
  299. package/serialization/resources/archives/index.js +18 -0
  300. package/serialization/resources/archives/types/ListArchivesRequestOrder.d.ts +10 -0
  301. package/serialization/resources/archives/types/ListArchivesRequestOrder.js +41 -0
  302. package/serialization/resources/archives/types/index.d.ts +1 -0
  303. package/serialization/resources/archives/types/index.js +17 -0
  304. package/serialization/resources/index.d.ts +3 -0
  305. package/serialization/resources/index.js +4 -1
  306. package/serialization/resources/steps/index.d.ts +1 -1
  307. package/serialization/resources/steps/index.js +1 -1
  308. package/serialization/resources/steps/resources/index.d.ts +2 -0
  309. package/serialization/resources/steps/resources/index.js +3 -1
  310. package/serialization/resources/steps/resources/messages/client/index.d.ts +1 -0
  311. package/serialization/resources/steps/resources/messages/client/index.js +37 -0
  312. package/serialization/resources/steps/resources/messages/client/list.d.ts +11 -0
  313. package/serialization/resources/steps/resources/messages/client/list.js +42 -0
  314. package/serialization/resources/steps/resources/messages/index.d.ts +2 -0
  315. package/serialization/resources/steps/resources/messages/index.js +18 -0
  316. package/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  317. package/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.js +41 -0
  318. package/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +19 -0
  319. package/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.js +60 -0
  320. package/serialization/resources/steps/resources/messages/types/index.d.ts +2 -0
  321. package/serialization/resources/steps/resources/messages/types/index.js +18 -0
  322. package/serialization/types/Archive.d.ts +21 -0
  323. package/serialization/types/Archive.js +52 -0
  324. package/serialization/types/BatchJob.d.ts +2 -0
  325. package/serialization/types/BatchJob.js +2 -0
  326. package/serialization/types/Job.d.ts +2 -0
  327. package/serialization/types/Job.js +2 -0
  328. package/serialization/types/Memory.d.ts +2 -0
  329. package/serialization/types/Memory.js +2 -0
  330. package/serialization/types/MemoryAgentType.d.ts +11 -0
  331. package/serialization/types/MemoryAgentType.js +42 -0
  332. package/serialization/types/Run.d.ts +2 -0
  333. package/serialization/types/Run.js +2 -0
  334. package/serialization/types/index.d.ts +2 -0
  335. package/serialization/types/index.js +2 -0
  336. package/version.d.ts +1 -1
  337. package/version.js +1 -1
package/Client.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
+ import { Archives } from "./api/resources/archives/client/Client";
6
7
  import { Tools } from "./api/resources/tools/client/Client";
7
8
  import { Sources } from "./api/resources/sources/client/Client";
8
9
  import { Folders } from "./api/resources/folders/client/Client";
@@ -48,6 +49,7 @@ export declare namespace LettaClient {
48
49
  }
49
50
  export declare class LettaClient {
50
51
  protected readonly _options: LettaClient.Options;
52
+ protected _archives: Archives | undefined;
51
53
  protected _tools: Tools | undefined;
52
54
  protected _sources: Sources | undefined;
53
55
  protected _folders: Folders | undefined;
@@ -69,6 +71,7 @@ export declare class LettaClient {
69
71
  protected _clientSideAccessTokens: ClientSideAccessTokens | undefined;
70
72
  protected _projects: Projects | undefined;
71
73
  constructor(_options?: LettaClient.Options);
74
+ get archives(): Archives;
72
75
  get tools(): Tools;
73
76
  get sources(): Sources;
74
77
  get folders(): Folders;
package/Client.js CHANGED
@@ -4,109 +4,114 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.LettaClient = void 0;
7
- const Client_1 = require("./api/resources/tools/client/Client");
8
- const Client_2 = require("./api/resources/sources/client/Client");
9
- const Client_3 = require("./api/resources/folders/client/Client");
10
- const Client_4 = require("./api/resources/agents/client/Client");
11
- const Client_5 = require("./api/resources/groups/client/Client");
12
- const Client_6 = require("./api/resources/identities/client/Client");
13
- const Client_7 = require("./api/resources/models/client/Client");
14
- const Client_8 = require("./api/resources/blocks/client/Client");
15
- const Client_9 = require("./api/resources/jobs/client/Client");
16
- const Client_10 = require("./api/resources/health/client/Client");
17
- const Client_11 = require("./api/resources/providers/client/Client");
18
- const Client_12 = require("./api/resources/runs/client/Client");
19
- const Client_13 = require("./api/resources/steps/client/Client");
20
- const Client_14 = require("./api/resources/tags/client/Client");
21
- const Client_15 = require("./api/resources/telemetry/client/Client");
22
- const Client_16 = require("./api/resources/batches/client/Client");
23
- const Client_17 = require("./api/resources/voice/client/Client");
24
- const Client_18 = require("./api/resources/templates/client/Client");
25
- const Client_19 = require("./api/resources/clientSideAccessTokens/client/Client");
26
- const Client_20 = require("./api/resources/projects/client/Client");
7
+ const Client_1 = require("./api/resources/archives/client/Client");
8
+ const Client_2 = require("./api/resources/tools/client/Client");
9
+ const Client_3 = require("./api/resources/sources/client/Client");
10
+ const Client_4 = require("./api/resources/folders/client/Client");
11
+ const Client_5 = require("./api/resources/agents/client/Client");
12
+ const Client_6 = require("./api/resources/groups/client/Client");
13
+ const Client_7 = require("./api/resources/identities/client/Client");
14
+ const Client_8 = require("./api/resources/models/client/Client");
15
+ const Client_9 = require("./api/resources/blocks/client/Client");
16
+ const Client_10 = require("./api/resources/jobs/client/Client");
17
+ const Client_11 = require("./api/resources/health/client/Client");
18
+ const Client_12 = require("./api/resources/providers/client/Client");
19
+ const Client_13 = require("./api/resources/runs/client/Client");
20
+ const Client_14 = require("./api/resources/steps/client/Client");
21
+ const Client_15 = require("./api/resources/tags/client/Client");
22
+ const Client_16 = require("./api/resources/telemetry/client/Client");
23
+ const Client_17 = require("./api/resources/batches/client/Client");
24
+ const Client_18 = require("./api/resources/voice/client/Client");
25
+ const Client_19 = require("./api/resources/templates/client/Client");
26
+ const Client_20 = require("./api/resources/clientSideAccessTokens/client/Client");
27
+ const Client_21 = require("./api/resources/projects/client/Client");
27
28
  class LettaClient {
28
29
  constructor(_options = {}) {
29
30
  this._options = _options;
30
31
  }
32
+ get archives() {
33
+ var _a;
34
+ return ((_a = this._archives) !== null && _a !== void 0 ? _a : (this._archives = new Client_1.Archives(this._options)));
35
+ }
31
36
  get tools() {
32
37
  var _a;
33
- return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_1.Tools(this._options)));
38
+ return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_2.Tools(this._options)));
34
39
  }
35
40
  get sources() {
36
41
  var _a;
37
- return ((_a = this._sources) !== null && _a !== void 0 ? _a : (this._sources = new Client_2.Sources(this._options)));
42
+ return ((_a = this._sources) !== null && _a !== void 0 ? _a : (this._sources = new Client_3.Sources(this._options)));
38
43
  }
39
44
  get folders() {
40
45
  var _a;
41
- return ((_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new Client_3.Folders(this._options)));
46
+ return ((_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new Client_4.Folders(this._options)));
42
47
  }
43
48
  get agents() {
44
49
  var _a;
45
- return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new Client_4.Agents(this._options)));
50
+ return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new Client_5.Agents(this._options)));
46
51
  }
47
52
  get groups() {
48
53
  var _a;
49
- return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_5.Groups(this._options)));
54
+ return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_6.Groups(this._options)));
50
55
  }
51
56
  get identities() {
52
57
  var _a;
53
- return ((_a = this._identities) !== null && _a !== void 0 ? _a : (this._identities = new Client_6.Identities(this._options)));
58
+ return ((_a = this._identities) !== null && _a !== void 0 ? _a : (this._identities = new Client_7.Identities(this._options)));
54
59
  }
55
60
  get models() {
56
61
  var _a;
57
- return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_7.Models(this._options)));
62
+ return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_8.Models(this._options)));
58
63
  }
59
64
  get blocks() {
60
65
  var _a;
61
- return ((_a = this._blocks) !== null && _a !== void 0 ? _a : (this._blocks = new Client_8.Blocks(this._options)));
66
+ return ((_a = this._blocks) !== null && _a !== void 0 ? _a : (this._blocks = new Client_9.Blocks(this._options)));
62
67
  }
63
68
  get jobs() {
64
69
  var _a;
65
- return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_9.Jobs(this._options)));
70
+ return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_10.Jobs(this._options)));
66
71
  }
67
72
  get health() {
68
73
  var _a;
69
- return ((_a = this._health) !== null && _a !== void 0 ? _a : (this._health = new Client_10.Health(this._options)));
74
+ return ((_a = this._health) !== null && _a !== void 0 ? _a : (this._health = new Client_11.Health(this._options)));
70
75
  }
71
76
  get providers() {
72
77
  var _a;
73
- return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_11.Providers(this._options)));
78
+ return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_12.Providers(this._options)));
74
79
  }
75
80
  get runs() {
76
81
  var _a;
77
- return ((_a = this._runs) !== null && _a !== void 0 ? _a : (this._runs = new Client_12.Runs(this._options)));
82
+ return ((_a = this._runs) !== null && _a !== void 0 ? _a : (this._runs = new Client_13.Runs(this._options)));
78
83
  }
79
84
  get steps() {
80
85
  var _a;
81
- return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new Client_13.Steps(this._options)));
86
+ return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new Client_14.Steps(this._options)));
82
87
  }
83
88
  get tags() {
84
89
  var _a;
85
- return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_14.Tags(this._options)));
90
+ return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_15.Tags(this._options)));
86
91
  }
87
92
  get telemetry() {
88
93
  var _a;
89
- return ((_a = this._telemetry) !== null && _a !== void 0 ? _a : (this._telemetry = new Client_15.Telemetry(this._options)));
94
+ return ((_a = this._telemetry) !== null && _a !== void 0 ? _a : (this._telemetry = new Client_16.Telemetry(this._options)));
90
95
  }
91
96
  get batches() {
92
97
  var _a;
93
- return ((_a = this._batches) !== null && _a !== void 0 ? _a : (this._batches = new Client_16.Batches(this._options)));
98
+ return ((_a = this._batches) !== null && _a !== void 0 ? _a : (this._batches = new Client_17.Batches(this._options)));
94
99
  }
95
100
  get voice() {
96
101
  var _a;
97
- return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_17.Voice(this._options)));
102
+ return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_18.Voice(this._options)));
98
103
  }
99
104
  get templates() {
100
105
  var _a;
101
- return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_18.Templates(this._options)));
106
+ return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_19.Templates(this._options)));
102
107
  }
103
108
  get clientSideAccessTokens() {
104
109
  var _a;
105
- return ((_a = this._clientSideAccessTokens) !== null && _a !== void 0 ? _a : (this._clientSideAccessTokens = new Client_19.ClientSideAccessTokens(this._options)));
110
+ return ((_a = this._clientSideAccessTokens) !== null && _a !== void 0 ? _a : (this._clientSideAccessTokens = new Client_20.ClientSideAccessTokens(this._options)));
106
111
  }
107
112
  get projects() {
108
113
  var _a;
109
- return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_20.Projects(this._options)));
114
+ return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_21.Projects(this._options)));
110
115
  }
111
116
  }
112
117
  exports.LettaClient = LettaClient;
package/README.md CHANGED
@@ -23,8 +23,8 @@ Instantiate and use the client with the following:
23
23
  import { LettaClient } from "@letta-ai/letta-client";
24
24
 
25
25
  const client = new LettaClient({ token: "YOUR_TOKEN", project: "YOUR_PROJECT" });
26
- await client.tools.create({
27
- sourceCode: "source_code",
26
+ await client.archives.createArchive({
27
+ name: "name",
28
28
  });
29
29
  ```
30
30
 
@@ -36,7 +36,7 @@ following namespace:
36
36
  ```typescript
37
37
  import { Letta } from "@letta-ai/letta-client";
38
38
 
39
- const request: Letta.ToolUpdate = {
39
+ const request: Letta.ListArchivesRequest = {
40
40
  ...
41
41
  };
42
42
  ```
@@ -50,7 +50,7 @@ will be thrown.
50
50
  import { LettaError } from "@letta-ai/letta-client";
51
51
 
52
52
  try {
53
- await client.tools.create(...);
53
+ await client.archives.createArchive(...);
54
54
  } catch (err) {
55
55
  if (err instanceof LettaError) {
56
56
  console.log(err.statusCode);
@@ -68,7 +68,7 @@ try {
68
68
  If you would like to send additional headers as part of the request, use the `headers` request option.
69
69
 
70
70
  ```typescript
71
- const response = await client.tools.create(..., {
71
+ const response = await client.archives.createArchive(..., {
72
72
  headers: {
73
73
  'X-Custom-Header': 'custom value'
74
74
  }
@@ -90,7 +90,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
90
90
  Use the `maxRetries` request option to configure this behavior.
91
91
 
92
92
  ```typescript
93
- const response = await client.tools.create(..., {
93
+ const response = await client.archives.createArchive(..., {
94
94
  maxRetries: 0 // override maxRetries at the request level
95
95
  });
96
96
  ```
@@ -100,7 +100,7 @@ const response = await client.tools.create(..., {
100
100
  The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
101
101
 
102
102
  ```typescript
103
- const response = await client.tools.create(..., {
103
+ const response = await client.archives.createArchive(..., {
104
104
  timeoutInSeconds: 30 // override timeout to 30s
105
105
  });
106
106
  ```
@@ -111,7 +111,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
111
111
 
112
112
  ```typescript
113
113
  const controller = new AbortController();
114
- const response = await client.tools.create(..., {
114
+ const response = await client.archives.createArchive(..., {
115
115
  abortSignal: controller.signal
116
116
  });
117
117
  controller.abort(); // aborts the request
@@ -123,7 +123,7 @@ The SDK provides access to raw response data, including headers, through the `.w
123
123
  The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
124
124
 
125
125
  ```typescript
126
- const { data, rawResponse } = await client.tools.create(...).withRawResponse();
126
+ const { data, rawResponse } = await client.archives.createArchive(...).withRawResponse();
127
127
 
128
128
  console.log(data);
129
129
  console.log(rawResponse.headers['X-My-Header']);
@@ -213,7 +213,7 @@ class Agents {
213
213
  method: "GET",
214
214
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
215
215
  ? yield core.Supplier.get(this._options.project)
216
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
216
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
217
217
  contentType: "application/json",
218
218
  queryParameters: _queryParams,
219
219
  requestType: "json",
@@ -290,7 +290,7 @@ class Agents {
290
290
  method: "POST",
291
291
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
292
292
  ? yield core.Supplier.get(this._options.project)
293
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
293
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
294
294
  contentType: "application/json",
295
295
  requestType: "json",
296
296
  body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -366,7 +366,7 @@ class Agents {
366
366
  method: "GET",
367
367
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
368
368
  ? yield core.Supplier.get(this._options.project)
369
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
369
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
370
370
  contentType: "application/json",
371
371
  requestType: "json",
372
372
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -455,7 +455,7 @@ class Agents {
455
455
  method: "GET",
456
456
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
457
457
  ? yield core.Supplier.get(this._options.project)
458
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
458
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
459
459
  contentType: "application/json",
460
460
  queryParameters: _queryParams,
461
461
  requestType: "json",
@@ -555,7 +555,7 @@ class Agents {
555
555
  method: "POST",
556
556
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
557
557
  ? yield core.Supplier.get(this._options.project)
558
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
558
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
559
559
  requestType: "file",
560
560
  duplex: _maybeEncodedRequest.duplex,
561
561
  body: _maybeEncodedRequest.body,
@@ -643,7 +643,7 @@ class Agents {
643
643
  method: "GET",
644
644
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
645
645
  ? yield core.Supplier.get(this._options.project)
646
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
646
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
647
647
  contentType: "application/json",
648
648
  queryParameters: _queryParams,
649
649
  requestType: "json",
@@ -720,7 +720,7 @@ class Agents {
720
720
  method: "DELETE",
721
721
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
722
722
  ? yield core.Supplier.get(this._options.project)
723
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
723
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
724
724
  contentType: "application/json",
725
725
  requestType: "json",
726
726
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -788,7 +788,7 @@ class Agents {
788
788
  method: "PATCH",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
792
792
  contentType: "application/json",
793
793
  requestType: "json",
794
794
  body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -865,7 +865,7 @@ class Agents {
865
865
  method: "POST",
866
866
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
867
867
  ? yield core.Supplier.get(this._options.project)
868
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
868
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
869
869
  contentType: "application/json",
870
870
  requestType: "json",
871
871
  body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -82,7 +82,7 @@ class Blocks {
82
82
  method: "GET",
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.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -160,7 +160,7 @@ class Blocks {
160
160
  method: "PATCH",
161
161
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
162
162
  ? yield core.Supplier.get(this._options.project)
163
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
163
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class Blocks {
237
237
  method: "GET",
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.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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,
@@ -314,7 +314,7 @@ class Blocks {
314
314
  method: "PATCH",
315
315
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
316
316
  ? yield core.Supplier.get(this._options.project)
317
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
317
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -391,7 +391,7 @@ class Blocks {
391
391
  method: "PATCH",
392
392
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
393
393
  ? yield core.Supplier.get(this._options.project)
394
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
394
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
395
395
  contentType: "application/json",
396
396
  requestType: "json",
397
397
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -81,7 +81,7 @@ class Context {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class CoreMemory {
82
82
  method: "GET",
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.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -84,7 +84,7 @@ class Files {
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.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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
  requestType: "json",
90
90
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -165,7 +165,7 @@ class Files {
165
165
  method: "PATCH",
166
166
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
167
167
  ? yield core.Supplier.get(this._options.project)
168
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -245,7 +245,7 @@ class Files {
245
245
  method: "PATCH",
246
246
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
247
247
  ? yield core.Supplier.get(this._options.project)
248
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
248
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
249
249
  contentType: "application/json",
250
250
  requestType: "json",
251
251
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -324,7 +324,7 @@ class Files {
324
324
  method: "GET",
325
325
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
326
326
  ? yield core.Supplier.get(this._options.project)
327
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
327
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
328
328
  contentType: "application/json",
329
329
  queryParameters: _queryParams,
330
330
  requestType: "json",
@@ -82,7 +82,7 @@ class Folders {
82
82
  method: "PATCH",
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.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -159,7 +159,7 @@ class Folders {
159
159
  method: "PATCH",
160
160
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
161
161
  ? yield core.Supplier.get(this._options.project)
162
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
162
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class Folders {
235
235
  method: "GET",
236
236
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
237
237
  ? yield core.Supplier.get(this._options.project)
238
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
238
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Groups {
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.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -83,7 +83,7 @@ class MemoryVariables {
83
83
  method: "GET",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68656", "User-Agent": "@letta-ai/letta-client/0.0.68656", "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),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68658", "User-Agent": "@letta-ai/letta-client/0.0.68658", "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
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,