@letta-ai/letta-client 0.1.178 → 0.1.180

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 (393) hide show
  1. package/api/resources/agents/client/Client.js +10 -10
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +3 -3
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  10. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  14. package/api/resources/batches/client/Client.js +4 -4
  15. package/api/resources/blocks/client/Client.js +6 -6
  16. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  17. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  18. package/api/resources/embeddingModels/client/Client.js +1 -1
  19. package/api/resources/folders/client/Client.js +9 -9
  20. package/api/resources/folders/resources/files/client/Client.js +3 -3
  21. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  22. package/api/resources/groups/client/Client.js +6 -6
  23. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  24. package/api/resources/health/client/Client.js +1 -1
  25. package/api/resources/identities/client/Client.js +7 -7
  26. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  27. package/api/resources/jobs/client/Client.js +5 -5
  28. package/api/resources/messages/client/Client.js +1 -1
  29. package/api/resources/models/client/Client.js +1 -1
  30. package/api/resources/projects/client/Client.js +1 -1
  31. package/api/resources/providers/client/Client.js +6 -6
  32. package/api/resources/runs/client/Client.js +4 -4
  33. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  34. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  35. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  36. package/api/resources/sources/client/Client.js +10 -10
  37. package/api/resources/sources/resources/files/client/Client.js +3 -3
  38. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  39. package/api/resources/steps/client/Client.js +3 -3
  40. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  41. package/api/resources/tags/client/Client.js +1 -1
  42. package/api/resources/telemetry/client/Client.js +1 -1
  43. package/api/resources/templates/client/Client.js +1 -1
  44. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  45. package/api/resources/tools/client/Client.js +20 -20
  46. package/api/resources/voice/client/Client.js +1 -1
  47. package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
  48. package/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
  49. package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
  50. package/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
  51. package/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
  52. package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
  53. package/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
  54. package/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
  55. package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
  56. package/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
  57. package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
  58. package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
  59. package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
  60. package/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  61. package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
  62. package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  63. package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
  64. package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
  65. package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
  66. package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
  67. package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
  68. package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
  69. package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
  70. package/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
  71. package/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  72. package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
  73. package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
  74. package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
  75. package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
  76. package/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
  77. package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
  78. package/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
  79. package/api/types/CustomFormatGrammar.d.ts +8 -0
  80. package/api/types/CustomFormatGrammar.js +5 -0
  81. package/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
  82. package/api/types/CustomFormatGrammarGrammar.js +5 -0
  83. package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
  84. package/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
  85. package/api/types/CustomFormatText.d.ts +6 -0
  86. package/api/types/CustomFormatText.js +5 -0
  87. package/api/types/LlmConfig.d.ts +2 -0
  88. package/api/types/LlmConfigVerbosity.d.ts +9 -0
  89. package/api/types/LlmConfigVerbosity.js +11 -0
  90. package/api/types/McpTool.d.ts +2 -0
  91. package/api/types/McpToolHealth.d.ts +12 -0
  92. package/api/types/McpToolHealth.js +5 -0
  93. package/api/types/Message.d.ts +1 -1
  94. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
  95. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
  96. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
  97. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
  98. package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
  99. package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
  100. package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
  101. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
  102. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
  103. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
  104. package/api/types/index.d.ts +25 -4
  105. package/api/types/index.js +25 -4
  106. package/dist/api/resources/agents/client/Client.js +10 -10
  107. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  108. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  109. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  110. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  111. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  112. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  113. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  114. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  115. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  116. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  117. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  118. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  119. package/dist/api/resources/batches/client/Client.js +4 -4
  120. package/dist/api/resources/blocks/client/Client.js +6 -6
  121. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  122. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  123. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  124. package/dist/api/resources/folders/client/Client.js +9 -9
  125. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  126. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  127. package/dist/api/resources/groups/client/Client.js +6 -6
  128. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  129. package/dist/api/resources/health/client/Client.js +1 -1
  130. package/dist/api/resources/identities/client/Client.js +7 -7
  131. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  132. package/dist/api/resources/jobs/client/Client.js +5 -5
  133. package/dist/api/resources/messages/client/Client.js +1 -1
  134. package/dist/api/resources/models/client/Client.js +1 -1
  135. package/dist/api/resources/projects/client/Client.js +1 -1
  136. package/dist/api/resources/providers/client/Client.js +6 -6
  137. package/dist/api/resources/runs/client/Client.js +4 -4
  138. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  139. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  140. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  141. package/dist/api/resources/sources/client/Client.js +10 -10
  142. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  143. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  144. package/dist/api/resources/steps/client/Client.js +3 -3
  145. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  146. package/dist/api/resources/tags/client/Client.js +1 -1
  147. package/dist/api/resources/telemetry/client/Client.js +1 -1
  148. package/dist/api/resources/templates/client/Client.js +1 -1
  149. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  150. package/dist/api/resources/tools/client/Client.js +20 -20
  151. package/dist/api/resources/voice/client/Client.js +1 -1
  152. package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
  153. package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +5 -0
  154. package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
  155. package/dist/api/types/ChatCompletionAllowedToolsParam.js +5 -0
  156. package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
  157. package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
  158. package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
  159. package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
  160. package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +5 -0
  161. package/dist/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
  162. package/dist/api/types/ChatCompletionCustomToolParam.js +5 -0
  163. package/dist/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
  164. package/dist/api/types/ChatCompletionFunctionToolParam.js +5 -0
  165. package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
  166. package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +5 -0
  167. package/dist/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
  168. package/dist/api/types/ChatCompletionMessageFunctionToolCall.js +5 -0
  169. package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
  170. package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +5 -0
  171. package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
  172. package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
  173. package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  174. package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
  175. package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  176. package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
  177. package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
  178. package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
  179. package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
  180. package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
  181. package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
  182. package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
  183. package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
  184. package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  185. package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
  186. package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
  187. package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
  188. package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
  189. package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
  190. package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
  191. package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
  192. package/dist/api/types/CustomFormatGrammar.d.ts +8 -0
  193. package/dist/api/types/CustomFormatGrammar.js +5 -0
  194. package/dist/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
  195. package/dist/api/types/CustomFormatGrammarGrammar.js +5 -0
  196. package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
  197. package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
  198. package/dist/api/types/CustomFormatText.d.ts +6 -0
  199. package/dist/api/types/CustomFormatText.js +5 -0
  200. package/dist/api/types/LlmConfig.d.ts +2 -0
  201. package/dist/api/types/LlmConfigVerbosity.d.ts +9 -0
  202. package/dist/api/types/LlmConfigVerbosity.js +11 -0
  203. package/dist/api/types/McpTool.d.ts +2 -0
  204. package/dist/api/types/McpToolHealth.d.ts +12 -0
  205. package/dist/api/types/McpToolHealth.js +5 -0
  206. package/dist/api/types/Message.d.ts +1 -1
  207. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
  208. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
  209. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
  210. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
  211. package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
  212. package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
  213. package/dist/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
  214. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
  215. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
  216. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
  217. package/dist/api/types/index.d.ts +25 -4
  218. package/dist/api/types/index.js +25 -4
  219. package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
  220. package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
  221. package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
  222. package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
  223. package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
  224. package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
  225. package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
  226. package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
  227. package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
  228. package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
  229. package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
  230. package/dist/serialization/types/ChatCompletionCustomToolParam.js +45 -0
  231. package/dist/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
  232. package/dist/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
  233. package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
  234. package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
  235. package/dist/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
  236. package/dist/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
  237. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
  238. package/dist/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
  239. package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
  240. package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
  241. package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  242. package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
  243. package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
  244. package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
  245. package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  246. package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
  247. package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
  248. package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
  249. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
  250. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
  251. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
  252. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
  253. package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
  254. package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
  255. package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
  256. package/dist/serialization/types/CompletionCreateParamsStreaming.js +4 -2
  257. package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  258. package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
  259. package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
  260. package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
  261. package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
  262. package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
  263. package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
  264. package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
  265. package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
  266. package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
  267. package/dist/serialization/types/CustomFormatGrammar.d.ts +14 -0
  268. package/dist/serialization/types/CustomFormatGrammar.js +45 -0
  269. package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
  270. package/dist/serialization/types/CustomFormatGrammarGrammar.js +45 -0
  271. package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
  272. package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
  273. package/dist/serialization/types/CustomFormatText.d.ts +12 -0
  274. package/dist/serialization/types/CustomFormatText.js +43 -0
  275. package/dist/serialization/types/LlmConfig.d.ts +2 -0
  276. package/dist/serialization/types/LlmConfig.js +2 -0
  277. package/dist/serialization/types/LlmConfigVerbosity.d.ts +10 -0
  278. package/dist/serialization/types/LlmConfigVerbosity.js +41 -0
  279. package/dist/serialization/types/McpTool.d.ts +2 -0
  280. package/dist/serialization/types/McpTool.js +2 -0
  281. package/dist/serialization/types/McpToolHealth.d.ts +13 -0
  282. package/dist/serialization/types/McpToolHealth.js +44 -0
  283. package/dist/serialization/types/Message.d.ts +2 -2
  284. package/dist/serialization/types/Message.js +2 -2
  285. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
  286. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
  287. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
  288. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
  289. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
  290. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
  291. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
  292. package/{serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
  293. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
  294. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
  295. package/dist/serialization/types/index.d.ts +25 -4
  296. package/dist/serialization/types/index.js +25 -4
  297. package/dist/version.d.ts +1 -1
  298. package/dist/version.js +1 -1
  299. package/package.json +1 -1
  300. package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
  301. package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
  302. package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
  303. package/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
  304. package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
  305. package/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
  306. package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
  307. package/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
  308. package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
  309. package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
  310. package/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
  311. package/serialization/types/ChatCompletionCustomToolParam.js +45 -0
  312. package/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
  313. package/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
  314. package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
  315. package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
  316. package/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
  317. package/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
  318. package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
  319. package/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
  320. package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
  321. package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
  322. package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  323. package/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
  324. package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
  325. package/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
  326. package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  327. package/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
  328. package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
  329. package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
  330. package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
  331. package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
  332. package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
  333. package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
  334. package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
  335. package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
  336. package/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
  337. package/serialization/types/CompletionCreateParamsStreaming.js +4 -2
  338. package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  339. package/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
  340. package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
  341. package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
  342. package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
  343. package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
  344. package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
  345. package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
  346. package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
  347. package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
  348. package/serialization/types/CustomFormatGrammar.d.ts +14 -0
  349. package/serialization/types/CustomFormatGrammar.js +45 -0
  350. package/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
  351. package/serialization/types/CustomFormatGrammarGrammar.js +45 -0
  352. package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
  353. package/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
  354. package/serialization/types/CustomFormatText.d.ts +12 -0
  355. package/serialization/types/CustomFormatText.js +43 -0
  356. package/serialization/types/LlmConfig.d.ts +2 -0
  357. package/serialization/types/LlmConfig.js +2 -0
  358. package/serialization/types/LlmConfigVerbosity.d.ts +10 -0
  359. package/serialization/types/LlmConfigVerbosity.js +41 -0
  360. package/serialization/types/McpTool.d.ts +2 -0
  361. package/serialization/types/McpTool.js +2 -0
  362. package/serialization/types/McpToolHealth.d.ts +13 -0
  363. package/serialization/types/McpToolHealth.js +44 -0
  364. package/serialization/types/Message.d.ts +2 -2
  365. package/serialization/types/Message.js +2 -2
  366. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
  367. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
  368. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
  369. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
  370. package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
  371. package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
  372. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
  373. package/{dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
  374. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
  375. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
  376. package/serialization/types/index.d.ts +25 -4
  377. package/serialization/types/index.js +25 -4
  378. package/version.d.ts +1 -1
  379. package/version.js +1 -1
  380. package/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
  381. package/dist/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
  382. package/dist/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
  383. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
  384. package/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
  385. package/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
  386. /package/api/types/{ChatCompletionMessageToolCall.js → ChatCompletionAllowedToolChoiceParam.js} +0 -0
  387. /package/api/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionAllowedToolsParam.js} +0 -0
  388. /package/api/types/{ChatCompletionToolParam.js → ChatCompletionAssistantMessageParamToolCallsItem.js} +0 -0
  389. /package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → ChatCompletionCustomToolParam.js} +0 -0
  390. /package/{dist/api/types/ChatCompletionMessageToolCall.js → api/types/ChatCompletionFunctionToolParam.js} +0 -0
  391. /package/{dist/api/types/ChatCompletionMessageToolCallParam.js → api/types/ChatCompletionMessageCustomToolCallParam.js} +0 -0
  392. /package/{dist/api/types/ChatCompletionToolParam.js → api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
  393. /package/{dist/api/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → api/types/ChatCompletionMessageFunctionToolCallParam.js} +0 -0
@@ -97,7 +97,7 @@ class Providers {
97
97
  method: "GET",
98
98
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
99
99
  ? yield core.Supplier.get(this._options.project)
100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -178,7 +178,7 @@ class Providers {
178
178
  method: "POST",
179
179
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
180
180
  ? yield core.Supplier.get(this._options.project)
181
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -255,7 +255,7 @@ class Providers {
255
255
  method: "DELETE",
256
256
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
257
257
  ? yield core.Supplier.get(this._options.project)
258
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
258
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
259
259
  contentType: "application/json",
260
260
  requestType: "json",
261
261
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -325,7 +325,7 @@ class Providers {
325
325
  method: "PATCH",
326
326
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
327
327
  ? yield core.Supplier.get(this._options.project)
328
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -397,7 +397,7 @@ class Providers {
397
397
  method: "GET",
398
398
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
399
399
  ? yield core.Supplier.get(this._options.project)
400
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
400
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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
401
  contentType: "application/json",
402
402
  requestType: "json",
403
403
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -454,7 +454,7 @@ class Providers {
454
454
  method: "POST",
455
455
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
456
456
  ? yield core.Supplier.get(this._options.project)
457
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
457
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
458
458
  contentType: "application/json",
459
459
  requestType: "json",
460
460
  body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -106,7 +106,7 @@ class Runs {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -193,7 +193,7 @@ class Runs {
193
193
  method: "GET",
194
194
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
195
195
  ? yield core.Supplier.get(this._options.project)
196
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
197
  contentType: "application/json",
198
198
  queryParameters: _queryParams,
199
199
  requestType: "json",
@@ -270,7 +270,7 @@ class Runs {
270
270
  method: "GET",
271
271
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
272
272
  ? yield core.Supplier.get(this._options.project)
273
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
273
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
274
274
  contentType: "application/json",
275
275
  requestType: "json",
276
276
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -346,7 +346,7 @@ class Runs {
346
346
  method: "DELETE",
347
347
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
348
348
  ? yield core.Supplier.get(this._options.project)
349
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
350
350
  contentType: "application/json",
351
351
  requestType: "json",
352
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -112,7 +112,7 @@ class Messages {
112
112
  method: "GET",
113
113
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
114
114
  ? yield core.Supplier.get(this._options.project)
115
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
116
  contentType: "application/json",
117
117
  queryParameters: _queryParams,
118
118
  requestType: "json",
@@ -106,7 +106,7 @@ class Steps {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -81,7 +81,7 @@ class Usage {
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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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,
@@ -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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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",
@@ -90,7 +90,7 @@ class Files {
90
90
  method: "POST",
91
91
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
94
94
  queryParameters: _queryParams,
95
95
  requestType: "file",
96
96
  duplex: _maybeEncodedRequest.duplex,
@@ -180,7 +180,7 @@ class Files {
180
180
  method: "GET",
181
181
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
182
182
  ? yield core.Supplier.get(this._options.project)
183
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
183
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
184
  contentType: "application/json",
185
185
  queryParameters: _queryParams,
186
186
  requestType: "json",
@@ -258,7 +258,7 @@ class Files {
258
258
  method: "DELETE",
259
259
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
260
260
  ? yield core.Supplier.get(this._options.project)
261
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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",
@@ -140,7 +140,7 @@ class Steps {
140
140
  method: "GET",
141
141
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
142
142
  ? yield core.Supplier.get(this._options.project)
143
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
144
144
  contentType: "application/json",
145
145
  queryParameters: _queryParams,
146
146
  requestType: "json",
@@ -217,7 +217,7 @@ class Steps {
217
217
  method: "GET",
218
218
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
219
219
  ? yield core.Supplier.get(this._options.project)
220
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
221
221
  contentType: "application/json",
222
222
  requestType: "json",
223
223
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -293,7 +293,7 @@ class Steps {
293
293
  method: "GET",
294
294
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
295
295
  ? yield core.Supplier.get(this._options.project)
296
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
296
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
297
297
  contentType: "application/json",
298
298
  requestType: "json",
299
299
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -89,7 +89,7 @@ class Feedback {
89
89
  method: "PATCH",
90
90
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
91
91
  ? yield core.Supplier.get(this._options.project)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
@@ -92,7 +92,7 @@ class Tags {
92
92
  method: "GET",
93
93
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
94
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -79,7 +79,7 @@ class Telemetry {
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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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,
@@ -97,7 +97,7 @@ class Templates {
97
97
  method: "GET",
98
98
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
99
99
  ? yield core.Supplier.get(this._options.project)
100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  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.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-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.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-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" }),