@letta-ai/letta-client 1.0.0-alpha.3 → 1.0.0-alpha.4

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 (316) hide show
  1. package/api/resources/agents/client/Client.d.ts +8 -8
  2. package/api/resources/agents/client/Client.js +17 -17
  3. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  5. package/api/resources/agents/resources/blocks/client/Client.d.ts +12 -12
  6. package/api/resources/agents/resources/blocks/client/Client.js +17 -17
  7. package/api/resources/agents/resources/context/client/Client.d.ts +2 -2
  8. package/api/resources/agents/resources/context/client/Client.js +3 -3
  9. package/api/resources/agents/resources/coreMemory/client/Client.d.ts +2 -2
  10. package/api/resources/agents/resources/coreMemory/client/Client.js +3 -3
  11. package/api/resources/agents/resources/files/client/Client.d.ts +10 -10
  12. package/api/resources/agents/resources/files/client/Client.js +14 -14
  13. package/api/resources/agents/resources/folders/client/Client.d.ts +8 -8
  14. package/api/resources/agents/resources/folders/client/Client.js +11 -11
  15. package/api/resources/agents/resources/groups/client/Client.d.ts +2 -2
  16. package/api/resources/agents/resources/groups/client/Client.js +3 -3
  17. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  18. package/api/resources/agents/resources/messages/client/Client.d.ts +17 -17
  19. package/api/resources/agents/resources/messages/client/Client.js +27 -27
  20. package/api/resources/agents/resources/passages/client/Client.d.ts +8 -8
  21. package/api/resources/agents/resources/passages/client/Client.js +13 -13
  22. package/api/resources/agents/resources/sources/client/Client.d.ts +8 -8
  23. package/api/resources/agents/resources/sources/client/Client.js +11 -11
  24. package/api/resources/agents/resources/tools/client/Client.d.ts +10 -10
  25. package/api/resources/agents/resources/tools/client/Client.js +14 -14
  26. package/api/resources/archives/client/Client.d.ts +2 -2
  27. package/api/resources/archives/client/Client.js +5 -5
  28. package/api/resources/batches/client/Client.js +4 -4
  29. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  30. package/api/resources/blocks/client/Client.d.ts +6 -6
  31. package/api/resources/blocks/client/Client.js +12 -12
  32. package/api/resources/blocks/resources/agents/client/Client.d.ts +2 -2
  33. package/api/resources/blocks/resources/agents/client/Client.js +3 -3
  34. package/api/resources/chat/client/Client.js +1 -1
  35. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  36. package/api/resources/folders/client/Client.js +8 -8
  37. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  38. package/api/resources/folders/resources/files/client/Client.js +3 -3
  39. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  40. package/api/resources/groups/client/Client.d.ts +6 -6
  41. package/api/resources/groups/client/Client.js +12 -12
  42. package/api/resources/groups/resources/messages/client/Client.d.ts +9 -9
  43. package/api/resources/groups/resources/messages/client/Client.js +14 -14
  44. package/api/resources/health/client/Client.js +1 -1
  45. package/api/resources/identities/client/Client.d.ts +6 -6
  46. package/api/resources/identities/client/Client.js +13 -13
  47. package/api/resources/identities/resources/agents/client/Client.d.ts +2 -2
  48. package/api/resources/identities/resources/agents/client/Client.js +3 -3
  49. package/api/resources/identities/resources/blocks/client/Client.d.ts +2 -2
  50. package/api/resources/identities/resources/blocks/client/Client.js +3 -3
  51. package/api/resources/identities/resources/properties/client/Client.d.ts +2 -2
  52. package/api/resources/identities/resources/properties/client/Client.js +3 -3
  53. package/api/resources/jobs/client/Client.d.ts +6 -6
  54. package/api/resources/jobs/client/Client.js +11 -11
  55. package/api/resources/models/client/Client.js +2 -2
  56. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  57. package/api/resources/projects/client/Client.js +1 -1
  58. package/api/resources/providers/client/Client.d.ts +8 -8
  59. package/api/resources/providers/client/Client.js +15 -15
  60. package/api/resources/runs/client/Client.js +6 -6
  61. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  62. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  63. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  64. package/api/resources/sources/client/Client.d.ts +11 -11
  65. package/api/resources/sources/client/Client.js +21 -21
  66. package/api/resources/sources/resources/files/client/Client.d.ts +6 -6
  67. package/api/resources/sources/resources/files/client/Client.js +9 -9
  68. package/api/resources/sources/resources/passages/client/Client.d.ts +2 -2
  69. package/api/resources/sources/resources/passages/client/Client.js +3 -3
  70. package/api/resources/steps/client/Client.d.ts +2 -2
  71. package/api/resources/steps/client/Client.js +4 -4
  72. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  73. package/api/resources/steps/resources/feedback/client/Client.js +3 -3
  74. package/api/resources/steps/resources/messages/client/Client.d.ts +2 -2
  75. package/api/resources/steps/resources/messages/client/Client.js +3 -3
  76. package/api/resources/steps/resources/metrics/client/Client.d.ts +2 -2
  77. package/api/resources/steps/resources/metrics/client/Client.js +3 -3
  78. package/api/resources/steps/resources/trace/client/Client.d.ts +2 -2
  79. package/api/resources/steps/resources/trace/client/Client.js +3 -3
  80. package/api/resources/tags/client/Client.js +1 -1
  81. package/api/resources/telemetry/client/Client.js +1 -1
  82. package/api/resources/templates/client/Client.js +13 -13
  83. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  84. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
  85. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +5 -0
  86. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +5 -0
  87. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +4 -0
  88. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +5 -0
  89. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +1 -0
  90. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +5 -0
  91. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +5 -0
  92. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +4 -0
  93. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +5 -0
  94. package/api/resources/templates/types/index.d.ts +4 -0
  95. package/api/resources/templates/types/index.js +4 -0
  96. package/api/resources/tools/client/Client.d.ts +6 -6
  97. package/api/resources/tools/client/Client.js +23 -23
  98. package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  99. package/api/resources/voice/client/Client.js +1 -1
  100. package/api/types/ApprovalRequestMessage.d.ts +4 -0
  101. package/api/types/ApprovalRequestMessageAllowedToolCalls.d.ts +8 -0
  102. package/api/types/ApprovalRequestMessageAllowedToolCalls.js +5 -0
  103. package/api/types/ApprovalRequestMessageRequestedToolCalls.d.ts +8 -0
  104. package/api/types/ApprovalRequestMessageRequestedToolCalls.js +5 -0
  105. package/api/types/InternalTemplateAgentCreate.d.ts +2 -0
  106. package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -0
  107. package/api/types/LettaSchemasAgentFileToolSchema.d.ts +2 -0
  108. package/api/types/LlmConfig.d.ts +2 -0
  109. package/api/types/RunMetrics.d.ts +2 -0
  110. package/api/types/Tool.d.ts +2 -0
  111. package/api/types/ToolCreate.d.ts +2 -0
  112. package/api/types/index.d.ts +2 -0
  113. package/api/types/index.js +2 -0
  114. package/dist/api/resources/agents/client/Client.d.ts +8 -8
  115. package/dist/api/resources/agents/client/Client.js +17 -17
  116. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  117. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  118. package/dist/api/resources/agents/resources/blocks/client/Client.d.ts +12 -12
  119. package/dist/api/resources/agents/resources/blocks/client/Client.js +17 -17
  120. package/dist/api/resources/agents/resources/context/client/Client.d.ts +2 -2
  121. package/dist/api/resources/agents/resources/context/client/Client.js +3 -3
  122. package/dist/api/resources/agents/resources/coreMemory/client/Client.d.ts +2 -2
  123. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +3 -3
  124. package/dist/api/resources/agents/resources/files/client/Client.d.ts +10 -10
  125. package/dist/api/resources/agents/resources/files/client/Client.js +14 -14
  126. package/dist/api/resources/agents/resources/folders/client/Client.d.ts +8 -8
  127. package/dist/api/resources/agents/resources/folders/client/Client.js +11 -11
  128. package/dist/api/resources/agents/resources/groups/client/Client.d.ts +2 -2
  129. package/dist/api/resources/agents/resources/groups/client/Client.js +3 -3
  130. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  131. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +17 -17
  132. package/dist/api/resources/agents/resources/messages/client/Client.js +27 -27
  133. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +8 -8
  134. package/dist/api/resources/agents/resources/passages/client/Client.js +13 -13
  135. package/dist/api/resources/agents/resources/sources/client/Client.d.ts +8 -8
  136. package/dist/api/resources/agents/resources/sources/client/Client.js +11 -11
  137. package/dist/api/resources/agents/resources/tools/client/Client.d.ts +10 -10
  138. package/dist/api/resources/agents/resources/tools/client/Client.js +14 -14
  139. package/dist/api/resources/archives/client/Client.d.ts +2 -2
  140. package/dist/api/resources/archives/client/Client.js +5 -5
  141. package/dist/api/resources/batches/client/Client.js +4 -4
  142. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  143. package/dist/api/resources/blocks/client/Client.d.ts +6 -6
  144. package/dist/api/resources/blocks/client/Client.js +12 -12
  145. package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +2 -2
  146. package/dist/api/resources/blocks/resources/agents/client/Client.js +3 -3
  147. package/dist/api/resources/chat/client/Client.js +1 -1
  148. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  149. package/dist/api/resources/folders/client/Client.js +8 -8
  150. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  151. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  152. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  153. package/dist/api/resources/groups/client/Client.d.ts +6 -6
  154. package/dist/api/resources/groups/client/Client.js +12 -12
  155. package/dist/api/resources/groups/resources/messages/client/Client.d.ts +9 -9
  156. package/dist/api/resources/groups/resources/messages/client/Client.js +14 -14
  157. package/dist/api/resources/health/client/Client.js +1 -1
  158. package/dist/api/resources/identities/client/Client.d.ts +6 -6
  159. package/dist/api/resources/identities/client/Client.js +13 -13
  160. package/dist/api/resources/identities/resources/agents/client/Client.d.ts +2 -2
  161. package/dist/api/resources/identities/resources/agents/client/Client.js +3 -3
  162. package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +2 -2
  163. package/dist/api/resources/identities/resources/blocks/client/Client.js +3 -3
  164. package/dist/api/resources/identities/resources/properties/client/Client.d.ts +2 -2
  165. package/dist/api/resources/identities/resources/properties/client/Client.js +3 -3
  166. package/dist/api/resources/jobs/client/Client.d.ts +6 -6
  167. package/dist/api/resources/jobs/client/Client.js +11 -11
  168. package/dist/api/resources/models/client/Client.js +2 -2
  169. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  170. package/dist/api/resources/projects/client/Client.js +1 -1
  171. package/dist/api/resources/providers/client/Client.d.ts +8 -8
  172. package/dist/api/resources/providers/client/Client.js +15 -15
  173. package/dist/api/resources/runs/client/Client.js +6 -6
  174. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  175. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  176. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  177. package/dist/api/resources/sources/client/Client.d.ts +11 -11
  178. package/dist/api/resources/sources/client/Client.js +21 -21
  179. package/dist/api/resources/sources/resources/files/client/Client.d.ts +6 -6
  180. package/dist/api/resources/sources/resources/files/client/Client.js +9 -9
  181. package/dist/api/resources/sources/resources/passages/client/Client.d.ts +2 -2
  182. package/dist/api/resources/sources/resources/passages/client/Client.js +3 -3
  183. package/dist/api/resources/steps/client/Client.d.ts +2 -2
  184. package/dist/api/resources/steps/client/Client.js +4 -4
  185. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  186. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -3
  187. package/dist/api/resources/steps/resources/messages/client/Client.d.ts +2 -2
  188. package/dist/api/resources/steps/resources/messages/client/Client.js +3 -3
  189. package/dist/api/resources/steps/resources/metrics/client/Client.d.ts +2 -2
  190. package/dist/api/resources/steps/resources/metrics/client/Client.js +3 -3
  191. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +2 -2
  192. package/dist/api/resources/steps/resources/trace/client/Client.js +3 -3
  193. package/dist/api/resources/tags/client/Client.js +1 -1
  194. package/dist/api/resources/telemetry/client/Client.js +1 -1
  195. package/dist/api/resources/templates/client/Client.js +13 -13
  196. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  197. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
  198. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +5 -0
  199. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +5 -0
  200. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +4 -0
  201. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +5 -0
  202. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +1 -0
  203. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +5 -0
  204. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +5 -0
  205. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +4 -0
  206. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +5 -0
  207. package/dist/api/resources/templates/types/index.d.ts +4 -0
  208. package/dist/api/resources/templates/types/index.js +4 -0
  209. package/dist/api/resources/tools/client/Client.d.ts +6 -6
  210. package/dist/api/resources/tools/client/Client.js +23 -23
  211. package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  212. package/dist/api/resources/voice/client/Client.js +1 -1
  213. package/dist/api/types/ApprovalRequestMessage.d.ts +4 -0
  214. package/dist/api/types/ApprovalRequestMessageAllowedToolCalls.d.ts +8 -0
  215. package/dist/api/types/ApprovalRequestMessageAllowedToolCalls.js +5 -0
  216. package/dist/api/types/ApprovalRequestMessageRequestedToolCalls.d.ts +8 -0
  217. package/dist/api/types/ApprovalRequestMessageRequestedToolCalls.js +5 -0
  218. package/dist/api/types/InternalTemplateAgentCreate.d.ts +2 -0
  219. package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -0
  220. package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +2 -0
  221. package/dist/api/types/LlmConfig.d.ts +2 -0
  222. package/dist/api/types/RunMetrics.d.ts +2 -0
  223. package/dist/api/types/Tool.d.ts +2 -0
  224. package/dist/api/types/ToolCreate.d.ts +2 -0
  225. package/dist/api/types/index.d.ts +2 -0
  226. package/dist/api/types/index.js +2 -0
  227. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  228. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  229. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  230. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  231. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
  232. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
  233. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +11 -0
  234. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +47 -0
  235. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +10 -0
  236. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +41 -0
  237. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +2 -0
  238. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.js +2 -0
  239. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +11 -0
  240. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +46 -0
  241. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +10 -0
  242. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +41 -0
  243. package/dist/serialization/resources/templates/types/index.d.ts +4 -0
  244. package/dist/serialization/resources/templates/types/index.js +4 -0
  245. package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
  246. package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
  247. package/dist/serialization/types/ApprovalRequestMessage.d.ts +4 -0
  248. package/dist/serialization/types/ApprovalRequestMessage.js +4 -0
  249. package/dist/serialization/types/ApprovalRequestMessageAllowedToolCalls.d.ts +12 -0
  250. package/dist/serialization/types/ApprovalRequestMessageAllowedToolCalls.js +43 -0
  251. package/dist/serialization/types/ApprovalRequestMessageRequestedToolCalls.d.ts +12 -0
  252. package/dist/serialization/types/ApprovalRequestMessageRequestedToolCalls.js +43 -0
  253. package/dist/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  254. package/dist/serialization/types/InternalTemplateAgentCreate.js +1 -0
  255. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  256. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  257. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +1 -0
  258. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +1 -0
  259. package/dist/serialization/types/LlmConfig.d.ts +1 -0
  260. package/dist/serialization/types/LlmConfig.js +1 -0
  261. package/dist/serialization/types/RunMetrics.d.ts +1 -0
  262. package/dist/serialization/types/RunMetrics.js +1 -0
  263. package/dist/serialization/types/Tool.d.ts +1 -0
  264. package/dist/serialization/types/Tool.js +1 -0
  265. package/dist/serialization/types/ToolCreate.d.ts +1 -0
  266. package/dist/serialization/types/ToolCreate.js +1 -0
  267. package/dist/serialization/types/index.d.ts +2 -0
  268. package/dist/serialization/types/index.js +2 -0
  269. package/dist/version.d.ts +1 -1
  270. package/dist/version.js +1 -1
  271. package/package.json +1 -1
  272. package/reference.md +235 -186
  273. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  274. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  275. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  276. package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  277. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
  278. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
  279. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +11 -0
  280. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +47 -0
  281. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +10 -0
  282. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +41 -0
  283. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +2 -0
  284. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.js +2 -0
  285. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +11 -0
  286. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +46 -0
  287. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +10 -0
  288. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +41 -0
  289. package/serialization/resources/templates/types/index.d.ts +4 -0
  290. package/serialization/resources/templates/types/index.js +4 -0
  291. package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
  292. package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
  293. package/serialization/types/ApprovalRequestMessage.d.ts +4 -0
  294. package/serialization/types/ApprovalRequestMessage.js +4 -0
  295. package/serialization/types/ApprovalRequestMessageAllowedToolCalls.d.ts +12 -0
  296. package/serialization/types/ApprovalRequestMessageAllowedToolCalls.js +43 -0
  297. package/serialization/types/ApprovalRequestMessageRequestedToolCalls.d.ts +12 -0
  298. package/serialization/types/ApprovalRequestMessageRequestedToolCalls.js +43 -0
  299. package/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  300. package/serialization/types/InternalTemplateAgentCreate.js +1 -0
  301. package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  302. package/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  303. package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +1 -0
  304. package/serialization/types/LettaSchemasAgentFileToolSchema.js +1 -0
  305. package/serialization/types/LlmConfig.d.ts +1 -0
  306. package/serialization/types/LlmConfig.js +1 -0
  307. package/serialization/types/RunMetrics.d.ts +1 -0
  308. package/serialization/types/RunMetrics.js +1 -0
  309. package/serialization/types/Tool.d.ts +1 -0
  310. package/serialization/types/Tool.js +1 -0
  311. package/serialization/types/ToolCreate.d.ts +1 -0
  312. package/serialization/types/ToolCreate.js +1 -0
  313. package/serialization/types/index.d.ts +2 -0
  314. package/serialization/types/index.js +2 -0
  315. package/version.d.ts +1 -1
  316. package/version.js +1 -1
@@ -62,14 +62,14 @@ class Tools {
62
62
  /**
63
63
  * Get tools from an existing agent
64
64
  *
65
- * @param {string} agentId
65
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
66
66
  * @param {Letta.agents.ToolsListRequest} request
67
67
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.agents.tools.list("agent_id", {
72
+ * await client.agents.tools.list("agent-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * before: "before",
74
74
  * after: "after",
75
75
  * limit: 1,
@@ -107,7 +107,7 @@ class Tools {
107
107
  method: "GET",
108
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
109
109
  ? yield core.Supplier.get(this._options.project)
110
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -165,14 +165,14 @@ class Tools {
165
165
  /**
166
166
  * Attach a tool to an agent.
167
167
  *
168
- * @param {string} agentId
169
- * @param {string} toolId
168
+ * @param {string} agentId - The ID of the tool in the format 'tool-<uuid4>'
169
+ * @param {string} toolId - The ID of the agent in the format 'agent-<uuid4>'
170
170
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
171
171
  *
172
172
  * @throws {@link Letta.UnprocessableEntityError}
173
173
  *
174
174
  * @example
175
- * await client.agents.tools.attach("agent_id", "tool_id")
175
+ * await client.agents.tools.attach("tool-123e4567-e89b-42d3-8456-426614174000", "agent-123e4567-e89b-42d3-8456-426614174000")
176
176
  */
177
177
  attach(agentId, toolId, requestOptions) {
178
178
  return core.HttpResponsePromise.fromPromise(this.__attach(agentId, toolId, requestOptions));
@@ -185,7 +185,7 @@ class Tools {
185
185
  method: "PATCH",
186
186
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
187
187
  ? yield core.Supplier.get(this._options.project)
188
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
188
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -242,14 +242,14 @@ class Tools {
242
242
  /**
243
243
  * Detach a tool from an agent.
244
244
  *
245
- * @param {string} agentId
246
- * @param {string} toolId
245
+ * @param {string} agentId - The ID of the tool in the format 'tool-<uuid4>'
246
+ * @param {string} toolId - The ID of the agent in the format 'agent-<uuid4>'
247
247
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
248
248
  *
249
249
  * @throws {@link Letta.UnprocessableEntityError}
250
250
  *
251
251
  * @example
252
- * await client.agents.tools.detach("agent_id", "tool_id")
252
+ * await client.agents.tools.detach("tool-123e4567-e89b-42d3-8456-426614174000", "agent-123e4567-e89b-42d3-8456-426614174000")
253
253
  */
254
254
  detach(agentId, toolId, requestOptions) {
255
255
  return core.HttpResponsePromise.fromPromise(this.__detach(agentId, toolId, requestOptions));
@@ -262,7 +262,7 @@ class Tools {
262
262
  method: "PATCH",
263
263
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
264
264
  ? yield core.Supplier.get(this._options.project)
265
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
266
266
  contentType: "application/json",
267
267
  requestType: "json",
268
268
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -319,7 +319,7 @@ class Tools {
319
319
  /**
320
320
  * Attach a tool to an agent.
321
321
  *
322
- * @param {string} agentId
322
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
323
323
  * @param {string} toolName
324
324
  * @param {Letta.agents.ToolsModifyApprovalRequest} request
325
325
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
@@ -327,7 +327,7 @@ class Tools {
327
327
  * @throws {@link Letta.UnprocessableEntityError}
328
328
  *
329
329
  * @example
330
- * await client.agents.tools.modifyApproval("agent_id", "tool_name", {
330
+ * await client.agents.tools.modifyApproval("agent-123e4567-e89b-42d3-8456-426614174000", "tool_name", {
331
331
  * requiresApproval: true
332
332
  * })
333
333
  */
@@ -345,7 +345,7 @@ class Tools {
345
345
  method: "PATCH",
346
346
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
347
347
  ? yield core.Supplier.get(this._options.project)
348
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
348
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
349
349
  contentType: "application/json",
350
350
  queryParameters: _queryParams,
351
351
  requestType: "json",
@@ -68,14 +68,14 @@ export declare class Archives {
68
68
  /**
69
69
  * Update an existing archive's name and/or description.
70
70
  *
71
- * @param {string} archiveId
71
+ * @param {string} archiveId - The ID of the archive in the format 'archive-<uuid4>'
72
72
  * @param {Letta.ArchiveUpdateRequest} request
73
73
  * @param {Archives.RequestOptions} requestOptions - Request-specific configuration.
74
74
  *
75
75
  * @throws {@link Letta.UnprocessableEntityError}
76
76
  *
77
77
  * @example
78
- * await client.archives.modifyArchive("archive_id")
78
+ * await client.archives.modifyArchive("archive-123e4567-e89b-42d3-8456-426614174000")
79
79
  */
80
80
  modifyArchive(archiveId: string, request?: Letta.ArchiveUpdateRequest, requestOptions?: Archives.RequestOptions): core.HttpResponsePromise<Letta.Archive>;
81
81
  private __modifyArchive;
@@ -110,7 +110,7 @@ class Archives {
110
110
  method: "GET",
111
111
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
112
112
  ? yield core.Supplier.get(this._options.project)
113
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
116
116
  requestType: "json",
@@ -189,7 +189,7 @@ class Archives {
189
189
  method: "POST",
190
190
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
191
191
  ? yield core.Supplier.get(this._options.project)
192
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
192
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.ArchiveCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -247,14 +247,14 @@ class Archives {
247
247
  /**
248
248
  * Update an existing archive's name and/or description.
249
249
  *
250
- * @param {string} archiveId
250
+ * @param {string} archiveId - The ID of the archive in the format 'archive-<uuid4>'
251
251
  * @param {Letta.ArchiveUpdateRequest} request
252
252
  * @param {Archives.RequestOptions} requestOptions - Request-specific configuration.
253
253
  *
254
254
  * @throws {@link Letta.UnprocessableEntityError}
255
255
  *
256
256
  * @example
257
- * await client.archives.modifyArchive("archive_id")
257
+ * await client.archives.modifyArchive("archive-123e4567-e89b-42d3-8456-426614174000")
258
258
  */
259
259
  modifyArchive(archiveId, request = {}, requestOptions) {
260
260
  return core.HttpResponsePromise.fromPromise(this.__modifyArchive(archiveId, request, requestOptions));
@@ -267,7 +267,7 @@ class Archives {
267
267
  method: "PATCH",
268
268
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
269
269
  ? yield core.Supplier.get(this._options.project)
270
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
270
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
271
271
  contentType: "application/json",
272
272
  requestType: "json",
273
273
  body: serializers.ArchiveUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -111,7 +111,7 @@ class Batches {
111
111
  method: "GET",
112
112
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
113
113
  ? yield core.Supplier.get(this._options.project)
114
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
114
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -202,7 +202,7 @@ class Batches {
202
202
  method: "POST",
203
203
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
204
204
  ? yield core.Supplier.get(this._options.project)
205
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
205
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
206
206
  contentType: "application/json",
207
207
  requestType: "json",
208
208
  body: serializers.CreateBatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -279,7 +279,7 @@ class Batches {
279
279
  method: "GET",
280
280
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
281
281
  ? yield core.Supplier.get(this._options.project)
282
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
282
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
283
  contentType: "application/json",
284
284
  requestType: "json",
285
285
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -355,7 +355,7 @@ class Batches {
355
355
  method: "PATCH",
356
356
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
357
357
  ? yield core.Supplier.get(this._options.project)
358
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
358
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
359
359
  contentType: "application/json",
360
360
  requestType: "json",
361
361
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class Messages {
111
111
  method: "GET",
112
112
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
113
113
  ? yield core.Supplier.get(this._options.project)
114
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
114
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -87,36 +87,36 @@ export declare class Blocks {
87
87
  count(requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<number>;
88
88
  private __count;
89
89
  /**
90
- * @param {string} blockId
90
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
91
91
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
92
92
  *
93
93
  * @throws {@link Letta.UnprocessableEntityError}
94
94
  *
95
95
  * @example
96
- * await client.blocks.retrieve("block_id")
96
+ * await client.blocks.retrieve("block-123e4567-e89b-42d3-8456-426614174000")
97
97
  */
98
98
  retrieve(blockId: string, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<Letta.Block>;
99
99
  private __retrieve;
100
100
  /**
101
- * @param {string} blockId
101
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
102
102
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
103
103
  *
104
104
  * @throws {@link Letta.UnprocessableEntityError}
105
105
  *
106
106
  * @example
107
- * await client.blocks.delete("block_id")
107
+ * await client.blocks.delete("block-123e4567-e89b-42d3-8456-426614174000")
108
108
  */
109
109
  delete(blockId: string, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<unknown>;
110
110
  private __delete;
111
111
  /**
112
- * @param {string} blockId
112
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
113
113
  * @param {Letta.BlockUpdate} request
114
114
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
115
115
  *
116
116
  * @throws {@link Letta.UnprocessableEntityError}
117
117
  *
118
118
  * @example
119
- * await client.blocks.modify("block_id", {})
119
+ * await client.blocks.modify("block-123e4567-e89b-42d3-8456-426614174000", {})
120
120
  */
121
121
  modify(blockId: string, request: Letta.BlockUpdate, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<Letta.Block>;
122
122
  private __modify;
@@ -165,7 +165,7 @@ class Blocks {
165
165
  method: "GET",
166
166
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
167
167
  ? yield core.Supplier.get(this._options.project)
168
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
170
170
  queryParameters: _queryParams,
171
171
  requestType: "json",
@@ -243,7 +243,7 @@ class Blocks {
243
243
  method: "POST",
244
244
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
245
245
  ? yield core.Supplier.get(this._options.project)
246
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
247
247
  contentType: "application/json",
248
248
  requestType: "json",
249
249
  body: serializers.CreateBlock.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -319,7 +319,7 @@ class Blocks {
319
319
  method: "GET",
320
320
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
321
321
  ? yield core.Supplier.get(this._options.project)
322
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
322
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
323
323
  contentType: "application/json",
324
324
  requestType: "json",
325
325
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -374,13 +374,13 @@ class Blocks {
374
374
  });
375
375
  }
376
376
  /**
377
- * @param {string} blockId
377
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
378
378
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
379
379
  *
380
380
  * @throws {@link Letta.UnprocessableEntityError}
381
381
  *
382
382
  * @example
383
- * await client.blocks.retrieve("block_id")
383
+ * await client.blocks.retrieve("block-123e4567-e89b-42d3-8456-426614174000")
384
384
  */
385
385
  retrieve(blockId, requestOptions) {
386
386
  return core.HttpResponsePromise.fromPromise(this.__retrieve(blockId, requestOptions));
@@ -393,7 +393,7 @@ class Blocks {
393
393
  method: "GET",
394
394
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
395
395
  ? yield core.Supplier.get(this._options.project)
396
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
396
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
397
397
  contentType: "application/json",
398
398
  requestType: "json",
399
399
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -448,13 +448,13 @@ class Blocks {
448
448
  });
449
449
  }
450
450
  /**
451
- * @param {string} blockId
451
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
452
452
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
453
453
  *
454
454
  * @throws {@link Letta.UnprocessableEntityError}
455
455
  *
456
456
  * @example
457
- * await client.blocks.delete("block_id")
457
+ * await client.blocks.delete("block-123e4567-e89b-42d3-8456-426614174000")
458
458
  */
459
459
  delete(blockId, requestOptions) {
460
460
  return core.HttpResponsePromise.fromPromise(this.__delete(blockId, requestOptions));
@@ -467,7 +467,7 @@ class Blocks {
467
467
  method: "DELETE",
468
468
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
469
469
  ? yield core.Supplier.get(this._options.project)
470
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
470
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
471
471
  contentType: "application/json",
472
472
  requestType: "json",
473
473
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -513,14 +513,14 @@ class Blocks {
513
513
  });
514
514
  }
515
515
  /**
516
- * @param {string} blockId
516
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
517
517
  * @param {Letta.BlockUpdate} request
518
518
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
519
519
  *
520
520
  * @throws {@link Letta.UnprocessableEntityError}
521
521
  *
522
522
  * @example
523
- * await client.blocks.modify("block_id", {})
523
+ * await client.blocks.modify("block-123e4567-e89b-42d3-8456-426614174000", {})
524
524
  */
525
525
  modify(blockId, request, requestOptions) {
526
526
  return core.HttpResponsePromise.fromPromise(this.__modify(blockId, request, requestOptions));
@@ -533,7 +533,7 @@ class Blocks {
533
533
  method: "PATCH",
534
534
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
535
535
  ? yield core.Supplier.get(this._options.project)
536
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
536
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
537
537
  contentType: "application/json",
538
538
  requestType: "json",
539
539
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -34,14 +34,14 @@ export declare class Agents {
34
34
  * Retrieves all agents associated with the specified block.
35
35
  * Raises a 404 if the block does not exist.
36
36
  *
37
- * @param {string} blockId
37
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
38
38
  * @param {Letta.blocks.AgentsListRequest} request
39
39
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
40
40
  *
41
41
  * @throws {@link Letta.UnprocessableEntityError}
42
42
  *
43
43
  * @example
44
- * await client.blocks.agents.list("block_id", {
44
+ * await client.blocks.agents.list("block-123e4567-e89b-42d3-8456-426614174000", {
45
45
  * before: "before",
46
46
  * after: "after",
47
47
  * limit: 1,
@@ -63,14 +63,14 @@ class Agents {
63
63
  * Retrieves all agents associated with the specified block.
64
64
  * Raises a 404 if the block does not exist.
65
65
  *
66
- * @param {string} blockId
66
+ * @param {string} blockId - The ID of the block in the format 'block-<uuid4>'
67
67
  * @param {Letta.blocks.AgentsListRequest} request
68
68
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
69
69
  *
70
70
  * @throws {@link Letta.UnprocessableEntityError}
71
71
  *
72
72
  * @example
73
- * await client.blocks.agents.list("block_id", {
73
+ * await client.blocks.agents.list("block-123e4567-e89b-42d3-8456-426614174000", {
74
74
  * before: "before",
75
75
  * after: "after",
76
76
  * limit: 1,
@@ -116,7 +116,7 @@ class Agents {
116
116
  method: "GET",
117
117
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
118
118
  ? yield core.Supplier.get(this._options.project)
119
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
119
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
122
122
  requestType: "json",
@@ -93,7 +93,7 @@ class Chat {
93
93
  method: "POST",
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": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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
  requestType: "json",
99
99
  body: serializers.ChatCompletionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -96,7 +96,7 @@ class ClientSideAccessTokens {
96
96
  method: "GET",
97
97
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
98
98
  ? yield core.Supplier.get(this._options.project)
99
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
100
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
102
102
  requestType: "json",
@@ -174,7 +174,7 @@ class ClientSideAccessTokens {
174
174
  method: "POST",
175
175
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
176
176
  ? yield core.Supplier.get(this._options.project)
177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
178
178
  contentType: "application/json",
179
179
  requestType: "json",
180
180
  body: serializers.ClientSideAccessTokensCreateRequest.jsonOrThrow(request, {
@@ -250,7 +250,7 @@ class ClientSideAccessTokens {
250
250
  method: "DELETE",
251
251
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
252
252
  ? yield core.Supplier.get(this._options.project)
253
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
254
254
  contentType: "application/json",
255
255
  requestType: "json",
256
256
  body: request,
@@ -95,7 +95,7 @@ class Folders {
95
95
  method: "GET",
96
96
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
97
97
  ? yield core.Supplier.get(this._options.project)
98
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
99
99
  contentType: "application/json",
100
100
  requestType: "json",
101
101
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -171,7 +171,7 @@ class Folders {
171
171
  method: "GET",
172
172
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
173
173
  ? yield core.Supplier.get(this._options.project)
174
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
174
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -247,7 +247,7 @@ class Folders {
247
247
  method: "DELETE",
248
248
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
249
249
  ? yield core.Supplier.get(this._options.project)
250
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
250
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -315,7 +315,7 @@ class Folders {
315
315
  method: "PATCH",
316
316
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
317
317
  ? yield core.Supplier.get(this._options.project)
318
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
318
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
319
319
  contentType: "application/json",
320
320
  requestType: "json",
321
321
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -395,7 +395,7 @@ class Folders {
395
395
  method: "GET",
396
396
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
397
397
  ? yield core.Supplier.get(this._options.project)
398
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
398
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
399
399
  contentType: "application/json",
400
400
  requestType: "json",
401
401
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -484,7 +484,7 @@ class Folders {
484
484
  method: "GET",
485
485
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
486
486
  ? yield core.Supplier.get(this._options.project)
487
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
487
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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
488
  contentType: "application/json",
489
489
  queryParameters: _queryParams,
490
490
  requestType: "json",
@@ -590,7 +590,7 @@ class Folders {
590
590
  method: "GET",
591
591
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
592
592
  ? yield core.Supplier.get(this._options.project)
593
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
593
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
594
594
  contentType: "application/json",
595
595
  queryParameters: _queryParams,
596
596
  requestType: "json",
@@ -669,7 +669,7 @@ class Folders {
669
669
  method: "POST",
670
670
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
671
671
  ? yield core.Supplier.get(this._options.project)
672
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
672
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
673
673
  contentType: "application/json",
674
674
  requestType: "json",
675
675
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -107,7 +107,7 @@ class Agents {
107
107
  method: "GET",
108
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
109
109
  ? yield core.Supplier.get(this._options.project)
110
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -96,7 +96,7 @@ class Files {
96
96
  method: "POST",
97
97
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
98
98
  ? yield core.Supplier.get(this._options.project)
99
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
100
100
  queryParameters: _queryParams,
101
101
  requestType: "file",
102
102
  duplex: _maybeEncodedRequest.duplex,
@@ -204,7 +204,7 @@ class Files {
204
204
  method: "GET",
205
205
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
206
206
  ? yield core.Supplier.get(this._options.project)
207
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
207
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
208
208
  contentType: "application/json",
209
209
  queryParameters: _queryParams,
210
210
  requestType: "json",
@@ -282,7 +282,7 @@ class Files {
282
282
  method: "DELETE",
283
283
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
284
284
  ? yield core.Supplier.get(this._options.project)
285
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
285
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
286
  contentType: "application/json",
287
287
  requestType: "json",
288
288
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,