@letta-ai/letta-client 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1345) hide show
  1. package/Client.d.ts +2 -2
  2. package/Client.js +1 -1
  3. package/README.md +1 -1
  4. package/api/resources/agents/client/Client.d.ts +8 -6
  5. package/api/resources/agents/client/Client.js +181 -49
  6. package/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +1 -1
  7. package/api/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +1 -1
  8. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +9 -1
  9. package/api/resources/agents/client/requests/AgentsMigrateRequest.d.ts +4 -4
  10. package/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +1 -1
  11. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +19 -17
  12. package/api/resources/agents/client/requests/UpdateAgent.d.ts +10 -8
  13. package/api/resources/agents/resources/archivalMemory/client/Client.d.ts +5 -3
  14. package/api/resources/agents/resources/archivalMemory/client/Client.js +59 -15
  15. package/api/resources/agents/resources/context/client/Client.d.ts +5 -3
  16. package/api/resources/agents/resources/context/client/Client.js +20 -6
  17. package/api/resources/agents/resources/memory/client/Client.d.ts +5 -3
  18. package/api/resources/agents/resources/memory/client/Client.js +20 -6
  19. package/api/resources/agents/resources/memory/resources/messages/client/Client.d.ts +5 -3
  20. package/api/resources/agents/resources/memory/resources/messages/client/Client.js +20 -6
  21. package/api/resources/agents/resources/memoryBlocks/client/Client.d.ts +5 -3
  22. package/api/resources/agents/resources/memoryBlocks/client/Client.js +36 -10
  23. package/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
  24. package/api/resources/agents/resources/messages/client/Client.js +71 -19
  25. package/api/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +12 -3
  26. package/api/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +2 -2
  27. package/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +3 -3
  28. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +24 -1
  29. package/api/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +21 -1
  30. package/api/resources/agents/resources/recallMemory/client/Client.d.ts +5 -3
  31. package/api/resources/agents/resources/recallMemory/client/Client.js +20 -6
  32. package/api/resources/agents/resources/sources/client/Client.d.ts +5 -3
  33. package/api/resources/agents/resources/sources/client/Client.js +20 -6
  34. package/api/resources/agents/resources/tools/client/Client.d.ts +5 -3
  35. package/api/resources/agents/resources/tools/client/Client.js +50 -12
  36. package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +12 -1
  37. package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +8 -0
  38. package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.d.ts → AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts} +2 -2
  39. package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.js → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js} +2 -2
  40. package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +8 -0
  41. package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.d.ts → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts} +2 -2
  42. package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.js → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js} +2 -2
  43. package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.d.ts → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts} +2 -2
  44. package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.js → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js} +2 -2
  45. package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.d.ts → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts} +1 -2
  46. package/api/resources/agents/types/index.d.ts +6 -6
  47. package/api/resources/agents/types/index.js +6 -6
  48. package/api/resources/blocks/client/Client.d.ts +7 -5
  49. package/api/resources/blocks/client/Client.js +103 -29
  50. package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +1 -1
  51. package/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.d.ts +2 -2
  52. package/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.d.ts +2 -2
  53. package/api/resources/health/client/Client.d.ts +5 -3
  54. package/api/resources/health/client/Client.js +13 -5
  55. package/api/resources/jobs/client/Client.d.ts +5 -3
  56. package/api/resources/jobs/client/Client.js +66 -16
  57. package/api/resources/jobs/client/requests/JobsListRequest.d.ts +1 -1
  58. package/api/resources/models/client/Client.d.ts +5 -3
  59. package/api/resources/models/client/Client.js +21 -7
  60. package/api/resources/sources/client/Client.d.ts +7 -5
  61. package/api/resources/sources/client/Client.js +124 -32
  62. package/api/resources/sources/client/requests/SourceCreate.d.ts +2 -2
  63. package/api/resources/sources/client/requests/SourceUpdate.d.ts +2 -2
  64. package/api/resources/sources/client/requests/SourcesAttachRequest.d.ts +2 -2
  65. package/api/resources/sources/client/requests/SourcesDetachRequest.d.ts +2 -2
  66. package/api/resources/sources/resources/files/client/Client.d.ts +5 -3
  67. package/api/resources/sources/resources/files/client/Client.js +43 -11
  68. package/api/resources/sources/resources/passages/client/Client.d.ts +5 -3
  69. package/api/resources/sources/resources/passages/client/Client.js +20 -6
  70. package/api/resources/tools/client/Client.d.ts +8 -6
  71. package/api/resources/tools/client/Client.js +185 -45
  72. package/api/resources/tools/client/requests/ToolRunFromSource.d.ts +3 -3
  73. package/api/resources/tools/client/requests/ToolUpdate.d.ts +3 -3
  74. package/api/types/ActionModel.d.ts +1 -1
  75. package/api/types/AgentEnvironmentVariable.d.ts +25 -0
  76. package/api/types/AgentState.d.ts +22 -20
  77. package/api/types/AppAuthScheme.d.ts +8 -8
  78. package/api/types/AppModel.d.ts +4 -4
  79. package/api/types/AssistantFile.d.ts +2 -2
  80. package/api/types/AssistantMessageInput.d.ts +1 -1
  81. package/api/types/AssistantMessageOutput.d.ts +2 -3
  82. package/api/types/AuthResponse.d.ts +1 -1
  83. package/api/types/AuthSchemeField.d.ts +3 -3
  84. package/api/types/Block.d.ts +14 -14
  85. package/api/types/BlockUpdate.d.ts +2 -2
  86. package/api/types/ChatCompletionRequest.d.ts +9 -9
  87. package/api/types/ChatCompletionResponse.d.ts +2 -2
  88. package/api/types/ChildToolRule.d.ts +1 -1
  89. package/api/types/Choice.d.ts +1 -1
  90. package/api/types/ConditionalToolRule.d.ts +4 -4
  91. package/api/types/ContextWindowOverview.d.ts +17 -15
  92. package/api/types/CreateAssistantFileRequest.d.ts +1 -1
  93. package/api/types/CreateAssistantRequest.d.ts +2 -2
  94. package/api/types/CreateBlock.d.ts +2 -2
  95. package/api/types/E2BSandboxConfig.d.ts +1 -1
  96. package/api/types/EmbeddingConfig.d.ts +16 -16
  97. package/api/types/FileMetadata.d.ts +11 -11
  98. package/api/types/InitToolRule.d.ts +1 -1
  99. package/api/types/Job.d.ts +12 -12
  100. package/api/types/LettaRequest.d.ts +2 -2
  101. package/api/types/LettaResponse.d.ts +3 -3
  102. package/api/types/LettaResponseMessagesItem.d.ts +25 -0
  103. package/api/types/LettaSchemasLettaMessageToolCall.d.ts +1 -1
  104. package/api/types/LettaSchemasMessageMessage.d.ts +18 -18
  105. package/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +2 -2
  106. package/api/types/LettaSchemasToolTool.d.ts +12 -12
  107. package/api/types/LettaUsageStatistics.d.ts +8 -9
  108. package/api/types/LlmConfig.d.ts +11 -11
  109. package/api/types/LocalSandboxConfig.d.ts +3 -3
  110. package/api/types/Memory.d.ts +1 -1
  111. package/api/types/MessageContentLogProb.d.ts +1 -1
  112. package/api/types/OpenAiAssistant.d.ts +2 -2
  113. package/api/types/Organization.d.ts +1 -1
  114. package/api/types/Passage.d.ts +19 -19
  115. package/api/types/ReasoningMessage.d.ts +4 -5
  116. package/api/types/SandboxConfig.d.ts +5 -5
  117. package/api/types/SandboxEnvironmentVariable.d.ts +7 -7
  118. package/api/types/SandboxEnvironmentVariableUpdate.d.ts +0 -3
  119. package/api/types/Source.d.ts +13 -13
  120. package/api/types/SystemMessageOutput.d.ts +4 -5
  121. package/api/types/TerminalToolRule.d.ts +1 -1
  122. package/api/types/ToolCallDelta.d.ts +1 -1
  123. package/api/types/ToolCallMessage.d.ts +5 -6
  124. package/api/types/ToolCreate.d.ts +4 -4
  125. package/api/types/ToolMessage.d.ts +1 -1
  126. package/api/types/ToolReturnMessage.d.ts +10 -11
  127. package/api/types/UsageStatistics.d.ts +3 -3
  128. package/api/types/User.d.ts +7 -7
  129. package/api/types/UserCreate.d.ts +1 -1
  130. package/api/types/UserMessageOutput.d.ts +4 -5
  131. package/api/types/UserUpdate.d.ts +1 -1
  132. package/api/types/index.d.ts +2 -0
  133. package/api/types/index.js +2 -0
  134. package/core/index.d.ts +1 -1
  135. package/core/index.js +14 -1
  136. package/core/schemas/Schema.d.ts +85 -0
  137. package/core/schemas/Schema.js +22 -0
  138. package/core/schemas/builders/bigint/bigint.d.ts +2 -0
  139. package/core/schemas/builders/bigint/bigint.js +50 -0
  140. package/core/schemas/builders/bigint/index.d.ts +1 -0
  141. package/core/schemas/builders/bigint/index.js +5 -0
  142. package/core/schemas/builders/date/date.d.ts +2 -0
  143. package/core/schemas/builders/date/date.js +63 -0
  144. package/core/schemas/builders/date/index.d.ts +1 -0
  145. package/core/schemas/builders/date/index.js +5 -0
  146. package/core/schemas/builders/enum/enum.d.ts +2 -0
  147. package/core/schemas/builders/enum/enum.js +39 -0
  148. package/core/schemas/builders/enum/index.d.ts +1 -0
  149. package/core/schemas/builders/enum/index.js +5 -0
  150. package/core/schemas/builders/index.d.ts +14 -0
  151. package/core/schemas/builders/index.js +30 -0
  152. package/core/schemas/builders/lazy/index.d.ts +3 -0
  153. package/core/schemas/builders/lazy/index.js +7 -0
  154. package/core/schemas/builders/lazy/lazy.d.ts +5 -0
  155. package/core/schemas/builders/lazy/lazy.js +25 -0
  156. package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  157. package/core/schemas/builders/lazy/lazyObject.js +12 -0
  158. package/core/schemas/builders/list/index.d.ts +1 -0
  159. package/core/schemas/builders/list/index.js +5 -0
  160. package/core/schemas/builders/list/list.d.ts +2 -0
  161. package/core/schemas/builders/list/list.js +55 -0
  162. package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  163. package/core/schemas/builders/literals/booleanLiteral.js +29 -0
  164. package/core/schemas/builders/literals/index.d.ts +2 -0
  165. package/core/schemas/builders/literals/index.js +7 -0
  166. package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  167. package/core/schemas/builders/literals/stringLiteral.js +29 -0
  168. package/core/schemas/builders/object/index.d.ts +6 -0
  169. package/core/schemas/builders/object/index.js +11 -0
  170. package/core/schemas/builders/object/object.d.ts +3 -0
  171. package/core/schemas/builders/object/object.js +261 -0
  172. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  173. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  174. package/core/schemas/builders/object/property.d.ts +8 -0
  175. package/core/schemas/builders/object/property.js +16 -0
  176. package/core/schemas/builders/object/types.d.ts +31 -0
  177. package/core/schemas/builders/object/types.js +2 -0
  178. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  179. package/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
  180. package/core/schemas/builders/object-like/index.d.ts +2 -0
  181. package/core/schemas/builders/object-like/index.js +6 -0
  182. package/core/schemas/builders/object-like/types.d.ts +7 -0
  183. package/core/schemas/builders/object-like/types.js +2 -0
  184. package/core/schemas/builders/primitives/any.d.ts +1 -0
  185. package/core/schemas/builders/primitives/any.js +6 -0
  186. package/core/schemas/builders/primitives/boolean.d.ts +1 -0
  187. package/core/schemas/builders/primitives/boolean.js +25 -0
  188. package/core/schemas/builders/primitives/index.d.ts +5 -0
  189. package/core/schemas/builders/primitives/index.js +13 -0
  190. package/core/schemas/builders/primitives/number.d.ts +1 -0
  191. package/core/schemas/builders/primitives/number.js +25 -0
  192. package/core/schemas/builders/primitives/string.d.ts +1 -0
  193. package/core/schemas/builders/primitives/string.js +25 -0
  194. package/core/schemas/builders/primitives/unknown.d.ts +1 -0
  195. package/core/schemas/builders/primitives/unknown.js +6 -0
  196. package/core/schemas/builders/record/index.d.ts +2 -0
  197. package/core/schemas/builders/record/index.js +5 -0
  198. package/core/schemas/builders/record/record.d.ts +3 -0
  199. package/core/schemas/builders/record/record.js +95 -0
  200. package/core/schemas/builders/record/types.d.ts +4 -0
  201. package/core/schemas/builders/record/types.js +2 -0
  202. package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  203. package/core/schemas/builders/schema-utils/JsonError.js +12 -0
  204. package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  205. package/core/schemas/builders/schema-utils/ParseError.js +12 -0
  206. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  207. package/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
  208. package/core/schemas/builders/schema-utils/index.d.ts +4 -0
  209. package/core/schemas/builders/schema-utils/index.js +11 -0
  210. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  211. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  212. package/core/schemas/builders/set/index.d.ts +1 -0
  213. package/core/schemas/builders/set/index.js +5 -0
  214. package/core/schemas/builders/set/set.d.ts +2 -0
  215. package/core/schemas/builders/set/set.js +44 -0
  216. package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  217. package/core/schemas/builders/undiscriminated-union/index.js +5 -0
  218. package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  219. package/core/schemas/builders/undiscriminated-union/types.js +2 -0
  220. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  221. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
  222. package/core/schemas/builders/union/discriminant.d.ts +5 -0
  223. package/core/schemas/builders/union/discriminant.js +10 -0
  224. package/core/schemas/builders/union/index.d.ts +4 -0
  225. package/core/schemas/builders/union/index.js +7 -0
  226. package/core/schemas/builders/union/types.d.ts +13 -0
  227. package/core/schemas/builders/union/types.js +2 -0
  228. package/core/schemas/builders/union/union.d.ts +4 -0
  229. package/core/schemas/builders/union/union.js +130 -0
  230. package/core/schemas/index.d.ts +2 -0
  231. package/core/schemas/index.js +17 -0
  232. package/core/schemas/utils/MaybePromise.d.ts +1 -0
  233. package/core/schemas/utils/MaybePromise.js +2 -0
  234. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  235. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  236. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  237. package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  238. package/core/schemas/utils/entries.d.ts +1 -0
  239. package/core/schemas/utils/entries.js +7 -0
  240. package/core/schemas/utils/filterObject.d.ts +1 -0
  241. package/core/schemas/utils/filterObject.js +14 -0
  242. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  243. package/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
  244. package/core/schemas/utils/isPlainObject.d.ts +1 -0
  245. package/core/schemas/utils/isPlainObject.js +18 -0
  246. package/core/schemas/utils/keys.d.ts +1 -0
  247. package/core/schemas/utils/keys.js +7 -0
  248. package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  249. package/core/schemas/utils/maybeSkipValidation.js +28 -0
  250. package/core/schemas/utils/partition.d.ts +1 -0
  251. package/core/schemas/utils/partition.js +16 -0
  252. package/dist/Client.d.ts +2 -2
  253. package/dist/Client.js +1 -1
  254. package/dist/api/resources/agents/client/Client.d.ts +8 -6
  255. package/dist/api/resources/agents/client/Client.js +181 -49
  256. package/dist/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +1 -1
  257. package/dist/api/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +1 -1
  258. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +9 -1
  259. package/dist/api/resources/agents/client/requests/AgentsMigrateRequest.d.ts +4 -4
  260. package/dist/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +1 -1
  261. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +19 -17
  262. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +10 -8
  263. package/dist/api/resources/agents/resources/archivalMemory/client/Client.d.ts +5 -3
  264. package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +59 -15
  265. package/dist/api/resources/agents/resources/context/client/Client.d.ts +5 -3
  266. package/dist/api/resources/agents/resources/context/client/Client.js +20 -6
  267. package/dist/api/resources/agents/resources/memory/client/Client.d.ts +5 -3
  268. package/dist/api/resources/agents/resources/memory/client/Client.js +20 -6
  269. package/dist/api/resources/agents/resources/memory/resources/messages/client/Client.d.ts +5 -3
  270. package/dist/api/resources/agents/resources/memory/resources/messages/client/Client.js +20 -6
  271. package/dist/api/resources/agents/resources/memoryBlocks/client/Client.d.ts +5 -3
  272. package/dist/api/resources/agents/resources/memoryBlocks/client/Client.js +36 -10
  273. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
  274. package/dist/api/resources/agents/resources/messages/client/Client.js +71 -19
  275. package/dist/api/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +12 -3
  276. package/dist/api/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +2 -2
  277. package/dist/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +3 -3
  278. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +24 -1
  279. package/dist/api/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +21 -1
  280. package/dist/api/resources/agents/resources/recallMemory/client/Client.d.ts +5 -3
  281. package/dist/api/resources/agents/resources/recallMemory/client/Client.js +20 -6
  282. package/dist/api/resources/agents/resources/sources/client/Client.d.ts +5 -3
  283. package/dist/api/resources/agents/resources/sources/client/Client.js +20 -6
  284. package/dist/api/resources/agents/resources/tools/client/Client.d.ts +5 -3
  285. package/dist/api/resources/agents/resources/tools/client/Client.js +50 -12
  286. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +12 -1
  287. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +8 -0
  288. package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.d.ts → AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts} +2 -2
  289. package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js} +2 -2
  290. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +8 -0
  291. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js +5 -0
  292. package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.d.ts → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts} +2 -2
  293. package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js} +2 -2
  294. package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.d.ts → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts} +2 -2
  295. package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.js → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js} +2 -2
  296. package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.d.ts → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts} +1 -2
  297. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js +5 -0
  298. package/dist/api/resources/agents/types/index.d.ts +6 -6
  299. package/dist/api/resources/agents/types/index.js +6 -6
  300. package/dist/api/resources/blocks/client/Client.d.ts +7 -5
  301. package/dist/api/resources/blocks/client/Client.js +103 -29
  302. package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +1 -1
  303. package/dist/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.d.ts +2 -2
  304. package/dist/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.d.ts +2 -2
  305. package/dist/api/resources/health/client/Client.d.ts +5 -3
  306. package/dist/api/resources/health/client/Client.js +13 -5
  307. package/dist/api/resources/jobs/client/Client.d.ts +5 -3
  308. package/dist/api/resources/jobs/client/Client.js +66 -16
  309. package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +1 -1
  310. package/dist/api/resources/models/client/Client.d.ts +5 -3
  311. package/dist/api/resources/models/client/Client.js +21 -7
  312. package/dist/api/resources/sources/client/Client.d.ts +7 -5
  313. package/dist/api/resources/sources/client/Client.js +124 -32
  314. package/dist/api/resources/sources/client/requests/SourceCreate.d.ts +2 -2
  315. package/dist/api/resources/sources/client/requests/SourceUpdate.d.ts +2 -2
  316. package/dist/api/resources/sources/client/requests/SourcesAttachRequest.d.ts +2 -2
  317. package/dist/api/resources/sources/client/requests/SourcesDetachRequest.d.ts +2 -2
  318. package/dist/api/resources/sources/resources/files/client/Client.d.ts +5 -3
  319. package/dist/api/resources/sources/resources/files/client/Client.js +43 -11
  320. package/dist/api/resources/sources/resources/passages/client/Client.d.ts +5 -3
  321. package/dist/api/resources/sources/resources/passages/client/Client.js +20 -6
  322. package/dist/api/resources/tools/client/Client.d.ts +8 -6
  323. package/dist/api/resources/tools/client/Client.js +185 -45
  324. package/dist/api/resources/tools/client/requests/ToolRunFromSource.d.ts +3 -3
  325. package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +3 -3
  326. package/dist/api/types/ActionModel.d.ts +1 -1
  327. package/dist/api/types/AgentEnvironmentVariable.d.ts +25 -0
  328. package/dist/api/types/AgentEnvironmentVariable.js +5 -0
  329. package/dist/api/types/AgentState.d.ts +22 -20
  330. package/dist/api/types/AppAuthScheme.d.ts +8 -8
  331. package/dist/api/types/AppModel.d.ts +4 -4
  332. package/dist/api/types/AssistantFile.d.ts +2 -2
  333. package/dist/api/types/AssistantMessageInput.d.ts +1 -1
  334. package/dist/api/types/AssistantMessageOutput.d.ts +2 -3
  335. package/dist/api/types/AuthResponse.d.ts +1 -1
  336. package/dist/api/types/AuthSchemeField.d.ts +3 -3
  337. package/dist/api/types/Block.d.ts +14 -14
  338. package/dist/api/types/BlockUpdate.d.ts +2 -2
  339. package/dist/api/types/ChatCompletionRequest.d.ts +9 -9
  340. package/dist/api/types/ChatCompletionResponse.d.ts +2 -2
  341. package/dist/api/types/ChildToolRule.d.ts +1 -1
  342. package/dist/api/types/Choice.d.ts +1 -1
  343. package/dist/api/types/ConditionalToolRule.d.ts +4 -4
  344. package/dist/api/types/ContextWindowOverview.d.ts +17 -15
  345. package/dist/api/types/CreateAssistantFileRequest.d.ts +1 -1
  346. package/dist/api/types/CreateAssistantRequest.d.ts +2 -2
  347. package/dist/api/types/CreateBlock.d.ts +2 -2
  348. package/dist/api/types/E2BSandboxConfig.d.ts +1 -1
  349. package/dist/api/types/EmbeddingConfig.d.ts +16 -16
  350. package/dist/api/types/FileMetadata.d.ts +11 -11
  351. package/dist/api/types/InitToolRule.d.ts +1 -1
  352. package/dist/api/types/Job.d.ts +12 -12
  353. package/dist/api/types/LettaRequest.d.ts +2 -2
  354. package/dist/api/types/LettaResponse.d.ts +3 -3
  355. package/dist/api/types/LettaResponseMessagesItem.d.ts +25 -0
  356. package/dist/api/types/LettaResponseMessagesItem.js +5 -0
  357. package/dist/api/types/LettaSchemasLettaMessageToolCall.d.ts +1 -1
  358. package/dist/api/types/LettaSchemasMessageMessage.d.ts +18 -18
  359. package/dist/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +2 -2
  360. package/dist/api/types/LettaSchemasToolTool.d.ts +12 -12
  361. package/dist/api/types/LettaUsageStatistics.d.ts +8 -9
  362. package/dist/api/types/LlmConfig.d.ts +11 -11
  363. package/dist/api/types/LocalSandboxConfig.d.ts +3 -3
  364. package/dist/api/types/Memory.d.ts +1 -1
  365. package/dist/api/types/MessageContentLogProb.d.ts +1 -1
  366. package/dist/api/types/OpenAiAssistant.d.ts +2 -2
  367. package/dist/api/types/Organization.d.ts +1 -1
  368. package/dist/api/types/Passage.d.ts +19 -19
  369. package/dist/api/types/ReasoningMessage.d.ts +4 -5
  370. package/dist/api/types/SandboxConfig.d.ts +5 -5
  371. package/dist/api/types/SandboxEnvironmentVariable.d.ts +7 -7
  372. package/dist/api/types/SandboxEnvironmentVariableUpdate.d.ts +0 -3
  373. package/dist/api/types/Source.d.ts +13 -13
  374. package/dist/api/types/SystemMessageOutput.d.ts +4 -5
  375. package/dist/api/types/TerminalToolRule.d.ts +1 -1
  376. package/dist/api/types/ToolCallDelta.d.ts +1 -1
  377. package/dist/api/types/ToolCallMessage.d.ts +5 -6
  378. package/dist/api/types/ToolCreate.d.ts +4 -4
  379. package/dist/api/types/ToolMessage.d.ts +1 -1
  380. package/dist/api/types/ToolReturnMessage.d.ts +10 -11
  381. package/dist/api/types/UsageStatistics.d.ts +3 -3
  382. package/dist/api/types/User.d.ts +7 -7
  383. package/dist/api/types/UserCreate.d.ts +1 -1
  384. package/dist/api/types/UserMessageOutput.d.ts +4 -5
  385. package/dist/api/types/UserUpdate.d.ts +1 -1
  386. package/dist/api/types/index.d.ts +2 -0
  387. package/dist/api/types/index.js +2 -0
  388. package/dist/core/index.d.ts +1 -1
  389. package/dist/core/index.js +14 -1
  390. package/dist/core/schemas/Schema.d.ts +85 -0
  391. package/dist/core/schemas/Schema.js +22 -0
  392. package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
  393. package/dist/core/schemas/builders/bigint/bigint.js +50 -0
  394. package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
  395. package/dist/core/schemas/builders/bigint/index.js +5 -0
  396. package/dist/core/schemas/builders/date/date.d.ts +2 -0
  397. package/dist/core/schemas/builders/date/date.js +63 -0
  398. package/dist/core/schemas/builders/date/index.d.ts +1 -0
  399. package/dist/core/schemas/builders/date/index.js +5 -0
  400. package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
  401. package/dist/core/schemas/builders/enum/enum.js +39 -0
  402. package/dist/core/schemas/builders/enum/index.d.ts +1 -0
  403. package/dist/core/schemas/builders/enum/index.js +5 -0
  404. package/dist/core/schemas/builders/index.d.ts +14 -0
  405. package/dist/core/schemas/builders/index.js +30 -0
  406. package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
  407. package/dist/core/schemas/builders/lazy/index.js +7 -0
  408. package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
  409. package/dist/core/schemas/builders/lazy/lazy.js +25 -0
  410. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  411. package/dist/core/schemas/builders/lazy/lazyObject.js +12 -0
  412. package/dist/core/schemas/builders/list/index.d.ts +1 -0
  413. package/dist/core/schemas/builders/list/index.js +5 -0
  414. package/dist/core/schemas/builders/list/list.d.ts +2 -0
  415. package/dist/core/schemas/builders/list/list.js +55 -0
  416. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  417. package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
  418. package/dist/core/schemas/builders/literals/index.d.ts +2 -0
  419. package/dist/core/schemas/builders/literals/index.js +7 -0
  420. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  421. package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
  422. package/dist/core/schemas/builders/object/index.d.ts +6 -0
  423. package/dist/core/schemas/builders/object/index.js +11 -0
  424. package/dist/core/schemas/builders/object/object.d.ts +3 -0
  425. package/dist/core/schemas/builders/object/object.js +261 -0
  426. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  427. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  428. package/dist/core/schemas/builders/object/property.d.ts +8 -0
  429. package/dist/core/schemas/builders/object/property.js +16 -0
  430. package/dist/core/schemas/builders/object/types.d.ts +31 -0
  431. package/dist/core/schemas/builders/object/types.js +2 -0
  432. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  433. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
  434. package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
  435. package/dist/core/schemas/builders/object-like/index.js +6 -0
  436. package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
  437. package/dist/core/schemas/builders/object-like/types.js +2 -0
  438. package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
  439. package/dist/core/schemas/builders/primitives/any.js +6 -0
  440. package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
  441. package/dist/core/schemas/builders/primitives/boolean.js +25 -0
  442. package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
  443. package/dist/core/schemas/builders/primitives/index.js +13 -0
  444. package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
  445. package/dist/core/schemas/builders/primitives/number.js +25 -0
  446. package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
  447. package/dist/core/schemas/builders/primitives/string.js +25 -0
  448. package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
  449. package/dist/core/schemas/builders/primitives/unknown.js +6 -0
  450. package/dist/core/schemas/builders/record/index.d.ts +2 -0
  451. package/dist/core/schemas/builders/record/index.js +5 -0
  452. package/dist/core/schemas/builders/record/record.d.ts +3 -0
  453. package/dist/core/schemas/builders/record/record.js +95 -0
  454. package/dist/core/schemas/builders/record/types.d.ts +4 -0
  455. package/dist/core/schemas/builders/record/types.js +2 -0
  456. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  457. package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
  458. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  459. package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
  460. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  461. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
  462. package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
  463. package/dist/core/schemas/builders/schema-utils/index.js +11 -0
  464. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  465. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  466. package/dist/core/schemas/builders/set/index.d.ts +1 -0
  467. package/dist/core/schemas/builders/set/index.js +5 -0
  468. package/dist/core/schemas/builders/set/set.d.ts +2 -0
  469. package/dist/core/schemas/builders/set/set.js +44 -0
  470. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  471. package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
  472. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  473. package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
  474. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  475. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
  476. package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
  477. package/dist/core/schemas/builders/union/discriminant.js +10 -0
  478. package/dist/core/schemas/builders/union/index.d.ts +4 -0
  479. package/dist/core/schemas/builders/union/index.js +7 -0
  480. package/dist/core/schemas/builders/union/types.d.ts +13 -0
  481. package/dist/core/schemas/builders/union/types.js +2 -0
  482. package/dist/core/schemas/builders/union/union.d.ts +4 -0
  483. package/dist/core/schemas/builders/union/union.js +130 -0
  484. package/dist/core/schemas/index.d.ts +2 -0
  485. package/dist/core/schemas/index.js +17 -0
  486. package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
  487. package/dist/core/schemas/utils/MaybePromise.js +2 -0
  488. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  489. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  490. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  491. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  492. package/dist/core/schemas/utils/entries.d.ts +1 -0
  493. package/dist/core/schemas/utils/entries.js +7 -0
  494. package/dist/core/schemas/utils/filterObject.d.ts +1 -0
  495. package/dist/core/schemas/utils/filterObject.js +14 -0
  496. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  497. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
  498. package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
  499. package/dist/core/schemas/utils/isPlainObject.js +18 -0
  500. package/dist/core/schemas/utils/keys.d.ts +1 -0
  501. package/dist/core/schemas/utils/keys.js +7 -0
  502. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  503. package/dist/core/schemas/utils/maybeSkipValidation.js +28 -0
  504. package/dist/core/schemas/utils/partition.d.ts +1 -0
  505. package/dist/core/schemas/utils/partition.js +16 -0
  506. package/dist/serialization/index.d.ts +2 -0
  507. package/dist/serialization/index.js +18 -0
  508. package/dist/serialization/resources/agents/client/getAgentMemoryBlocks.d.ts +11 -0
  509. package/dist/serialization/resources/agents/client/getAgentMemoryBlocks.js +32 -0
  510. package/dist/serialization/resources/agents/client/index.d.ts +3 -0
  511. package/dist/serialization/resources/agents/client/index.js +32 -0
  512. package/dist/serialization/resources/agents/client/list.d.ts +11 -0
  513. package/dist/serialization/resources/agents/client/list.js +32 -0
  514. package/dist/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +12 -0
  515. package/dist/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.js +33 -0
  516. package/dist/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +12 -0
  517. package/dist/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.js +33 -0
  518. package/dist/serialization/resources/agents/client/requests/AgentsMigrateRequest.d.ts +14 -0
  519. package/dist/serialization/resources/agents/client/requests/AgentsMigrateRequest.js +35 -0
  520. package/dist/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +18 -0
  521. package/dist/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.js +39 -0
  522. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +41 -0
  523. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +62 -0
  524. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +27 -0
  525. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +48 -0
  526. package/dist/serialization/resources/agents/client/requests/index.d.ts +6 -0
  527. package/dist/serialization/resources/agents/client/requests/index.js +15 -0
  528. package/dist/serialization/resources/agents/index.d.ts +3 -0
  529. package/dist/serialization/resources/agents/index.js +19 -0
  530. package/dist/serialization/resources/agents/resources/archivalMemory/client/create.d.ts +11 -0
  531. package/dist/serialization/resources/agents/resources/archivalMemory/client/create.js +32 -0
  532. package/dist/serialization/resources/agents/resources/archivalMemory/client/index.d.ts +3 -0
  533. package/dist/serialization/resources/agents/resources/archivalMemory/client/index.js +32 -0
  534. package/dist/serialization/resources/agents/resources/archivalMemory/client/list.d.ts +11 -0
  535. package/dist/serialization/resources/agents/resources/archivalMemory/client/list.js +32 -0
  536. package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.d.ts +12 -0
  537. package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.js +33 -0
  538. package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/index.d.ts +1 -0
  539. package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/index.js +5 -0
  540. package/dist/serialization/resources/agents/resources/archivalMemory/index.d.ts +1 -0
  541. package/dist/serialization/resources/agents/resources/archivalMemory/index.js +17 -0
  542. package/dist/serialization/resources/agents/resources/index.d.ts +8 -0
  543. package/dist/serialization/resources/agents/resources/index.js +37 -0
  544. package/dist/serialization/resources/agents/resources/memory/index.d.ts +1 -0
  545. package/dist/serialization/resources/agents/resources/memory/index.js +17 -0
  546. package/dist/serialization/resources/agents/resources/memory/resources/index.d.ts +1 -0
  547. package/dist/serialization/resources/agents/resources/memory/resources/index.js +27 -0
  548. package/dist/serialization/resources/agents/resources/memory/resources/messages/client/index.d.ts +1 -0
  549. package/dist/serialization/resources/agents/resources/memory/resources/messages/client/index.js +27 -0
  550. package/dist/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.d.ts +11 -0
  551. package/dist/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.js +32 -0
  552. package/dist/serialization/resources/agents/resources/memory/resources/messages/index.d.ts +1 -0
  553. package/dist/serialization/resources/agents/resources/memory/resources/messages/index.js +17 -0
  554. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  555. package/dist/serialization/resources/agents/resources/messages/client/index.js +17 -0
  556. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +16 -0
  557. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.js +37 -0
  558. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +18 -0
  559. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.js +39 -0
  560. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +2 -0
  561. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +7 -0
  562. package/dist/serialization/resources/agents/resources/messages/index.d.ts +2 -0
  563. package/dist/serialization/resources/agents/resources/messages/index.js +18 -0
  564. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +38 -0
  565. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +51 -0
  566. package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponse.d.ts +12 -0
  567. package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponse.js +36 -0
  568. package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +34 -0
  569. package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.js +49 -0
  570. package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +3 -0
  571. package/dist/serialization/resources/agents/resources/messages/types/index.js +19 -0
  572. package/dist/serialization/resources/agents/resources/sources/client/get.d.ts +11 -0
  573. package/dist/serialization/resources/agents/resources/sources/client/get.js +32 -0
  574. package/dist/serialization/resources/agents/resources/sources/client/index.d.ts +1 -0
  575. package/dist/serialization/resources/agents/resources/sources/client/index.js +27 -0
  576. package/dist/serialization/resources/agents/resources/sources/index.d.ts +1 -0
  577. package/dist/serialization/resources/agents/resources/sources/index.js +17 -0
  578. package/dist/serialization/resources/agents/resources/tools/client/index.d.ts +1 -0
  579. package/dist/serialization/resources/agents/resources/tools/client/index.js +27 -0
  580. package/dist/serialization/resources/agents/resources/tools/client/list.d.ts +11 -0
  581. package/dist/serialization/resources/agents/resources/tools/client/list.js +32 -0
  582. package/dist/serialization/resources/agents/resources/tools/index.d.ts +1 -0
  583. package/dist/serialization/resources/agents/resources/tools/index.js +17 -0
  584. package/dist/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +12 -0
  585. package/dist/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.js +33 -0
  586. package/dist/serialization/resources/agents/types/AgentsMigrateResponse.d.ts +12 -0
  587. package/dist/serialization/resources/agents/types/AgentsMigrateResponse.js +33 -0
  588. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.d.ts +10 -0
  589. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.js +31 -0
  590. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +22 -0
  591. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.js +43 -0
  592. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +14 -0
  593. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.js +35 -0
  594. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts +10 -0
  595. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js +31 -0
  596. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +15 -0
  597. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js +36 -0
  598. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts +10 -0
  599. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js +31 -0
  600. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts +10 -0
  601. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js +31 -0
  602. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts +12 -0
  603. package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js +33 -0
  604. package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +14 -0
  605. package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +35 -0
  606. package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +14 -0
  607. package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +35 -0
  608. package/dist/serialization/resources/agents/types/index.d.ts +12 -0
  609. package/dist/serialization/resources/agents/types/index.js +28 -0
  610. package/dist/serialization/resources/blocks/client/index.d.ts +1 -0
  611. package/dist/serialization/resources/blocks/client/index.js +27 -0
  612. package/dist/serialization/resources/blocks/client/list.d.ts +11 -0
  613. package/dist/serialization/resources/blocks/client/list.js +32 -0
  614. package/dist/serialization/resources/blocks/index.d.ts +1 -0
  615. package/dist/serialization/resources/blocks/index.js +17 -0
  616. package/dist/serialization/resources/index.d.ts +10 -0
  617. package/dist/serialization/resources/index.js +39 -0
  618. package/dist/serialization/resources/jobs/client/index.d.ts +2 -0
  619. package/dist/serialization/resources/jobs/client/index.js +28 -0
  620. package/dist/serialization/resources/jobs/client/list.d.ts +11 -0
  621. package/dist/serialization/resources/jobs/client/list.js +32 -0
  622. package/dist/serialization/resources/jobs/client/listActive.d.ts +11 -0
  623. package/dist/serialization/resources/jobs/client/listActive.js +32 -0
  624. package/dist/serialization/resources/jobs/index.d.ts +1 -0
  625. package/dist/serialization/resources/jobs/index.js +17 -0
  626. package/dist/serialization/resources/models/client/index.d.ts +2 -0
  627. package/dist/serialization/resources/models/client/index.js +28 -0
  628. package/dist/serialization/resources/models/client/listEmbeddingModels.d.ts +11 -0
  629. package/dist/serialization/resources/models/client/listEmbeddingModels.js +32 -0
  630. package/dist/serialization/resources/models/client/listLlms.d.ts +11 -0
  631. package/dist/serialization/resources/models/client/listLlms.js +32 -0
  632. package/dist/serialization/resources/models/index.d.ts +1 -0
  633. package/dist/serialization/resources/models/index.js +17 -0
  634. package/dist/serialization/resources/sources/client/getByName.d.ts +9 -0
  635. package/dist/serialization/resources/sources/client/getByName.js +31 -0
  636. package/dist/serialization/resources/sources/client/index.d.ts +3 -0
  637. package/dist/serialization/resources/sources/client/index.js +32 -0
  638. package/dist/serialization/resources/sources/client/list.d.ts +11 -0
  639. package/dist/serialization/resources/sources/client/list.js +32 -0
  640. package/dist/serialization/resources/sources/client/requests/SourceCreate.d.ts +16 -0
  641. package/dist/serialization/resources/sources/client/requests/SourceCreate.js +37 -0
  642. package/dist/serialization/resources/sources/client/requests/SourceUpdate.d.ts +16 -0
  643. package/dist/serialization/resources/sources/client/requests/SourceUpdate.js +37 -0
  644. package/dist/serialization/resources/sources/client/requests/index.d.ts +2 -0
  645. package/dist/serialization/resources/sources/client/requests/index.js +7 -0
  646. package/dist/serialization/resources/sources/index.d.ts +2 -0
  647. package/dist/serialization/resources/sources/index.js +18 -0
  648. package/dist/serialization/resources/sources/resources/files/client/index.d.ts +1 -0
  649. package/dist/serialization/resources/sources/resources/files/client/index.js +27 -0
  650. package/dist/serialization/resources/sources/resources/files/client/list.d.ts +11 -0
  651. package/dist/serialization/resources/sources/resources/files/client/list.js +32 -0
  652. package/dist/serialization/resources/sources/resources/files/index.d.ts +1 -0
  653. package/dist/serialization/resources/sources/resources/files/index.js +17 -0
  654. package/dist/serialization/resources/sources/resources/index.d.ts +2 -0
  655. package/dist/serialization/resources/sources/resources/index.js +28 -0
  656. package/dist/serialization/resources/sources/resources/passages/client/index.d.ts +1 -0
  657. package/dist/serialization/resources/sources/resources/passages/client/index.js +27 -0
  658. package/dist/serialization/resources/sources/resources/passages/client/list.d.ts +11 -0
  659. package/dist/serialization/resources/sources/resources/passages/client/list.js +32 -0
  660. package/dist/serialization/resources/sources/resources/passages/index.d.ts +1 -0
  661. package/dist/serialization/resources/sources/resources/passages/index.js +17 -0
  662. package/dist/serialization/resources/tools/client/addBaseTool.d.ts +11 -0
  663. package/dist/serialization/resources/tools/client/addBaseTool.js +32 -0
  664. package/dist/serialization/resources/tools/client/getByName.d.ts +9 -0
  665. package/dist/serialization/resources/tools/client/getByName.js +31 -0
  666. package/dist/serialization/resources/tools/client/index.d.ts +6 -0
  667. package/dist/serialization/resources/tools/client/index.js +35 -0
  668. package/dist/serialization/resources/tools/client/list.d.ts +11 -0
  669. package/dist/serialization/resources/tools/client/list.js +32 -0
  670. package/dist/serialization/resources/tools/client/listComposioActionsByApp.d.ts +11 -0
  671. package/dist/serialization/resources/tools/client/listComposioActionsByApp.js +32 -0
  672. package/dist/serialization/resources/tools/client/listComposioApps.d.ts +11 -0
  673. package/dist/serialization/resources/tools/client/listComposioApps.js +32 -0
  674. package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +15 -0
  675. package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.js +36 -0
  676. package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +18 -0
  677. package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +39 -0
  678. package/dist/serialization/resources/tools/client/requests/index.d.ts +2 -0
  679. package/dist/serialization/resources/tools/client/requests/index.js +7 -0
  680. package/dist/serialization/resources/tools/index.d.ts +1 -0
  681. package/dist/serialization/resources/tools/index.js +17 -0
  682. package/dist/serialization/types/ActionModel.d.ts +23 -0
  683. package/dist/serialization/types/ActionModel.js +44 -0
  684. package/dist/serialization/types/ActionParametersModel.d.ts +15 -0
  685. package/dist/serialization/types/ActionParametersModel.js +36 -0
  686. package/dist/serialization/types/ActionResponseModel.d.ts +15 -0
  687. package/dist/serialization/types/ActionResponseModel.js +36 -0
  688. package/dist/serialization/types/AgentEnvironmentVariable.d.ts +21 -0
  689. package/dist/serialization/types/AgentEnvironmentVariable.js +42 -0
  690. package/dist/serialization/types/AgentState.d.ts +39 -0
  691. package/dist/serialization/types/AgentState.js +60 -0
  692. package/dist/serialization/types/AgentStateToolRulesItem.d.ts +14 -0
  693. package/dist/serialization/types/AgentStateToolRulesItem.js +35 -0
  694. package/dist/serialization/types/AgentType.d.ts +10 -0
  695. package/dist/serialization/types/AgentType.js +37 -0
  696. package/dist/serialization/types/AppAuthScheme.d.ts +23 -0
  697. package/dist/serialization/types/AppAuthScheme.js +44 -0
  698. package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +10 -0
  699. package/dist/serialization/types/AppAuthSchemeAuthMode.js +31 -0
  700. package/dist/serialization/types/AppModel.d.ts +28 -0
  701. package/dist/serialization/types/AppModel.js +51 -0
  702. package/dist/serialization/types/ArchivalMemorySummary.d.ts +12 -0
  703. package/dist/serialization/types/ArchivalMemorySummary.js +33 -0
  704. package/dist/serialization/types/AssistantFile.d.ts +15 -0
  705. package/dist/serialization/types/AssistantFile.js +36 -0
  706. package/dist/serialization/types/AssistantMessageInput.d.ts +16 -0
  707. package/dist/serialization/types/AssistantMessageInput.js +37 -0
  708. package/dist/serialization/types/AssistantMessageOutput.d.ts +14 -0
  709. package/dist/serialization/types/AssistantMessageOutput.js +35 -0
  710. package/dist/serialization/types/AuthRequest.d.ts +12 -0
  711. package/dist/serialization/types/AuthRequest.js +33 -0
  712. package/dist/serialization/types/AuthResponse.d.ts +13 -0
  713. package/dist/serialization/types/AuthResponse.js +34 -0
  714. package/dist/serialization/types/AuthSchemeField.d.ts +19 -0
  715. package/dist/serialization/types/AuthSchemeField.js +40 -0
  716. package/dist/serialization/types/Block.d.ts +22 -0
  717. package/dist/serialization/types/Block.js +43 -0
  718. package/dist/serialization/types/BlockUpdate.d.ts +18 -0
  719. package/dist/serialization/types/BlockUpdate.js +39 -0
  720. package/dist/serialization/types/ChatCompletionRequest.d.ts +38 -0
  721. package/dist/serialization/types/ChatCompletionRequest.js +59 -0
  722. package/dist/serialization/types/ChatCompletionRequestFunctionCall.d.ts +11 -0
  723. package/dist/serialization/types/ChatCompletionRequestFunctionCall.js +36 -0
  724. package/dist/serialization/types/ChatCompletionRequestMessagesItem.d.ts +14 -0
  725. package/dist/serialization/types/ChatCompletionRequestMessagesItem.js +35 -0
  726. package/dist/serialization/types/ChatCompletionRequestStop.d.ts +10 -0
  727. package/dist/serialization/types/ChatCompletionRequestStop.js +34 -0
  728. package/dist/serialization/types/ChatCompletionRequestToolChoice.d.ts +11 -0
  729. package/dist/serialization/types/ChatCompletionRequestToolChoice.js +37 -0
  730. package/dist/serialization/types/ChatCompletionResponse.d.ts +20 -0
  731. package/dist/serialization/types/ChatCompletionResponse.js +41 -0
  732. package/dist/serialization/types/ChildToolRule.d.ts +15 -0
  733. package/dist/serialization/types/ChildToolRule.js +36 -0
  734. package/dist/serialization/types/Choice.d.ts +18 -0
  735. package/dist/serialization/types/Choice.js +41 -0
  736. package/dist/serialization/types/ConditionalToolRule.d.ts +17 -0
  737. package/dist/serialization/types/ConditionalToolRule.js +38 -0
  738. package/dist/serialization/types/ConflictErrorBody.d.ts +12 -0
  739. package/dist/serialization/types/ConflictErrorBody.js +33 -0
  740. package/dist/serialization/types/ContextWindowOverview.d.ts +30 -0
  741. package/dist/serialization/types/ContextWindowOverview.js +51 -0
  742. package/dist/serialization/types/CreateAssistantFileRequest.d.ts +12 -0
  743. package/dist/serialization/types/CreateAssistantFileRequest.js +33 -0
  744. package/dist/serialization/types/CreateAssistantRequest.d.ts +19 -0
  745. package/dist/serialization/types/CreateAssistantRequest.js +40 -0
  746. package/dist/serialization/types/CreateBlock.d.ts +18 -0
  747. package/dist/serialization/types/CreateBlock.js +39 -0
  748. package/dist/serialization/types/DeleteAssistantFileResponse.d.ts +14 -0
  749. package/dist/serialization/types/DeleteAssistantFileResponse.js +35 -0
  750. package/dist/serialization/types/DeleteAssistantResponse.d.ts +14 -0
  751. package/dist/serialization/types/DeleteAssistantResponse.js +35 -0
  752. package/dist/serialization/types/E2BSandboxConfig.d.ts +14 -0
  753. package/dist/serialization/types/E2BSandboxConfig.js +35 -0
  754. package/dist/serialization/types/EmbeddingConfig.d.ts +21 -0
  755. package/dist/serialization/types/EmbeddingConfig.js +42 -0
  756. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +10 -0
  757. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +49 -0
  758. package/dist/serialization/types/FileMetadata.d.ts +23 -0
  759. package/dist/serialization/types/FileMetadata.js +44 -0
  760. package/dist/serialization/types/FunctionCallInput.d.ts +12 -0
  761. package/dist/serialization/types/FunctionCallInput.js +33 -0
  762. package/dist/serialization/types/FunctionCallOutput.d.ts +13 -0
  763. package/dist/serialization/types/FunctionCallOutput.js +34 -0
  764. package/dist/serialization/types/FunctionSchema.d.ts +14 -0
  765. package/dist/serialization/types/FunctionSchema.js +35 -0
  766. package/dist/serialization/types/Health.d.ts +13 -0
  767. package/dist/serialization/types/Health.js +34 -0
  768. package/dist/serialization/types/HttpValidationError.d.ts +13 -0
  769. package/dist/serialization/types/HttpValidationError.js +34 -0
  770. package/dist/serialization/types/InitToolRule.d.ts +14 -0
  771. package/dist/serialization/types/InitToolRule.js +35 -0
  772. package/dist/serialization/types/InternalServerErrorBody.d.ts +12 -0
  773. package/dist/serialization/types/InternalServerErrorBody.js +33 -0
  774. package/dist/serialization/types/Job.d.ts +21 -0
  775. package/dist/serialization/types/Job.js +42 -0
  776. package/dist/serialization/types/JobStatus.d.ts +10 -0
  777. package/dist/serialization/types/JobStatus.js +31 -0
  778. package/dist/serialization/types/LettaRequest.d.ts +15 -0
  779. package/dist/serialization/types/LettaRequest.js +36 -0
  780. package/dist/serialization/types/LettaResponse.d.ts +15 -0
  781. package/dist/serialization/types/LettaResponse.js +36 -0
  782. package/dist/serialization/types/LettaResponseMessagesItem.d.ts +34 -0
  783. package/dist/serialization/types/LettaResponseMessagesItem.js +49 -0
  784. package/dist/serialization/types/LettaSchemasLettaMessageToolCall.d.ts +14 -0
  785. package/dist/serialization/types/LettaSchemasLettaMessageToolCall.js +35 -0
  786. package/dist/serialization/types/LettaSchemasMessageMessage.d.ts +26 -0
  787. package/dist/serialization/types/LettaSchemasMessageMessage.js +47 -0
  788. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +14 -0
  789. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.js +35 -0
  790. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +15 -0
  791. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +36 -0
  792. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +13 -0
  793. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +34 -0
  794. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +17 -0
  795. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +38 -0
  796. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +15 -0
  797. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +36 -0
  798. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +13 -0
  799. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +34 -0
  800. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +15 -0
  801. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +36 -0
  802. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +15 -0
  803. package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +36 -0
  804. package/dist/serialization/types/LettaSchemasToolTool.d.ts +23 -0
  805. package/dist/serialization/types/LettaSchemasToolTool.js +44 -0
  806. package/dist/serialization/types/LettaUsageStatistics.d.ts +15 -0
  807. package/dist/serialization/types/LettaUsageStatistics.js +36 -0
  808. package/dist/serialization/types/LlmConfig.d.ts +19 -0
  809. package/dist/serialization/types/LlmConfig.js +40 -0
  810. package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +10 -0
  811. package/dist/serialization/types/LlmConfigModelEndpointType.js +49 -0
  812. package/dist/serialization/types/LocalSandboxConfig.d.ts +14 -0
  813. package/dist/serialization/types/LocalSandboxConfig.js +35 -0
  814. package/dist/serialization/types/LogProbToken.d.ts +14 -0
  815. package/dist/serialization/types/LogProbToken.js +35 -0
  816. package/dist/serialization/types/Memory.d.ts +14 -0
  817. package/dist/serialization/types/Memory.js +35 -0
  818. package/dist/serialization/types/MessageContentLogProb.d.ts +16 -0
  819. package/dist/serialization/types/MessageContentLogProb.js +37 -0
  820. package/dist/serialization/types/MessageCreate.d.ts +15 -0
  821. package/dist/serialization/types/MessageCreate.js +36 -0
  822. package/dist/serialization/types/MessageCreateRole.d.ts +10 -0
  823. package/dist/serialization/types/MessageCreateRole.js +31 -0
  824. package/dist/serialization/types/MessageRole.d.ts +10 -0
  825. package/dist/serialization/types/MessageRole.js +31 -0
  826. package/dist/serialization/types/NotFoundErrorBody.d.ts +12 -0
  827. package/dist/serialization/types/NotFoundErrorBody.js +33 -0
  828. package/dist/serialization/types/NotFoundErrorBodyMessage.d.ts +10 -0
  829. package/dist/serialization/types/NotFoundErrorBodyMessage.js +34 -0
  830. package/dist/serialization/types/OpenAiAssistant.d.ts +21 -0
  831. package/dist/serialization/types/OpenAiAssistant.js +42 -0
  832. package/dist/serialization/types/Organization.d.ts +14 -0
  833. package/dist/serialization/types/Organization.js +35 -0
  834. package/dist/serialization/types/OrganizationCreate.d.ts +12 -0
  835. package/dist/serialization/types/OrganizationCreate.js +33 -0
  836. package/dist/serialization/types/Passage.d.ts +26 -0
  837. package/dist/serialization/types/Passage.js +47 -0
  838. package/dist/serialization/types/ReasoningMessage.d.ts +14 -0
  839. package/dist/serialization/types/ReasoningMessage.js +35 -0
  840. package/dist/serialization/types/RecallMemorySummary.d.ts +12 -0
  841. package/dist/serialization/types/RecallMemorySummary.js +33 -0
  842. package/dist/serialization/types/ResponseFormat.d.ts +12 -0
  843. package/dist/serialization/types/ResponseFormat.js +33 -0
  844. package/dist/serialization/types/SandboxConfig.d.ts +20 -0
  845. package/dist/serialization/types/SandboxConfig.js +41 -0
  846. package/dist/serialization/types/SandboxConfigCreate.d.ts +13 -0
  847. package/dist/serialization/types/SandboxConfigCreate.js +34 -0
  848. package/dist/serialization/types/SandboxConfigCreateConfig.d.ts +12 -0
  849. package/dist/serialization/types/SandboxConfigCreateConfig.js +33 -0
  850. package/dist/serialization/types/SandboxConfigUpdate.d.ts +13 -0
  851. package/dist/serialization/types/SandboxConfigUpdate.js +34 -0
  852. package/dist/serialization/types/SandboxConfigUpdateConfig.d.ts +12 -0
  853. package/dist/serialization/types/SandboxConfigUpdateConfig.js +33 -0
  854. package/dist/serialization/types/SandboxEnvironmentVariable.d.ts +21 -0
  855. package/dist/serialization/types/SandboxEnvironmentVariable.js +42 -0
  856. package/dist/serialization/types/SandboxEnvironmentVariableCreate.d.ts +14 -0
  857. package/dist/serialization/types/SandboxEnvironmentVariableCreate.js +35 -0
  858. package/dist/serialization/types/SandboxEnvironmentVariableUpdate.d.ts +14 -0
  859. package/dist/serialization/types/SandboxEnvironmentVariableUpdate.js +35 -0
  860. package/dist/serialization/types/SandboxType.d.ts +10 -0
  861. package/dist/serialization/types/SandboxType.js +31 -0
  862. package/dist/serialization/types/Source.d.ts +22 -0
  863. package/dist/serialization/types/Source.js +43 -0
  864. package/dist/serialization/types/SystemMessageInput.d.ts +14 -0
  865. package/dist/serialization/types/SystemMessageInput.js +35 -0
  866. package/dist/serialization/types/SystemMessageOutput.d.ts +14 -0
  867. package/dist/serialization/types/SystemMessageOutput.js +35 -0
  868. package/dist/serialization/types/TerminalToolRule.d.ts +14 -0
  869. package/dist/serialization/types/TerminalToolRule.js +35 -0
  870. package/dist/serialization/types/ToolCallDelta.d.ts +14 -0
  871. package/dist/serialization/types/ToolCallDelta.js +35 -0
  872. package/dist/serialization/types/ToolCallFunctionOutput.d.ts +13 -0
  873. package/dist/serialization/types/ToolCallFunctionOutput.js +34 -0
  874. package/dist/serialization/types/ToolCallMessage.d.ts +15 -0
  875. package/dist/serialization/types/ToolCallMessage.js +36 -0
  876. package/dist/serialization/types/ToolCallMessageToolCall.d.ts +12 -0
  877. package/dist/serialization/types/ToolCallMessageToolCall.js +33 -0
  878. package/dist/serialization/types/ToolCreate.d.ts +19 -0
  879. package/dist/serialization/types/ToolCreate.js +40 -0
  880. package/dist/serialization/types/ToolFunctionChoice.d.ts +14 -0
  881. package/dist/serialization/types/ToolFunctionChoice.js +35 -0
  882. package/dist/serialization/types/ToolInput.d.ts +14 -0
  883. package/dist/serialization/types/ToolInput.js +35 -0
  884. package/dist/serialization/types/ToolMessage.d.ts +14 -0
  885. package/dist/serialization/types/ToolMessage.js +35 -0
  886. package/dist/serialization/types/ToolReturnMessage.d.ts +19 -0
  887. package/dist/serialization/types/ToolReturnMessage.js +40 -0
  888. package/dist/serialization/types/ToolReturnMessageStatus.d.ts +10 -0
  889. package/dist/serialization/types/ToolReturnMessageStatus.js +31 -0
  890. package/dist/serialization/types/ToolRuleType.d.ts +10 -0
  891. package/dist/serialization/types/ToolRuleType.js +38 -0
  892. package/dist/serialization/types/UsageStatistics.d.ts +14 -0
  893. package/dist/serialization/types/UsageStatistics.js +35 -0
  894. package/dist/serialization/types/User.d.ts +17 -0
  895. package/dist/serialization/types/User.js +38 -0
  896. package/dist/serialization/types/UserCreate.d.ts +13 -0
  897. package/dist/serialization/types/UserCreate.js +34 -0
  898. package/dist/serialization/types/UserMessageInput.d.ts +15 -0
  899. package/dist/serialization/types/UserMessageInput.js +36 -0
  900. package/dist/serialization/types/UserMessageInputContent.d.ts +10 -0
  901. package/dist/serialization/types/UserMessageInputContent.js +34 -0
  902. package/dist/serialization/types/UserMessageOutput.d.ts +14 -0
  903. package/dist/serialization/types/UserMessageOutput.js +35 -0
  904. package/dist/serialization/types/UserUpdate.d.ts +14 -0
  905. package/dist/serialization/types/UserUpdate.js +35 -0
  906. package/dist/serialization/types/ValidationError.d.ts +15 -0
  907. package/dist/serialization/types/ValidationError.js +36 -0
  908. package/dist/serialization/types/ValidationErrorLocItem.d.ts +10 -0
  909. package/dist/serialization/types/ValidationErrorLocItem.js +31 -0
  910. package/dist/serialization/types/index.d.ts +114 -0
  911. package/dist/serialization/types/index.js +130 -0
  912. package/dist/version.d.ts +1 -1
  913. package/dist/version.js +1 -1
  914. package/package.json +1 -2
  915. package/reference.md +93 -10
  916. package/serialization/index.d.ts +2 -0
  917. package/serialization/index.js +18 -0
  918. package/serialization/resources/agents/client/getAgentMemoryBlocks.d.ts +11 -0
  919. package/serialization/resources/agents/client/getAgentMemoryBlocks.js +32 -0
  920. package/serialization/resources/agents/client/index.d.ts +3 -0
  921. package/serialization/resources/agents/client/index.js +32 -0
  922. package/serialization/resources/agents/client/list.d.ts +11 -0
  923. package/serialization/resources/agents/client/list.js +32 -0
  924. package/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +12 -0
  925. package/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.js +33 -0
  926. package/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +12 -0
  927. package/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.js +33 -0
  928. package/serialization/resources/agents/client/requests/AgentsMigrateRequest.d.ts +14 -0
  929. package/serialization/resources/agents/client/requests/AgentsMigrateRequest.js +35 -0
  930. package/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +18 -0
  931. package/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.js +39 -0
  932. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +41 -0
  933. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +62 -0
  934. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +27 -0
  935. package/serialization/resources/agents/client/requests/UpdateAgent.js +48 -0
  936. package/serialization/resources/agents/client/requests/index.d.ts +6 -0
  937. package/serialization/resources/agents/client/requests/index.js +15 -0
  938. package/serialization/resources/agents/index.d.ts +3 -0
  939. package/serialization/resources/agents/index.js +19 -0
  940. package/serialization/resources/agents/resources/archivalMemory/client/create.d.ts +11 -0
  941. package/serialization/resources/agents/resources/archivalMemory/client/create.js +32 -0
  942. package/serialization/resources/agents/resources/archivalMemory/client/index.d.ts +3 -0
  943. package/serialization/resources/agents/resources/archivalMemory/client/index.js +32 -0
  944. package/serialization/resources/agents/resources/archivalMemory/client/list.d.ts +11 -0
  945. package/serialization/resources/agents/resources/archivalMemory/client/list.js +32 -0
  946. package/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.d.ts +12 -0
  947. package/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.js +33 -0
  948. package/serialization/resources/agents/resources/archivalMemory/client/requests/index.d.ts +1 -0
  949. package/serialization/resources/agents/resources/archivalMemory/client/requests/index.js +5 -0
  950. package/serialization/resources/agents/resources/archivalMemory/index.d.ts +1 -0
  951. package/serialization/resources/agents/resources/archivalMemory/index.js +17 -0
  952. package/serialization/resources/agents/resources/index.d.ts +8 -0
  953. package/serialization/resources/agents/resources/index.js +37 -0
  954. package/serialization/resources/agents/resources/memory/index.d.ts +1 -0
  955. package/serialization/resources/agents/resources/memory/index.js +17 -0
  956. package/serialization/resources/agents/resources/memory/resources/index.d.ts +1 -0
  957. package/serialization/resources/agents/resources/memory/resources/index.js +27 -0
  958. package/serialization/resources/agents/resources/memory/resources/messages/client/index.d.ts +1 -0
  959. package/serialization/resources/agents/resources/memory/resources/messages/client/index.js +27 -0
  960. package/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.d.ts +11 -0
  961. package/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.js +32 -0
  962. package/serialization/resources/agents/resources/memory/resources/messages/index.d.ts +1 -0
  963. package/serialization/resources/agents/resources/memory/resources/messages/index.js +17 -0
  964. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  965. package/serialization/resources/agents/resources/messages/client/index.js +17 -0
  966. package/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +16 -0
  967. package/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.js +37 -0
  968. package/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +18 -0
  969. package/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.js +39 -0
  970. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +2 -0
  971. package/serialization/resources/agents/resources/messages/client/requests/index.js +7 -0
  972. package/serialization/resources/agents/resources/messages/index.d.ts +2 -0
  973. package/serialization/resources/agents/resources/messages/index.js +18 -0
  974. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +38 -0
  975. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +51 -0
  976. package/serialization/resources/agents/resources/messages/types/MessagesListResponse.d.ts +12 -0
  977. package/serialization/resources/agents/resources/messages/types/MessagesListResponse.js +36 -0
  978. package/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +34 -0
  979. package/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.js +49 -0
  980. package/serialization/resources/agents/resources/messages/types/index.d.ts +3 -0
  981. package/serialization/resources/agents/resources/messages/types/index.js +19 -0
  982. package/serialization/resources/agents/resources/sources/client/get.d.ts +11 -0
  983. package/serialization/resources/agents/resources/sources/client/get.js +32 -0
  984. package/serialization/resources/agents/resources/sources/client/index.d.ts +1 -0
  985. package/serialization/resources/agents/resources/sources/client/index.js +27 -0
  986. package/serialization/resources/agents/resources/sources/index.d.ts +1 -0
  987. package/serialization/resources/agents/resources/sources/index.js +17 -0
  988. package/serialization/resources/agents/resources/tools/client/index.d.ts +1 -0
  989. package/serialization/resources/agents/resources/tools/client/index.js +27 -0
  990. package/serialization/resources/agents/resources/tools/client/list.d.ts +11 -0
  991. package/serialization/resources/agents/resources/tools/client/list.js +32 -0
  992. package/serialization/resources/agents/resources/tools/index.d.ts +1 -0
  993. package/serialization/resources/agents/resources/tools/index.js +17 -0
  994. package/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +12 -0
  995. package/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.js +33 -0
  996. package/serialization/resources/agents/types/AgentsMigrateResponse.d.ts +12 -0
  997. package/serialization/resources/agents/types/AgentsMigrateResponse.js +33 -0
  998. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.d.ts +10 -0
  999. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.js +31 -0
  1000. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +22 -0
  1001. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.js +43 -0
  1002. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +14 -0
  1003. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.js +35 -0
  1004. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts +10 -0
  1005. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js +31 -0
  1006. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +15 -0
  1007. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js +36 -0
  1008. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts +10 -0
  1009. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js +31 -0
  1010. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts +10 -0
  1011. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js +31 -0
  1012. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts +12 -0
  1013. package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js +33 -0
  1014. package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +14 -0
  1015. package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +35 -0
  1016. package/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +14 -0
  1017. package/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +35 -0
  1018. package/serialization/resources/agents/types/index.d.ts +12 -0
  1019. package/serialization/resources/agents/types/index.js +28 -0
  1020. package/serialization/resources/blocks/client/index.d.ts +1 -0
  1021. package/serialization/resources/blocks/client/index.js +27 -0
  1022. package/serialization/resources/blocks/client/list.d.ts +11 -0
  1023. package/serialization/resources/blocks/client/list.js +32 -0
  1024. package/serialization/resources/blocks/index.d.ts +1 -0
  1025. package/serialization/resources/blocks/index.js +17 -0
  1026. package/serialization/resources/index.d.ts +10 -0
  1027. package/serialization/resources/index.js +39 -0
  1028. package/serialization/resources/jobs/client/index.d.ts +2 -0
  1029. package/serialization/resources/jobs/client/index.js +28 -0
  1030. package/serialization/resources/jobs/client/list.d.ts +11 -0
  1031. package/serialization/resources/jobs/client/list.js +32 -0
  1032. package/serialization/resources/jobs/client/listActive.d.ts +11 -0
  1033. package/serialization/resources/jobs/client/listActive.js +32 -0
  1034. package/serialization/resources/jobs/index.d.ts +1 -0
  1035. package/serialization/resources/jobs/index.js +17 -0
  1036. package/serialization/resources/models/client/index.d.ts +2 -0
  1037. package/serialization/resources/models/client/index.js +28 -0
  1038. package/serialization/resources/models/client/listEmbeddingModels.d.ts +11 -0
  1039. package/serialization/resources/models/client/listEmbeddingModels.js +32 -0
  1040. package/serialization/resources/models/client/listLlms.d.ts +11 -0
  1041. package/serialization/resources/models/client/listLlms.js +32 -0
  1042. package/serialization/resources/models/index.d.ts +1 -0
  1043. package/serialization/resources/models/index.js +17 -0
  1044. package/serialization/resources/sources/client/getByName.d.ts +9 -0
  1045. package/serialization/resources/sources/client/getByName.js +31 -0
  1046. package/serialization/resources/sources/client/index.d.ts +3 -0
  1047. package/serialization/resources/sources/client/index.js +32 -0
  1048. package/serialization/resources/sources/client/list.d.ts +11 -0
  1049. package/serialization/resources/sources/client/list.js +32 -0
  1050. package/serialization/resources/sources/client/requests/SourceCreate.d.ts +16 -0
  1051. package/serialization/resources/sources/client/requests/SourceCreate.js +37 -0
  1052. package/serialization/resources/sources/client/requests/SourceUpdate.d.ts +16 -0
  1053. package/serialization/resources/sources/client/requests/SourceUpdate.js +37 -0
  1054. package/serialization/resources/sources/client/requests/index.d.ts +2 -0
  1055. package/serialization/resources/sources/client/requests/index.js +7 -0
  1056. package/serialization/resources/sources/index.d.ts +2 -0
  1057. package/serialization/resources/sources/index.js +18 -0
  1058. package/serialization/resources/sources/resources/files/client/index.d.ts +1 -0
  1059. package/serialization/resources/sources/resources/files/client/index.js +27 -0
  1060. package/serialization/resources/sources/resources/files/client/list.d.ts +11 -0
  1061. package/serialization/resources/sources/resources/files/client/list.js +32 -0
  1062. package/serialization/resources/sources/resources/files/index.d.ts +1 -0
  1063. package/serialization/resources/sources/resources/files/index.js +17 -0
  1064. package/serialization/resources/sources/resources/index.d.ts +2 -0
  1065. package/serialization/resources/sources/resources/index.js +28 -0
  1066. package/serialization/resources/sources/resources/passages/client/index.d.ts +1 -0
  1067. package/serialization/resources/sources/resources/passages/client/index.js +27 -0
  1068. package/serialization/resources/sources/resources/passages/client/list.d.ts +11 -0
  1069. package/serialization/resources/sources/resources/passages/client/list.js +32 -0
  1070. package/serialization/resources/sources/resources/passages/index.d.ts +1 -0
  1071. package/serialization/resources/sources/resources/passages/index.js +17 -0
  1072. package/serialization/resources/tools/client/addBaseTool.d.ts +11 -0
  1073. package/serialization/resources/tools/client/addBaseTool.js +32 -0
  1074. package/serialization/resources/tools/client/getByName.d.ts +9 -0
  1075. package/serialization/resources/tools/client/getByName.js +31 -0
  1076. package/serialization/resources/tools/client/index.d.ts +6 -0
  1077. package/serialization/resources/tools/client/index.js +35 -0
  1078. package/serialization/resources/tools/client/list.d.ts +11 -0
  1079. package/serialization/resources/tools/client/list.js +32 -0
  1080. package/serialization/resources/tools/client/listComposioActionsByApp.d.ts +11 -0
  1081. package/serialization/resources/tools/client/listComposioActionsByApp.js +32 -0
  1082. package/serialization/resources/tools/client/listComposioApps.d.ts +11 -0
  1083. package/serialization/resources/tools/client/listComposioApps.js +32 -0
  1084. package/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +15 -0
  1085. package/serialization/resources/tools/client/requests/ToolRunFromSource.js +36 -0
  1086. package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +18 -0
  1087. package/serialization/resources/tools/client/requests/ToolUpdate.js +39 -0
  1088. package/serialization/resources/tools/client/requests/index.d.ts +2 -0
  1089. package/serialization/resources/tools/client/requests/index.js +7 -0
  1090. package/serialization/resources/tools/index.d.ts +1 -0
  1091. package/serialization/resources/tools/index.js +17 -0
  1092. package/serialization/types/ActionModel.d.ts +23 -0
  1093. package/serialization/types/ActionModel.js +44 -0
  1094. package/serialization/types/ActionParametersModel.d.ts +15 -0
  1095. package/serialization/types/ActionParametersModel.js +36 -0
  1096. package/serialization/types/ActionResponseModel.d.ts +15 -0
  1097. package/serialization/types/ActionResponseModel.js +36 -0
  1098. package/serialization/types/AgentEnvironmentVariable.d.ts +21 -0
  1099. package/serialization/types/AgentEnvironmentVariable.js +42 -0
  1100. package/serialization/types/AgentState.d.ts +39 -0
  1101. package/serialization/types/AgentState.js +60 -0
  1102. package/serialization/types/AgentStateToolRulesItem.d.ts +14 -0
  1103. package/serialization/types/AgentStateToolRulesItem.js +35 -0
  1104. package/serialization/types/AgentType.d.ts +10 -0
  1105. package/serialization/types/AgentType.js +37 -0
  1106. package/serialization/types/AppAuthScheme.d.ts +23 -0
  1107. package/serialization/types/AppAuthScheme.js +44 -0
  1108. package/serialization/types/AppAuthSchemeAuthMode.d.ts +10 -0
  1109. package/serialization/types/AppAuthSchemeAuthMode.js +31 -0
  1110. package/serialization/types/AppModel.d.ts +28 -0
  1111. package/serialization/types/AppModel.js +51 -0
  1112. package/serialization/types/ArchivalMemorySummary.d.ts +12 -0
  1113. package/serialization/types/ArchivalMemorySummary.js +33 -0
  1114. package/serialization/types/AssistantFile.d.ts +15 -0
  1115. package/serialization/types/AssistantFile.js +36 -0
  1116. package/serialization/types/AssistantMessageInput.d.ts +16 -0
  1117. package/serialization/types/AssistantMessageInput.js +37 -0
  1118. package/serialization/types/AssistantMessageOutput.d.ts +14 -0
  1119. package/serialization/types/AssistantMessageOutput.js +35 -0
  1120. package/serialization/types/AuthRequest.d.ts +12 -0
  1121. package/serialization/types/AuthRequest.js +33 -0
  1122. package/serialization/types/AuthResponse.d.ts +13 -0
  1123. package/serialization/types/AuthResponse.js +34 -0
  1124. package/serialization/types/AuthSchemeField.d.ts +19 -0
  1125. package/serialization/types/AuthSchemeField.js +40 -0
  1126. package/serialization/types/Block.d.ts +22 -0
  1127. package/serialization/types/Block.js +43 -0
  1128. package/serialization/types/BlockUpdate.d.ts +18 -0
  1129. package/serialization/types/BlockUpdate.js +39 -0
  1130. package/serialization/types/ChatCompletionRequest.d.ts +38 -0
  1131. package/serialization/types/ChatCompletionRequest.js +59 -0
  1132. package/serialization/types/ChatCompletionRequestFunctionCall.d.ts +11 -0
  1133. package/serialization/types/ChatCompletionRequestFunctionCall.js +36 -0
  1134. package/serialization/types/ChatCompletionRequestMessagesItem.d.ts +14 -0
  1135. package/serialization/types/ChatCompletionRequestMessagesItem.js +35 -0
  1136. package/serialization/types/ChatCompletionRequestStop.d.ts +10 -0
  1137. package/serialization/types/ChatCompletionRequestStop.js +34 -0
  1138. package/serialization/types/ChatCompletionRequestToolChoice.d.ts +11 -0
  1139. package/serialization/types/ChatCompletionRequestToolChoice.js +37 -0
  1140. package/serialization/types/ChatCompletionResponse.d.ts +20 -0
  1141. package/serialization/types/ChatCompletionResponse.js +41 -0
  1142. package/serialization/types/ChildToolRule.d.ts +15 -0
  1143. package/serialization/types/ChildToolRule.js +36 -0
  1144. package/serialization/types/Choice.d.ts +18 -0
  1145. package/serialization/types/Choice.js +41 -0
  1146. package/serialization/types/ConditionalToolRule.d.ts +17 -0
  1147. package/serialization/types/ConditionalToolRule.js +38 -0
  1148. package/serialization/types/ConflictErrorBody.d.ts +12 -0
  1149. package/serialization/types/ConflictErrorBody.js +33 -0
  1150. package/serialization/types/ContextWindowOverview.d.ts +30 -0
  1151. package/serialization/types/ContextWindowOverview.js +51 -0
  1152. package/serialization/types/CreateAssistantFileRequest.d.ts +12 -0
  1153. package/serialization/types/CreateAssistantFileRequest.js +33 -0
  1154. package/serialization/types/CreateAssistantRequest.d.ts +19 -0
  1155. package/serialization/types/CreateAssistantRequest.js +40 -0
  1156. package/serialization/types/CreateBlock.d.ts +18 -0
  1157. package/serialization/types/CreateBlock.js +39 -0
  1158. package/serialization/types/DeleteAssistantFileResponse.d.ts +14 -0
  1159. package/serialization/types/DeleteAssistantFileResponse.js +35 -0
  1160. package/serialization/types/DeleteAssistantResponse.d.ts +14 -0
  1161. package/serialization/types/DeleteAssistantResponse.js +35 -0
  1162. package/serialization/types/E2BSandboxConfig.d.ts +14 -0
  1163. package/serialization/types/E2BSandboxConfig.js +35 -0
  1164. package/serialization/types/EmbeddingConfig.d.ts +21 -0
  1165. package/serialization/types/EmbeddingConfig.js +42 -0
  1166. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +10 -0
  1167. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +49 -0
  1168. package/serialization/types/FileMetadata.d.ts +23 -0
  1169. package/serialization/types/FileMetadata.js +44 -0
  1170. package/serialization/types/FunctionCallInput.d.ts +12 -0
  1171. package/serialization/types/FunctionCallInput.js +33 -0
  1172. package/serialization/types/FunctionCallOutput.d.ts +13 -0
  1173. package/serialization/types/FunctionCallOutput.js +34 -0
  1174. package/serialization/types/FunctionSchema.d.ts +14 -0
  1175. package/serialization/types/FunctionSchema.js +35 -0
  1176. package/serialization/types/Health.d.ts +13 -0
  1177. package/serialization/types/Health.js +34 -0
  1178. package/serialization/types/HttpValidationError.d.ts +13 -0
  1179. package/serialization/types/HttpValidationError.js +34 -0
  1180. package/serialization/types/InitToolRule.d.ts +14 -0
  1181. package/serialization/types/InitToolRule.js +35 -0
  1182. package/serialization/types/InternalServerErrorBody.d.ts +12 -0
  1183. package/serialization/types/InternalServerErrorBody.js +33 -0
  1184. package/serialization/types/Job.d.ts +21 -0
  1185. package/serialization/types/Job.js +42 -0
  1186. package/serialization/types/JobStatus.d.ts +10 -0
  1187. package/serialization/types/JobStatus.js +31 -0
  1188. package/serialization/types/LettaRequest.d.ts +15 -0
  1189. package/serialization/types/LettaRequest.js +36 -0
  1190. package/serialization/types/LettaResponse.d.ts +15 -0
  1191. package/serialization/types/LettaResponse.js +36 -0
  1192. package/serialization/types/LettaResponseMessagesItem.d.ts +34 -0
  1193. package/serialization/types/LettaResponseMessagesItem.js +49 -0
  1194. package/serialization/types/LettaSchemasLettaMessageToolCall.d.ts +14 -0
  1195. package/serialization/types/LettaSchemasLettaMessageToolCall.js +35 -0
  1196. package/serialization/types/LettaSchemasMessageMessage.d.ts +26 -0
  1197. package/serialization/types/LettaSchemasMessageMessage.js +47 -0
  1198. package/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +14 -0
  1199. package/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.js +35 -0
  1200. package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +15 -0
  1201. package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +36 -0
  1202. package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +13 -0
  1203. package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +34 -0
  1204. package/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +17 -0
  1205. package/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +38 -0
  1206. package/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +15 -0
  1207. package/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +36 -0
  1208. package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +13 -0
  1209. package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +34 -0
  1210. package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +15 -0
  1211. package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +36 -0
  1212. package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +15 -0
  1213. package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +36 -0
  1214. package/serialization/types/LettaSchemasToolTool.d.ts +23 -0
  1215. package/serialization/types/LettaSchemasToolTool.js +44 -0
  1216. package/serialization/types/LettaUsageStatistics.d.ts +15 -0
  1217. package/serialization/types/LettaUsageStatistics.js +36 -0
  1218. package/serialization/types/LlmConfig.d.ts +19 -0
  1219. package/serialization/types/LlmConfig.js +40 -0
  1220. package/serialization/types/LlmConfigModelEndpointType.d.ts +10 -0
  1221. package/serialization/types/LlmConfigModelEndpointType.js +49 -0
  1222. package/serialization/types/LocalSandboxConfig.d.ts +14 -0
  1223. package/serialization/types/LocalSandboxConfig.js +35 -0
  1224. package/serialization/types/LogProbToken.d.ts +14 -0
  1225. package/serialization/types/LogProbToken.js +35 -0
  1226. package/serialization/types/Memory.d.ts +14 -0
  1227. package/serialization/types/Memory.js +35 -0
  1228. package/serialization/types/MessageContentLogProb.d.ts +16 -0
  1229. package/serialization/types/MessageContentLogProb.js +37 -0
  1230. package/serialization/types/MessageCreate.d.ts +15 -0
  1231. package/serialization/types/MessageCreate.js +36 -0
  1232. package/serialization/types/MessageCreateRole.d.ts +10 -0
  1233. package/serialization/types/MessageCreateRole.js +31 -0
  1234. package/serialization/types/MessageRole.d.ts +10 -0
  1235. package/serialization/types/MessageRole.js +31 -0
  1236. package/serialization/types/NotFoundErrorBody.d.ts +12 -0
  1237. package/serialization/types/NotFoundErrorBody.js +33 -0
  1238. package/serialization/types/NotFoundErrorBodyMessage.d.ts +10 -0
  1239. package/serialization/types/NotFoundErrorBodyMessage.js +34 -0
  1240. package/serialization/types/OpenAiAssistant.d.ts +21 -0
  1241. package/serialization/types/OpenAiAssistant.js +42 -0
  1242. package/serialization/types/Organization.d.ts +14 -0
  1243. package/serialization/types/Organization.js +35 -0
  1244. package/serialization/types/OrganizationCreate.d.ts +12 -0
  1245. package/serialization/types/OrganizationCreate.js +33 -0
  1246. package/serialization/types/Passage.d.ts +26 -0
  1247. package/serialization/types/Passage.js +47 -0
  1248. package/serialization/types/ReasoningMessage.d.ts +14 -0
  1249. package/serialization/types/ReasoningMessage.js +35 -0
  1250. package/serialization/types/RecallMemorySummary.d.ts +12 -0
  1251. package/serialization/types/RecallMemorySummary.js +33 -0
  1252. package/serialization/types/ResponseFormat.d.ts +12 -0
  1253. package/serialization/types/ResponseFormat.js +33 -0
  1254. package/serialization/types/SandboxConfig.d.ts +20 -0
  1255. package/serialization/types/SandboxConfig.js +41 -0
  1256. package/serialization/types/SandboxConfigCreate.d.ts +13 -0
  1257. package/serialization/types/SandboxConfigCreate.js +34 -0
  1258. package/serialization/types/SandboxConfigCreateConfig.d.ts +12 -0
  1259. package/serialization/types/SandboxConfigCreateConfig.js +33 -0
  1260. package/serialization/types/SandboxConfigUpdate.d.ts +13 -0
  1261. package/serialization/types/SandboxConfigUpdate.js +34 -0
  1262. package/serialization/types/SandboxConfigUpdateConfig.d.ts +12 -0
  1263. package/serialization/types/SandboxConfigUpdateConfig.js +33 -0
  1264. package/serialization/types/SandboxEnvironmentVariable.d.ts +21 -0
  1265. package/serialization/types/SandboxEnvironmentVariable.js +42 -0
  1266. package/serialization/types/SandboxEnvironmentVariableCreate.d.ts +14 -0
  1267. package/serialization/types/SandboxEnvironmentVariableCreate.js +35 -0
  1268. package/serialization/types/SandboxEnvironmentVariableUpdate.d.ts +14 -0
  1269. package/serialization/types/SandboxEnvironmentVariableUpdate.js +35 -0
  1270. package/serialization/types/SandboxType.d.ts +10 -0
  1271. package/serialization/types/SandboxType.js +31 -0
  1272. package/serialization/types/Source.d.ts +22 -0
  1273. package/serialization/types/Source.js +43 -0
  1274. package/serialization/types/SystemMessageInput.d.ts +14 -0
  1275. package/serialization/types/SystemMessageInput.js +35 -0
  1276. package/serialization/types/SystemMessageOutput.d.ts +14 -0
  1277. package/serialization/types/SystemMessageOutput.js +35 -0
  1278. package/serialization/types/TerminalToolRule.d.ts +14 -0
  1279. package/serialization/types/TerminalToolRule.js +35 -0
  1280. package/serialization/types/ToolCallDelta.d.ts +14 -0
  1281. package/serialization/types/ToolCallDelta.js +35 -0
  1282. package/serialization/types/ToolCallFunctionOutput.d.ts +13 -0
  1283. package/serialization/types/ToolCallFunctionOutput.js +34 -0
  1284. package/serialization/types/ToolCallMessage.d.ts +15 -0
  1285. package/serialization/types/ToolCallMessage.js +36 -0
  1286. package/serialization/types/ToolCallMessageToolCall.d.ts +12 -0
  1287. package/serialization/types/ToolCallMessageToolCall.js +33 -0
  1288. package/serialization/types/ToolCreate.d.ts +19 -0
  1289. package/serialization/types/ToolCreate.js +40 -0
  1290. package/serialization/types/ToolFunctionChoice.d.ts +14 -0
  1291. package/serialization/types/ToolFunctionChoice.js +35 -0
  1292. package/serialization/types/ToolInput.d.ts +14 -0
  1293. package/serialization/types/ToolInput.js +35 -0
  1294. package/serialization/types/ToolMessage.d.ts +14 -0
  1295. package/serialization/types/ToolMessage.js +35 -0
  1296. package/serialization/types/ToolReturnMessage.d.ts +19 -0
  1297. package/serialization/types/ToolReturnMessage.js +40 -0
  1298. package/serialization/types/ToolReturnMessageStatus.d.ts +10 -0
  1299. package/serialization/types/ToolReturnMessageStatus.js +31 -0
  1300. package/serialization/types/ToolRuleType.d.ts +10 -0
  1301. package/serialization/types/ToolRuleType.js +38 -0
  1302. package/serialization/types/UsageStatistics.d.ts +14 -0
  1303. package/serialization/types/UsageStatistics.js +35 -0
  1304. package/serialization/types/User.d.ts +17 -0
  1305. package/serialization/types/User.js +38 -0
  1306. package/serialization/types/UserCreate.d.ts +13 -0
  1307. package/serialization/types/UserCreate.js +34 -0
  1308. package/serialization/types/UserMessageInput.d.ts +15 -0
  1309. package/serialization/types/UserMessageInput.js +36 -0
  1310. package/serialization/types/UserMessageInputContent.d.ts +10 -0
  1311. package/serialization/types/UserMessageInputContent.js +34 -0
  1312. package/serialization/types/UserMessageOutput.d.ts +14 -0
  1313. package/serialization/types/UserMessageOutput.js +35 -0
  1314. package/serialization/types/UserUpdate.d.ts +14 -0
  1315. package/serialization/types/UserUpdate.js +35 -0
  1316. package/serialization/types/ValidationError.d.ts +15 -0
  1317. package/serialization/types/ValidationError.js +36 -0
  1318. package/serialization/types/ValidationErrorLocItem.d.ts +10 -0
  1319. package/serialization/types/ValidationErrorLocItem.js +31 -0
  1320. package/serialization/types/index.d.ts +114 -0
  1321. package/serialization/types/index.js +130 -0
  1322. package/version.d.ts +1 -1
  1323. package/version.js +1 -1
  1324. package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.d.ts +0 -9
  1325. package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.d.ts +0 -9
  1326. package/core/auth/BasicAuth.d.ts +0 -8
  1327. package/core/auth/BasicAuth.js +0 -26
  1328. package/core/auth/BearerToken.d.ts +0 -5
  1329. package/core/auth/BearerToken.js +0 -15
  1330. package/core/auth/index.d.ts +0 -2
  1331. package/core/auth/index.js +0 -7
  1332. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.d.ts +0 -9
  1333. package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.d.ts +0 -9
  1334. package/dist/core/auth/BasicAuth.d.ts +0 -8
  1335. package/dist/core/auth/BasicAuth.js +0 -26
  1336. package/dist/core/auth/BearerToken.d.ts +0 -5
  1337. package/dist/core/auth/BearerToken.js +0 -15
  1338. package/dist/core/auth/index.d.ts +0 -2
  1339. package/dist/core/auth/index.js +0 -7
  1340. /package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirection.js → AgentsSearchDeployedAgentsRequestSearchItemName.js} +0 -0
  1341. /package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemOperator.js → AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js} +0 -0
  1342. /package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemZero.js → AgentsSearchDeployedAgentsRequestSearchItemVersion.js} +0 -0
  1343. /package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.js → api/types/AgentEnvironmentVariable.js} +0 -0
  1344. /package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.js → api/types/LettaResponseMessagesItem.js} +0 -0
  1345. /package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemZero.js → AgentsSearchDeployedAgentsRequestSearchItemName.js} +0 -0
@@ -5,11 +5,11 @@
5
5
  * Representation of a tool, which is a function that can be called by the agent.
6
6
  *
7
7
  * Parameters:
8
- * id (str): The unique identifier of the tool.
9
- * name (str): The name of the function.
10
- * tags (List[str]): Metadata tags.
11
- * source_code (str): The source code of the function.
12
- * json_schema (Dict): The JSON schema of the function.
8
+ * id (str): The unique identifier of the tool.
9
+ * name (str): The name of the function.
10
+ * tags (List[str]): Metadata tags.
11
+ * source_code (str): The source code of the function.
12
+ * json_schema (Dict): The JSON schema of the function.
13
13
  */
14
14
  export interface LettaSchemasToolTool {
15
15
  /** The human-friendly ID of the Tool */
@@ -17,23 +17,23 @@ export interface LettaSchemasToolTool {
17
17
  /** The description of the tool. */
18
18
  description?: string;
19
19
  /** The type of the source code. */
20
- source_type?: string;
20
+ sourceType?: string;
21
21
  /** The module of the function. */
22
22
  module?: string;
23
23
  /** The unique identifier of the organization associated with the tool. */
24
- organization_id?: string;
24
+ organizationId?: string;
25
25
  /** The name of the function. */
26
26
  name?: string;
27
27
  /** Metadata tags. */
28
28
  tags?: string[];
29
29
  /** The source code of the function. */
30
- source_code: string;
30
+ sourceCode: string;
31
31
  /** The JSON schema of the function. */
32
- json_schema?: Record<string, unknown>;
32
+ jsonSchema?: Record<string, unknown>;
33
33
  /** The maximum number of characters in the response. */
34
- return_char_limit?: number;
34
+ returnCharLimit?: number;
35
35
  /** The id of the user that made this Tool. */
36
- created_by_id?: string;
36
+ createdById?: string;
37
37
  /** The id of the user that made this Tool. */
38
- last_updated_by_id?: string;
38
+ lastUpdatedById?: string;
39
39
  }
@@ -5,19 +5,18 @@
5
5
  * Usage statistics for the agent interaction.
6
6
  *
7
7
  * Attributes:
8
- * completion_tokens (int): The number of tokens generated by the agent.
9
- * prompt_tokens (int): The number of tokens in the prompt.
10
- * total_tokens (int): The total number of tokens processed by the agent.
11
- * step_count (int): The number of steps taken by the agent.
8
+ * completion_tokens (int): The number of tokens generated by the agent.
9
+ * prompt_tokens (int): The number of tokens in the prompt.
10
+ * total_tokens (int): The total number of tokens processed by the agent.
11
+ * step_count (int): The number of steps taken by the agent.
12
12
  */
13
13
  export interface LettaUsageStatistics {
14
- message_type?: "usage_statistics";
15
14
  /** The number of tokens generated by the agent. */
16
- completion_tokens?: number;
15
+ completionTokens?: number;
17
16
  /** The number of tokens in the prompt. */
18
- prompt_tokens?: number;
17
+ promptTokens?: number;
19
18
  /** The total number of tokens processed by the agent. */
20
- total_tokens?: number;
19
+ totalTokens?: number;
21
20
  /** The number of steps taken by the agent. */
22
- step_count?: number;
21
+ stepCount?: number;
23
22
  }
@@ -6,26 +6,26 @@ import * as Letta from "../index";
6
6
  * Configuration for a Language Model (LLM) model. This object specifies all the information necessary to access an LLM model to usage with Letta, except for secret keys.
7
7
  *
8
8
  * Attributes:
9
- * model (str): The name of the LLM model.
10
- * model_endpoint_type (str): The endpoint type for the model.
11
- * model_endpoint (str): The endpoint for the model.
12
- * model_wrapper (str): The wrapper for the model. This is used to wrap additional text around the input/output of the model. This is useful for text-to-text completions, such as the Completions API in OpenAI.
13
- * context_window (int): The context window size for the model.
14
- * put_inner_thoughts_in_kwargs (bool): Puts `inner_thoughts` as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
9
+ * model (str): The name of the LLM model.
10
+ * model_endpoint_type (str): The endpoint type for the model.
11
+ * model_endpoint (str): The endpoint for the model.
12
+ * model_wrapper (str): The wrapper for the model. This is used to wrap additional text around the input/output of the model. This is useful for text-to-text completions, such as the Completions API in OpenAI.
13
+ * context_window (int): The context window size for the model.
14
+ * put_inner_thoughts_in_kwargs (bool): Puts `inner_thoughts` as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
15
15
  */
16
16
  export interface LlmConfig {
17
17
  /** LLM model name. */
18
18
  model: string;
19
19
  /** The endpoint type for the model. */
20
- model_endpoint_type: Letta.LlmConfigModelEndpointType;
20
+ modelEndpointType: Letta.LlmConfigModelEndpointType;
21
21
  /** The endpoint for the model. */
22
- model_endpoint?: string;
22
+ modelEndpoint?: string;
23
23
  /** The wrapper for the model. */
24
- model_wrapper?: string;
24
+ modelWrapper?: string;
25
25
  /** The context window size for the model. */
26
- context_window: number;
26
+ contextWindow: number;
27
27
  /** Puts 'inner_thoughts' as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts. */
28
- put_inner_thoughts_in_kwargs?: boolean;
28
+ putInnerThoughtsInKwargs?: boolean;
29
29
  /** The handle for this config, in the format provider/model-name. */
30
30
  handle?: string;
31
31
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface LocalSandboxConfig {
5
5
  /** Directory for the sandbox environment. */
6
- sandbox_dir: string;
6
+ sandboxDir: string;
7
7
  /** Whether or not to use the venv, or run directly in the same run loop. */
8
- use_venv?: boolean;
8
+ useVenv?: boolean;
9
9
  /** The name for the venv in the sandbox directory. We first search for an existing venv with this name, otherwise, we make it from the requirements.txt. */
10
- venv_name?: string;
10
+ venvName?: string;
11
11
  }
@@ -9,5 +9,5 @@ export interface Memory {
9
9
  /** Memory blocks contained in the agent's in-context memory */
10
10
  blocks: Letta.Block[];
11
11
  /** Jinja2 template for compiling memory blocks into a prompt string */
12
- prompt_template?: string;
12
+ promptTemplate?: string;
13
13
  }
@@ -6,5 +6,5 @@ export interface MessageContentLogProb {
6
6
  token: string;
7
7
  logprob: number;
8
8
  bytes?: number[];
9
- top_logprobs?: Letta.LogProbToken[];
9
+ topLogprobs?: Letta.LogProbToken[];
10
10
  }
@@ -13,7 +13,7 @@ export interface OpenAiAssistant {
13
13
  /** The description of the assistant. */
14
14
  description?: string;
15
15
  /** The unix timestamp of when the assistant was created. */
16
- created_at: number;
16
+ createdAt: number;
17
17
  /** The model used by the assistant. */
18
18
  model: string;
19
19
  /** The instructions for the assistant. */
@@ -21,7 +21,7 @@ export interface OpenAiAssistant {
21
21
  /** The tools used by the assistant. */
22
22
  tools?: string[];
23
23
  /** List of file IDs associated with the assistant. */
24
- file_ids?: string[];
24
+ fileIds?: string[];
25
25
  /** Metadata associated with the assistant. */
26
26
  metadata?: Record<string, unknown>;
27
27
  }
@@ -7,5 +7,5 @@ export interface Organization {
7
7
  /** The name of the organization. */
8
8
  name?: string;
9
9
  /** The creation date of the organization. */
10
- created_at?: string;
10
+ createdAt?: Date;
11
11
  }
@@ -6,36 +6,36 @@ import * as Letta from "../index";
6
6
  * Representation of a passage, which is stored in archival memory.
7
7
  *
8
8
  * Parameters:
9
- * text (str): The text of the passage.
10
- * embedding (List[float]): The embedding of the passage.
11
- * embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
12
- * created_at (datetime): The creation date of the passage.
13
- * user_id (str): The unique identifier of the user associated with the passage.
14
- * agent_id (str): The unique identifier of the agent associated with the passage.
15
- * source_id (str): The data source of the passage.
16
- * file_id (str): The unique identifier of the file associated with the passage.
9
+ * text (str): The text of the passage.
10
+ * embedding (List[float]): The embedding of the passage.
11
+ * embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
12
+ * created_at (datetime): The creation date of the passage.
13
+ * user_id (str): The unique identifier of the user associated with the passage.
14
+ * agent_id (str): The unique identifier of the agent associated with the passage.
15
+ * source_id (str): The data source of the passage.
16
+ * file_id (str): The unique identifier of the file associated with the passage.
17
17
  */
18
18
  export interface Passage {
19
19
  /** The id of the user that made this object. */
20
- created_by_id?: string;
20
+ createdById?: string;
21
21
  /** The id of the user that made this object. */
22
- last_updated_by_id?: string;
22
+ lastUpdatedById?: string;
23
23
  /** The creation date of the passage. */
24
- created_at?: string;
24
+ createdAt?: Date;
25
25
  /** The timestamp when the object was last updated. */
26
- updated_at?: string;
26
+ updatedAt?: Date;
27
27
  /** Whether this passage is deleted or not. */
28
- is_deleted?: boolean;
28
+ isDeleted?: boolean;
29
29
  /** The unique identifier of the user associated with the passage. */
30
- organization_id?: string;
30
+ organizationId?: string;
31
31
  /** The unique identifier of the agent associated with the passage. */
32
- agent_id?: string;
32
+ agentId?: string;
33
33
  /** The data source of the passage. */
34
- source_id?: string;
34
+ sourceId?: string;
35
35
  /** The unique identifier of the file associated with the passage. */
36
- file_id?: string;
36
+ fileId?: string;
37
37
  /** The metadata of the passage. */
38
- metadata_?: Record<string, unknown>;
38
+ metadata?: Record<string, unknown>;
39
39
  /** The human-friendly ID of the Passage */
40
40
  id?: string;
41
41
  /** The text of the passage. */
@@ -43,5 +43,5 @@ export interface Passage {
43
43
  /** The embedding of the passage. */
44
44
  embedding?: number[];
45
45
  /** The embedding configuration used by the passage. */
46
- embedding_config?: Letta.EmbeddingConfig;
46
+ embeddingConfig?: Letta.EmbeddingConfig;
47
47
  }
@@ -5,13 +5,12 @@
5
5
  * Representation of an agent's internal reasoning.
6
6
  *
7
7
  * Attributes:
8
- * reasoning (str): The internal reasoning of the agent
9
- * id (str): The ID of the message
10
- * date (datetime): The date the message was created in ISO format
8
+ * reasoning (str): The internal reasoning of the agent
9
+ * id (str): The ID of the message
10
+ * date (datetime): The date the message was created in ISO format
11
11
  */
12
12
  export interface ReasoningMessage {
13
13
  id: string;
14
- date: string;
15
- message_type: "reasoning_message";
14
+ date: Date;
16
15
  reasoning: string;
17
16
  }
@@ -4,19 +4,19 @@
4
4
  import * as Letta from "../index";
5
5
  export interface SandboxConfig {
6
6
  /** The id of the user that made this object. */
7
- created_by_id?: string;
7
+ createdById?: string;
8
8
  /** The id of the user that made this object. */
9
- last_updated_by_id?: string;
9
+ lastUpdatedById?: string;
10
10
  /** The timestamp when the object was created. */
11
- created_at?: string;
11
+ createdAt?: Date;
12
12
  /** The timestamp when the object was last updated. */
13
- updated_at?: string;
13
+ updatedAt?: Date;
14
14
  /** The human-friendly ID of the Sandbox */
15
15
  id?: string;
16
16
  /** The type of sandbox. */
17
17
  type?: Letta.SandboxType;
18
18
  /** The unique identifier of the organization associated with the sandbox. */
19
- organization_id?: string;
19
+ organizationId?: string;
20
20
  /** The JSON sandbox settings data. */
21
21
  config?: Record<string, unknown>;
22
22
  }
@@ -3,13 +3,13 @@
3
3
  */
4
4
  export interface SandboxEnvironmentVariable {
5
5
  /** The id of the user that made this object. */
6
- created_by_id?: string;
6
+ createdById?: string;
7
7
  /** The id of the user that made this object. */
8
- last_updated_by_id?: string;
8
+ lastUpdatedById?: string;
9
9
  /** The timestamp when the object was created. */
10
- created_at?: string;
10
+ createdAt?: Date;
11
11
  /** The timestamp when the object was last updated. */
12
- updated_at?: string;
12
+ updatedAt?: Date;
13
13
  /** The human-friendly ID of the Sandbox-env */
14
14
  id?: string;
15
15
  /** The name of the environment variable. */
@@ -18,8 +18,8 @@ export interface SandboxEnvironmentVariable {
18
18
  value: string;
19
19
  /** An optional description of the environment variable. */
20
20
  description?: string;
21
- /** The ID of the sandbox config this environment variable belongs to. */
22
- sandbox_config_id: string;
23
21
  /** The ID of the organization this environment variable belongs to. */
24
- organization_id?: string;
22
+ organizationId?: string;
23
+ /** The ID of the sandbox config this environment variable belongs to. */
24
+ sandboxConfigId: string;
25
25
  }
@@ -1,9 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- /**
5
- * Pydantic model for updating SandboxEnvironmentVariable fields.
6
- */
7
4
  export interface SandboxEnvironmentVariableUpdate {
8
5
  /** The name of the environment variable. */
9
6
  key?: string;
@@ -6,12 +6,12 @@ import * as Letta from "../index";
6
6
  * Representation of a source, which is a collection of files and passages.
7
7
  *
8
8
  * Parameters:
9
- * id (str): The ID of the source
10
- * name (str): The name of the source.
11
- * embedding*config (EmbeddingConfig): The embedding configuration used by the source.
12
- * user_id (str): The ID of the user that created the source.
13
- * metadata* (dict): Metadata associated with the source.
14
- * description (str): The description of the source.
9
+ * id (str): The ID of the source
10
+ * name (str): The name of the source.
11
+ * embedding_config (EmbeddingConfig): The embedding configuration used by the source.
12
+ * user_id (str): The ID of the user that created the source.
13
+ * metadata_ (dict): Metadata associated with the source.
14
+ * description (str): The description of the source.
15
15
  */
16
16
  export interface Source {
17
17
  /** The human-friendly ID of the Source */
@@ -21,17 +21,17 @@ export interface Source {
21
21
  /** The description of the source. */
22
22
  description?: string;
23
23
  /** The embedding configuration used by the source. */
24
- embedding_config: Letta.EmbeddingConfig;
24
+ embeddingConfig: Letta.EmbeddingConfig;
25
25
  /** The ID of the organization that created the source. */
26
- organization_id?: string;
26
+ organizationId?: string;
27
27
  /** Metadata associated with the source. */
28
- metadata_?: Record<string, unknown>;
28
+ metadata?: Record<string, unknown>;
29
29
  /** The id of the user that made this Tool. */
30
- created_by_id?: string;
30
+ createdById?: string;
31
31
  /** The id of the user that made this Tool. */
32
- last_updated_by_id?: string;
32
+ lastUpdatedById?: string;
33
33
  /** The timestamp when the source was created. */
34
- created_at?: string;
34
+ createdAt?: Date;
35
35
  /** The timestamp when the source was last updated. */
36
- updated_at?: string;
36
+ updatedAt?: Date;
37
37
  }
@@ -5,13 +5,12 @@
5
5
  * A message generated by the system. Never streamed back on a response, only used for cursor pagination.
6
6
  *
7
7
  * Attributes:
8
- * message (str): The message sent by the system
9
- * id (str): The ID of the message
10
- * date (datetime): The date the message was created in ISO format
8
+ * message (str): The message sent by the system
9
+ * id (str): The ID of the message
10
+ * date (datetime): The date the message was created in ISO format
11
11
  */
12
12
  export interface SystemMessageOutput {
13
13
  id: string;
14
- date: string;
15
- message_type: "system_message";
14
+ date: Date;
16
15
  message: string;
17
16
  }
@@ -7,6 +7,6 @@ import * as Letta from "../index";
7
7
  */
8
8
  export interface TerminalToolRule {
9
9
  /** The name of the tool. Must exist in the database for the user's organization. */
10
- tool_name: string;
10
+ toolName: string;
11
11
  type?: Letta.ToolRuleType;
12
12
  }
@@ -4,5 +4,5 @@
4
4
  export interface ToolCallDelta {
5
5
  name?: string;
6
6
  arguments?: string;
7
- tool_call_id?: string;
7
+ toolCallId?: string;
8
8
  }
@@ -6,13 +6,12 @@ import * as Letta from "../index";
6
6
  * A message representing a request to call a tool (generated by the LLM to trigger tool execution).
7
7
  *
8
8
  * Attributes:
9
- * tool_call (Union[ToolCall, ToolCallDelta]): The tool call
10
- * id (str): The ID of the message
11
- * date (datetime): The date the message was created in ISO format
9
+ * tool_call (Union[ToolCall, ToolCallDelta]): The tool call
10
+ * id (str): The ID of the message
11
+ * date (datetime): The date the message was created in ISO format
12
12
  */
13
13
  export interface ToolCallMessage {
14
14
  id: string;
15
- date: string;
16
- message_type: "tool_call_message";
17
- tool_call: Letta.ToolCallMessageToolCall;
15
+ date: Date;
16
+ toolCall: Letta.ToolCallMessageToolCall;
18
17
  }
@@ -11,11 +11,11 @@ export interface ToolCreate {
11
11
  /** The source code of the function. */
12
12
  module?: string;
13
13
  /** The source code of the function. */
14
- source_code: string;
14
+ sourceCode: string;
15
15
  /** The source type of the function. */
16
- source_type?: string;
16
+ sourceType?: string;
17
17
  /** The JSON schema of the function (auto-generated from source_code if not provided) */
18
- json_schema?: Record<string, unknown>;
18
+ jsonSchema?: Record<string, unknown>;
19
19
  /** The maximum number of characters in the response. */
20
- return_char_limit?: number;
20
+ returnCharLimit?: number;
21
21
  }
@@ -4,5 +4,5 @@
4
4
  export interface ToolMessage {
5
5
  content: string;
6
6
  role?: string;
7
- tool_call_id: string;
7
+ toolCallId: string;
8
8
  }
@@ -6,21 +6,20 @@ import * as Letta from "../index";
6
6
  * A message representing the return value of a tool call (generated by Letta executing the requested tool).
7
7
  *
8
8
  * Attributes:
9
- * tool_return (str): The return value of the tool
10
- * status (Literal["success", "error"]): The status of the tool call
11
- * id (str): The ID of the message
12
- * date (datetime): The date the message was created in ISO format
13
- * tool_call_id (str): A unique identifier for the tool call that generated this message
14
- * stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the tool invocation
15
- * stderr (Optional[List(str)]): Captured stderr from the tool invocation
9
+ * tool_return (str): The return value of the tool
10
+ * status (Literal["success", "error"]): The status of the tool call
11
+ * id (str): The ID of the message
12
+ * date (datetime): The date the message was created in ISO format
13
+ * tool_call_id (str): A unique identifier for the tool call that generated this message
14
+ * stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the tool invocation
15
+ * stderr (Optional[List(str)]): Captured stderr from the tool invocation
16
16
  */
17
17
  export interface ToolReturnMessage {
18
18
  id: string;
19
- date: string;
20
- message_type: "tool_return_message";
21
- tool_return: string;
19
+ date: Date;
20
+ toolReturn: string;
22
21
  status: Letta.ToolReturnMessageStatus;
23
- tool_call_id: string;
22
+ toolCallId: string;
24
23
  stdout?: string[];
25
24
  stderr?: string[];
26
25
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface UsageStatistics {
5
- completion_tokens?: number;
6
- prompt_tokens?: number;
7
- total_tokens?: number;
5
+ completionTokens?: number;
6
+ promptTokens?: number;
7
+ totalTokens?: number;
8
8
  }
@@ -5,21 +5,21 @@
5
5
  * Representation of a user.
6
6
  *
7
7
  * Parameters:
8
- * id (str): The unique identifier of the user.
9
- * name (str): The name of the user.
10
- * created_at (datetime): The creation date of the user.
8
+ * id (str): The unique identifier of the user.
9
+ * name (str): The name of the user.
10
+ * created_at (datetime): The creation date of the user.
11
11
  */
12
12
  export interface User {
13
13
  /** The human-friendly ID of the User */
14
14
  id?: string;
15
15
  /** The organization id of the user */
16
- organization_id?: string;
16
+ organizationId?: string;
17
17
  /** The name of the user. */
18
18
  name: string;
19
19
  /** The creation date of the user. */
20
- created_at?: string;
20
+ createdAt?: Date;
21
21
  /** The update date of the user. */
22
- updated_at?: string;
22
+ updatedAt?: Date;
23
23
  /** Whether this user is deleted or not. */
24
- is_deleted?: boolean;
24
+ isDeleted?: boolean;
25
25
  }
@@ -5,5 +5,5 @@ export interface UserCreate {
5
5
  /** The name of the user. */
6
6
  name: string;
7
7
  /** The organization id of the user. */
8
- organization_id: string;
8
+ organizationId: string;
9
9
  }
@@ -5,13 +5,12 @@
5
5
  * A message sent by the user. Never streamed back on a response, only used for cursor pagination.
6
6
  *
7
7
  * Attributes:
8
- * message (str): The message sent by the user
9
- * id (str): The ID of the message
10
- * date (datetime): The date the message was created in ISO format
8
+ * message (str): The message sent by the user
9
+ * id (str): The ID of the message
10
+ * date (datetime): The date the message was created in ISO format
11
11
  */
12
12
  export interface UserMessageOutput {
13
13
  id: string;
14
- date: string;
15
- message_type: "user_message";
14
+ date: Date;
16
15
  message: string;
17
16
  }
@@ -7,5 +7,5 @@ export interface UserUpdate {
7
7
  /** The new name of the user. */
8
8
  name?: string;
9
9
  /** The new organization id of the user. */
10
- organization_id?: string;
10
+ organizationId?: string;
11
11
  }
@@ -5,6 +5,7 @@ export * from "./ConflictErrorBody";
5
5
  export * from "./ActionModel";
6
6
  export * from "./ActionParametersModel";
7
7
  export * from "./ActionResponseModel";
8
+ export * from "./AgentEnvironmentVariable";
8
9
  export * from "./AgentStateToolRulesItem";
9
10
  export * from "./AgentState";
10
11
  export * from "./AgentType";
@@ -50,6 +51,7 @@ export * from "./JobStatus";
50
51
  export * from "./LlmConfigModelEndpointType";
51
52
  export * from "./LlmConfig";
52
53
  export * from "./LettaRequest";
54
+ export * from "./LettaResponseMessagesItem";
53
55
  export * from "./LettaResponse";
54
56
  export * from "./LettaUsageStatistics";
55
57
  export * from "./LocalSandboxConfig";
@@ -21,6 +21,7 @@ __exportStar(require("./ConflictErrorBody"), exports);
21
21
  __exportStar(require("./ActionModel"), exports);
22
22
  __exportStar(require("./ActionParametersModel"), exports);
23
23
  __exportStar(require("./ActionResponseModel"), exports);
24
+ __exportStar(require("./AgentEnvironmentVariable"), exports);
24
25
  __exportStar(require("./AgentStateToolRulesItem"), exports);
25
26
  __exportStar(require("./AgentState"), exports);
26
27
  __exportStar(require("./AgentType"), exports);
@@ -66,6 +67,7 @@ __exportStar(require("./JobStatus"), exports);
66
67
  __exportStar(require("./LlmConfigModelEndpointType"), exports);
67
68
  __exportStar(require("./LlmConfig"), exports);
68
69
  __exportStar(require("./LettaRequest"), exports);
70
+ __exportStar(require("./LettaResponseMessagesItem"), exports);
69
71
  __exportStar(require("./LettaResponse"), exports);
70
72
  __exportStar(require("./LettaUsageStatistics"), exports);
71
73
  __exportStar(require("./LocalSandboxConfig"), exports);
package/core/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "./fetcher";
2
- export * from "./auth";
3
2
  export * from "./runtime";
4
3
  export * from "./streaming-fetcher";
5
4
  export * from "./form-data-utils";
5
+ export * as serialization from "./schemas";
package/core/index.js CHANGED
@@ -10,12 +10,25 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
13
18
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
20
  };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.serialization = void 0;
17
30
  __exportStar(require("./fetcher"), exports);
18
- __exportStar(require("./auth"), exports);
19
31
  __exportStar(require("./runtime"), exports);
20
32
  __exportStar(require("./streaming-fetcher"), exports);
21
33
  __exportStar(require("./form-data-utils"), exports);
34
+ exports.serialization = __importStar(require("./schemas"));