@letta-ai/letta-client 1.0.0-alpha.1 → 1.0.0-alpha.2

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 (859) hide show
  1. package/api/resources/agents/client/Client.d.ts +23 -3
  2. package/api/resources/agents/client/Client.js +32 -12
  3. package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +4 -1
  4. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +16 -1
  5. package/api/resources/agents/client/requests/BodyImportAgent.d.ts +3 -1
  6. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -2
  7. package/api/resources/agents/resources/blocks/client/Client.d.ts +9 -2
  8. package/api/resources/agents/resources/blocks/client/Client.js +37 -10
  9. package/api/resources/agents/resources/blocks/client/index.d.ts +1 -1
  10. package/api/resources/agents/resources/blocks/client/index.js +15 -0
  11. package/api/resources/agents/resources/blocks/client/requests/BlocksListRequest.d.ts +36 -0
  12. package/api/resources/agents/resources/blocks/client/requests/index.d.ts +1 -0
  13. package/api/resources/agents/resources/blocks/client/requests/index.js +2 -0
  14. package/api/resources/agents/resources/blocks/index.d.ts +1 -0
  15. package/api/resources/agents/resources/blocks/index.js +1 -0
  16. package/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  17. package/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  18. package/api/resources/agents/resources/blocks/types/index.d.ts +1 -0
  19. package/api/resources/agents/resources/blocks/types/index.js +17 -0
  20. package/api/resources/agents/resources/context/client/Client.js +1 -1
  21. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  22. package/api/resources/agents/resources/files/client/Client.d.ts +9 -1
  23. package/api/resources/agents/resources/files/client/Client.js +30 -8
  24. package/api/resources/agents/resources/files/client/requests/FilesListRequest.d.ts +29 -4
  25. package/api/resources/agents/resources/files/index.d.ts +1 -0
  26. package/api/resources/agents/resources/files/index.js +1 -0
  27. package/api/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +11 -0
  28. package/api/resources/agents/resources/files/types/FilesListRequestOrder.js +10 -0
  29. package/api/resources/agents/resources/files/types/index.d.ts +1 -0
  30. package/api/resources/agents/resources/files/types/index.js +17 -0
  31. package/api/resources/agents/resources/folders/client/Client.d.ts +9 -2
  32. package/api/resources/agents/resources/folders/client/Client.js +35 -8
  33. package/api/resources/agents/resources/folders/client/index.d.ts +1 -1
  34. package/api/resources/agents/resources/folders/client/index.js +15 -0
  35. package/api/resources/agents/resources/folders/client/requests/FoldersListRequest.d.ts +36 -0
  36. package/api/resources/agents/resources/folders/client/requests/index.d.ts +1 -0
  37. package/api/resources/agents/resources/folders/client/requests/index.js +2 -0
  38. package/api/resources/agents/resources/folders/index.d.ts +1 -0
  39. package/api/resources/agents/resources/folders/index.js +1 -0
  40. package/api/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +11 -0
  41. package/api/resources/agents/resources/folders/types/FoldersListRequestOrder.js +10 -0
  42. package/api/resources/agents/resources/folders/types/index.d.ts +1 -0
  43. package/api/resources/agents/resources/folders/types/index.js +17 -0
  44. package/api/resources/agents/resources/groups/client/Client.d.ts +8 -1
  45. package/api/resources/agents/resources/groups/client/Client.js +28 -4
  46. package/api/resources/agents/resources/groups/client/requests/GroupsListRequest.d.ts +29 -1
  47. package/api/resources/agents/resources/groups/index.d.ts +1 -0
  48. package/api/resources/agents/resources/groups/index.js +1 -0
  49. package/api/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +11 -0
  50. package/api/resources/agents/resources/groups/types/GroupsListRequestOrder.js +10 -0
  51. package/api/resources/agents/resources/groups/types/index.d.ts +1 -0
  52. package/api/resources/agents/resources/groups/types/index.js +17 -0
  53. package/api/resources/agents/resources/index.d.ts +15 -6
  54. package/api/resources/agents/resources/index.js +16 -7
  55. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  56. package/api/resources/agents/resources/messages/client/Client.d.ts +15 -2
  57. package/api/resources/agents/resources/messages/client/Client.js +38 -17
  58. package/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +26 -6
  59. package/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts +3 -1
  60. package/api/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  61. package/api/resources/agents/resources/messages/types/MessagesListRequestOrder.js +10 -0
  62. package/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  63. package/api/resources/agents/resources/messages/types/index.js +1 -0
  64. package/api/resources/agents/resources/passages/client/Client.d.ts +12 -2
  65. package/api/resources/agents/resources/passages/client/Client.js +17 -7
  66. package/api/resources/agents/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
  67. package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +5 -1
  68. package/api/resources/agents/resources/sources/client/Client.d.ts +9 -2
  69. package/api/resources/agents/resources/sources/client/Client.js +35 -8
  70. package/api/resources/agents/resources/sources/client/index.d.ts +1 -1
  71. package/api/resources/agents/resources/sources/client/index.js +15 -0
  72. package/api/resources/agents/resources/sources/client/requests/SourcesListRequest.d.ts +36 -0
  73. package/api/resources/agents/resources/sources/client/requests/index.d.ts +1 -0
  74. package/api/resources/agents/resources/sources/client/requests/index.js +2 -0
  75. package/api/resources/agents/resources/sources/index.d.ts +1 -0
  76. package/api/resources/agents/resources/sources/index.js +1 -0
  77. package/api/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +11 -0
  78. package/api/resources/agents/resources/sources/types/SourcesListRequestOrder.js +10 -0
  79. package/api/resources/agents/resources/sources/types/index.d.ts +1 -0
  80. package/api/resources/agents/resources/sources/types/index.js +17 -0
  81. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  82. package/api/resources/agents/resources/tools/client/Client.d.ts +9 -2
  83. package/api/resources/agents/resources/tools/client/Client.js +37 -10
  84. package/api/resources/agents/resources/tools/client/requests/ToolsListRequest.d.ts +36 -0
  85. package/api/resources/agents/resources/tools/client/requests/index.d.ts +1 -0
  86. package/api/resources/agents/resources/tools/index.d.ts +1 -0
  87. package/api/resources/agents/resources/tools/index.js +1 -0
  88. package/api/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +11 -0
  89. package/api/resources/agents/resources/tools/types/ToolsListRequestOrder.js +10 -0
  90. package/api/resources/agents/resources/tools/types/index.d.ts +1 -0
  91. package/api/resources/agents/resources/tools/types/index.js +17 -0
  92. package/api/resources/archives/client/Client.d.ts +8 -1
  93. package/api/resources/archives/client/Client.js +11 -4
  94. package/api/resources/archives/client/requests/ListArchivesRequest.d.ts +8 -1
  95. package/api/resources/batches/client/Client.d.ts +7 -1
  96. package/api/resources/batches/client/Client.js +11 -5
  97. package/api/resources/batches/client/requests/BatchesListRequest.d.ts +7 -1
  98. package/api/resources/batches/resources/messages/client/Client.d.ts +8 -1
  99. package/api/resources/batches/resources/messages/client/Client.js +9 -2
  100. package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +8 -1
  101. package/api/resources/blocks/client/Client.d.ts +17 -1
  102. package/api/resources/blocks/client/Client.js +23 -7
  103. package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +17 -1
  104. package/api/resources/blocks/resources/agents/client/Client.d.ts +7 -1
  105. package/api/resources/blocks/resources/agents/client/Client.js +8 -2
  106. package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  107. package/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -1
  108. package/api/resources/clientSideAccessTokens/client/Client.js +8 -4
  109. package/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.d.ts +5 -1
  110. package/api/resources/folders/client/Client.d.ts +11 -2
  111. package/api/resources/folders/client/Client.js +19 -10
  112. package/api/resources/folders/client/requests/FoldersListRequest.d.ts +8 -1
  113. package/api/resources/folders/client/requests/RetrieveMetadataRequest.d.ts +3 -1
  114. package/api/resources/folders/resources/agents/client/Client.d.ts +7 -1
  115. package/api/resources/folders/resources/agents/client/Client.js +8 -2
  116. package/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  117. package/api/resources/folders/resources/files/client/Client.d.ts +12 -2
  118. package/api/resources/folders/resources/files/client/Client.js +15 -5
  119. package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +4 -1
  120. package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +8 -1
  121. package/api/resources/folders/resources/passages/client/Client.d.ts +7 -1
  122. package/api/resources/folders/resources/passages/client/Client.js +8 -2
  123. package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
  124. package/api/resources/groups/client/Client.d.ts +9 -1
  125. package/api/resources/groups/client/Client.js +15 -7
  126. package/api/resources/groups/client/requests/GroupsListRequest.d.ts +9 -1
  127. package/api/resources/groups/resources/messages/client/Client.d.ts +10 -1
  128. package/api/resources/groups/resources/messages/client/Client.js +15 -6
  129. package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +10 -1
  130. package/api/resources/health/client/Client.js +1 -1
  131. package/api/resources/identities/client/Client.d.ts +11 -1
  132. package/api/resources/identities/client/Client.js +18 -8
  133. package/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +11 -1
  134. package/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
  135. package/api/resources/identities/resources/agents/client/Client.js +8 -2
  136. package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  137. package/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
  138. package/api/resources/identities/resources/blocks/client/Client.js +8 -2
  139. package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +7 -1
  140. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  141. package/api/resources/index.d.ts +2 -1
  142. package/api/resources/index.js +3 -2
  143. package/api/resources/jobs/client/Client.d.ts +17 -2
  144. package/api/resources/jobs/client/Client.js +32 -9
  145. package/api/resources/jobs/client/requests/JobsListActiveRequest.d.ts +7 -1
  146. package/api/resources/jobs/client/requests/JobsListRequest.d.ts +23 -5
  147. package/api/resources/jobs/index.d.ts +1 -0
  148. package/api/resources/jobs/index.js +1 -0
  149. package/api/resources/jobs/types/JobsListRequestOrder.d.ts +11 -0
  150. package/api/resources/jobs/types/JobsListRequestOrder.js +10 -0
  151. package/api/resources/jobs/types/index.d.ts +1 -0
  152. package/api/resources/jobs/types/index.js +17 -0
  153. package/api/resources/models/client/Client.d.ts +4 -1
  154. package/api/resources/models/client/Client.js +6 -3
  155. package/api/resources/models/client/requests/ModelsListRequest.d.ts +4 -1
  156. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  157. package/api/resources/projects/client/Client.d.ts +5 -1
  158. package/api/resources/projects/client/Client.js +6 -2
  159. package/api/resources/projects/client/requests/ProjectsListRequest.d.ts +5 -1
  160. package/api/resources/providers/client/Client.d.ts +22 -1
  161. package/api/resources/providers/client/Client.js +82 -7
  162. package/api/resources/providers/client/requests/ProvidersListRequest.d.ts +9 -1
  163. package/api/resources/runs/client/Client.d.ts +29 -2
  164. package/api/resources/runs/client/Client.js +117 -11
  165. package/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +4 -1
  166. package/api/resources/runs/client/requests/RunsListRequest.d.ts +29 -6
  167. package/api/resources/runs/resources/index.d.ts +2 -1
  168. package/api/resources/runs/resources/index.js +3 -2
  169. package/api/resources/runs/resources/messages/client/Client.d.ts +7 -1
  170. package/api/resources/runs/resources/messages/client/Client.js +12 -3
  171. package/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts +11 -1
  172. package/api/resources/runs/resources/steps/client/Client.d.ts +8 -12
  173. package/api/resources/runs/resources/steps/client/Client.js +17 -16
  174. package/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts +14 -3
  175. package/api/resources/runs/resources/steps/index.d.ts +1 -0
  176. package/api/resources/runs/resources/steps/index.js +1 -0
  177. package/api/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +11 -0
  178. package/api/resources/runs/resources/steps/types/StepsListRequestOrder.js +10 -0
  179. package/api/resources/runs/resources/steps/types/index.d.ts +1 -0
  180. package/api/resources/runs/resources/steps/types/index.js +17 -0
  181. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  182. package/api/resources/runs/types/RunsListRequestOrder.d.ts +11 -0
  183. package/api/resources/runs/types/RunsListRequestOrder.js +10 -0
  184. package/api/resources/runs/types/index.d.ts +1 -0
  185. package/api/resources/runs/types/index.js +1 -0
  186. package/api/resources/sources/client/Client.d.ts +6 -2
  187. package/api/resources/sources/client/Client.js +16 -12
  188. package/api/resources/sources/client/requests/GetFileMetadataRequest.d.ts +3 -1
  189. package/api/resources/sources/client/requests/GetSourcesMetadataRequest.d.ts +3 -1
  190. package/api/resources/sources/resources/files/client/Client.d.ts +10 -2
  191. package/api/resources/sources/resources/files/client/Client.js +13 -5
  192. package/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +4 -1
  193. package/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +6 -1
  194. package/api/resources/sources/resources/passages/client/Client.d.ts +5 -1
  195. package/api/resources/sources/resources/passages/client/Client.js +6 -2
  196. package/api/resources/sources/resources/passages/client/requests/PassagesListRequest.d.ts +5 -1
  197. package/api/resources/steps/client/Client.d.ts +14 -1
  198. package/api/resources/steps/client/Client.js +16 -3
  199. package/api/resources/steps/client/requests/StepsListRequest.d.ts +14 -1
  200. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  201. package/api/resources/steps/resources/messages/client/Client.d.ts +7 -1
  202. package/api/resources/steps/resources/messages/client/Client.js +8 -2
  203. package/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +7 -1
  204. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  205. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  206. package/api/resources/tags/client/Client.d.ts +9 -1
  207. package/api/resources/tags/client/Client.js +10 -2
  208. package/api/resources/tags/client/requests/TagsListRequest.d.ts +9 -1
  209. package/api/resources/telemetry/client/Client.js +1 -1
  210. package/api/resources/templates/client/Client.d.ts +16 -2
  211. package/api/resources/templates/client/Client.js +29 -15
  212. package/api/resources/templates/client/requests/TemplatesListRequest.d.ts +12 -1
  213. package/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +4 -1
  214. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  215. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +1 -0
  216. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +5 -0
  217. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +4 -0
  218. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +1 -0
  219. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +5 -0
  220. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +4 -0
  221. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +2 -2
  222. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
  223. package/api/resources/templates/types/index.d.ts +4 -0
  224. package/api/resources/templates/types/index.js +4 -0
  225. package/api/resources/tools/client/Client.d.ts +16 -40
  226. package/api/resources/tools/client/Client.js +33 -246
  227. package/api/resources/tools/client/requests/ToolsCountRequest.d.ts +6 -1
  228. package/api/resources/tools/client/requests/ToolsListRequest.d.ts +10 -1
  229. package/api/resources/voice/client/Client.js +1 -1
  230. package/api/types/AgentEnvironmentVariable.d.ts +2 -0
  231. package/api/types/ApprovalCreate.d.ts +5 -2
  232. package/api/types/ApprovalCreateApprovalsItem.d.ts +5 -0
  233. package/api/types/ApprovalResponseMessage.d.ts +5 -2
  234. package/api/types/ApprovalResponseMessageApprovalsItem.d.ts +5 -0
  235. package/api/types/ApprovalReturn.d.ts +12 -0
  236. package/api/types/InternalTemplateAgentCreate.d.ts +2 -2
  237. package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -2
  238. package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +7 -1
  239. package/api/types/LettaSchemasLettaMessageToolReturn.d.ts +12 -0
  240. package/api/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +8 -0
  241. package/api/types/LettaSchemasLettaMessageToolReturnStatus.js +10 -0
  242. package/{dist/api/types/ToolReturn.d.ts → api/types/LettaSchemasMessageToolReturn.d.ts} +5 -2
  243. package/api/types/{ToolReturnStatus.d.ts → LettaSchemasMessageToolReturnStatus.d.ts} +2 -2
  244. package/api/types/{ToolReturnStatus.js → LettaSchemasMessageToolReturnStatus.js} +2 -2
  245. package/api/types/Message.d.ts +3 -1
  246. package/api/types/MessageApprovalsItem.d.ts +5 -0
  247. package/api/types/OmittedReasoningContent.d.ts +2 -0
  248. package/api/types/Provider.d.ts +4 -0
  249. package/api/types/RunMetrics.d.ts +21 -0
  250. package/api/types/RunMetrics.js +5 -0
  251. package/api/types/SandboxEnvironmentVariable.d.ts +2 -0
  252. package/api/types/TextContent.d.ts +2 -0
  253. package/api/types/ToolCallContent.d.ts +2 -0
  254. package/api/types/ToolCallMessage.d.ts +1 -0
  255. package/api/types/ToolCallMessageToolCalls.d.ts +5 -0
  256. package/api/types/ToolCallMessageToolCalls.js +5 -0
  257. package/api/types/ToolReturnMessage.d.ts +7 -5
  258. package/api/types/ToolType.d.ts +2 -2
  259. package/api/types/ToolType.js +1 -1
  260. package/api/types/index.d.ts +10 -9
  261. package/api/types/index.js +10 -9
  262. package/dist/api/resources/agents/client/Client.d.ts +23 -3
  263. package/dist/api/resources/agents/client/Client.js +32 -12
  264. package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +4 -1
  265. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +16 -1
  266. package/dist/api/resources/agents/client/requests/BodyImportAgent.d.ts +3 -1
  267. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -2
  268. package/dist/api/resources/agents/resources/blocks/client/Client.d.ts +9 -2
  269. package/dist/api/resources/agents/resources/blocks/client/Client.js +37 -10
  270. package/dist/api/resources/agents/resources/blocks/client/index.d.ts +1 -1
  271. package/dist/api/resources/agents/resources/blocks/client/index.js +15 -0
  272. package/dist/api/resources/agents/resources/blocks/client/requests/BlocksListRequest.d.ts +36 -0
  273. package/dist/api/resources/agents/resources/blocks/client/requests/BlocksListRequest.js +5 -0
  274. package/dist/api/resources/agents/resources/blocks/client/requests/index.d.ts +1 -0
  275. package/dist/api/resources/agents/resources/blocks/client/requests/index.js +2 -0
  276. package/dist/api/resources/agents/resources/blocks/index.d.ts +1 -0
  277. package/dist/api/resources/agents/resources/blocks/index.js +1 -0
  278. package/dist/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  279. package/dist/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  280. package/dist/api/resources/agents/resources/blocks/types/index.d.ts +1 -0
  281. package/dist/api/resources/agents/resources/blocks/types/index.js +17 -0
  282. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  283. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  284. package/dist/api/resources/agents/resources/files/client/Client.d.ts +9 -1
  285. package/dist/api/resources/agents/resources/files/client/Client.js +30 -8
  286. package/dist/api/resources/agents/resources/files/client/requests/FilesListRequest.d.ts +29 -4
  287. package/dist/api/resources/agents/resources/files/index.d.ts +1 -0
  288. package/dist/api/resources/agents/resources/files/index.js +1 -0
  289. package/dist/api/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +11 -0
  290. package/dist/api/resources/agents/resources/files/types/FilesListRequestOrder.js +10 -0
  291. package/dist/api/resources/agents/resources/files/types/index.d.ts +1 -0
  292. package/dist/api/resources/agents/resources/files/types/index.js +17 -0
  293. package/dist/api/resources/agents/resources/folders/client/Client.d.ts +9 -2
  294. package/dist/api/resources/agents/resources/folders/client/Client.js +35 -8
  295. package/dist/api/resources/agents/resources/folders/client/index.d.ts +1 -1
  296. package/dist/api/resources/agents/resources/folders/client/index.js +15 -0
  297. package/dist/api/resources/agents/resources/folders/client/requests/FoldersListRequest.d.ts +36 -0
  298. package/dist/api/resources/agents/resources/folders/client/requests/FoldersListRequest.js +5 -0
  299. package/dist/api/resources/agents/resources/folders/client/requests/index.d.ts +1 -0
  300. package/dist/api/resources/agents/resources/folders/client/requests/index.js +2 -0
  301. package/dist/api/resources/agents/resources/folders/index.d.ts +1 -0
  302. package/dist/api/resources/agents/resources/folders/index.js +1 -0
  303. package/dist/api/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +11 -0
  304. package/dist/api/resources/agents/resources/folders/types/FoldersListRequestOrder.js +10 -0
  305. package/dist/api/resources/agents/resources/folders/types/index.d.ts +1 -0
  306. package/dist/api/resources/agents/resources/folders/types/index.js +17 -0
  307. package/dist/api/resources/agents/resources/groups/client/Client.d.ts +8 -1
  308. package/dist/api/resources/agents/resources/groups/client/Client.js +28 -4
  309. package/dist/api/resources/agents/resources/groups/client/requests/GroupsListRequest.d.ts +29 -1
  310. package/dist/api/resources/agents/resources/groups/index.d.ts +1 -0
  311. package/dist/api/resources/agents/resources/groups/index.js +1 -0
  312. package/dist/api/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +11 -0
  313. package/dist/api/resources/agents/resources/groups/types/GroupsListRequestOrder.js +10 -0
  314. package/dist/api/resources/agents/resources/groups/types/index.d.ts +1 -0
  315. package/dist/api/resources/agents/resources/groups/types/index.js +17 -0
  316. package/dist/api/resources/agents/resources/index.d.ts +15 -6
  317. package/dist/api/resources/agents/resources/index.js +16 -7
  318. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  319. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +15 -2
  320. package/dist/api/resources/agents/resources/messages/client/Client.js +38 -17
  321. package/dist/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +26 -6
  322. package/dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts +3 -1
  323. package/dist/api/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  324. package/dist/api/resources/agents/resources/messages/types/MessagesListRequestOrder.js +10 -0
  325. package/dist/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  326. package/dist/api/resources/agents/resources/messages/types/index.js +1 -0
  327. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +12 -2
  328. package/dist/api/resources/agents/resources/passages/client/Client.js +17 -7
  329. package/dist/api/resources/agents/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
  330. package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +5 -1
  331. package/dist/api/resources/agents/resources/sources/client/Client.d.ts +9 -2
  332. package/dist/api/resources/agents/resources/sources/client/Client.js +35 -8
  333. package/dist/api/resources/agents/resources/sources/client/index.d.ts +1 -1
  334. package/dist/api/resources/agents/resources/sources/client/index.js +15 -0
  335. package/dist/api/resources/agents/resources/sources/client/requests/SourcesListRequest.d.ts +36 -0
  336. package/dist/api/resources/agents/resources/sources/client/requests/SourcesListRequest.js +5 -0
  337. package/dist/api/resources/agents/resources/sources/client/requests/index.d.ts +1 -0
  338. package/dist/api/resources/agents/resources/sources/client/requests/index.js +2 -0
  339. package/dist/api/resources/agents/resources/sources/index.d.ts +1 -0
  340. package/dist/api/resources/agents/resources/sources/index.js +1 -0
  341. package/dist/api/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +11 -0
  342. package/dist/api/resources/agents/resources/sources/types/SourcesListRequestOrder.js +10 -0
  343. package/dist/api/resources/agents/resources/sources/types/index.d.ts +1 -0
  344. package/dist/api/resources/agents/resources/sources/types/index.js +17 -0
  345. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  346. package/dist/api/resources/agents/resources/tools/client/Client.d.ts +9 -2
  347. package/dist/api/resources/agents/resources/tools/client/Client.js +37 -10
  348. package/dist/api/resources/agents/resources/tools/client/requests/ToolsListRequest.d.ts +36 -0
  349. package/dist/api/resources/agents/resources/tools/client/requests/ToolsListRequest.js +5 -0
  350. package/dist/api/resources/agents/resources/tools/client/requests/index.d.ts +1 -0
  351. package/dist/api/resources/agents/resources/tools/index.d.ts +1 -0
  352. package/dist/api/resources/agents/resources/tools/index.js +1 -0
  353. package/dist/api/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +11 -0
  354. package/dist/api/resources/agents/resources/tools/types/ToolsListRequestOrder.js +10 -0
  355. package/dist/api/resources/agents/resources/tools/types/index.d.ts +1 -0
  356. package/dist/api/resources/agents/resources/tools/types/index.js +17 -0
  357. package/dist/api/resources/archives/client/Client.d.ts +8 -1
  358. package/dist/api/resources/archives/client/Client.js +11 -4
  359. package/dist/api/resources/archives/client/requests/ListArchivesRequest.d.ts +8 -1
  360. package/dist/api/resources/batches/client/Client.d.ts +7 -1
  361. package/dist/api/resources/batches/client/Client.js +11 -5
  362. package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +7 -1
  363. package/dist/api/resources/batches/resources/messages/client/Client.d.ts +8 -1
  364. package/dist/api/resources/batches/resources/messages/client/Client.js +9 -2
  365. package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +8 -1
  366. package/dist/api/resources/blocks/client/Client.d.ts +17 -1
  367. package/dist/api/resources/blocks/client/Client.js +23 -7
  368. package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +17 -1
  369. package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +7 -1
  370. package/dist/api/resources/blocks/resources/agents/client/Client.js +8 -2
  371. package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  372. package/dist/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -1
  373. package/dist/api/resources/clientSideAccessTokens/client/Client.js +8 -4
  374. package/dist/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.d.ts +5 -1
  375. package/dist/api/resources/folders/client/Client.d.ts +11 -2
  376. package/dist/api/resources/folders/client/Client.js +19 -10
  377. package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +8 -1
  378. package/dist/api/resources/folders/client/requests/RetrieveMetadataRequest.d.ts +3 -1
  379. package/dist/api/resources/folders/resources/agents/client/Client.d.ts +7 -1
  380. package/dist/api/resources/folders/resources/agents/client/Client.js +8 -2
  381. package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  382. package/dist/api/resources/folders/resources/files/client/Client.d.ts +12 -2
  383. package/dist/api/resources/folders/resources/files/client/Client.js +15 -5
  384. package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +4 -1
  385. package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +8 -1
  386. package/dist/api/resources/folders/resources/passages/client/Client.d.ts +7 -1
  387. package/dist/api/resources/folders/resources/passages/client/Client.js +8 -2
  388. package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
  389. package/dist/api/resources/groups/client/Client.d.ts +9 -1
  390. package/dist/api/resources/groups/client/Client.js +15 -7
  391. package/dist/api/resources/groups/client/requests/GroupsListRequest.d.ts +9 -1
  392. package/dist/api/resources/groups/resources/messages/client/Client.d.ts +10 -1
  393. package/dist/api/resources/groups/resources/messages/client/Client.js +15 -6
  394. package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +10 -1
  395. package/dist/api/resources/health/client/Client.js +1 -1
  396. package/dist/api/resources/identities/client/Client.d.ts +11 -1
  397. package/dist/api/resources/identities/client/Client.js +18 -8
  398. package/dist/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +11 -1
  399. package/dist/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
  400. package/dist/api/resources/identities/resources/agents/client/Client.js +8 -2
  401. package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  402. package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
  403. package/dist/api/resources/identities/resources/blocks/client/Client.js +8 -2
  404. package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +7 -1
  405. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  406. package/dist/api/resources/index.d.ts +2 -1
  407. package/dist/api/resources/index.js +3 -2
  408. package/dist/api/resources/jobs/client/Client.d.ts +17 -2
  409. package/dist/api/resources/jobs/client/Client.js +32 -9
  410. package/dist/api/resources/jobs/client/requests/JobsListActiveRequest.d.ts +7 -1
  411. package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +23 -5
  412. package/dist/api/resources/jobs/index.d.ts +1 -0
  413. package/dist/api/resources/jobs/index.js +1 -0
  414. package/dist/api/resources/jobs/types/JobsListRequestOrder.d.ts +11 -0
  415. package/dist/api/resources/jobs/types/JobsListRequestOrder.js +10 -0
  416. package/dist/api/resources/jobs/types/index.d.ts +1 -0
  417. package/dist/api/resources/jobs/types/index.js +17 -0
  418. package/dist/api/resources/models/client/Client.d.ts +4 -1
  419. package/dist/api/resources/models/client/Client.js +6 -3
  420. package/dist/api/resources/models/client/requests/ModelsListRequest.d.ts +4 -1
  421. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  422. package/dist/api/resources/projects/client/Client.d.ts +5 -1
  423. package/dist/api/resources/projects/client/Client.js +6 -2
  424. package/dist/api/resources/projects/client/requests/ProjectsListRequest.d.ts +5 -1
  425. package/dist/api/resources/providers/client/Client.d.ts +22 -1
  426. package/dist/api/resources/providers/client/Client.js +82 -7
  427. package/dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts +9 -1
  428. package/dist/api/resources/runs/client/Client.d.ts +29 -2
  429. package/dist/api/resources/runs/client/Client.js +117 -11
  430. package/dist/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +4 -1
  431. package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +29 -6
  432. package/dist/api/resources/runs/resources/index.d.ts +2 -1
  433. package/dist/api/resources/runs/resources/index.js +3 -2
  434. package/dist/api/resources/runs/resources/messages/client/Client.d.ts +7 -1
  435. package/dist/api/resources/runs/resources/messages/client/Client.js +12 -3
  436. package/dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts +11 -1
  437. package/dist/api/resources/runs/resources/steps/client/Client.d.ts +8 -12
  438. package/dist/api/resources/runs/resources/steps/client/Client.js +17 -16
  439. package/dist/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts +14 -3
  440. package/dist/api/resources/runs/resources/steps/index.d.ts +1 -0
  441. package/dist/api/resources/runs/resources/steps/index.js +1 -0
  442. package/dist/api/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +11 -0
  443. package/dist/api/resources/runs/resources/steps/types/StepsListRequestOrder.js +10 -0
  444. package/dist/api/resources/runs/resources/steps/types/index.d.ts +1 -0
  445. package/dist/api/resources/runs/resources/steps/types/index.js +17 -0
  446. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  447. package/dist/api/resources/runs/types/RunsListRequestOrder.d.ts +11 -0
  448. package/dist/api/resources/runs/types/RunsListRequestOrder.js +10 -0
  449. package/dist/api/resources/runs/types/index.d.ts +1 -0
  450. package/dist/api/resources/runs/types/index.js +1 -0
  451. package/dist/api/resources/sources/client/Client.d.ts +6 -2
  452. package/dist/api/resources/sources/client/Client.js +16 -12
  453. package/dist/api/resources/sources/client/requests/GetFileMetadataRequest.d.ts +3 -1
  454. package/dist/api/resources/sources/client/requests/GetSourcesMetadataRequest.d.ts +3 -1
  455. package/dist/api/resources/sources/resources/files/client/Client.d.ts +10 -2
  456. package/dist/api/resources/sources/resources/files/client/Client.js +13 -5
  457. package/dist/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +4 -1
  458. package/dist/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +6 -1
  459. package/dist/api/resources/sources/resources/passages/client/Client.d.ts +5 -1
  460. package/dist/api/resources/sources/resources/passages/client/Client.js +6 -2
  461. package/dist/api/resources/sources/resources/passages/client/requests/PassagesListRequest.d.ts +5 -1
  462. package/dist/api/resources/steps/client/Client.d.ts +14 -1
  463. package/dist/api/resources/steps/client/Client.js +16 -3
  464. package/dist/api/resources/steps/client/requests/StepsListRequest.d.ts +14 -1
  465. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  466. package/dist/api/resources/steps/resources/messages/client/Client.d.ts +7 -1
  467. package/dist/api/resources/steps/resources/messages/client/Client.js +8 -2
  468. package/dist/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +7 -1
  469. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  470. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  471. package/dist/api/resources/tags/client/Client.d.ts +9 -1
  472. package/dist/api/resources/tags/client/Client.js +10 -2
  473. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +9 -1
  474. package/dist/api/resources/telemetry/client/Client.js +1 -1
  475. package/dist/api/resources/templates/client/Client.d.ts +16 -2
  476. package/dist/api/resources/templates/client/Client.js +29 -15
  477. package/dist/api/resources/templates/client/requests/TemplatesListRequest.d.ts +12 -1
  478. package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +4 -1
  479. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  480. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +1 -0
  481. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +5 -0
  482. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js +5 -0
  483. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +4 -0
  484. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js +5 -0
  485. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +1 -0
  486. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +5 -0
  487. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js +5 -0
  488. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +4 -0
  489. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js +5 -0
  490. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +2 -2
  491. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
  492. package/dist/api/resources/templates/types/index.d.ts +4 -0
  493. package/dist/api/resources/templates/types/index.js +4 -0
  494. package/dist/api/resources/tools/client/Client.d.ts +16 -40
  495. package/dist/api/resources/tools/client/Client.js +33 -246
  496. package/dist/api/resources/tools/client/requests/ToolsCountRequest.d.ts +6 -1
  497. package/dist/api/resources/tools/client/requests/ToolsListRequest.d.ts +10 -1
  498. package/dist/api/resources/voice/client/Client.js +1 -1
  499. package/dist/api/types/AgentEnvironmentVariable.d.ts +2 -0
  500. package/dist/api/types/ApprovalCreate.d.ts +5 -2
  501. package/dist/api/types/ApprovalCreateApprovalsItem.d.ts +5 -0
  502. package/dist/api/types/ApprovalCreateApprovalsItem.js +5 -0
  503. package/dist/api/types/ApprovalResponseMessage.d.ts +5 -2
  504. package/dist/api/types/ApprovalResponseMessageApprovalsItem.d.ts +5 -0
  505. package/dist/api/types/ApprovalResponseMessageApprovalsItem.js +5 -0
  506. package/dist/api/types/ApprovalReturn.d.ts +12 -0
  507. package/dist/api/types/ApprovalReturn.js +5 -0
  508. package/dist/api/types/InternalTemplateAgentCreate.d.ts +2 -2
  509. package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -2
  510. package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +7 -1
  511. package/dist/api/types/LettaSchemasLettaMessageToolReturn.d.ts +12 -0
  512. package/dist/api/types/LettaSchemasLettaMessageToolReturn.js +5 -0
  513. package/dist/api/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +8 -0
  514. package/dist/api/types/LettaSchemasLettaMessageToolReturnStatus.js +10 -0
  515. package/{api/types/ToolReturn.d.ts → dist/api/types/LettaSchemasMessageToolReturn.d.ts} +5 -2
  516. package/dist/api/types/LettaSchemasMessageToolReturn.js +5 -0
  517. package/dist/api/types/{ToolReturnStatus.d.ts → LettaSchemasMessageToolReturnStatus.d.ts} +2 -2
  518. package/dist/api/types/{ToolReturnStatus.js → LettaSchemasMessageToolReturnStatus.js} +2 -2
  519. package/dist/api/types/Message.d.ts +3 -1
  520. package/dist/api/types/MessageApprovalsItem.d.ts +5 -0
  521. package/dist/api/types/MessageApprovalsItem.js +5 -0
  522. package/dist/api/types/OmittedReasoningContent.d.ts +2 -0
  523. package/dist/api/types/Provider.d.ts +4 -0
  524. package/dist/api/types/RunMetrics.d.ts +21 -0
  525. package/dist/api/types/RunMetrics.js +5 -0
  526. package/dist/api/types/SandboxEnvironmentVariable.d.ts +2 -0
  527. package/dist/api/types/TextContent.d.ts +2 -0
  528. package/dist/api/types/ToolCallContent.d.ts +2 -0
  529. package/dist/api/types/ToolCallMessage.d.ts +1 -0
  530. package/dist/api/types/ToolCallMessageToolCalls.d.ts +5 -0
  531. package/dist/api/types/ToolCallMessageToolCalls.js +5 -0
  532. package/dist/api/types/ToolReturnMessage.d.ts +7 -5
  533. package/dist/api/types/ToolType.d.ts +2 -2
  534. package/dist/api/types/ToolType.js +1 -1
  535. package/dist/api/types/index.d.ts +10 -9
  536. package/dist/api/types/index.js +10 -9
  537. package/dist/serialization/resources/agents/resources/blocks/index.d.ts +1 -0
  538. package/dist/serialization/resources/agents/resources/blocks/index.js +1 -0
  539. package/dist/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  540. package/dist/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  541. package/dist/serialization/resources/agents/resources/blocks/types/index.d.ts +1 -0
  542. package/dist/serialization/resources/agents/resources/blocks/types/index.js +17 -0
  543. package/dist/serialization/resources/agents/resources/files/index.d.ts +1 -0
  544. package/dist/serialization/resources/agents/resources/files/index.js +1 -0
  545. package/dist/serialization/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +10 -0
  546. package/dist/serialization/resources/agents/resources/files/types/FilesListRequestOrder.js +41 -0
  547. package/dist/serialization/resources/agents/resources/files/types/index.d.ts +1 -0
  548. package/dist/serialization/resources/agents/resources/files/types/index.js +17 -0
  549. package/dist/serialization/resources/agents/resources/folders/index.d.ts +1 -0
  550. package/dist/serialization/resources/agents/resources/folders/index.js +1 -0
  551. package/dist/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +10 -0
  552. package/dist/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.js +41 -0
  553. package/dist/serialization/resources/agents/resources/folders/types/index.d.ts +1 -0
  554. package/dist/serialization/resources/agents/resources/folders/types/index.js +17 -0
  555. package/dist/serialization/resources/agents/resources/groups/index.d.ts +1 -0
  556. package/dist/serialization/resources/agents/resources/groups/index.js +1 -0
  557. package/dist/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +10 -0
  558. package/dist/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.js +41 -0
  559. package/dist/serialization/resources/agents/resources/groups/types/index.d.ts +1 -0
  560. package/dist/serialization/resources/agents/resources/groups/types/index.js +17 -0
  561. package/dist/serialization/resources/agents/resources/index.d.ts +12 -6
  562. package/dist/serialization/resources/agents/resources/index.js +13 -7
  563. package/dist/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  564. package/dist/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.js +41 -0
  565. package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  566. package/dist/serialization/resources/agents/resources/messages/types/index.js +1 -0
  567. package/dist/serialization/resources/agents/resources/sources/index.d.ts +1 -0
  568. package/dist/serialization/resources/agents/resources/sources/index.js +1 -0
  569. package/dist/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +10 -0
  570. package/dist/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.js +41 -0
  571. package/dist/serialization/resources/agents/resources/sources/types/index.d.ts +1 -0
  572. package/dist/serialization/resources/agents/resources/sources/types/index.js +17 -0
  573. package/dist/serialization/resources/agents/resources/tools/index.d.ts +1 -0
  574. package/dist/serialization/resources/agents/resources/tools/index.js +1 -0
  575. package/dist/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +10 -0
  576. package/dist/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.js +41 -0
  577. package/dist/serialization/resources/agents/resources/tools/types/index.d.ts +1 -0
  578. package/dist/serialization/resources/agents/resources/tools/types/index.js +17 -0
  579. package/dist/serialization/resources/index.d.ts +2 -1
  580. package/dist/serialization/resources/index.js +3 -2
  581. package/dist/serialization/resources/jobs/index.d.ts +1 -0
  582. package/dist/serialization/resources/jobs/index.js +1 -0
  583. package/dist/serialization/resources/jobs/types/JobsListRequestOrder.d.ts +10 -0
  584. package/dist/serialization/resources/{tools/client/listComposioApps.js → jobs/types/JobsListRequestOrder.js} +2 -3
  585. package/dist/serialization/resources/jobs/types/index.d.ts +1 -0
  586. package/dist/serialization/resources/jobs/types/index.js +17 -0
  587. package/dist/serialization/resources/runs/resources/index.d.ts +1 -0
  588. package/dist/serialization/resources/runs/resources/index.js +1 -0
  589. package/dist/serialization/resources/runs/resources/steps/index.d.ts +1 -0
  590. package/dist/serialization/resources/runs/resources/steps/index.js +1 -0
  591. package/dist/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +10 -0
  592. package/dist/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.js +41 -0
  593. package/dist/serialization/resources/runs/resources/steps/types/index.d.ts +1 -0
  594. package/dist/serialization/resources/runs/resources/steps/types/index.js +17 -0
  595. package/dist/serialization/resources/runs/types/RunsListRequestOrder.d.ts +10 -0
  596. package/{serialization/resources/tools/client/listComposioApps.js → dist/serialization/resources/runs/types/RunsListRequestOrder.js} +2 -3
  597. package/dist/serialization/resources/runs/types/index.d.ts +1 -0
  598. package/dist/serialization/resources/runs/types/index.js +1 -0
  599. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +2 -0
  600. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.js +2 -0
  601. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +11 -0
  602. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js +47 -0
  603. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +10 -0
  604. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js +41 -0
  605. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +2 -0
  606. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.js +2 -0
  607. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +11 -0
  608. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js +47 -0
  609. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +10 -0
  610. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js +41 -0
  611. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +1 -1
  612. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
  613. package/dist/serialization/resources/templates/types/index.d.ts +4 -0
  614. package/dist/serialization/resources/templates/types/index.js +4 -0
  615. package/dist/serialization/resources/tools/client/index.d.ts +0 -2
  616. package/dist/serialization/resources/tools/client/index.js +1 -3
  617. package/dist/serialization/types/AgentEnvironmentVariable.d.ts +1 -0
  618. package/dist/serialization/types/AgentEnvironmentVariable.js +1 -0
  619. package/dist/serialization/types/ApprovalCreate.d.ts +4 -2
  620. package/dist/serialization/types/ApprovalCreate.js +4 -2
  621. package/dist/serialization/types/ApprovalCreateApprovalsItem.d.ts +12 -0
  622. package/dist/serialization/types/ApprovalCreateApprovalsItem.js +43 -0
  623. package/dist/serialization/types/ApprovalResponseMessage.d.ts +4 -2
  624. package/dist/serialization/types/ApprovalResponseMessage.js +4 -2
  625. package/dist/serialization/types/ApprovalResponseMessageApprovalsItem.d.ts +12 -0
  626. package/dist/serialization/types/ApprovalResponseMessageApprovalsItem.js +43 -0
  627. package/dist/serialization/types/ApprovalReturn.d.ts +15 -0
  628. package/dist/serialization/types/ApprovalReturn.js +46 -0
  629. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +5 -2
  630. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +5 -2
  631. package/dist/serialization/types/LettaSchemasLettaMessageToolReturn.d.ts +18 -0
  632. package/dist/serialization/types/{ActionParametersModel.js → LettaSchemasLettaMessageToolReturn.js} +9 -7
  633. package/dist/serialization/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +10 -0
  634. package/dist/serialization/types/LettaSchemasLettaMessageToolReturnStatus.js +41 -0
  635. package/dist/serialization/types/LettaSchemasMessageToolReturn.d.ts +17 -0
  636. package/{serialization/types/ToolReturn.js → dist/serialization/types/LettaSchemasMessageToolReturn.js} +6 -4
  637. package/dist/serialization/types/LettaSchemasMessageToolReturnStatus.d.ts +10 -0
  638. package/{serialization/types/ToolReturnStatus.js → dist/serialization/types/LettaSchemasMessageToolReturnStatus.js} +2 -2
  639. package/dist/serialization/types/Message.d.ts +4 -2
  640. package/dist/serialization/types/Message.js +4 -2
  641. package/dist/serialization/types/MessageApprovalsItem.d.ts +12 -0
  642. package/dist/serialization/types/{ToolReturn.js → MessageApprovalsItem.js} +4 -7
  643. package/dist/serialization/types/OmittedReasoningContent.d.ts +1 -0
  644. package/dist/serialization/types/OmittedReasoningContent.js +1 -0
  645. package/dist/serialization/types/Provider.d.ts +2 -0
  646. package/dist/serialization/types/Provider.js +2 -0
  647. package/dist/serialization/types/RunMetrics.d.ts +19 -0
  648. package/dist/serialization/types/{AuthSchemeField.js → RunMetrics.js} +10 -10
  649. package/dist/serialization/types/SandboxEnvironmentVariable.d.ts +1 -0
  650. package/dist/serialization/types/SandboxEnvironmentVariable.js +1 -0
  651. package/dist/serialization/types/TextContent.d.ts +1 -0
  652. package/dist/serialization/types/TextContent.js +1 -0
  653. package/dist/serialization/types/ToolCallContent.d.ts +1 -0
  654. package/dist/serialization/types/ToolCallContent.js +1 -0
  655. package/dist/serialization/types/ToolCallMessage.d.ts +2 -0
  656. package/dist/serialization/types/ToolCallMessage.js +2 -0
  657. package/dist/serialization/types/ToolCallMessageToolCalls.d.ts +12 -0
  658. package/{serialization/types/AppAuthSchemeAuthMode.js → dist/serialization/types/ToolCallMessageToolCalls.js} +4 -13
  659. package/dist/serialization/types/ToolReturnMessage.d.ts +2 -0
  660. package/dist/serialization/types/ToolReturnMessage.js +2 -0
  661. package/dist/serialization/types/ToolType.d.ts +1 -1
  662. package/dist/serialization/types/ToolType.js +1 -1
  663. package/dist/serialization/types/index.d.ts +10 -9
  664. package/dist/serialization/types/index.js +10 -9
  665. package/dist/version.d.ts +1 -1
  666. package/dist/version.js +1 -1
  667. package/package.json +1 -1
  668. package/reference.md +538 -246
  669. package/serialization/resources/agents/resources/blocks/index.d.ts +1 -0
  670. package/serialization/resources/agents/resources/blocks/index.js +1 -0
  671. package/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  672. package/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  673. package/serialization/resources/agents/resources/blocks/types/index.d.ts +1 -0
  674. package/serialization/resources/agents/resources/blocks/types/index.js +17 -0
  675. package/serialization/resources/agents/resources/files/index.d.ts +1 -0
  676. package/serialization/resources/agents/resources/files/index.js +1 -0
  677. package/serialization/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +10 -0
  678. package/serialization/resources/agents/resources/files/types/FilesListRequestOrder.js +41 -0
  679. package/serialization/resources/agents/resources/files/types/index.d.ts +1 -0
  680. package/serialization/resources/agents/resources/files/types/index.js +17 -0
  681. package/serialization/resources/agents/resources/folders/index.d.ts +1 -0
  682. package/serialization/resources/agents/resources/folders/index.js +1 -0
  683. package/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +10 -0
  684. package/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.js +41 -0
  685. package/serialization/resources/agents/resources/folders/types/index.d.ts +1 -0
  686. package/serialization/resources/agents/resources/folders/types/index.js +17 -0
  687. package/serialization/resources/agents/resources/groups/index.d.ts +1 -0
  688. package/serialization/resources/agents/resources/groups/index.js +1 -0
  689. package/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +10 -0
  690. package/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.js +41 -0
  691. package/serialization/resources/agents/resources/groups/types/index.d.ts +1 -0
  692. package/serialization/resources/agents/resources/groups/types/index.js +17 -0
  693. package/serialization/resources/agents/resources/index.d.ts +12 -6
  694. package/serialization/resources/agents/resources/index.js +13 -7
  695. package/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  696. package/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.js +41 -0
  697. package/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  698. package/serialization/resources/agents/resources/messages/types/index.js +1 -0
  699. package/serialization/resources/agents/resources/sources/index.d.ts +1 -0
  700. package/serialization/resources/agents/resources/sources/index.js +1 -0
  701. package/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +10 -0
  702. package/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.js +41 -0
  703. package/serialization/resources/agents/resources/sources/types/index.d.ts +1 -0
  704. package/serialization/resources/agents/resources/sources/types/index.js +17 -0
  705. package/serialization/resources/agents/resources/tools/index.d.ts +1 -0
  706. package/serialization/resources/agents/resources/tools/index.js +1 -0
  707. package/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +10 -0
  708. package/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.js +41 -0
  709. package/serialization/resources/agents/resources/tools/types/index.d.ts +1 -0
  710. package/serialization/resources/agents/resources/tools/types/index.js +17 -0
  711. package/serialization/resources/index.d.ts +2 -1
  712. package/serialization/resources/index.js +3 -2
  713. package/serialization/resources/jobs/index.d.ts +1 -0
  714. package/serialization/resources/jobs/index.js +1 -0
  715. package/serialization/resources/jobs/types/JobsListRequestOrder.d.ts +10 -0
  716. package/{dist/serialization/resources/tools/client/listComposioActionsByApp.js → serialization/resources/jobs/types/JobsListRequestOrder.js} +2 -3
  717. package/serialization/resources/jobs/types/index.d.ts +1 -0
  718. package/serialization/resources/jobs/types/index.js +17 -0
  719. package/serialization/resources/runs/resources/index.d.ts +1 -0
  720. package/serialization/resources/runs/resources/index.js +1 -0
  721. package/serialization/resources/runs/resources/steps/index.d.ts +1 -0
  722. package/serialization/resources/runs/resources/steps/index.js +1 -0
  723. package/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +10 -0
  724. package/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.js +41 -0
  725. package/serialization/resources/runs/resources/steps/types/index.d.ts +1 -0
  726. package/serialization/resources/runs/resources/steps/types/index.js +17 -0
  727. package/serialization/resources/runs/types/RunsListRequestOrder.d.ts +10 -0
  728. package/serialization/resources/{tools/client/listComposioActionsByApp.js → runs/types/RunsListRequestOrder.js} +2 -3
  729. package/serialization/resources/runs/types/index.d.ts +1 -0
  730. package/serialization/resources/runs/types/index.js +1 -0
  731. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +2 -0
  732. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.js +2 -0
  733. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +11 -0
  734. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js +47 -0
  735. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +10 -0
  736. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js +41 -0
  737. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +2 -0
  738. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.js +2 -0
  739. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +11 -0
  740. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js +47 -0
  741. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +10 -0
  742. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js +41 -0
  743. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +1 -1
  744. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
  745. package/serialization/resources/templates/types/index.d.ts +4 -0
  746. package/serialization/resources/templates/types/index.js +4 -0
  747. package/serialization/resources/tools/client/index.d.ts +0 -2
  748. package/serialization/resources/tools/client/index.js +1 -3
  749. package/serialization/types/AgentEnvironmentVariable.d.ts +1 -0
  750. package/serialization/types/AgentEnvironmentVariable.js +1 -0
  751. package/serialization/types/ApprovalCreate.d.ts +4 -2
  752. package/serialization/types/ApprovalCreate.js +4 -2
  753. package/serialization/types/ApprovalCreateApprovalsItem.d.ts +12 -0
  754. package/serialization/types/ApprovalCreateApprovalsItem.js +43 -0
  755. package/serialization/types/ApprovalResponseMessage.d.ts +4 -2
  756. package/serialization/types/ApprovalResponseMessage.js +4 -2
  757. package/serialization/types/ApprovalResponseMessageApprovalsItem.d.ts +12 -0
  758. package/serialization/types/ApprovalResponseMessageApprovalsItem.js +43 -0
  759. package/serialization/types/ApprovalReturn.d.ts +15 -0
  760. package/serialization/types/ApprovalReturn.js +46 -0
  761. package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +5 -2
  762. package/serialization/types/LettaSchemasAgentFileMessageSchema.js +5 -2
  763. package/serialization/types/LettaSchemasLettaMessageToolReturn.d.ts +18 -0
  764. package/serialization/types/LettaSchemasLettaMessageToolReturn.js +49 -0
  765. package/serialization/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +10 -0
  766. package/serialization/types/LettaSchemasLettaMessageToolReturnStatus.js +41 -0
  767. package/serialization/types/LettaSchemasMessageToolReturn.d.ts +17 -0
  768. package/{dist/serialization/types/ActionResponseModel.js → serialization/types/LettaSchemasMessageToolReturn.js} +8 -7
  769. package/serialization/types/LettaSchemasMessageToolReturnStatus.d.ts +10 -0
  770. package/{dist/serialization/types/ToolReturnStatus.js → serialization/types/LettaSchemasMessageToolReturnStatus.js} +2 -2
  771. package/serialization/types/Message.d.ts +4 -2
  772. package/serialization/types/Message.js +4 -2
  773. package/serialization/types/MessageApprovalsItem.d.ts +12 -0
  774. package/serialization/types/MessageApprovalsItem.js +43 -0
  775. package/serialization/types/OmittedReasoningContent.d.ts +1 -0
  776. package/serialization/types/OmittedReasoningContent.js +1 -0
  777. package/serialization/types/Provider.d.ts +2 -0
  778. package/serialization/types/Provider.js +2 -0
  779. package/serialization/types/RunMetrics.d.ts +19 -0
  780. package/serialization/types/RunMetrics.js +50 -0
  781. package/serialization/types/SandboxEnvironmentVariable.d.ts +1 -0
  782. package/serialization/types/SandboxEnvironmentVariable.js +1 -0
  783. package/serialization/types/TextContent.d.ts +1 -0
  784. package/serialization/types/TextContent.js +1 -0
  785. package/serialization/types/ToolCallContent.d.ts +1 -0
  786. package/serialization/types/ToolCallContent.js +1 -0
  787. package/serialization/types/ToolCallMessage.d.ts +2 -0
  788. package/serialization/types/ToolCallMessage.js +2 -0
  789. package/serialization/types/ToolCallMessageToolCalls.d.ts +12 -0
  790. package/{dist/serialization/types/AppAuthSchemeAuthMode.js → serialization/types/ToolCallMessageToolCalls.js} +4 -13
  791. package/serialization/types/ToolReturnMessage.d.ts +2 -0
  792. package/serialization/types/ToolReturnMessage.js +2 -0
  793. package/serialization/types/ToolType.d.ts +1 -1
  794. package/serialization/types/ToolType.js +1 -1
  795. package/serialization/types/index.d.ts +10 -9
  796. package/serialization/types/index.js +10 -9
  797. package/version.d.ts +1 -1
  798. package/version.js +1 -1
  799. package/api/types/ActionModel.d.ts +0 -21
  800. package/api/types/ActionParametersModel.d.ts +0 -13
  801. package/api/types/ActionResponseModel.d.ts +0 -13
  802. package/api/types/AppAuthScheme.d.ts +0 -19
  803. package/api/types/AppAuthSchemeAuthMode.d.ts +0 -16
  804. package/api/types/AppAuthSchemeAuthMode.js +0 -18
  805. package/api/types/AppModel.d.ts +0 -25
  806. package/api/types/AuthSchemeField.d.ts +0 -16
  807. package/dist/api/types/ActionModel.d.ts +0 -21
  808. package/dist/api/types/ActionParametersModel.d.ts +0 -13
  809. package/dist/api/types/ActionResponseModel.d.ts +0 -13
  810. package/dist/api/types/AppAuthScheme.d.ts +0 -19
  811. package/dist/api/types/AppAuthSchemeAuthMode.d.ts +0 -16
  812. package/dist/api/types/AppAuthSchemeAuthMode.js +0 -18
  813. package/dist/api/types/AppModel.d.ts +0 -25
  814. package/dist/api/types/AuthSchemeField.d.ts +0 -16
  815. package/dist/serialization/resources/tools/client/listComposioActionsByApp.d.ts +0 -11
  816. package/dist/serialization/resources/tools/client/listComposioApps.d.ts +0 -11
  817. package/dist/serialization/types/ActionModel.d.ts +0 -25
  818. package/dist/serialization/types/ActionModel.js +0 -56
  819. package/dist/serialization/types/ActionParametersModel.d.ts +0 -16
  820. package/dist/serialization/types/ActionResponseModel.d.ts +0 -16
  821. package/dist/serialization/types/AppAuthScheme.d.ts +0 -23
  822. package/dist/serialization/types/AppAuthScheme.js +0 -54
  823. package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +0 -10
  824. package/dist/serialization/types/AppModel.d.ts +0 -28
  825. package/dist/serialization/types/AppModel.js +0 -61
  826. package/dist/serialization/types/AuthSchemeField.d.ts +0 -19
  827. package/dist/serialization/types/ToolReturn.d.ts +0 -15
  828. package/dist/serialization/types/ToolReturnStatus.d.ts +0 -10
  829. package/serialization/resources/tools/client/listComposioActionsByApp.d.ts +0 -11
  830. package/serialization/resources/tools/client/listComposioApps.d.ts +0 -11
  831. package/serialization/types/ActionModel.d.ts +0 -25
  832. package/serialization/types/ActionModel.js +0 -56
  833. package/serialization/types/ActionParametersModel.d.ts +0 -16
  834. package/serialization/types/ActionParametersModel.js +0 -47
  835. package/serialization/types/ActionResponseModel.d.ts +0 -16
  836. package/serialization/types/ActionResponseModel.js +0 -47
  837. package/serialization/types/AppAuthScheme.d.ts +0 -23
  838. package/serialization/types/AppAuthScheme.js +0 -54
  839. package/serialization/types/AppAuthSchemeAuthMode.d.ts +0 -10
  840. package/serialization/types/AppModel.d.ts +0 -28
  841. package/serialization/types/AppModel.js +0 -61
  842. package/serialization/types/AuthSchemeField.d.ts +0 -19
  843. package/serialization/types/AuthSchemeField.js +0 -50
  844. package/serialization/types/ToolReturn.d.ts +0 -15
  845. package/serialization/types/ToolReturnStatus.d.ts +0 -10
  846. /package/api/{types/ActionModel.js → resources/agents/resources/blocks/client/requests/BlocksListRequest.js} +0 -0
  847. /package/api/{types/ActionParametersModel.js → resources/agents/resources/folders/client/requests/FoldersListRequest.js} +0 -0
  848. /package/api/{types/ActionResponseModel.js → resources/agents/resources/sources/client/requests/SourcesListRequest.js} +0 -0
  849. /package/api/{types/AppAuthScheme.js → resources/agents/resources/tools/client/requests/ToolsListRequest.js} +0 -0
  850. /package/api/{types/AppModel.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js} +0 -0
  851. /package/api/{types/AuthSchemeField.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js} +0 -0
  852. /package/api/{types/ToolReturn.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js} +0 -0
  853. /package/{dist/api/types/ActionModel.js → api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js} +0 -0
  854. /package/{dist/api/types/ActionParametersModel.js → api/types/ApprovalCreateApprovalsItem.js} +0 -0
  855. /package/{dist/api/types/ActionResponseModel.js → api/types/ApprovalResponseMessageApprovalsItem.js} +0 -0
  856. /package/{dist/api/types/AppAuthScheme.js → api/types/ApprovalReturn.js} +0 -0
  857. /package/{dist/api/types/AppModel.js → api/types/LettaSchemasLettaMessageToolReturn.js} +0 -0
  858. /package/{dist/api/types/AuthSchemeField.js → api/types/LettaSchemasMessageToolReturn.js} +0 -0
  859. /package/{dist/api/types/ToolReturn.js → api/types/MessageApprovalsItem.js} +0 -0
@@ -71,7 +71,23 @@ class Blocks {
71
71
  * @throws {@link Letta.UnprocessableEntityError}
72
72
  *
73
73
  * @example
74
- * await client.blocks.list()
74
+ * await client.blocks.list({
75
+ * label: "label",
76
+ * templatesOnly: true,
77
+ * name: "name",
78
+ * identityId: "identity_id",
79
+ * projectId: "project_id",
80
+ * limit: 1,
81
+ * before: "before",
82
+ * after: "after",
83
+ * order: "asc",
84
+ * orderBy: "created_at",
85
+ * labelSearch: "label_search",
86
+ * descriptionSearch: "description_search",
87
+ * valueSearch: "value_search",
88
+ * connectedToAgentsCountGt: 1,
89
+ * connectedToAgentsCountLt: 1
90
+ * })
75
91
  */
76
92
  list(request = {}, requestOptions) {
77
93
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -149,7 +165,7 @@ class Blocks {
149
165
  method: "GET",
150
166
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
151
167
  ? yield core.Supplier.get(this._options.project)
152
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
153
169
  contentType: "application/json",
154
170
  queryParameters: _queryParams,
155
171
  requestType: "json",
@@ -227,7 +243,7 @@ class Blocks {
227
243
  method: "POST",
228
244
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
229
245
  ? yield core.Supplier.get(this._options.project)
230
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
247
  contentType: "application/json",
232
248
  requestType: "json",
233
249
  body: serializers.CreateBlock.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -303,7 +319,7 @@ class Blocks {
303
319
  method: "GET",
304
320
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
305
321
  ? yield core.Supplier.get(this._options.project)
306
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
322
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
323
  contentType: "application/json",
308
324
  requestType: "json",
309
325
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -377,7 +393,7 @@ class Blocks {
377
393
  method: "GET",
378
394
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
379
395
  ? yield core.Supplier.get(this._options.project)
380
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
396
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
381
397
  contentType: "application/json",
382
398
  requestType: "json",
383
399
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -451,7 +467,7 @@ class Blocks {
451
467
  method: "DELETE",
452
468
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
453
469
  ? yield core.Supplier.get(this._options.project)
454
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
470
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
455
471
  contentType: "application/json",
456
472
  requestType: "json",
457
473
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -517,7 +533,7 @@ class Blocks {
517
533
  method: "PATCH",
518
534
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
519
535
  ? yield core.Supplier.get(this._options.project)
520
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
536
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
521
537
  contentType: "application/json",
522
538
  requestType: "json",
523
539
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -4,7 +4,23 @@
4
4
  import * as Letta from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * label: "label",
9
+ * templatesOnly: true,
10
+ * name: "name",
11
+ * identityId: "identity_id",
12
+ * projectId: "project_id",
13
+ * limit: 1,
14
+ * before: "before",
15
+ * after: "after",
16
+ * order: "asc",
17
+ * orderBy: "created_at",
18
+ * labelSearch: "label_search",
19
+ * descriptionSearch: "description_search",
20
+ * valueSearch: "value_search",
21
+ * connectedToAgentsCountGt: 1,
22
+ * connectedToAgentsCountLt: 1
23
+ * }
8
24
  */
9
25
  export interface BlocksListRequest {
10
26
  /**
@@ -41,7 +41,13 @@ export declare class Agents {
41
41
  * @throws {@link Letta.UnprocessableEntityError}
42
42
  *
43
43
  * @example
44
- * await client.blocks.agents.list("block_id")
44
+ * await client.blocks.agents.list("block_id", {
45
+ * before: "before",
46
+ * after: "after",
47
+ * limit: 1,
48
+ * order: "asc",
49
+ * orderBy: "created_at"
50
+ * })
45
51
  */
46
52
  list(blockId: string, request?: Letta.blocks.AgentsListRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.AgentState[]>;
47
53
  private __list;
@@ -70,7 +70,13 @@ class Agents {
70
70
  * @throws {@link Letta.UnprocessableEntityError}
71
71
  *
72
72
  * @example
73
- * await client.blocks.agents.list("block_id")
73
+ * await client.blocks.agents.list("block_id", {
74
+ * before: "before",
75
+ * after: "after",
76
+ * limit: 1,
77
+ * order: "asc",
78
+ * orderBy: "created_at"
79
+ * })
74
80
  */
75
81
  list(blockId, request = {}, requestOptions) {
76
82
  return core.HttpResponsePromise.fromPromise(this.__list(blockId, request, requestOptions));
@@ -110,7 +116,7 @@ class Agents {
110
116
  method: "GET",
111
117
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
112
118
  ? yield core.Supplier.get(this._options.project)
113
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
120
  contentType: "application/json",
115
121
  queryParameters: _queryParams,
116
122
  requestType: "json",
@@ -4,7 +4,13 @@
4
4
  import * as Letta from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * before: "before",
9
+ * after: "after",
10
+ * limit: 1,
11
+ * order: "asc",
12
+ * orderBy: "created_at"
13
+ * }
8
14
  */
9
15
  export interface AgentsListRequest {
10
16
  /**
@@ -39,7 +39,11 @@ export declare class ClientSideAccessTokens {
39
39
  * @throws {@link Letta.BadRequestError}
40
40
  *
41
41
  * @example
42
- * await client.clientSideAccessTokens.clientSideAccessTokensListClientSideAccessTokens()
42
+ * await client.clientSideAccessTokens.clientSideAccessTokensListClientSideAccessTokens({
43
+ * agentId: "agentId",
44
+ * offset: 1.1,
45
+ * limit: 1.1
46
+ * })
43
47
  */
44
48
  clientSideAccessTokensListClientSideAccessTokens(request?: Letta.ClientSideAccessTokensListClientSideAccessTokensRequest, requestOptions?: ClientSideAccessTokens.RequestOptions): core.HttpResponsePromise<Letta.ClientSideAccessTokensListClientSideAccessTokensResponse>;
45
49
  private __clientSideAccessTokensListClientSideAccessTokens;
@@ -68,7 +68,11 @@ class ClientSideAccessTokens {
68
68
  * @throws {@link Letta.BadRequestError}
69
69
  *
70
70
  * @example
71
- * await client.clientSideAccessTokens.clientSideAccessTokensListClientSideAccessTokens()
71
+ * await client.clientSideAccessTokens.clientSideAccessTokensListClientSideAccessTokens({
72
+ * agentId: "agentId",
73
+ * offset: 1.1,
74
+ * limit: 1.1
75
+ * })
72
76
  */
73
77
  clientSideAccessTokensListClientSideAccessTokens(request = {}, requestOptions) {
74
78
  return core.HttpResponsePromise.fromPromise(this.__clientSideAccessTokensListClientSideAccessTokens(request, requestOptions));
@@ -92,7 +96,7 @@ class ClientSideAccessTokens {
92
96
  method: "GET",
93
97
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
98
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
100
  contentType: "application/json",
97
101
  queryParameters: _queryParams,
98
102
  requestType: "json",
@@ -170,7 +174,7 @@ class ClientSideAccessTokens {
170
174
  method: "POST",
171
175
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
172
176
  ? yield core.Supplier.get(this._options.project)
173
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
178
  contentType: "application/json",
175
179
  requestType: "json",
176
180
  body: serializers.ClientSideAccessTokensCreateRequest.jsonOrThrow(request, {
@@ -246,7 +250,7 @@ class ClientSideAccessTokens {
246
250
  method: "DELETE",
247
251
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
248
252
  ? yield core.Supplier.get(this._options.project)
249
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
254
  contentType: "application/json",
251
255
  requestType: "json",
252
256
  body: request,
@@ -3,7 +3,11 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * agentId: "agentId",
8
+ * offset: 1.1,
9
+ * limit: 1.1
10
+ * }
7
11
  */
8
12
  export interface ClientSideAccessTokensListClientSideAccessTokensRequest {
9
13
  /**
@@ -122,7 +122,9 @@ export declare class Folders {
122
122
  * @throws {@link Letta.UnprocessableEntityError}
123
123
  *
124
124
  * @example
125
- * await client.folders.retrieveMetadata()
125
+ * await client.folders.retrieveMetadata({
126
+ * includeDetailedPerSourceMetadata: true
127
+ * })
126
128
  */
127
129
  retrieveMetadata(request?: Letta.RetrieveMetadataRequest, requestOptions?: Folders.RequestOptions): core.HttpResponsePromise<Letta.OrganizationSourcesStats>;
128
130
  private __retrieveMetadata;
@@ -135,7 +137,14 @@ export declare class Folders {
135
137
  * @throws {@link Letta.UnprocessableEntityError}
136
138
  *
137
139
  * @example
138
- * await client.folders.list()
140
+ * await client.folders.list({
141
+ * before: "before",
142
+ * after: "after",
143
+ * limit: 1,
144
+ * order: "asc",
145
+ * orderBy: "created_at",
146
+ * name: "name"
147
+ * })
139
148
  */
140
149
  list(request?: Letta.FoldersListRequest, requestOptions?: Folders.RequestOptions): core.HttpResponsePromise<Letta.Folder[]>;
141
150
  private __list;
@@ -95,7 +95,7 @@ class Folders {
95
95
  method: "GET",
96
96
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
97
97
  ? yield core.Supplier.get(this._options.project)
98
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
99
  contentType: "application/json",
100
100
  requestType: "json",
101
101
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -171,7 +171,7 @@ class Folders {
171
171
  method: "GET",
172
172
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
173
173
  ? yield core.Supplier.get(this._options.project)
174
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -247,7 +247,7 @@ class Folders {
247
247
  method: "DELETE",
248
248
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
249
249
  ? yield core.Supplier.get(this._options.project)
250
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -315,7 +315,7 @@ class Folders {
315
315
  method: "PATCH",
316
316
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
317
317
  ? yield core.Supplier.get(this._options.project)
318
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
318
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
319
319
  contentType: "application/json",
320
320
  requestType: "json",
321
321
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -395,7 +395,7 @@ class Folders {
395
395
  method: "GET",
396
396
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
397
397
  ? yield core.Supplier.get(this._options.project)
398
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
398
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
399
399
  contentType: "application/json",
400
400
  requestType: "json",
401
401
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -464,7 +464,9 @@ class Folders {
464
464
  * @throws {@link Letta.UnprocessableEntityError}
465
465
  *
466
466
  * @example
467
- * await client.folders.retrieveMetadata()
467
+ * await client.folders.retrieveMetadata({
468
+ * includeDetailedPerSourceMetadata: true
469
+ * })
468
470
  */
469
471
  retrieveMetadata(request = {}, requestOptions) {
470
472
  return core.HttpResponsePromise.fromPromise(this.__retrieveMetadata(request, requestOptions));
@@ -482,7 +484,7 @@ class Folders {
482
484
  method: "GET",
483
485
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
484
486
  ? yield core.Supplier.get(this._options.project)
485
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
487
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
486
488
  contentType: "application/json",
487
489
  queryParameters: _queryParams,
488
490
  requestType: "json",
@@ -546,7 +548,14 @@ class Folders {
546
548
  * @throws {@link Letta.UnprocessableEntityError}
547
549
  *
548
550
  * @example
549
- * await client.folders.list()
551
+ * await client.folders.list({
552
+ * before: "before",
553
+ * after: "after",
554
+ * limit: 1,
555
+ * order: "asc",
556
+ * orderBy: "created_at",
557
+ * name: "name"
558
+ * })
550
559
  */
551
560
  list(request = {}, requestOptions) {
552
561
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -581,7 +590,7 @@ class Folders {
581
590
  method: "GET",
582
591
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
583
592
  ? yield core.Supplier.get(this._options.project)
584
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
594
  contentType: "application/json",
586
595
  queryParameters: _queryParams,
587
596
  requestType: "json",
@@ -660,7 +669,7 @@ class Folders {
660
669
  method: "POST",
661
670
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
662
671
  ? yield core.Supplier.get(this._options.project)
663
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
672
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
664
673
  contentType: "application/json",
665
674
  requestType: "json",
666
675
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -4,7 +4,14 @@
4
4
  import * as Letta from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * before: "before",
9
+ * after: "after",
10
+ * limit: 1,
11
+ * order: "asc",
12
+ * orderBy: "created_at",
13
+ * name: "name"
14
+ * }
8
15
  */
9
16
  export interface FoldersListRequest {
10
17
  /**
@@ -3,7 +3,9 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * includeDetailedPerSourceMetadata: true
8
+ * }
7
9
  */
8
10
  export interface RetrieveMetadataRequest {
9
11
  includeDetailedPerSourceMetadata?: boolean;
@@ -40,7 +40,13 @@ export declare class Agents {
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.folders.agents.list("folder_id")
43
+ * await client.folders.agents.list("folder_id", {
44
+ * before: "before",
45
+ * after: "after",
46
+ * limit: 1,
47
+ * order: "asc",
48
+ * orderBy: "created_at"
49
+ * })
44
50
  */
45
51
  list(folderId: string, request?: Letta.folders.AgentsListRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<string[]>;
46
52
  private __list;
@@ -69,7 +69,13 @@ class Agents {
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.folders.agents.list("folder_id")
72
+ * await client.folders.agents.list("folder_id", {
73
+ * before: "before",
74
+ * after: "after",
75
+ * limit: 1,
76
+ * order: "asc",
77
+ * orderBy: "created_at"
78
+ * })
73
79
  */
74
80
  list(folderId, request = {}, requestOptions) {
75
81
  return core.HttpResponsePromise.fromPromise(this.__list(folderId, request, requestOptions));
@@ -101,7 +107,7 @@ class Agents {
101
107
  method: "GET",
102
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
109
  ? yield core.Supplier.get(this._options.project)
104
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
111
  contentType: "application/json",
106
112
  queryParameters: _queryParams,
107
113
  requestType: "json",
@@ -4,7 +4,13 @@
4
4
  import * as Letta from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * before: "before",
9
+ * after: "after",
10
+ * limit: 1,
11
+ * order: "asc",
12
+ * orderBy: "created_at"
13
+ * }
8
14
  */
9
15
  export interface AgentsListRequest {
10
16
  /**
@@ -43,7 +43,10 @@ export declare class Files {
43
43
  * @throws {@link Letta.UnprocessableEntityError}
44
44
  *
45
45
  * @example
46
- * await client.folders.files.upload(fs.createReadStream("/path/to/your/file"), "folder_id", {})
46
+ * await client.folders.files.upload(fs.createReadStream("/path/to/your/file"), "folder_id", {
47
+ * duplicateHandling: "skip",
48
+ * name: "name"
49
+ * })
47
50
  */
48
51
  upload(file: File | fs.ReadStream | Blob, folderId: string, request: Letta.folders.BodyUploadFileToFolder, requestOptions?: Files.RequestOptions): core.HttpResponsePromise<Letta.FileMetadata>;
49
52
  private __upload;
@@ -57,7 +60,14 @@ export declare class Files {
57
60
  * @throws {@link Letta.UnprocessableEntityError}
58
61
  *
59
62
  * @example
60
- * await client.folders.files.list("folder_id")
63
+ * await client.folders.files.list("folder_id", {
64
+ * before: "before",
65
+ * after: "after",
66
+ * limit: 1,
67
+ * order: "asc",
68
+ * orderBy: "created_at",
69
+ * includeContent: true
70
+ * })
61
71
  */
62
72
  list(folderId: string, request?: Letta.folders.FilesListRequest, requestOptions?: Files.RequestOptions): core.HttpResponsePromise<Letta.FileMetadata[]>;
63
73
  private __list;
@@ -70,7 +70,10 @@ class Files {
70
70
  * @throws {@link Letta.UnprocessableEntityError}
71
71
  *
72
72
  * @example
73
- * await client.folders.files.upload(fs.createReadStream("/path/to/your/file"), "folder_id", {})
73
+ * await client.folders.files.upload(fs.createReadStream("/path/to/your/file"), "folder_id", {
74
+ * duplicateHandling: "skip",
75
+ * name: "name"
76
+ * })
74
77
  */
75
78
  upload(file, folderId, request, requestOptions) {
76
79
  return core.HttpResponsePromise.fromPromise(this.__upload(file, folderId, request, requestOptions));
@@ -93,7 +96,7 @@ class Files {
93
96
  method: "POST",
94
97
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
98
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
100
  queryParameters: _queryParams,
98
101
  requestType: "file",
99
102
  duplex: _maybeEncodedRequest.duplex,
@@ -159,7 +162,14 @@ class Files {
159
162
  * @throws {@link Letta.UnprocessableEntityError}
160
163
  *
161
164
  * @example
162
- * await client.folders.files.list("folder_id")
165
+ * await client.folders.files.list("folder_id", {
166
+ * before: "before",
167
+ * after: "after",
168
+ * limit: 1,
169
+ * order: "asc",
170
+ * orderBy: "created_at",
171
+ * includeContent: true
172
+ * })
163
173
  */
164
174
  list(folderId, request = {}, requestOptions) {
165
175
  return core.HttpResponsePromise.fromPromise(this.__list(folderId, request, requestOptions));
@@ -194,7 +204,7 @@ class Files {
194
204
  method: "GET",
195
205
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
196
206
  ? yield core.Supplier.get(this._options.project)
197
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
207
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
198
208
  contentType: "application/json",
199
209
  queryParameters: _queryParams,
200
210
  requestType: "json",
@@ -272,7 +282,7 @@ class Files {
272
282
  method: "DELETE",
273
283
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
274
284
  ? yield core.Supplier.get(this._options.project)
275
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
276
286
  contentType: "application/json",
277
287
  requestType: "json",
278
288
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -4,7 +4,10 @@
4
4
  import * as Letta from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * duplicateHandling: "skip",
9
+ * name: "name"
10
+ * }
8
11
  */
9
12
  export interface BodyUploadFileToFolder {
10
13
  /**
@@ -4,7 +4,14 @@
4
4
  import * as Letta from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * before: "before",
9
+ * after: "after",
10
+ * limit: 1,
11
+ * order: "asc",
12
+ * orderBy: "created_at",
13
+ * includeContent: true
14
+ * }
8
15
  */
9
16
  export interface FilesListRequest {
10
17
  /**
@@ -40,7 +40,13 @@ export declare class Passages {
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.folders.passages.list("folder_id")
43
+ * await client.folders.passages.list("folder_id", {
44
+ * before: "before",
45
+ * after: "after",
46
+ * limit: 1,
47
+ * order: "asc",
48
+ * orderBy: "created_at"
49
+ * })
44
50
  */
45
51
  list(folderId: string, request?: Letta.folders.PassagesListRequest, requestOptions?: Passages.RequestOptions): core.HttpResponsePromise<Letta.Passage[]>;
46
52
  private __list;
@@ -69,7 +69,13 @@ class Passages {
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.folders.passages.list("folder_id")
72
+ * await client.folders.passages.list("folder_id", {
73
+ * before: "before",
74
+ * after: "after",
75
+ * limit: 1,
76
+ * order: "asc",
77
+ * orderBy: "created_at"
78
+ * })
73
79
  */
74
80
  list(folderId, request = {}, requestOptions) {
75
81
  return core.HttpResponsePromise.fromPromise(this.__list(folderId, request, requestOptions));
@@ -101,7 +107,7 @@ class Passages {
101
107
  method: "GET",
102
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
109
  ? yield core.Supplier.get(this._options.project)
104
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.1", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.2", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
111
  contentType: "application/json",
106
112
  queryParameters: _queryParams,
107
113
  requestType: "json",