@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
@@ -82,7 +82,7 @@ class Feedback {
82
82
  method: "PATCH",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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
  body: serializers.steps.ModifyFeedbackRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -101,7 +101,7 @@ class Messages {
101
101
  method: "GET",
102
102
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
103
  ? yield core.Supplier.get(this._options.project)
104
- : 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),
104
+ : 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),
105
105
  contentType: "application/json",
106
106
  queryParameters: _queryParams,
107
107
  requestType: "json",
@@ -81,7 +81,7 @@ class Metrics {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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,
@@ -79,7 +79,7 @@ class Trace {
79
79
  method: "GET",
80
80
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
81
81
  ? yield core.Supplier.get(this._options.project)
82
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
82
+ : 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),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -106,7 +106,7 @@ class Tags {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
109
+ : 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),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -83,7 +83,7 @@ class Telemetry {
83
83
  method: "GET",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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,
@@ -118,7 +118,7 @@ class Templates {
118
118
  method: "GET",
119
119
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
120
120
  ? yield core.Supplier.get(this._options.project)
121
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
121
+ : 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),
122
122
  contentType: "application/json",
123
123
  queryParameters: _queryParams,
124
124
  requestType: "json",
@@ -186,7 +186,7 @@ class Templates {
186
186
  method: "POST",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
189
+ : 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),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
@@ -261,7 +261,7 @@ class Templates {
261
261
  method: "DELETE",
262
262
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
263
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
264
+ : 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),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -331,7 +331,7 @@ class Templates {
331
331
  method: "GET",
332
332
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
333
333
  ? yield core.Supplier.get(this._options.project)
334
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
334
+ : 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),
335
335
  contentType: "application/json",
336
336
  requestType: "json",
337
337
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -402,7 +402,7 @@ class Templates {
402
402
  method: "PUT",
403
403
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
404
404
  ? yield core.Supplier.get(this._options.project)
405
- : 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),
405
+ : 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),
406
406
  contentType: "application/json",
407
407
  requestType: "json",
408
408
  body: request,
@@ -479,7 +479,7 @@ class Templates {
479
479
  method: "POST",
480
480
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
481
481
  ? yield core.Supplier.get(this._options.project)
482
- : 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),
482
+ : 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),
483
483
  contentType: "application/json",
484
484
  requestType: "json",
485
485
  body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -554,7 +554,7 @@ class Templates {
554
554
  method: "POST",
555
555
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
556
556
  ? yield core.Supplier.get(this._options.project)
557
- : 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),
557
+ : 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),
558
558
  contentType: "application/json",
559
559
  requestType: "json",
560
560
  body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -631,7 +631,7 @@ class Templates {
631
631
  method: "PATCH",
632
632
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
633
633
  ? yield core.Supplier.get(this._options.project)
634
- : 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),
634
+ : 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),
635
635
  contentType: "application/json",
636
636
  requestType: "json",
637
637
  body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -715,7 +715,7 @@ class Templates {
715
715
  method: "PATCH",
716
716
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
717
717
  ? yield core.Supplier.get(this._options.project)
718
- : 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),
718
+ : 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),
719
719
  contentType: "application/json",
720
720
  requestType: "json",
721
721
  body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
@@ -800,7 +800,7 @@ class Templates {
800
800
  method: "GET",
801
801
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
802
802
  ? yield core.Supplier.get(this._options.project)
803
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
803
+ : 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),
804
804
  contentType: "application/json",
805
805
  queryParameters: _queryParams,
806
806
  requestType: "json",
@@ -878,7 +878,7 @@ class Templates {
878
878
  method: "POST",
879
879
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
880
880
  ? yield core.Supplier.get(this._options.project)
881
- : 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),
881
+ : 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),
882
882
  contentType: "application/json",
883
883
  requestType: "json",
884
884
  body: serializers.TemplatesMigrateDeploymentRequest.jsonOrThrow(request, {
@@ -83,7 +83,7 @@ class Agents {
83
83
  method: "POST",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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
  body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -81,7 +81,7 @@ class Tools {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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,
@@ -157,7 +157,7 @@ class Tools {
157
157
  method: "DELETE",
158
158
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
159
159
  ? yield core.Supplier.get(this._options.project)
160
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
160
+ : 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),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class Tools {
225
225
  method: "PATCH",
226
226
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
227
227
  ? yield core.Supplier.get(this._options.project)
228
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
228
+ : 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),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -348,7 +348,7 @@ class Tools {
348
348
  method: "GET",
349
349
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
350
350
  ? yield core.Supplier.get(this._options.project)
351
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
351
+ : 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),
352
352
  contentType: "application/json",
353
353
  queryParameters: _queryParams,
354
354
  requestType: "json",
@@ -485,7 +485,7 @@ class Tools {
485
485
  method: "GET",
486
486
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
487
487
  ? yield core.Supplier.get(this._options.project)
488
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
488
+ : 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),
489
489
  contentType: "application/json",
490
490
  queryParameters: _queryParams,
491
491
  requestType: "json",
@@ -564,7 +564,7 @@ class Tools {
564
564
  method: "POST",
565
565
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
566
566
  ? yield core.Supplier.get(this._options.project)
567
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
567
+ : 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),
568
568
  contentType: "application/json",
569
569
  requestType: "json",
570
570
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -643,7 +643,7 @@ class Tools {
643
643
  method: "PUT",
644
644
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
645
645
  ? yield core.Supplier.get(this._options.project)
646
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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
  requestType: "json",
649
649
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -719,7 +719,7 @@ class Tools {
719
719
  method: "POST",
720
720
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
721
721
  ? yield core.Supplier.get(this._options.project)
722
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
722
+ : 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),
723
723
  contentType: "application/json",
724
724
  requestType: "json",
725
725
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -800,7 +800,7 @@ class Tools {
800
800
  method: "POST",
801
801
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
802
802
  ? yield core.Supplier.get(this._options.project)
803
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
803
+ : 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),
804
804
  contentType: "application/json",
805
805
  requestType: "json",
806
806
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -876,7 +876,7 @@ class Tools {
876
876
  method: "GET",
877
877
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
878
878
  ? yield core.Supplier.get(this._options.project)
879
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
879
+ : 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),
880
880
  contentType: "application/json",
881
881
  requestType: "json",
882
882
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -952,7 +952,7 @@ class Tools {
952
952
  method: "GET",
953
953
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
954
954
  ? yield core.Supplier.get(this._options.project)
955
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
955
+ : 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),
956
956
  contentType: "application/json",
957
957
  requestType: "json",
958
958
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1028,7 +1028,7 @@ class Tools {
1028
1028
  method: "POST",
1029
1029
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1030
1030
  ? yield core.Supplier.get(this._options.project)
1031
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1031
+ : 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),
1032
1032
  contentType: "application/json",
1033
1033
  requestType: "json",
1034
1034
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1103,7 +1103,7 @@ class Tools {
1103
1103
  method: "GET",
1104
1104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1105
1105
  ? yield core.Supplier.get(this._options.project)
1106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1106
+ : 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),
1107
1107
  contentType: "application/json",
1108
1108
  requestType: "json",
1109
1109
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1183,7 +1183,7 @@ class Tools {
1183
1183
  method: "PUT",
1184
1184
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1185
1185
  ? yield core.Supplier.get(this._options.project)
1186
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1186
+ : 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),
1187
1187
  contentType: "application/json",
1188
1188
  requestType: "json",
1189
1189
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1260,7 +1260,7 @@ class Tools {
1260
1260
  method: "GET",
1261
1261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1262
1262
  ? yield core.Supplier.get(this._options.project)
1263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1263
+ : 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),
1264
1264
  contentType: "application/json",
1265
1265
  requestType: "json",
1266
1266
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1337,7 +1337,7 @@ class Tools {
1337
1337
  method: "POST",
1338
1338
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1339
1339
  ? yield core.Supplier.get(this._options.project)
1340
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1340
+ : 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),
1341
1341
  contentType: "application/json",
1342
1342
  requestType: "json",
1343
1343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1413,7 +1413,7 @@ class Tools {
1413
1413
  method: "DELETE",
1414
1414
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1415
1415
  ? yield core.Supplier.get(this._options.project)
1416
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1416
+ : 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),
1417
1417
  contentType: "application/json",
1418
1418
  requestType: "json",
1419
1419
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1490,7 +1490,7 @@ class Tools {
1490
1490
  method: "PATCH",
1491
1491
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1492
1492
  ? yield core.Supplier.get(this._options.project)
1493
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1493
+ : 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),
1494
1494
  contentType: "application/json",
1495
1495
  requestType: "json",
1496
1496
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1572,7 +1572,7 @@ class Tools {
1572
1572
  method: "POST",
1573
1573
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1574
1574
  ? yield core.Supplier.get(this._options.project)
1575
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1575
+ : 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),
1576
1576
  contentType: "application/json",
1577
1577
  requestType: "json",
1578
1578
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1633,7 +1633,7 @@ class Tools {
1633
1633
  method: "POST",
1634
1634
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1635
1635
  ? yield core.Supplier.get(this._options.project)
1636
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
1636
+ : 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),
1637
1637
  contentType: "application/json",
1638
1638
  requestType: "json",
1639
1639
  body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -82,7 +82,7 @@ class Voice {
82
82
  method: "POST",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(request, {
@@ -20,6 +20,10 @@ export interface BatchJob {
20
20
  /** The metadata of the job. */
21
21
  metadata?: Record<string, unknown>;
22
22
  jobType?: Letta.JobType;
23
+ /** Whether the job was created in background mode. */
24
+ background?: boolean;
25
+ /** The agent associated with this job/run. */
26
+ agentId?: string;
23
27
  /** If set, POST to this URL when the job completes. */
24
28
  callbackUrl?: string;
25
29
  /** Timestamp when the callback was last attempted. */
@@ -2,9 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Letta from "../index";
5
- export interface ChatCompletionMessageFunctionToolCallOutput {
5
+ export interface ChatCompletionMessageFunctionToolCall {
6
6
  id: string;
7
- function: Letta.FunctionOutput;
7
+ function: Letta.Function;
8
8
  type: "function";
9
9
  /** Accepts any additional properties */
10
10
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface FunctionOutput {
4
+ export interface Function {
5
5
  arguments: string;
6
6
  name: string;
7
7
  /** Accepts any additional properties */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface FunctionDefinitionOutput {
4
+ export interface FunctionDefinition {
5
5
  name: string;
6
6
  description?: string;
7
7
  parameters?: Record<string, unknown>;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Letta from "../index";
5
5
  export interface FunctionTool {
6
- function: Letta.FunctionDefinitionOutput;
6
+ function: Letta.FunctionDefinition;
7
7
  type: "function";
8
8
  /** Accepts any additional properties */
9
9
  [key: string]: any;
@@ -31,6 +31,10 @@ export interface Job {
31
31
  metadata?: Record<string, unknown>;
32
32
  /** The type of the job. */
33
33
  jobType?: Letta.JobType;
34
+ /** Whether the job was created in background mode. */
35
+ background?: boolean;
36
+ /** The agent associated with this job/run. */
37
+ agentId?: string;
34
38
  /** If set, POST to this URL when the job completes. */
35
39
  callbackUrl?: string;
36
40
  /** Timestamp when the callback was last attempted. */
@@ -29,7 +29,7 @@ export interface LettaSchemasAgentFileMessageSchema {
29
29
  /** The unique identifier of the agent */
30
30
  agentId?: string;
31
31
  /** The list of tool calls requested. Only applicable for role assistant. */
32
- toolCalls?: Letta.ChatCompletionMessageFunctionToolCallInput[];
32
+ toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
33
33
  /** The ID of the tool call. Only applicable for role tool. */
34
34
  toolCallId?: string;
35
35
  /** Tool execution return information for prior tool calls */
@@ -45,7 +45,7 @@ export interface Message {
45
45
  /** For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called. */
46
46
  name?: string;
47
47
  /** The list of tool calls requested. Only applicable for role assistant. */
48
- toolCalls?: Letta.ChatCompletionMessageFunctionToolCallOutput[];
48
+ toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
49
49
  /** The ID of the tool call. Only applicable for role tool. */
50
50
  toolCallId?: string;
51
51
  /** The id of the step that this message was created in. */
@@ -31,6 +31,10 @@ export interface Run {
31
31
  /** The metadata of the job. */
32
32
  metadata?: Record<string, unknown>;
33
33
  jobType?: Letta.JobType;
34
+ /** Whether the job was created in background mode. */
35
+ background?: boolean;
36
+ /** The agent associated with this job/run. */
37
+ agentId?: string;
34
38
  /** If set, POST to this URL when the job completes. */
35
39
  callbackUrl?: string;
36
40
  /** Timestamp when the callback was last attempted. */