@letta-ai/letta-client 0.0.68654 → 0.0.68655

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 (396) hide show
  1. package/api/resources/agents/client/Client.d.ts +4 -7
  2. package/api/resources/agents/client/Client.js +13 -16
  3. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  6. package/api/resources/agents/resources/files/client/Client.js +4 -4
  7. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  8. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  9. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  10. package/api/resources/agents/resources/messages/client/Client.js +10 -10
  11. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  12. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  13. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  14. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  15. package/api/resources/batches/client/Client.js +4 -4
  16. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  17. package/api/resources/blocks/client/Client.js +6 -6
  18. package/api/resources/blocks/index.d.ts +1 -1
  19. package/api/resources/blocks/index.js +1 -1
  20. package/api/resources/blocks/resources/agents/client/Client.js +20 -3
  21. package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
  22. package/api/resources/blocks/resources/agents/index.d.ts +1 -0
  23. package/api/resources/blocks/resources/agents/index.js +1 -0
  24. package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  25. package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
  26. package/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
  27. package/api/resources/blocks/resources/agents/types/index.js +17 -0
  28. package/api/resources/blocks/resources/index.d.ts +1 -0
  29. package/api/resources/blocks/resources/index.js +1 -0
  30. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  31. package/api/resources/folders/client/Client.d.ts +8 -5
  32. package/api/resources/folders/client/Client.js +21 -15
  33. package/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
  34. package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
  35. package/api/resources/folders/client/requests/index.d.ts +1 -1
  36. package/api/resources/folders/index.d.ts +1 -1
  37. package/api/resources/folders/index.js +1 -1
  38. package/api/resources/folders/resources/agents/client/Client.d.ts +3 -1
  39. package/api/resources/folders/resources/agents/client/Client.js +27 -6
  40. package/api/resources/folders/resources/agents/client/index.d.ts +1 -1
  41. package/api/resources/folders/resources/agents/client/index.js +15 -0
  42. package/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  43. package/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
  44. package/api/resources/folders/resources/agents/client/requests/index.js +2 -0
  45. package/api/resources/folders/resources/agents/index.d.ts +1 -0
  46. package/api/resources/folders/resources/agents/index.js +1 -0
  47. package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  48. package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
  49. package/api/resources/folders/resources/agents/types/index.d.ts +1 -0
  50. package/api/resources/folders/resources/agents/types/index.js +17 -0
  51. package/api/resources/folders/resources/files/client/Client.js +17 -6
  52. package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
  53. package/api/resources/folders/resources/files/index.d.ts +1 -0
  54. package/api/resources/folders/resources/files/index.js +1 -0
  55. package/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
  56. package/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
  57. package/api/resources/folders/resources/files/types/index.d.ts +1 -0
  58. package/api/resources/folders/resources/files/types/index.js +17 -0
  59. package/api/resources/folders/resources/index.d.ts +4 -0
  60. package/api/resources/folders/resources/index.js +4 -0
  61. package/api/resources/folders/resources/passages/client/Client.js +14 -6
  62. package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
  63. package/api/resources/folders/resources/passages/index.d.ts +1 -0
  64. package/api/resources/folders/resources/passages/index.js +1 -0
  65. package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
  66. package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
  67. package/api/resources/folders/resources/passages/types/index.d.ts +1 -0
  68. package/api/resources/folders/resources/passages/types/index.js +17 -0
  69. package/api/resources/groups/client/Client.js +6 -6
  70. package/api/resources/groups/resources/messages/client/Client.js +18 -10
  71. package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
  72. package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  73. package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
  74. package/api/resources/groups/resources/messages/types/index.d.ts +1 -0
  75. package/api/resources/groups/resources/messages/types/index.js +1 -0
  76. package/api/resources/health/client/Client.js +1 -1
  77. package/api/resources/identities/client/Client.js +7 -7
  78. package/api/resources/identities/index.d.ts +1 -1
  79. package/api/resources/identities/index.js +1 -1
  80. package/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
  81. package/api/resources/identities/resources/agents/client/Client.js +58 -11
  82. package/api/resources/identities/resources/agents/client/index.d.ts +1 -1
  83. package/api/resources/identities/resources/agents/client/index.js +15 -0
  84. package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  85. package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
  86. package/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
  87. package/api/resources/identities/resources/agents/client/requests/index.js +2 -0
  88. package/api/resources/identities/resources/agents/index.d.ts +1 -0
  89. package/api/resources/identities/resources/agents/index.js +1 -0
  90. package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  91. package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
  92. package/api/resources/identities/resources/agents/types/index.d.ts +1 -0
  93. package/api/resources/identities/resources/agents/types/index.js +17 -0
  94. package/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
  95. package/api/resources/identities/resources/blocks/client/Client.js +58 -11
  96. package/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
  97. package/api/resources/identities/resources/blocks/client/index.js +15 -0
  98. package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
  99. package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
  100. package/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
  101. package/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
  102. package/api/resources/identities/resources/blocks/index.d.ts +1 -0
  103. package/api/resources/identities/resources/blocks/index.js +1 -0
  104. package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  105. package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  106. package/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
  107. package/api/resources/identities/resources/blocks/types/index.js +17 -0
  108. package/api/resources/identities/resources/index.d.ts +5 -1
  109. package/api/resources/identities/resources/index.js +9 -2
  110. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  111. package/api/resources/jobs/client/Client.js +5 -5
  112. package/api/resources/models/client/Client.js +2 -2
  113. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  114. package/api/resources/projects/client/Client.js +1 -1
  115. package/api/resources/providers/client/Client.js +6 -6
  116. package/api/resources/runs/client/Client.js +5 -5
  117. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  118. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  119. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  120. package/api/resources/sources/client/Client.js +10 -10
  121. package/api/resources/sources/resources/files/client/Client.js +3 -3
  122. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  123. package/api/resources/steps/client/Client.js +2 -2
  124. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  125. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  126. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  127. package/api/resources/tags/client/Client.js +5 -2
  128. package/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
  129. package/api/resources/telemetry/client/Client.js +1 -1
  130. package/api/resources/templates/client/Client.js +9 -9
  131. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  132. package/api/resources/tools/client/Client.js +20 -20
  133. package/api/resources/voice/client/Client.js +1 -1
  134. package/dist/api/resources/agents/client/Client.d.ts +4 -7
  135. package/dist/api/resources/agents/client/Client.js +13 -16
  136. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  137. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  138. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  139. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  140. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  141. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  142. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  143. package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
  144. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  145. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  146. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  147. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  148. package/dist/api/resources/batches/client/Client.js +4 -4
  149. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  150. package/dist/api/resources/blocks/client/Client.js +6 -6
  151. package/dist/api/resources/blocks/index.d.ts +1 -1
  152. package/dist/api/resources/blocks/index.js +1 -1
  153. package/dist/api/resources/blocks/resources/agents/client/Client.js +20 -3
  154. package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
  155. package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
  156. package/dist/api/resources/blocks/resources/agents/index.js +1 -0
  157. package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  158. package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
  159. package/dist/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
  160. package/dist/api/resources/blocks/resources/agents/types/index.js +17 -0
  161. package/dist/api/resources/blocks/resources/index.d.ts +1 -0
  162. package/dist/api/resources/blocks/resources/index.js +1 -0
  163. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  164. package/dist/api/resources/folders/client/Client.d.ts +8 -5
  165. package/dist/api/resources/folders/client/Client.js +21 -15
  166. package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
  167. package/dist/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
  168. package/dist/api/resources/folders/client/requests/RetrieveMetadataRequest.js +5 -0
  169. package/dist/api/resources/folders/client/requests/index.d.ts +1 -1
  170. package/dist/api/resources/folders/index.d.ts +1 -1
  171. package/dist/api/resources/folders/index.js +1 -1
  172. package/dist/api/resources/folders/resources/agents/client/Client.d.ts +3 -1
  173. package/dist/api/resources/folders/resources/agents/client/Client.js +27 -6
  174. package/dist/api/resources/folders/resources/agents/client/index.d.ts +1 -1
  175. package/dist/api/resources/folders/resources/agents/client/index.js +15 -0
  176. package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  177. package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.js +5 -0
  178. package/dist/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
  179. package/dist/api/resources/folders/resources/agents/client/requests/index.js +2 -0
  180. package/dist/api/resources/folders/resources/agents/index.d.ts +1 -0
  181. package/dist/api/resources/folders/resources/agents/index.js +1 -0
  182. package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  183. package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
  184. package/dist/api/resources/folders/resources/agents/types/index.d.ts +1 -0
  185. package/dist/api/resources/folders/resources/agents/types/index.js +17 -0
  186. package/dist/api/resources/folders/resources/files/client/Client.js +17 -6
  187. package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
  188. package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
  189. package/dist/api/resources/folders/resources/files/index.js +1 -0
  190. package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
  191. package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
  192. package/dist/api/resources/folders/resources/files/types/index.d.ts +1 -0
  193. package/dist/api/resources/folders/resources/files/types/index.js +17 -0
  194. package/dist/api/resources/folders/resources/index.d.ts +4 -0
  195. package/dist/api/resources/folders/resources/index.js +4 -0
  196. package/dist/api/resources/folders/resources/passages/client/Client.js +14 -6
  197. package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
  198. package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
  199. package/dist/api/resources/folders/resources/passages/index.js +1 -0
  200. package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
  201. package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
  202. package/dist/api/resources/folders/resources/passages/types/index.d.ts +1 -0
  203. package/dist/api/resources/folders/resources/passages/types/index.js +17 -0
  204. package/dist/api/resources/groups/client/Client.js +6 -6
  205. package/dist/api/resources/groups/resources/messages/client/Client.js +18 -10
  206. package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
  207. package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  208. package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
  209. package/dist/api/resources/groups/resources/messages/types/index.d.ts +1 -0
  210. package/dist/api/resources/groups/resources/messages/types/index.js +1 -0
  211. package/dist/api/resources/health/client/Client.js +1 -1
  212. package/dist/api/resources/identities/client/Client.js +7 -7
  213. package/dist/api/resources/identities/index.d.ts +1 -1
  214. package/dist/api/resources/identities/index.js +1 -1
  215. package/dist/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
  216. package/dist/api/resources/identities/resources/agents/client/Client.js +58 -11
  217. package/dist/api/resources/identities/resources/agents/client/index.d.ts +1 -1
  218. package/dist/api/resources/identities/resources/agents/client/index.js +15 -0
  219. package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  220. package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
  221. package/dist/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
  222. package/dist/api/resources/identities/resources/agents/client/requests/index.js +2 -0
  223. package/dist/api/resources/identities/resources/agents/index.d.ts +1 -0
  224. package/dist/api/resources/identities/resources/agents/index.js +1 -0
  225. package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  226. package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
  227. package/dist/api/resources/identities/resources/agents/types/index.d.ts +1 -0
  228. package/dist/api/resources/identities/resources/agents/types/index.js +17 -0
  229. package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
  230. package/dist/api/resources/identities/resources/blocks/client/Client.js +58 -11
  231. package/dist/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
  232. package/dist/api/resources/identities/resources/blocks/client/index.js +15 -0
  233. package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
  234. package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
  235. package/dist/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
  236. package/dist/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
  237. package/dist/api/resources/identities/resources/blocks/index.d.ts +1 -0
  238. package/dist/api/resources/identities/resources/blocks/index.js +1 -0
  239. package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  240. package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  241. package/dist/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
  242. package/dist/api/resources/identities/resources/blocks/types/index.js +17 -0
  243. package/dist/api/resources/identities/resources/index.d.ts +5 -1
  244. package/dist/api/resources/identities/resources/index.js +9 -2
  245. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  246. package/dist/api/resources/jobs/client/Client.js +5 -5
  247. package/dist/api/resources/models/client/Client.js +2 -2
  248. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  249. package/dist/api/resources/projects/client/Client.js +1 -1
  250. package/dist/api/resources/providers/client/Client.js +6 -6
  251. package/dist/api/resources/runs/client/Client.js +5 -5
  252. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  253. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  254. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  255. package/dist/api/resources/sources/client/Client.js +10 -10
  256. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  257. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  258. package/dist/api/resources/steps/client/Client.js +2 -2
  259. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  260. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  261. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  262. package/dist/api/resources/tags/client/Client.js +5 -2
  263. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
  264. package/dist/api/resources/telemetry/client/Client.js +1 -1
  265. package/dist/api/resources/templates/client/Client.js +9 -9
  266. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  267. package/dist/api/resources/tools/client/Client.js +20 -20
  268. package/dist/api/resources/voice/client/Client.js +1 -1
  269. package/dist/serialization/resources/blocks/index.d.ts +1 -1
  270. package/dist/serialization/resources/blocks/index.js +1 -1
  271. package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
  272. package/dist/serialization/resources/blocks/resources/agents/index.js +1 -0
  273. package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  274. package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
  275. package/dist/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
  276. package/dist/serialization/resources/blocks/resources/agents/types/index.js +17 -0
  277. package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
  278. package/dist/serialization/resources/blocks/resources/index.js +4 -0
  279. package/dist/serialization/resources/folders/index.d.ts +1 -1
  280. package/dist/serialization/resources/folders/index.js +1 -1
  281. package/dist/serialization/resources/folders/resources/agents/index.d.ts +1 -0
  282. package/dist/serialization/resources/folders/resources/agents/index.js +1 -0
  283. package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  284. package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
  285. package/dist/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
  286. package/dist/serialization/resources/folders/resources/agents/types/index.js +17 -0
  287. package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
  288. package/dist/serialization/resources/folders/resources/files/index.js +1 -0
  289. package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
  290. package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
  291. package/dist/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
  292. package/dist/serialization/resources/folders/resources/files/types/index.js +17 -0
  293. package/dist/serialization/resources/folders/resources/index.d.ts +3 -0
  294. package/dist/serialization/resources/folders/resources/index.js +6 -0
  295. package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
  296. package/dist/serialization/resources/folders/resources/passages/index.js +1 -0
  297. package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
  298. package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
  299. package/dist/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
  300. package/dist/serialization/resources/folders/resources/passages/types/index.js +17 -0
  301. package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  302. package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
  303. package/dist/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
  304. package/dist/serialization/resources/groups/resources/messages/types/index.js +1 -0
  305. package/dist/serialization/resources/identities/index.d.ts +1 -1
  306. package/dist/serialization/resources/identities/index.js +1 -1
  307. package/dist/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
  308. package/dist/serialization/resources/identities/resources/agents/client/index.js +37 -0
  309. package/dist/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
  310. package/dist/serialization/resources/identities/resources/agents/client/list.js +42 -0
  311. package/dist/serialization/resources/identities/resources/agents/index.d.ts +2 -0
  312. package/dist/serialization/resources/identities/resources/agents/index.js +18 -0
  313. package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  314. package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
  315. package/dist/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
  316. package/dist/serialization/resources/identities/resources/agents/types/index.js +17 -0
  317. package/dist/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
  318. package/dist/serialization/resources/identities/resources/blocks/client/index.js +37 -0
  319. package/dist/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
  320. package/dist/serialization/resources/identities/resources/blocks/client/list.js +42 -0
  321. package/dist/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
  322. package/dist/serialization/resources/identities/resources/blocks/index.js +18 -0
  323. package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  324. package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  325. package/dist/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
  326. package/dist/serialization/resources/identities/resources/blocks/types/index.js +17 -0
  327. package/dist/serialization/resources/identities/resources/index.d.ts +4 -0
  328. package/dist/serialization/resources/identities/resources/index.js +8 -1
  329. package/dist/version.d.ts +1 -1
  330. package/dist/version.js +1 -1
  331. package/package.json +1 -1
  332. package/reference.md +67 -14
  333. package/serialization/resources/blocks/index.d.ts +1 -1
  334. package/serialization/resources/blocks/index.js +1 -1
  335. package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
  336. package/serialization/resources/blocks/resources/agents/index.js +1 -0
  337. package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  338. package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
  339. package/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
  340. package/serialization/resources/blocks/resources/agents/types/index.js +17 -0
  341. package/serialization/resources/blocks/resources/index.d.ts +1 -0
  342. package/serialization/resources/blocks/resources/index.js +4 -0
  343. package/serialization/resources/folders/index.d.ts +1 -1
  344. package/serialization/resources/folders/index.js +1 -1
  345. package/serialization/resources/folders/resources/agents/index.d.ts +1 -0
  346. package/serialization/resources/folders/resources/agents/index.js +1 -0
  347. package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  348. package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
  349. package/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
  350. package/serialization/resources/folders/resources/agents/types/index.js +17 -0
  351. package/serialization/resources/folders/resources/files/index.d.ts +1 -0
  352. package/serialization/resources/folders/resources/files/index.js +1 -0
  353. package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
  354. package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
  355. package/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
  356. package/serialization/resources/folders/resources/files/types/index.js +17 -0
  357. package/serialization/resources/folders/resources/index.d.ts +3 -0
  358. package/serialization/resources/folders/resources/index.js +6 -0
  359. package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
  360. package/serialization/resources/folders/resources/passages/index.js +1 -0
  361. package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
  362. package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
  363. package/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
  364. package/serialization/resources/folders/resources/passages/types/index.js +17 -0
  365. package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  366. package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
  367. package/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
  368. package/serialization/resources/groups/resources/messages/types/index.js +1 -0
  369. package/serialization/resources/identities/index.d.ts +1 -1
  370. package/serialization/resources/identities/index.js +1 -1
  371. package/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
  372. package/serialization/resources/identities/resources/agents/client/index.js +37 -0
  373. package/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
  374. package/serialization/resources/identities/resources/agents/client/list.js +42 -0
  375. package/serialization/resources/identities/resources/agents/index.d.ts +2 -0
  376. package/serialization/resources/identities/resources/agents/index.js +18 -0
  377. package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  378. package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
  379. package/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
  380. package/serialization/resources/identities/resources/agents/types/index.js +17 -0
  381. package/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
  382. package/serialization/resources/identities/resources/blocks/client/index.js +37 -0
  383. package/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
  384. package/serialization/resources/identities/resources/blocks/client/list.js +42 -0
  385. package/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
  386. package/serialization/resources/identities/resources/blocks/index.js +18 -0
  387. package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  388. package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  389. package/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
  390. package/serialization/resources/identities/resources/blocks/types/index.js +17 -0
  391. package/serialization/resources/identities/resources/index.d.ts +4 -0
  392. package/serialization/resources/identities/resources/index.js +8 -1
  393. package/version.d.ts +1 -1
  394. package/version.js +1 -1
  395. /package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.js → RetrieveMetadataRequest.js} +0 -0
  396. /package/{dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js → api/resources/folders/resources/agents/client/requests/AgentsListRequest.js} +0 -0
@@ -90,7 +90,7 @@ class Sources {
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.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  requestType: "json",
96
96
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -166,7 +166,7 @@ class Sources {
166
166
  method: "GET",
167
167
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
168
168
  ? yield core.Supplier.get(this._options.project)
169
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -242,7 +242,7 @@ class Sources {
242
242
  method: "DELETE",
243
243
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
244
244
  ? yield core.Supplier.get(this._options.project)
245
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
245
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -310,7 +310,7 @@ class Sources {
310
310
  method: "PATCH",
311
311
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
312
312
  ? yield core.Supplier.get(this._options.project)
313
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
313
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -387,7 +387,7 @@ class Sources {
387
387
  method: "GET",
388
388
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
389
389
  ? yield core.Supplier.get(this._options.project)
390
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
390
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -474,7 +474,7 @@ class Sources {
474
474
  method: "GET",
475
475
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
476
476
  ? yield core.Supplier.get(this._options.project)
477
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
477
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
478
478
  contentType: "application/json",
479
479
  queryParameters: _queryParams,
480
480
  requestType: "json",
@@ -550,7 +550,7 @@ class Sources {
550
550
  method: "GET",
551
551
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
552
552
  ? yield core.Supplier.get(this._options.project)
553
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
553
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
554
554
  contentType: "application/json",
555
555
  requestType: "json",
556
556
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -628,7 +628,7 @@ class Sources {
628
628
  method: "POST",
629
629
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
630
630
  ? yield core.Supplier.get(this._options.project)
631
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
631
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
632
632
  contentType: "application/json",
633
633
  requestType: "json",
634
634
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -705,7 +705,7 @@ class Sources {
705
705
  method: "GET",
706
706
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
707
707
  ? yield core.Supplier.get(this._options.project)
708
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
709
709
  contentType: "application/json",
710
710
  requestType: "json",
711
711
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -788,7 +788,7 @@ class Sources {
788
788
  method: "GET",
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  queryParameters: _queryParams,
794
794
  requestType: "json",
@@ -93,7 +93,7 @@ class Files {
93
93
  method: "POST",
94
94
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
97
97
  queryParameters: _queryParams,
98
98
  requestType: "file",
99
99
  duplex: _maybeEncodedRequest.duplex,
@@ -186,7 +186,7 @@ class Files {
186
186
  method: "GET",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
189
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
190
190
  contentType: "application/json",
191
191
  queryParameters: _queryParams,
192
192
  requestType: "json",
@@ -264,7 +264,7 @@ class Files {
264
264
  method: "DELETE",
265
265
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
266
266
  ? yield core.Supplier.get(this._options.project)
267
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
267
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -154,7 +154,7 @@ class Steps {
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.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -231,7 +231,7 @@ class Steps {
231
231
  method: "GET",
232
232
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
233
233
  ? yield core.Supplier.get(this._options.project)
234
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
234
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
235
  contentType: "application/json",
236
236
  requestType: "json",
237
237
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class Feedback {
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  body: serializers.steps.ModifyFeedbackRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -81,7 +81,7 @@ class Metrics {
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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,
@@ -79,7 +79,7 @@ class Trace {
79
79
  method: "GET",
80
80
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
81
81
  ? yield core.Supplier.get(this._options.project)
82
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -76,7 +76,7 @@ class Tags {
76
76
  __list() {
77
77
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
78
78
  var _a, _b, _c;
79
- const { before, after, limit, order, orderBy, queryText } = request;
79
+ const { before, after, limit, order, orderBy, queryText, name } = request;
80
80
  const _queryParams = {};
81
81
  if (before != null) {
82
82
  _queryParams["before"] = before;
@@ -98,12 +98,15 @@ class Tags {
98
98
  if (queryText != null) {
99
99
  _queryParams["query_text"] = queryText;
100
100
  }
101
+ if (name != null) {
102
+ _queryParams["name"] = name;
103
+ }
101
104
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
102
105
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tags/"),
103
106
  method: "GET",
104
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
108
  ? 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.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
109
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
110
  contentType: "application/json",
108
111
  queryParameters: _queryParams,
109
112
  requestType: "json",
@@ -28,7 +28,11 @@ export interface TagsListRequest {
28
28
  */
29
29
  orderBy?: "name";
30
30
  /**
31
- * Filter tags by text search
31
+ * Filter tags by text search. Deprecated, please use name field instead
32
32
  */
33
33
  queryText?: string;
34
+ /**
35
+ * Filter tags by name
36
+ */
37
+ name?: string;
34
38
  }
@@ -83,7 +83,7 @@ class Telemetry {
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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,
@@ -118,7 +118,7 @@ class Templates {
118
118
  method: "GET",
119
119
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
120
120
  ? yield core.Supplier.get(this._options.project)
121
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
121
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
122
122
  contentType: "application/json",
123
123
  queryParameters: _queryParams,
124
124
  requestType: "json",
@@ -186,7 +186,7 @@ class Templates {
186
186
  method: "POST",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
189
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
@@ -261,7 +261,7 @@ class Templates {
261
261
  method: "DELETE",
262
262
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
263
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
264
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -331,7 +331,7 @@ class Templates {
331
331
  method: "GET",
332
332
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
333
333
  ? yield core.Supplier.get(this._options.project)
334
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
334
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
335
335
  contentType: "application/json",
336
336
  requestType: "json",
337
337
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -398,7 +398,7 @@ class Templates {
398
398
  method: "POST",
399
399
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
400
400
  ? yield core.Supplier.get(this._options.project)
401
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
401
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
402
402
  contentType: "application/json",
403
403
  requestType: "json",
404
404
  body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -473,7 +473,7 @@ class Templates {
473
473
  method: "POST",
474
474
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
475
475
  ? yield core.Supplier.get(this._options.project)
476
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
476
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
477
477
  contentType: "application/json",
478
478
  requestType: "json",
479
479
  body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -550,7 +550,7 @@ class Templates {
550
550
  method: "PATCH",
551
551
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
552
552
  ? yield core.Supplier.get(this._options.project)
553
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
553
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
554
554
  contentType: "application/json",
555
555
  requestType: "json",
556
556
  body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -634,7 +634,7 @@ class Templates {
634
634
  method: "PATCH",
635
635
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
636
636
  ? yield core.Supplier.get(this._options.project)
637
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
638
638
  contentType: "application/json",
639
639
  requestType: "json",
640
640
  body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
@@ -719,7 +719,7 @@ class Templates {
719
719
  method: "GET",
720
720
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
721
721
  ? yield core.Supplier.get(this._options.project)
722
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
722
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
723
  contentType: "application/json",
724
724
  queryParameters: _queryParams,
725
725
  requestType: "json",
@@ -83,7 +83,7 @@ class Agents {
83
83
  method: "POST",
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -81,7 +81,7 @@ class Tools {
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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,
@@ -157,7 +157,7 @@ class Tools {
157
157
  method: "DELETE",
158
158
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
159
159
  ? yield core.Supplier.get(this._options.project)
160
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
160
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class Tools {
225
225
  method: "PATCH",
226
226
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
227
227
  ? yield core.Supplier.get(this._options.project)
228
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
228
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -348,7 +348,7 @@ class Tools {
348
348
  method: "GET",
349
349
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
350
350
  ? yield core.Supplier.get(this._options.project)
351
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
351
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
352
352
  contentType: "application/json",
353
353
  queryParameters: _queryParams,
354
354
  requestType: "json",
@@ -485,7 +485,7 @@ class Tools {
485
485
  method: "GET",
486
486
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
487
487
  ? yield core.Supplier.get(this._options.project)
488
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
488
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
489
489
  contentType: "application/json",
490
490
  queryParameters: _queryParams,
491
491
  requestType: "json",
@@ -564,7 +564,7 @@ class Tools {
564
564
  method: "POST",
565
565
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
566
566
  ? yield core.Supplier.get(this._options.project)
567
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
567
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
568
  contentType: "application/json",
569
569
  requestType: "json",
570
570
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -643,7 +643,7 @@ class Tools {
643
643
  method: "PUT",
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.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  requestType: "json",
649
649
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -719,7 +719,7 @@ class Tools {
719
719
  method: "POST",
720
720
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
721
721
  ? yield core.Supplier.get(this._options.project)
722
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
722
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
723
  contentType: "application/json",
724
724
  requestType: "json",
725
725
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -800,7 +800,7 @@ class Tools {
800
800
  method: "POST",
801
801
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
802
802
  ? yield core.Supplier.get(this._options.project)
803
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
803
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
804
804
  contentType: "application/json",
805
805
  requestType: "json",
806
806
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -876,7 +876,7 @@ class Tools {
876
876
  method: "GET",
877
877
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
878
878
  ? yield core.Supplier.get(this._options.project)
879
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
879
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
880
880
  contentType: "application/json",
881
881
  requestType: "json",
882
882
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -952,7 +952,7 @@ class Tools {
952
952
  method: "GET",
953
953
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
954
954
  ? yield core.Supplier.get(this._options.project)
955
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
955
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
956
956
  contentType: "application/json",
957
957
  requestType: "json",
958
958
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1028,7 +1028,7 @@ class Tools {
1028
1028
  method: "POST",
1029
1029
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1030
1030
  ? yield core.Supplier.get(this._options.project)
1031
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1031
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1032
1032
  contentType: "application/json",
1033
1033
  requestType: "json",
1034
1034
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1103,7 +1103,7 @@ class Tools {
1103
1103
  method: "GET",
1104
1104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1105
1105
  ? yield core.Supplier.get(this._options.project)
1106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1107
1107
  contentType: "application/json",
1108
1108
  requestType: "json",
1109
1109
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1183,7 +1183,7 @@ class Tools {
1183
1183
  method: "PUT",
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.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1260,7 +1260,7 @@ class Tools {
1260
1260
  method: "GET",
1261
1261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1262
1262
  ? yield core.Supplier.get(this._options.project)
1263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1263
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1264
1264
  contentType: "application/json",
1265
1265
  requestType: "json",
1266
1266
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1337,7 +1337,7 @@ class Tools {
1337
1337
  method: "POST",
1338
1338
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1339
1339
  ? yield core.Supplier.get(this._options.project)
1340
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1340
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1341
1341
  contentType: "application/json",
1342
1342
  requestType: "json",
1343
1343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1413,7 +1413,7 @@ class Tools {
1413
1413
  method: "DELETE",
1414
1414
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1415
1415
  ? yield core.Supplier.get(this._options.project)
1416
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1416
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1417
1417
  contentType: "application/json",
1418
1418
  requestType: "json",
1419
1419
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1490,7 +1490,7 @@ class Tools {
1490
1490
  method: "PATCH",
1491
1491
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1492
1492
  ? yield core.Supplier.get(this._options.project)
1493
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1493
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1494
1494
  contentType: "application/json",
1495
1495
  requestType: "json",
1496
1496
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1572,7 +1572,7 @@ class Tools {
1572
1572
  method: "POST",
1573
1573
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1574
1574
  ? yield core.Supplier.get(this._options.project)
1575
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1575
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1576
1576
  contentType: "application/json",
1577
1577
  requestType: "json",
1578
1578
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1633,7 +1633,7 @@ class Tools {
1633
1633
  method: "POST",
1634
1634
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1635
1635
  ? yield core.Supplier.get(this._options.project)
1636
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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),
1636
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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),
1637
1637
  contentType: "application/json",
1638
1638
  requestType: "json",
1639
1639
  body: serializers.ConnectMcpServerRequest.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.0.68654", "User-Agent": "@letta-ai/letta-client/0.0.68654", "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.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "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
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(request, {