@letta-ai/letta-client 0.0.68659 → 0.0.68661

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 (889) hide show
  1. package/api/resources/agents/client/Client.js +9 -9
  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 +4 -4
  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 +10 -10
  10. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  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 +4 -4
  14. package/api/resources/archives/client/Client.js +3 -3
  15. package/api/resources/batches/client/Client.js +4 -4
  16. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  17. package/api/resources/blocks/client/Client.js +6 -6
  18. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  19. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  20. package/api/resources/folders/client/Client.js +8 -8
  21. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  22. package/api/resources/folders/resources/files/client/Client.js +3 -3
  23. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  24. package/api/resources/groups/client/Client.js +6 -6
  25. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  26. package/api/resources/health/client/Client.js +1 -1
  27. package/api/resources/identities/client/Client.js +7 -7
  28. package/api/resources/identities/resources/agents/client/Client.js +1 -1
  29. package/api/resources/identities/resources/blocks/client/Client.js +1 -1
  30. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  31. package/api/resources/jobs/client/Client.js +5 -5
  32. package/api/resources/models/client/Client.js +2 -2
  33. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  34. package/api/resources/projects/client/Client.js +1 -1
  35. package/api/resources/providers/client/Client.js +6 -6
  36. package/api/resources/runs/client/Client.js +12 -14
  37. package/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +1 -1
  38. package/api/resources/runs/client/requests/RunsListRequest.d.ts +4 -0
  39. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  40. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  41. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  42. package/api/resources/sources/client/Client.js +10 -10
  43. package/api/resources/sources/resources/files/client/Client.js +3 -3
  44. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  45. package/api/resources/steps/client/Client.js +2 -2
  46. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  47. package/api/resources/steps/resources/messages/client/Client.js +1 -1
  48. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  49. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  50. package/api/resources/tags/client/Client.js +1 -1
  51. package/api/resources/telemetry/client/Client.js +1 -1
  52. package/api/resources/templates/client/Client.js +11 -11
  53. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  54. package/api/resources/tools/client/Client.js +20 -20
  55. package/api/resources/voice/client/Client.js +1 -1
  56. package/api/types/BatchJob.d.ts +4 -0
  57. package/{dist/api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts → api/types/ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
  58. package/{dist/api/types/FunctionOutput.d.ts → api/types/Function.d.ts} +1 -1
  59. package/api/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +1 -1
  60. package/api/types/FunctionTool.d.ts +1 -1
  61. package/api/types/Job.d.ts +4 -0
  62. package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +1 -1
  63. package/api/types/Message.d.ts +1 -1
  64. package/api/types/Run.d.ts +4 -0
  65. package/api/types/index.d.ts +3 -91
  66. package/api/types/index.js +3 -91
  67. package/dist/api/resources/agents/client/Client.js +9 -9
  68. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  69. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  70. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  71. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  72. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  73. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  74. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  75. package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
  76. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  77. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  78. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  79. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  80. package/dist/api/resources/archives/client/Client.js +3 -3
  81. package/dist/api/resources/batches/client/Client.js +4 -4
  82. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  83. package/dist/api/resources/blocks/client/Client.js +6 -6
  84. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  85. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  86. package/dist/api/resources/folders/client/Client.js +8 -8
  87. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  88. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  89. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  90. package/dist/api/resources/groups/client/Client.js +6 -6
  91. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  92. package/dist/api/resources/health/client/Client.js +1 -1
  93. package/dist/api/resources/identities/client/Client.js +7 -7
  94. package/dist/api/resources/identities/resources/agents/client/Client.js +1 -1
  95. package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
  96. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  97. package/dist/api/resources/jobs/client/Client.js +5 -5
  98. package/dist/api/resources/models/client/Client.js +2 -2
  99. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  100. package/dist/api/resources/projects/client/Client.js +1 -1
  101. package/dist/api/resources/providers/client/Client.js +6 -6
  102. package/dist/api/resources/runs/client/Client.js +12 -14
  103. package/dist/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +1 -1
  104. package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +4 -0
  105. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  106. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  107. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  108. package/dist/api/resources/sources/client/Client.js +10 -10
  109. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  110. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  111. package/dist/api/resources/steps/client/Client.js +2 -2
  112. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  113. package/dist/api/resources/steps/resources/messages/client/Client.js +1 -1
  114. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  115. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  116. package/dist/api/resources/tags/client/Client.js +1 -1
  117. package/dist/api/resources/telemetry/client/Client.js +1 -1
  118. package/dist/api/resources/templates/client/Client.js +11 -11
  119. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  120. package/dist/api/resources/tools/client/Client.js +20 -20
  121. package/dist/api/resources/voice/client/Client.js +1 -1
  122. package/dist/api/types/BatchJob.d.ts +4 -0
  123. package/{api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts → dist/api/types/ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
  124. package/{api/types/FunctionOutput.d.ts → dist/api/types/Function.d.ts} +1 -1
  125. package/dist/api/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +1 -1
  126. package/dist/api/types/FunctionTool.d.ts +1 -1
  127. package/dist/api/types/Job.d.ts +4 -0
  128. package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +1 -1
  129. package/dist/api/types/Message.d.ts +1 -1
  130. package/dist/api/types/Run.d.ts +4 -0
  131. package/dist/api/types/index.d.ts +3 -91
  132. package/dist/api/types/index.js +3 -91
  133. package/dist/serialization/types/BatchJob.d.ts +2 -0
  134. package/dist/serialization/types/BatchJob.js +2 -0
  135. package/dist/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +16 -0
  136. package/dist/serialization/types/{ChatCompletionMessageFunctionToolCallOutput.js → ChatCompletionMessageFunctionToolCall.js} +4 -4
  137. package/dist/serialization/types/{FunctionOutput.d.ts → Function.d.ts} +2 -2
  138. package/dist/serialization/types/{FunctionOutput.js → Function.js} +2 -2
  139. package/dist/serialization/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +2 -2
  140. package/dist/serialization/types/{FunctionDefinitionOutput.js → FunctionDefinition.js} +2 -2
  141. package/dist/serialization/types/FunctionTool.d.ts +2 -2
  142. package/dist/serialization/types/FunctionTool.js +2 -2
  143. package/dist/serialization/types/Job.d.ts +2 -0
  144. package/dist/serialization/types/Job.js +2 -0
  145. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +2 -2
  146. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +2 -2
  147. package/dist/serialization/types/Message.d.ts +2 -2
  148. package/dist/serialization/types/Message.js +2 -2
  149. package/dist/serialization/types/Run.d.ts +2 -0
  150. package/dist/serialization/types/Run.js +2 -0
  151. package/dist/serialization/types/index.d.ts +3 -91
  152. package/dist/serialization/types/index.js +3 -91
  153. package/dist/version.d.ts +1 -1
  154. package/dist/version.js +1 -1
  155. package/package.json +1 -1
  156. package/serialization/types/BatchJob.d.ts +2 -0
  157. package/serialization/types/BatchJob.js +2 -0
  158. package/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +16 -0
  159. package/serialization/types/{ChatCompletionMessageFunctionToolCallOutput.js → ChatCompletionMessageFunctionToolCall.js} +4 -4
  160. package/serialization/types/{FunctionOutput.d.ts → Function.d.ts} +2 -2
  161. package/serialization/types/{FunctionOutput.js → Function.js} +2 -2
  162. package/serialization/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +2 -2
  163. package/serialization/types/{FunctionDefinitionOutput.js → FunctionDefinition.js} +2 -2
  164. package/serialization/types/FunctionTool.d.ts +2 -2
  165. package/serialization/types/FunctionTool.js +2 -2
  166. package/serialization/types/Job.d.ts +2 -0
  167. package/serialization/types/Job.js +2 -0
  168. package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +2 -2
  169. package/serialization/types/LettaSchemasAgentFileMessageSchema.js +2 -2
  170. package/serialization/types/Message.d.ts +2 -2
  171. package/serialization/types/Message.js +2 -2
  172. package/serialization/types/Run.d.ts +2 -0
  173. package/serialization/types/Run.js +2 -0
  174. package/serialization/types/index.d.ts +3 -91
  175. package/serialization/types/index.js +3 -91
  176. package/version.d.ts +1 -1
  177. package/version.js +1 -1
  178. package/api/types/Audio.d.ts +0 -6
  179. package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -8
  180. package/api/types/ChatCompletionAllowedToolsParam.d.ts +0 -8
  181. package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -8
  182. package/api/types/ChatCompletionAllowedToolsParamMode.js +0 -10
  183. package/api/types/ChatCompletionAssistantMessageParam.d.ts +0 -13
  184. package/api/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -5
  185. package/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -5
  186. package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -5
  187. package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -5
  188. package/api/types/ChatCompletionAudioParam.d.ts +0 -8
  189. package/api/types/ChatCompletionAudioParam.js +0 -5
  190. package/api/types/ChatCompletionAudioParamFormat.d.ts +0 -12
  191. package/api/types/ChatCompletionAudioParamFormat.js +0 -14
  192. package/api/types/ChatCompletionAudioParamVoice.d.ts +0 -4
  193. package/api/types/ChatCompletionAudioParamVoice.js +0 -5
  194. package/api/types/ChatCompletionContentPartImageParam.d.ts +0 -8
  195. package/api/types/ChatCompletionContentPartImageParam.js +0 -5
  196. package/api/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -8
  197. package/api/types/ChatCompletionContentPartInputAudioParam.js +0 -5
  198. package/api/types/ChatCompletionContentPartRefusalParam.d.ts +0 -7
  199. package/api/types/ChatCompletionContentPartRefusalParam.js +0 -5
  200. package/api/types/ChatCompletionContentPartTextParam.d.ts +0 -7
  201. package/api/types/ChatCompletionContentPartTextParam.js +0 -5
  202. package/api/types/ChatCompletionCustomToolParam.d.ts +0 -8
  203. package/api/types/ChatCompletionCustomToolParam.js +0 -5
  204. package/api/types/ChatCompletionDeveloperMessageParam.d.ts +0 -9
  205. package/api/types/ChatCompletionDeveloperMessageParam.js +0 -5
  206. package/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -5
  207. package/api/types/ChatCompletionDeveloperMessageParamContent.js +0 -5
  208. package/api/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -6
  209. package/api/types/ChatCompletionFunctionCallOptionParam.js +0 -5
  210. package/api/types/ChatCompletionFunctionMessageParam.d.ts +0 -8
  211. package/api/types/ChatCompletionFunctionMessageParam.js +0 -5
  212. package/api/types/ChatCompletionFunctionToolParam.d.ts +0 -8
  213. package/api/types/ChatCompletionFunctionToolParam.js +0 -5
  214. package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -9
  215. package/api/types/ChatCompletionMessageCustomToolCallParam.js +0 -5
  216. package/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -11
  217. package/api/types/ChatCompletionMessageFunctionToolCallInput.js +0 -5
  218. package/api/types/ChatCompletionMessageFunctionToolCallOutput.js +0 -5
  219. package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -9
  220. package/api/types/ChatCompletionMessageFunctionToolCallParam.js +0 -5
  221. package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -8
  222. package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -5
  223. package/api/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -8
  224. package/api/types/ChatCompletionNamedToolChoiceParam.js +0 -5
  225. package/api/types/ChatCompletionPredictionContentParam.d.ts +0 -8
  226. package/api/types/ChatCompletionPredictionContentParam.js +0 -5
  227. package/api/types/ChatCompletionPredictionContentParamContent.d.ts +0 -5
  228. package/api/types/ChatCompletionPredictionContentParamContent.js +0 -5
  229. package/api/types/ChatCompletionStreamOptionsParam.d.ts +0 -7
  230. package/api/types/ChatCompletionStreamOptionsParam.js +0 -5
  231. package/api/types/ChatCompletionSystemMessageParam.d.ts +0 -9
  232. package/api/types/ChatCompletionSystemMessageParam.js +0 -5
  233. package/api/types/ChatCompletionSystemMessageParamContent.d.ts +0 -5
  234. package/api/types/ChatCompletionSystemMessageParamContent.js +0 -5
  235. package/api/types/ChatCompletionToolMessageParam.d.ts +0 -9
  236. package/api/types/ChatCompletionToolMessageParam.js +0 -5
  237. package/api/types/ChatCompletionToolMessageParamContent.d.ts +0 -5
  238. package/api/types/ChatCompletionToolMessageParamContent.js +0 -5
  239. package/api/types/ChatCompletionUserMessageParam.d.ts +0 -9
  240. package/api/types/ChatCompletionUserMessageParam.js +0 -5
  241. package/api/types/ChatCompletionUserMessageParamContent.d.ts +0 -5
  242. package/api/types/ChatCompletionUserMessageParamContent.js +0 -5
  243. package/api/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -5
  244. package/api/types/ChatCompletionUserMessageParamContentItem.js +0 -5
  245. package/api/types/CompletionCreateParamsNonStreaming.d.ts +0 -40
  246. package/api/types/CompletionCreateParamsNonStreaming.js +0 -5
  247. package/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -5
  248. package/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -5
  249. package/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -5
  250. package/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -5
  251. package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -8
  252. package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -10
  253. package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -4
  254. package/api/types/CompletionCreateParamsNonStreamingModel.js +0 -5
  255. package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
  256. package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -12
  257. package/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -5
  258. package/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -5
  259. package/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -11
  260. package/api/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -13
  261. package/api/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -4
  262. package/api/types/CompletionCreateParamsNonStreamingStop.js +0 -5
  263. package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -5
  264. package/api/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -5
  265. package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -5
  266. package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -5
  267. package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -9
  268. package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -11
  269. package/api/types/CompletionCreateParamsStreaming.d.ts +0 -40
  270. package/api/types/CompletionCreateParamsStreaming.js +0 -5
  271. package/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -5
  272. package/api/types/CompletionCreateParamsStreamingFunctionCall.js +0 -5
  273. package/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -5
  274. package/api/types/CompletionCreateParamsStreamingMessagesItem.js +0 -5
  275. package/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -8
  276. package/api/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -10
  277. package/api/types/CompletionCreateParamsStreamingModel.d.ts +0 -4
  278. package/api/types/CompletionCreateParamsStreamingModel.js +0 -5
  279. package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
  280. package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -12
  281. package/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -5
  282. package/api/types/CompletionCreateParamsStreamingResponseFormat.js +0 -5
  283. package/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -11
  284. package/api/types/CompletionCreateParamsStreamingServiceTier.js +0 -13
  285. package/api/types/CompletionCreateParamsStreamingStop.d.ts +0 -4
  286. package/api/types/CompletionCreateParamsStreamingStop.js +0 -5
  287. package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -5
  288. package/api/types/CompletionCreateParamsStreamingToolChoice.js +0 -5
  289. package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -5
  290. package/api/types/CompletionCreateParamsStreamingToolsItem.js +0 -5
  291. package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -9
  292. package/api/types/CompletionCreateParamsStreamingVerbosity.js +0 -11
  293. package/api/types/CustomFormatGrammar.d.ts +0 -8
  294. package/api/types/CustomFormatGrammar.js +0 -5
  295. package/api/types/CustomFormatGrammarGrammar.d.ts +0 -8
  296. package/api/types/CustomFormatGrammarGrammar.js +0 -5
  297. package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -8
  298. package/api/types/CustomFormatGrammarGrammarSyntax.js +0 -10
  299. package/api/types/CustomFormatText.d.ts +0 -6
  300. package/api/types/CustomFormatText.js +0 -5
  301. package/api/types/FileFile.d.ts +0 -8
  302. package/api/types/FileFile.js +0 -5
  303. package/api/types/File_.d.ts +0 -8
  304. package/api/types/File_.js +0 -5
  305. package/api/types/FunctionCall.d.ts +0 -7
  306. package/api/types/FunctionCall.js +0 -5
  307. package/api/types/FunctionDefinitionInput.d.ts +0 -9
  308. package/api/types/FunctionDefinitionInput.js +0 -5
  309. package/api/types/FunctionDefinitionOutput.js +0 -5
  310. package/api/types/FunctionOutput.js +0 -5
  311. package/api/types/ImageUrl.d.ts +0 -8
  312. package/api/types/ImageUrl.js +0 -5
  313. package/api/types/ImageUrlDetail.d.ts +0 -9
  314. package/api/types/ImageUrlDetail.js +0 -11
  315. package/api/types/InputAudio.d.ts +0 -8
  316. package/api/types/InputAudio.js +0 -5
  317. package/api/types/InputAudioFormat.d.ts +0 -8
  318. package/api/types/InputAudioFormat.js +0 -10
  319. package/api/types/JsonSchema.d.ts +0 -9
  320. package/api/types/JsonSchema.js +0 -5
  321. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -9
  322. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -5
  323. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -5
  324. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -5
  325. package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -7
  326. package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -5
  327. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -9
  328. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -5
  329. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -7
  330. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -5
  331. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -6
  332. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -5
  333. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -6
  334. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -5
  335. package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -8
  336. package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -5
  337. package/api/types/ResponseFormatJsonObject.d.ts +0 -6
  338. package/api/types/ResponseFormatJsonObject.js +0 -5
  339. package/api/types/ResponseFormatJsonSchema.d.ts +0 -8
  340. package/api/types/ResponseFormatJsonSchema.js +0 -5
  341. package/api/types/ResponseFormatText.d.ts +0 -6
  342. package/api/types/ResponseFormatText.js +0 -5
  343. package/api/types/WebSearchOptions.d.ts +0 -8
  344. package/api/types/WebSearchOptions.js +0 -5
  345. package/api/types/WebSearchOptionsSearchContextSize.d.ts +0 -9
  346. package/api/types/WebSearchOptionsSearchContextSize.js +0 -11
  347. package/api/types/WebSearchOptionsUserLocation.d.ts +0 -8
  348. package/api/types/WebSearchOptionsUserLocation.js +0 -5
  349. package/api/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -9
  350. package/api/types/WebSearchOptionsUserLocationApproximate.js +0 -5
  351. package/dist/api/types/Audio.d.ts +0 -6
  352. package/dist/api/types/Audio.js +0 -5
  353. package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -8
  354. package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +0 -5
  355. package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +0 -8
  356. package/dist/api/types/ChatCompletionAllowedToolsParam.js +0 -5
  357. package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -8
  358. package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +0 -10
  359. package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +0 -13
  360. package/dist/api/types/ChatCompletionAssistantMessageParam.js +0 -5
  361. package/dist/api/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -5
  362. package/dist/api/types/ChatCompletionAssistantMessageParamContent.js +0 -5
  363. package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -5
  364. package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.js +0 -5
  365. package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -5
  366. package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -5
  367. package/dist/api/types/ChatCompletionAudioParam.d.ts +0 -8
  368. package/dist/api/types/ChatCompletionAudioParam.js +0 -5
  369. package/dist/api/types/ChatCompletionAudioParamFormat.d.ts +0 -12
  370. package/dist/api/types/ChatCompletionAudioParamFormat.js +0 -14
  371. package/dist/api/types/ChatCompletionAudioParamVoice.d.ts +0 -4
  372. package/dist/api/types/ChatCompletionAudioParamVoice.js +0 -5
  373. package/dist/api/types/ChatCompletionContentPartImageParam.d.ts +0 -8
  374. package/dist/api/types/ChatCompletionContentPartImageParam.js +0 -5
  375. package/dist/api/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -8
  376. package/dist/api/types/ChatCompletionContentPartInputAudioParam.js +0 -5
  377. package/dist/api/types/ChatCompletionContentPartRefusalParam.d.ts +0 -7
  378. package/dist/api/types/ChatCompletionContentPartRefusalParam.js +0 -5
  379. package/dist/api/types/ChatCompletionContentPartTextParam.d.ts +0 -7
  380. package/dist/api/types/ChatCompletionContentPartTextParam.js +0 -5
  381. package/dist/api/types/ChatCompletionCustomToolParam.d.ts +0 -8
  382. package/dist/api/types/ChatCompletionCustomToolParam.js +0 -5
  383. package/dist/api/types/ChatCompletionDeveloperMessageParam.d.ts +0 -9
  384. package/dist/api/types/ChatCompletionDeveloperMessageParam.js +0 -5
  385. package/dist/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -5
  386. package/dist/api/types/ChatCompletionDeveloperMessageParamContent.js +0 -5
  387. package/dist/api/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -6
  388. package/dist/api/types/ChatCompletionFunctionCallOptionParam.js +0 -5
  389. package/dist/api/types/ChatCompletionFunctionMessageParam.d.ts +0 -8
  390. package/dist/api/types/ChatCompletionFunctionMessageParam.js +0 -5
  391. package/dist/api/types/ChatCompletionFunctionToolParam.d.ts +0 -8
  392. package/dist/api/types/ChatCompletionFunctionToolParam.js +0 -5
  393. package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -9
  394. package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +0 -5
  395. package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -11
  396. package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.js +0 -5
  397. package/dist/api/types/ChatCompletionMessageFunctionToolCallOutput.js +0 -5
  398. package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -9
  399. package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +0 -5
  400. package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -8
  401. package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -5
  402. package/dist/api/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -8
  403. package/dist/api/types/ChatCompletionNamedToolChoiceParam.js +0 -5
  404. package/dist/api/types/ChatCompletionPredictionContentParam.d.ts +0 -8
  405. package/dist/api/types/ChatCompletionPredictionContentParam.js +0 -5
  406. package/dist/api/types/ChatCompletionPredictionContentParamContent.d.ts +0 -5
  407. package/dist/api/types/ChatCompletionPredictionContentParamContent.js +0 -5
  408. package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +0 -7
  409. package/dist/api/types/ChatCompletionStreamOptionsParam.js +0 -5
  410. package/dist/api/types/ChatCompletionSystemMessageParam.d.ts +0 -9
  411. package/dist/api/types/ChatCompletionSystemMessageParam.js +0 -5
  412. package/dist/api/types/ChatCompletionSystemMessageParamContent.d.ts +0 -5
  413. package/dist/api/types/ChatCompletionSystemMessageParamContent.js +0 -5
  414. package/dist/api/types/ChatCompletionToolMessageParam.d.ts +0 -9
  415. package/dist/api/types/ChatCompletionToolMessageParam.js +0 -5
  416. package/dist/api/types/ChatCompletionToolMessageParamContent.d.ts +0 -5
  417. package/dist/api/types/ChatCompletionToolMessageParamContent.js +0 -5
  418. package/dist/api/types/ChatCompletionUserMessageParam.d.ts +0 -9
  419. package/dist/api/types/ChatCompletionUserMessageParam.js +0 -5
  420. package/dist/api/types/ChatCompletionUserMessageParamContent.d.ts +0 -5
  421. package/dist/api/types/ChatCompletionUserMessageParamContent.js +0 -5
  422. package/dist/api/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -5
  423. package/dist/api/types/ChatCompletionUserMessageParamContentItem.js +0 -5
  424. package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +0 -40
  425. package/dist/api/types/CompletionCreateParamsNonStreaming.js +0 -5
  426. package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -5
  427. package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -5
  428. package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -5
  429. package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -5
  430. package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -8
  431. package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -10
  432. package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -4
  433. package/dist/api/types/CompletionCreateParamsNonStreamingModel.js +0 -5
  434. package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
  435. package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -12
  436. package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -5
  437. package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -5
  438. package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -11
  439. package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -13
  440. package/dist/api/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -4
  441. package/dist/api/types/CompletionCreateParamsNonStreamingStop.js +0 -5
  442. package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -5
  443. package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -5
  444. package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -5
  445. package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -5
  446. package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -9
  447. package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -11
  448. package/dist/api/types/CompletionCreateParamsStreaming.d.ts +0 -40
  449. package/dist/api/types/CompletionCreateParamsStreaming.js +0 -5
  450. package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -5
  451. package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.js +0 -5
  452. package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -5
  453. package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.js +0 -5
  454. package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -8
  455. package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -10
  456. package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +0 -4
  457. package/dist/api/types/CompletionCreateParamsStreamingModel.js +0 -5
  458. package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
  459. package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -12
  460. package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -5
  461. package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.js +0 -5
  462. package/dist/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -11
  463. package/dist/api/types/CompletionCreateParamsStreamingServiceTier.js +0 -13
  464. package/dist/api/types/CompletionCreateParamsStreamingStop.d.ts +0 -4
  465. package/dist/api/types/CompletionCreateParamsStreamingStop.js +0 -5
  466. package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -5
  467. package/dist/api/types/CompletionCreateParamsStreamingToolChoice.js +0 -5
  468. package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -5
  469. package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +0 -5
  470. package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -9
  471. package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +0 -11
  472. package/dist/api/types/CustomFormatGrammar.d.ts +0 -8
  473. package/dist/api/types/CustomFormatGrammar.js +0 -5
  474. package/dist/api/types/CustomFormatGrammarGrammar.d.ts +0 -8
  475. package/dist/api/types/CustomFormatGrammarGrammar.js +0 -5
  476. package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -8
  477. package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +0 -10
  478. package/dist/api/types/CustomFormatText.d.ts +0 -6
  479. package/dist/api/types/CustomFormatText.js +0 -5
  480. package/dist/api/types/FileFile.d.ts +0 -8
  481. package/dist/api/types/FileFile.js +0 -5
  482. package/dist/api/types/File_.d.ts +0 -8
  483. package/dist/api/types/File_.js +0 -5
  484. package/dist/api/types/FunctionCall.d.ts +0 -7
  485. package/dist/api/types/FunctionCall.js +0 -5
  486. package/dist/api/types/FunctionDefinitionInput.d.ts +0 -9
  487. package/dist/api/types/FunctionDefinitionInput.js +0 -5
  488. package/dist/api/types/FunctionDefinitionOutput.js +0 -5
  489. package/dist/api/types/FunctionOutput.js +0 -5
  490. package/dist/api/types/ImageUrl.d.ts +0 -8
  491. package/dist/api/types/ImageUrl.js +0 -5
  492. package/dist/api/types/ImageUrlDetail.d.ts +0 -9
  493. package/dist/api/types/ImageUrlDetail.js +0 -11
  494. package/dist/api/types/InputAudio.d.ts +0 -8
  495. package/dist/api/types/InputAudio.js +0 -5
  496. package/dist/api/types/InputAudioFormat.d.ts +0 -8
  497. package/dist/api/types/InputAudioFormat.js +0 -10
  498. package/dist/api/types/JsonSchema.d.ts +0 -9
  499. package/dist/api/types/JsonSchema.js +0 -5
  500. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -9
  501. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -5
  502. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -5
  503. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -5
  504. package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -7
  505. package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -5
  506. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -9
  507. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -5
  508. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -7
  509. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -5
  510. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -6
  511. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -5
  512. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -6
  513. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -5
  514. package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -8
  515. package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -5
  516. package/dist/api/types/ResponseFormatJsonObject.d.ts +0 -6
  517. package/dist/api/types/ResponseFormatJsonObject.js +0 -5
  518. package/dist/api/types/ResponseFormatJsonSchema.d.ts +0 -8
  519. package/dist/api/types/ResponseFormatJsonSchema.js +0 -5
  520. package/dist/api/types/ResponseFormatText.d.ts +0 -6
  521. package/dist/api/types/ResponseFormatText.js +0 -5
  522. package/dist/api/types/WebSearchOptions.d.ts +0 -8
  523. package/dist/api/types/WebSearchOptions.js +0 -5
  524. package/dist/api/types/WebSearchOptionsSearchContextSize.d.ts +0 -9
  525. package/dist/api/types/WebSearchOptionsSearchContextSize.js +0 -11
  526. package/dist/api/types/WebSearchOptionsUserLocation.d.ts +0 -8
  527. package/dist/api/types/WebSearchOptionsUserLocation.js +0 -5
  528. package/dist/api/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -9
  529. package/dist/api/types/WebSearchOptionsUserLocationApproximate.js +0 -5
  530. package/dist/serialization/types/Audio.d.ts +0 -12
  531. package/dist/serialization/types/Audio.js +0 -43
  532. package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -14
  533. package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +0 -45
  534. package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +0 -14
  535. package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +0 -45
  536. package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -10
  537. package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +0 -41
  538. package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +0 -22
  539. package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +0 -53
  540. package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -11
  541. package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.js +0 -45
  542. package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -12
  543. package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +0 -46
  544. package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -12
  545. package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -46
  546. package/dist/serialization/types/ChatCompletionAudioParam.d.ts +0 -15
  547. package/dist/serialization/types/ChatCompletionAudioParam.js +0 -46
  548. package/dist/serialization/types/ChatCompletionAudioParamFormat.d.ts +0 -10
  549. package/dist/serialization/types/ChatCompletionAudioParamFormat.js +0 -41
  550. package/dist/serialization/types/ChatCompletionAudioParamVoice.d.ts +0 -10
  551. package/dist/serialization/types/ChatCompletionAudioParamVoice.js +0 -51
  552. package/dist/serialization/types/ChatCompletionContentPartImageParam.d.ts +0 -14
  553. package/dist/serialization/types/ChatCompletionContentPartImageParam.js +0 -45
  554. package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -14
  555. package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.js +0 -45
  556. package/dist/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +0 -13
  557. package/dist/serialization/types/ChatCompletionContentPartRefusalParam.js +0 -44
  558. package/dist/serialization/types/ChatCompletionContentPartTextParam.d.ts +0 -13
  559. package/dist/serialization/types/ChatCompletionContentPartTextParam.js +0 -44
  560. package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +0 -14
  561. package/dist/serialization/types/ChatCompletionCustomToolParam.js +0 -45
  562. package/dist/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +0 -15
  563. package/dist/serialization/types/ChatCompletionDeveloperMessageParam.js +0 -46
  564. package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -11
  565. package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.js +0 -45
  566. package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -12
  567. package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.js +0 -43
  568. package/dist/serialization/types/ChatCompletionFunctionMessageParam.d.ts +0 -14
  569. package/dist/serialization/types/ChatCompletionFunctionMessageParam.js +0 -45
  570. package/dist/serialization/types/ChatCompletionFunctionToolParam.d.ts +0 -14
  571. package/dist/serialization/types/ChatCompletionFunctionToolParam.js +0 -45
  572. package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -15
  573. package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +0 -46
  574. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -16
  575. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +0 -48
  576. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +0 -16
  577. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -15
  578. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +0 -46
  579. package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -14
  580. package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -45
  581. package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -14
  582. package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.js +0 -45
  583. package/dist/serialization/types/ChatCompletionPredictionContentParam.d.ts +0 -14
  584. package/dist/serialization/types/ChatCompletionPredictionContentParam.js +0 -45
  585. package/dist/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +0 -11
  586. package/dist/serialization/types/ChatCompletionPredictionContentParamContent.js +0 -45
  587. package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +0 -13
  588. package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +0 -44
  589. package/dist/serialization/types/ChatCompletionSystemMessageParam.d.ts +0 -15
  590. package/dist/serialization/types/ChatCompletionSystemMessageParam.js +0 -46
  591. package/dist/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +0 -11
  592. package/dist/serialization/types/ChatCompletionSystemMessageParamContent.js +0 -45
  593. package/dist/serialization/types/ChatCompletionToolMessageParam.d.ts +0 -15
  594. package/dist/serialization/types/ChatCompletionToolMessageParam.js +0 -46
  595. package/dist/serialization/types/ChatCompletionToolMessageParamContent.d.ts +0 -11
  596. package/dist/serialization/types/ChatCompletionToolMessageParamContent.js +0 -45
  597. package/dist/serialization/types/ChatCompletionUserMessageParam.d.ts +0 -15
  598. package/dist/serialization/types/ChatCompletionUserMessageParam.js +0 -46
  599. package/dist/serialization/types/ChatCompletionUserMessageParamContent.d.ts +0 -11
  600. package/dist/serialization/types/ChatCompletionUserMessageParamContent.js +0 -45
  601. package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -14
  602. package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.js +0 -50
  603. package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +0 -61
  604. package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +0 -92
  605. package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -11
  606. package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -46
  607. package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -16
  608. package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -54
  609. package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -10
  610. package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -41
  611. package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -10
  612. package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +0 -105
  613. package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
  614. package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -41
  615. package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -13
  616. package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -44
  617. package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -10
  618. package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -41
  619. package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -10
  620. package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.js +0 -44
  621. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -13
  622. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -51
  623. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -12
  624. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -43
  625. package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -10
  626. package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -41
  627. package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +0 -61
  628. package/dist/serialization/types/CompletionCreateParamsStreaming.js +0 -92
  629. package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -11
  630. package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +0 -46
  631. package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -16
  632. package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +0 -54
  633. package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -10
  634. package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -41
  635. package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +0 -10
  636. package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +0 -105
  637. package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
  638. package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -41
  639. package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -13
  640. package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +0 -44
  641. package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -10
  642. package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.js +0 -41
  643. package/dist/serialization/types/CompletionCreateParamsStreamingStop.d.ts +0 -10
  644. package/dist/serialization/types/CompletionCreateParamsStreamingStop.js +0 -44
  645. package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -13
  646. package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +0 -51
  647. package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -12
  648. package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +0 -43
  649. package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -10
  650. package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +0 -41
  651. package/dist/serialization/types/CustomFormatGrammar.d.ts +0 -14
  652. package/dist/serialization/types/CustomFormatGrammar.js +0 -45
  653. package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +0 -14
  654. package/dist/serialization/types/CustomFormatGrammarGrammar.js +0 -45
  655. package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -10
  656. package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +0 -41
  657. package/dist/serialization/types/CustomFormatText.d.ts +0 -12
  658. package/dist/serialization/types/CustomFormatText.js +0 -43
  659. package/dist/serialization/types/FileFile.d.ts +0 -14
  660. package/dist/serialization/types/FileFile.js +0 -45
  661. package/dist/serialization/types/File_.d.ts +0 -14
  662. package/dist/serialization/types/File_.js +0 -45
  663. package/dist/serialization/types/FunctionCall.d.ts +0 -13
  664. package/dist/serialization/types/FunctionCall.js +0 -44
  665. package/dist/serialization/types/FunctionDefinitionInput.d.ts +0 -15
  666. package/dist/serialization/types/FunctionDefinitionInput.js +0 -46
  667. package/dist/serialization/types/ImageUrl.d.ts +0 -14
  668. package/dist/serialization/types/ImageUrl.js +0 -45
  669. package/dist/serialization/types/ImageUrlDetail.d.ts +0 -10
  670. package/dist/serialization/types/ImageUrlDetail.js +0 -41
  671. package/dist/serialization/types/InputAudio.d.ts +0 -14
  672. package/dist/serialization/types/InputAudio.js +0 -45
  673. package/dist/serialization/types/InputAudioFormat.d.ts +0 -10
  674. package/dist/serialization/types/InputAudioFormat.js +0 -41
  675. package/dist/serialization/types/JsonSchema.d.ts +0 -15
  676. package/dist/serialization/types/JsonSchema.js +0 -46
  677. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -15
  678. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -46
  679. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -12
  680. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -43
  681. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -13
  682. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -44
  683. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -14
  684. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -46
  685. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -13
  686. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -44
  687. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -12
  688. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -43
  689. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -12
  690. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -43
  691. package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -14
  692. package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -45
  693. package/dist/serialization/types/ResponseFormatJsonObject.d.ts +0 -12
  694. package/dist/serialization/types/ResponseFormatJsonObject.js +0 -43
  695. package/dist/serialization/types/ResponseFormatJsonSchema.d.ts +0 -14
  696. package/dist/serialization/types/ResponseFormatJsonSchema.js +0 -45
  697. package/dist/serialization/types/ResponseFormatText.d.ts +0 -12
  698. package/dist/serialization/types/ResponseFormatText.js +0 -43
  699. package/dist/serialization/types/WebSearchOptions.d.ts +0 -15
  700. package/dist/serialization/types/WebSearchOptions.js +0 -46
  701. package/dist/serialization/types/WebSearchOptionsSearchContextSize.d.ts +0 -10
  702. package/dist/serialization/types/WebSearchOptionsSearchContextSize.js +0 -41
  703. package/dist/serialization/types/WebSearchOptionsUserLocation.d.ts +0 -14
  704. package/dist/serialization/types/WebSearchOptionsUserLocation.js +0 -45
  705. package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -15
  706. package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.js +0 -46
  707. package/serialization/types/Audio.d.ts +0 -12
  708. package/serialization/types/Audio.js +0 -43
  709. package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -14
  710. package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +0 -45
  711. package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +0 -14
  712. package/serialization/types/ChatCompletionAllowedToolsParam.js +0 -45
  713. package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -10
  714. package/serialization/types/ChatCompletionAllowedToolsParamMode.js +0 -41
  715. package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +0 -22
  716. package/serialization/types/ChatCompletionAssistantMessageParam.js +0 -53
  717. package/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -11
  718. package/serialization/types/ChatCompletionAssistantMessageParamContent.js +0 -45
  719. package/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -12
  720. package/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +0 -46
  721. package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -12
  722. package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -46
  723. package/serialization/types/ChatCompletionAudioParam.d.ts +0 -15
  724. package/serialization/types/ChatCompletionAudioParam.js +0 -46
  725. package/serialization/types/ChatCompletionAudioParamFormat.d.ts +0 -10
  726. package/serialization/types/ChatCompletionAudioParamFormat.js +0 -41
  727. package/serialization/types/ChatCompletionAudioParamVoice.d.ts +0 -10
  728. package/serialization/types/ChatCompletionAudioParamVoice.js +0 -51
  729. package/serialization/types/ChatCompletionContentPartImageParam.d.ts +0 -14
  730. package/serialization/types/ChatCompletionContentPartImageParam.js +0 -45
  731. package/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -14
  732. package/serialization/types/ChatCompletionContentPartInputAudioParam.js +0 -45
  733. package/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +0 -13
  734. package/serialization/types/ChatCompletionContentPartRefusalParam.js +0 -44
  735. package/serialization/types/ChatCompletionContentPartTextParam.d.ts +0 -13
  736. package/serialization/types/ChatCompletionContentPartTextParam.js +0 -44
  737. package/serialization/types/ChatCompletionCustomToolParam.d.ts +0 -14
  738. package/serialization/types/ChatCompletionCustomToolParam.js +0 -45
  739. package/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +0 -15
  740. package/serialization/types/ChatCompletionDeveloperMessageParam.js +0 -46
  741. package/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -11
  742. package/serialization/types/ChatCompletionDeveloperMessageParamContent.js +0 -45
  743. package/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -12
  744. package/serialization/types/ChatCompletionFunctionCallOptionParam.js +0 -43
  745. package/serialization/types/ChatCompletionFunctionMessageParam.d.ts +0 -14
  746. package/serialization/types/ChatCompletionFunctionMessageParam.js +0 -45
  747. package/serialization/types/ChatCompletionFunctionToolParam.d.ts +0 -14
  748. package/serialization/types/ChatCompletionFunctionToolParam.js +0 -45
  749. package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -15
  750. package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +0 -46
  751. package/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -16
  752. package/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +0 -48
  753. package/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +0 -16
  754. package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -15
  755. package/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +0 -46
  756. package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -14
  757. package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -45
  758. package/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -14
  759. package/serialization/types/ChatCompletionNamedToolChoiceParam.js +0 -45
  760. package/serialization/types/ChatCompletionPredictionContentParam.d.ts +0 -14
  761. package/serialization/types/ChatCompletionPredictionContentParam.js +0 -45
  762. package/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +0 -11
  763. package/serialization/types/ChatCompletionPredictionContentParamContent.js +0 -45
  764. package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +0 -13
  765. package/serialization/types/ChatCompletionStreamOptionsParam.js +0 -44
  766. package/serialization/types/ChatCompletionSystemMessageParam.d.ts +0 -15
  767. package/serialization/types/ChatCompletionSystemMessageParam.js +0 -46
  768. package/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +0 -11
  769. package/serialization/types/ChatCompletionSystemMessageParamContent.js +0 -45
  770. package/serialization/types/ChatCompletionToolMessageParam.d.ts +0 -15
  771. package/serialization/types/ChatCompletionToolMessageParam.js +0 -46
  772. package/serialization/types/ChatCompletionToolMessageParamContent.d.ts +0 -11
  773. package/serialization/types/ChatCompletionToolMessageParamContent.js +0 -45
  774. package/serialization/types/ChatCompletionUserMessageParam.d.ts +0 -15
  775. package/serialization/types/ChatCompletionUserMessageParam.js +0 -46
  776. package/serialization/types/ChatCompletionUserMessageParamContent.d.ts +0 -11
  777. package/serialization/types/ChatCompletionUserMessageParamContent.js +0 -45
  778. package/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -14
  779. package/serialization/types/ChatCompletionUserMessageParamContentItem.js +0 -50
  780. package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +0 -61
  781. package/serialization/types/CompletionCreateParamsNonStreaming.js +0 -92
  782. package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -11
  783. package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -46
  784. package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -16
  785. package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -54
  786. package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -10
  787. package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -41
  788. package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -10
  789. package/serialization/types/CompletionCreateParamsNonStreamingModel.js +0 -105
  790. package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
  791. package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -41
  792. package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -13
  793. package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -44
  794. package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -10
  795. package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -41
  796. package/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -10
  797. package/serialization/types/CompletionCreateParamsNonStreamingStop.js +0 -44
  798. package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -13
  799. package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -51
  800. package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -12
  801. package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -43
  802. package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -10
  803. package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -41
  804. package/serialization/types/CompletionCreateParamsStreaming.d.ts +0 -61
  805. package/serialization/types/CompletionCreateParamsStreaming.js +0 -92
  806. package/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -11
  807. package/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +0 -46
  808. package/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -16
  809. package/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +0 -54
  810. package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -10
  811. package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -41
  812. package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +0 -10
  813. package/serialization/types/CompletionCreateParamsStreamingModel.js +0 -105
  814. package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
  815. package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -41
  816. package/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -13
  817. package/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +0 -44
  818. package/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -10
  819. package/serialization/types/CompletionCreateParamsStreamingServiceTier.js +0 -41
  820. package/serialization/types/CompletionCreateParamsStreamingStop.d.ts +0 -10
  821. package/serialization/types/CompletionCreateParamsStreamingStop.js +0 -44
  822. package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -13
  823. package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +0 -51
  824. package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -12
  825. package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +0 -43
  826. package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -10
  827. package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +0 -41
  828. package/serialization/types/CustomFormatGrammar.d.ts +0 -14
  829. package/serialization/types/CustomFormatGrammar.js +0 -45
  830. package/serialization/types/CustomFormatGrammarGrammar.d.ts +0 -14
  831. package/serialization/types/CustomFormatGrammarGrammar.js +0 -45
  832. package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -10
  833. package/serialization/types/CustomFormatGrammarGrammarSyntax.js +0 -41
  834. package/serialization/types/CustomFormatText.d.ts +0 -12
  835. package/serialization/types/CustomFormatText.js +0 -43
  836. package/serialization/types/FileFile.d.ts +0 -14
  837. package/serialization/types/FileFile.js +0 -45
  838. package/serialization/types/File_.d.ts +0 -14
  839. package/serialization/types/File_.js +0 -45
  840. package/serialization/types/FunctionCall.d.ts +0 -13
  841. package/serialization/types/FunctionCall.js +0 -44
  842. package/serialization/types/FunctionDefinitionInput.d.ts +0 -15
  843. package/serialization/types/FunctionDefinitionInput.js +0 -46
  844. package/serialization/types/ImageUrl.d.ts +0 -14
  845. package/serialization/types/ImageUrl.js +0 -45
  846. package/serialization/types/ImageUrlDetail.d.ts +0 -10
  847. package/serialization/types/ImageUrlDetail.js +0 -41
  848. package/serialization/types/InputAudio.d.ts +0 -14
  849. package/serialization/types/InputAudio.js +0 -45
  850. package/serialization/types/InputAudioFormat.d.ts +0 -10
  851. package/serialization/types/InputAudioFormat.js +0 -41
  852. package/serialization/types/JsonSchema.d.ts +0 -15
  853. package/serialization/types/JsonSchema.js +0 -46
  854. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -15
  855. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -46
  856. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -12
  857. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -43
  858. package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -13
  859. package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -44
  860. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -14
  861. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -46
  862. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -13
  863. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -44
  864. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -12
  865. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -43
  866. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -12
  867. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -43
  868. package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -14
  869. package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -45
  870. package/serialization/types/ResponseFormatJsonObject.d.ts +0 -12
  871. package/serialization/types/ResponseFormatJsonObject.js +0 -43
  872. package/serialization/types/ResponseFormatJsonSchema.d.ts +0 -14
  873. package/serialization/types/ResponseFormatJsonSchema.js +0 -45
  874. package/serialization/types/ResponseFormatText.d.ts +0 -12
  875. package/serialization/types/ResponseFormatText.js +0 -43
  876. package/serialization/types/WebSearchOptions.d.ts +0 -15
  877. package/serialization/types/WebSearchOptions.js +0 -46
  878. package/serialization/types/WebSearchOptionsSearchContextSize.d.ts +0 -10
  879. package/serialization/types/WebSearchOptionsSearchContextSize.js +0 -41
  880. package/serialization/types/WebSearchOptionsUserLocation.d.ts +0 -14
  881. package/serialization/types/WebSearchOptionsUserLocation.js +0 -45
  882. package/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -15
  883. package/serialization/types/WebSearchOptionsUserLocationApproximate.js +0 -46
  884. /package/api/types/{Audio.js → ChatCompletionMessageFunctionToolCall.js} +0 -0
  885. /package/api/types/{ChatCompletionAllowedToolChoiceParam.js → Function.js} +0 -0
  886. /package/api/types/{ChatCompletionAllowedToolsParam.js → FunctionDefinition.js} +0 -0
  887. /package/{api/types/ChatCompletionAssistantMessageParam.js → dist/api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
  888. /package/{api/types/ChatCompletionAssistantMessageParamContent.js → dist/api/types/Function.js} +0 -0
  889. /package/{api/types/ChatCompletionAssistantMessageParamContentItem.js → dist/api/types/FunctionDefinition.js} +0 -0
@@ -213,7 +213,7 @@ class Agents {
213
213
  method: "GET",
214
214
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
215
215
  ? yield core.Supplier.get(this._options.project)
216
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
216
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
217
217
  contentType: "application/json",
218
218
  queryParameters: _queryParams,
219
219
  requestType: "json",
@@ -290,7 +290,7 @@ class Agents {
290
290
  method: "POST",
291
291
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
292
292
  ? yield core.Supplier.get(this._options.project)
293
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
293
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
294
294
  contentType: "application/json",
295
295
  requestType: "json",
296
296
  body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -366,7 +366,7 @@ class Agents {
366
366
  method: "GET",
367
367
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
368
368
  ? yield core.Supplier.get(this._options.project)
369
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
369
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
370
370
  contentType: "application/json",
371
371
  requestType: "json",
372
372
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -455,7 +455,7 @@ class Agents {
455
455
  method: "GET",
456
456
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
457
457
  ? yield core.Supplier.get(this._options.project)
458
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
458
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
459
459
  contentType: "application/json",
460
460
  queryParameters: _queryParams,
461
461
  requestType: "json",
@@ -555,7 +555,7 @@ class Agents {
555
555
  method: "POST",
556
556
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
557
557
  ? yield core.Supplier.get(this._options.project)
558
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
558
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
559
559
  requestType: "file",
560
560
  duplex: _maybeEncodedRequest.duplex,
561
561
  body: _maybeEncodedRequest.body,
@@ -643,7 +643,7 @@ class Agents {
643
643
  method: "GET",
644
644
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
645
645
  ? yield core.Supplier.get(this._options.project)
646
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
646
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
647
647
  contentType: "application/json",
648
648
  queryParameters: _queryParams,
649
649
  requestType: "json",
@@ -720,7 +720,7 @@ class Agents {
720
720
  method: "DELETE",
721
721
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
722
722
  ? yield core.Supplier.get(this._options.project)
723
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
723
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
724
724
  contentType: "application/json",
725
725
  requestType: "json",
726
726
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -788,7 +788,7 @@ class Agents {
788
788
  method: "PATCH",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
792
792
  contentType: "application/json",
793
793
  requestType: "json",
794
794
  body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -865,7 +865,7 @@ class Agents {
865
865
  method: "POST",
866
866
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
867
867
  ? yield core.Supplier.get(this._options.project)
868
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
868
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
869
869
  contentType: "application/json",
870
870
  requestType: "json",
871
871
  body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -82,7 +82,7 @@ class Blocks {
82
82
  method: "GET",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -160,7 +160,7 @@ class Blocks {
160
160
  method: "PATCH",
161
161
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
162
162
  ? yield core.Supplier.get(this._options.project)
163
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class Blocks {
237
237
  method: "GET",
238
238
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
239
239
  ? yield core.Supplier.get(this._options.project)
240
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -314,7 +314,7 @@ class Blocks {
314
314
  method: "PATCH",
315
315
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
316
316
  ? yield core.Supplier.get(this._options.project)
317
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
317
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -391,7 +391,7 @@ class Blocks {
391
391
  method: "PATCH",
392
392
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
393
393
  ? yield core.Supplier.get(this._options.project)
394
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
394
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
395
395
  contentType: "application/json",
396
396
  requestType: "json",
397
397
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -81,7 +81,7 @@ class Context {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class CoreMemory {
82
82
  method: "GET",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -84,7 +84,7 @@ class Files {
84
84
  method: "PATCH",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -165,7 +165,7 @@ class Files {
165
165
  method: "PATCH",
166
166
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
167
167
  ? yield core.Supplier.get(this._options.project)
168
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -245,7 +245,7 @@ class Files {
245
245
  method: "PATCH",
246
246
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
247
247
  ? yield core.Supplier.get(this._options.project)
248
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
248
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
249
249
  contentType: "application/json",
250
250
  requestType: "json",
251
251
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -324,7 +324,7 @@ class Files {
324
324
  method: "GET",
325
325
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
326
326
  ? yield core.Supplier.get(this._options.project)
327
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
328
  contentType: "application/json",
329
329
  queryParameters: _queryParams,
330
330
  requestType: "json",
@@ -82,7 +82,7 @@ class Folders {
82
82
  method: "PATCH",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -159,7 +159,7 @@ class Folders {
159
159
  method: "PATCH",
160
160
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
161
161
  ? yield core.Supplier.get(this._options.project)
162
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class Folders {
235
235
  method: "GET",
236
236
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
237
237
  ? yield core.Supplier.get(this._options.project)
238
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Groups {
87
87
  method: "GET",
88
88
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
89
89
  ? yield core.Supplier.get(this._options.project)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -83,7 +83,7 @@ class MemoryVariables {
83
83
  method: "GET",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -108,7 +108,7 @@ class Messages {
108
108
  method: "GET",
109
109
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
110
110
  ? yield core.Supplier.get(this._options.project)
111
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
112
  contentType: "application/json",
113
113
  queryParameters: _queryParams,
114
114
  requestType: "json",
@@ -195,7 +195,7 @@ class Messages {
195
195
  method: "POST",
196
196
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
197
197
  ? yield core.Supplier.get(this._options.project)
198
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
198
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
199
  contentType: "application/json",
200
200
  requestType: "json",
201
201
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -276,7 +276,7 @@ class Messages {
276
276
  method: "PATCH",
277
277
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
278
278
  ? yield core.Supplier.get(this._options.project)
279
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
280
280
  contentType: "application/json",
281
281
  requestType: "json",
282
282
  body: serializers.agents.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -347,7 +347,7 @@ class Messages {
347
347
  method: "POST",
348
348
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
349
349
  ? yield core.Supplier.get(this._options.project)
350
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
351
351
  contentType: "application/json",
352
352
  requestType: "json",
353
353
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -438,7 +438,7 @@ class Messages {
438
438
  method: "POST",
439
439
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
440
440
  ? yield core.Supplier.get(this._options.project)
441
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
441
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
442
442
  contentType: "application/json",
443
443
  requestType: "json",
444
444
  body: serializers.agents.CancelAgentRunRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -517,7 +517,7 @@ class Messages {
517
517
  method: "POST",
518
518
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
519
519
  ? yield core.Supplier.get(this._options.project)
520
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
520
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
521
521
  contentType: "application/json",
522
522
  requestType: "json",
523
523
  body: serializers.agents.MessageSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -607,7 +607,7 @@ class Messages {
607
607
  method: "POST",
608
608
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
609
609
  ? yield core.Supplier.get(this._options.project)
610
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
610
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
611
611
  contentType: "application/json",
612
612
  requestType: "json",
613
613
  body: serializers.agents.LettaAsyncRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -690,7 +690,7 @@ class Messages {
690
690
  method: "PATCH",
691
691
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
692
692
  ? yield core.Supplier.get(this._options.project)
693
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
693
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
694
694
  contentType: "application/json",
695
695
  queryParameters: _queryParams,
696
696
  requestType: "json",
@@ -780,7 +780,7 @@ class Messages {
780
780
  method: "POST",
781
781
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
782
782
  ? yield core.Supplier.get(this._options.project)
783
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
783
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
784
784
  contentType: "application/json",
785
785
  requestType: "json",
786
786
  body: serializers.agents.MessagesPreviewRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -866,7 +866,7 @@ class Messages {
866
866
  method: "POST",
867
867
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
868
868
  ? yield core.Supplier.get(this._options.project)
869
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
869
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
870
870
  contentType: "application/json",
871
871
  queryParameters: _queryParams,
872
872
  requestType: "json",
@@ -99,7 +99,7 @@ class Passages {
99
99
  method: "GET",
100
100
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
101
101
  ? yield core.Supplier.get(this._options.project)
102
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
103
  contentType: "application/json",
104
104
  queryParameters: _queryParams,
105
105
  requestType: "json",
@@ -179,7 +179,7 @@ class Passages {
179
179
  method: "POST",
180
180
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
181
181
  ? yield core.Supplier.get(this._options.project)
182
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-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
183
  contentType: "application/json",
184
184
  requestType: "json",
185
185
  body: serializers.agents.CreateArchivalMemory.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -286,7 +286,7 @@ class Passages {
286
286
  method: "GET",
287
287
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
288
288
  ? yield core.Supplier.get(this._options.project)
289
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
289
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
290
290
  contentType: "application/json",
291
291
  queryParameters: _queryParams,
292
292
  requestType: "json",
@@ -364,7 +364,7 @@ class Passages {
364
364
  method: "DELETE",
365
365
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
366
366
  ? yield core.Supplier.get(this._options.project)
367
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
367
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
368
368
  contentType: "application/json",
369
369
  requestType: "json",
370
370
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -428,7 +428,7 @@ class Passages {
428
428
  method: "PATCH",
429
429
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
430
430
  ? yield core.Supplier.get(this._options.project)
431
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
431
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
432
  contentType: "application/json",
433
433
  requestType: "json",
434
434
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class Sources {
82
82
  method: "PATCH",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -159,7 +159,7 @@ class Sources {
159
159
  method: "PATCH",
160
160
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
161
161
  ? yield core.Supplier.get(this._options.project)
162
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class Sources {
235
235
  method: "GET",
236
236
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
237
237
  ? yield core.Supplier.get(this._options.project)
238
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -84,7 +84,7 @@ class Templates {
84
84
  method: "POST",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.agents.TemplatesMigrateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -150,7 +150,7 @@ class Templates {
150
150
  method: "POST",
151
151
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
152
152
  ? yield core.Supplier.get(this._options.project)
153
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
153
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
154
154
  contentType: "application/json",
155
155
  requestType: "json",
156
156
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -206,7 +206,7 @@ class Templates {
206
206
  method: "POST",
207
207
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
208
208
  ? yield core.Supplier.get(this._options.project)
209
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
209
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
210
  contentType: "application/json",
211
211
  requestType: "json",
212
212
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -81,7 +81,7 @@ class Tools {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-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,
@@ -158,7 +158,7 @@ class Tools {
158
158
  method: "PATCH",
159
159
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
160
160
  ? yield core.Supplier.get(this._options.project)
161
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
162
  contentType: "application/json",
163
163
  requestType: "json",
164
164
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class Tools {
235
235
  method: "PATCH",
236
236
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
237
237
  ? yield core.Supplier.get(this._options.project)
238
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -318,7 +318,7 @@ class Tools {
318
318
  method: "PATCH",
319
319
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
320
320
  ? yield core.Supplier.get(this._options.project)
321
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
321
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-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
322
  contentType: "application/json",
323
323
  queryParameters: _queryParams,
324
324
  requestType: "json",
@@ -103,7 +103,7 @@ class Archives {
103
103
  method: "GET",
104
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
105
  ? yield core.Supplier.get(this._options.project)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -182,7 +182,7 @@ class Archives {
182
182
  method: "POST",
183
183
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
184
184
  ? yield core.Supplier.get(this._options.project)
185
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
186
186
  contentType: "application/json",
187
187
  requestType: "json",
188
188
  body: serializers.ArchiveCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -260,7 +260,7 @@ class Archives {
260
260
  method: "PATCH",
261
261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
262
262
  ? yield core.Supplier.get(this._options.project)
263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
264
  contentType: "application/json",
265
265
  requestType: "json",
266
266
  body: serializers.ArchiveUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),