@letta-ai/letta-client 0.1.131 → 0.1.132

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 (276) hide show
  1. package/api/resources/agents/client/Client.js +14 -11
  2. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
  3. package/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +2 -0
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +4 -0
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  9. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  10. package/api/resources/agents/resources/messages/client/Client.d.ts +9 -11
  11. package/api/resources/agents/resources/messages/client/Client.js +15 -23
  12. package/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +32 -0
  13. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -1
  14. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  15. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  16. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  17. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  18. package/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
  19. package/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
  20. package/api/resources/agents/types/index.d.ts +1 -0
  21. package/api/resources/agents/types/index.js +1 -0
  22. package/api/resources/batches/client/Client.js +4 -4
  23. package/api/resources/blocks/client/Client.js +6 -6
  24. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  25. package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  26. package/api/resources/embeddingModels/client/Client.js +1 -1
  27. package/api/resources/groups/client/Client.js +6 -6
  28. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  29. package/api/resources/health/client/Client.js +1 -1
  30. package/api/resources/identities/client/Client.js +7 -7
  31. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  32. package/api/resources/jobs/client/Client.js +4 -4
  33. package/api/resources/messages/client/Client.js +1 -1
  34. package/api/resources/models/client/Client.js +1 -1
  35. package/api/resources/projects/client/Client.js +1 -1
  36. package/api/resources/providers/client/Client.d.ts +2 -6
  37. package/api/resources/providers/client/Client.js +7 -15
  38. package/api/resources/providers/client/requests/ProviderCreate.d.ts +5 -1
  39. package/api/resources/providers/client/requests/ProviderUpdate.d.ts +5 -1
  40. package/api/resources/providers/client/requests/index.d.ts +0 -1
  41. package/api/resources/runs/client/Client.js +4 -4
  42. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  43. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  44. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  45. package/api/resources/sources/client/Client.js +7 -7
  46. package/api/resources/sources/resources/files/client/Client.js +3 -3
  47. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  48. package/api/resources/steps/client/Client.js +2 -2
  49. package/api/resources/tags/client/Client.js +1 -1
  50. package/api/resources/telemetry/client/Client.js +1 -1
  51. package/api/resources/templates/client/Client.js +1 -1
  52. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  53. package/api/resources/tools/client/Client.d.ts +13 -0
  54. package/api/resources/tools/client/Client.js +84 -17
  55. package/api/resources/tools/types/AddMcpServerRequest.d.ts +1 -1
  56. package/api/resources/tools/types/AddMcpServerResponseItem.d.ts +1 -1
  57. package/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +1 -1
  58. package/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
  59. package/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
  60. package/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
  61. package/api/resources/tools/types/index.d.ts +2 -0
  62. package/api/resources/tools/types/index.js +2 -0
  63. package/api/resources/voice/client/Client.js +1 -1
  64. package/api/types/AgentState.d.ts +4 -0
  65. package/api/types/LettaRequestConfig.d.ts +3 -0
  66. package/api/types/Provider.d.ts +5 -1
  67. package/api/types/ProviderCheck.d.ts +14 -0
  68. package/api/types/ProviderType.d.ts +2 -2
  69. package/api/types/ProviderType.js +1 -1
  70. package/api/types/StreamableHttpServerConfig.d.ts +27 -0
  71. package/api/types/StreamableHttpServerConfig.js +5 -0
  72. package/api/types/UpdateSsemcpServer.d.ts +14 -0
  73. package/api/types/UpdateSsemcpServer.js +5 -0
  74. package/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
  75. package/api/types/UpdateStreamableHttpmcpServer.js +5 -0
  76. package/api/types/index.d.ts +4 -0
  77. package/api/types/index.js +4 -0
  78. package/dist/api/resources/agents/client/Client.js +14 -11
  79. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
  80. package/dist/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +2 -0
  81. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +4 -0
  82. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  83. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  84. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  85. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  86. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  87. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +9 -11
  88. package/dist/api/resources/agents/resources/messages/client/Client.js +15 -23
  89. package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +32 -0
  90. package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +5 -0
  91. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -1
  92. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  93. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  94. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  95. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  96. package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
  97. package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
  98. package/dist/api/resources/agents/types/index.d.ts +1 -0
  99. package/dist/api/resources/agents/types/index.js +1 -0
  100. package/dist/api/resources/batches/client/Client.js +4 -4
  101. package/dist/api/resources/blocks/client/Client.js +6 -6
  102. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  103. package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  104. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  105. package/dist/api/resources/groups/client/Client.js +6 -6
  106. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  107. package/dist/api/resources/health/client/Client.js +1 -1
  108. package/dist/api/resources/identities/client/Client.js +7 -7
  109. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  110. package/dist/api/resources/jobs/client/Client.js +4 -4
  111. package/dist/api/resources/messages/client/Client.js +1 -1
  112. package/dist/api/resources/models/client/Client.js +1 -1
  113. package/dist/api/resources/projects/client/Client.js +1 -1
  114. package/dist/api/resources/providers/client/Client.d.ts +2 -6
  115. package/dist/api/resources/providers/client/Client.js +7 -15
  116. package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +5 -1
  117. package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +5 -1
  118. package/dist/api/resources/providers/client/requests/index.d.ts +0 -1
  119. package/dist/api/resources/runs/client/Client.js +4 -4
  120. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  121. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  122. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  123. package/dist/api/resources/sources/client/Client.js +7 -7
  124. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  125. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  126. package/dist/api/resources/steps/client/Client.js +2 -2
  127. package/dist/api/resources/tags/client/Client.js +1 -1
  128. package/dist/api/resources/telemetry/client/Client.js +1 -1
  129. package/dist/api/resources/templates/client/Client.js +1 -1
  130. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  131. package/dist/api/resources/tools/client/Client.d.ts +13 -0
  132. package/dist/api/resources/tools/client/Client.js +84 -17
  133. package/dist/api/resources/tools/types/AddMcpServerRequest.d.ts +1 -1
  134. package/dist/api/resources/tools/types/AddMcpServerResponseItem.d.ts +1 -1
  135. package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +1 -1
  136. package/dist/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
  137. package/dist/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
  138. package/dist/api/resources/tools/types/UpdateMcpServerRequest.js +5 -0
  139. package/dist/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
  140. package/dist/api/resources/tools/types/UpdateMcpServerResponse.js +5 -0
  141. package/dist/api/resources/tools/types/index.d.ts +2 -0
  142. package/dist/api/resources/tools/types/index.js +2 -0
  143. package/dist/api/resources/voice/client/Client.js +1 -1
  144. package/dist/api/types/AgentState.d.ts +4 -0
  145. package/dist/api/types/LettaRequestConfig.d.ts +3 -0
  146. package/dist/api/types/Provider.d.ts +5 -1
  147. package/dist/api/types/ProviderCheck.d.ts +14 -0
  148. package/dist/api/types/ProviderCheck.js +5 -0
  149. package/dist/api/types/ProviderType.d.ts +2 -2
  150. package/dist/api/types/ProviderType.js +1 -1
  151. package/dist/api/types/StreamableHttpServerConfig.d.ts +27 -0
  152. package/dist/api/types/StreamableHttpServerConfig.js +5 -0
  153. package/dist/api/types/UpdateSsemcpServer.d.ts +14 -0
  154. package/dist/api/types/UpdateSsemcpServer.js +5 -0
  155. package/dist/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
  156. package/dist/api/types/UpdateStreamableHttpmcpServer.js +5 -0
  157. package/dist/api/types/index.d.ts +4 -0
  158. package/dist/api/types/index.js +4 -0
  159. package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +3 -0
  160. package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.js +3 -0
  161. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  162. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
  163. package/dist/serialization/resources/agents/resources/index.d.ts +1 -0
  164. package/dist/serialization/resources/agents/resources/index.js +1 -0
  165. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  166. package/dist/serialization/resources/agents/resources/messages/client/index.js +4 -0
  167. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +20 -0
  168. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +51 -0
  169. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  170. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +5 -0
  171. package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
  172. package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
  173. package/dist/serialization/resources/agents/types/index.d.ts +1 -0
  174. package/dist/serialization/resources/agents/types/index.js +1 -0
  175. package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
  176. package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
  177. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
  178. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
  179. package/dist/serialization/resources/tools/types/AddMcpServerRequest.d.ts +2 -1
  180. package/dist/serialization/resources/tools/types/AddMcpServerRequest.js +2 -1
  181. package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +2 -1
  182. package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.js +2 -1
  183. package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +2 -1
  184. package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +2 -1
  185. package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -1
  186. package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -1
  187. package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +12 -0
  188. package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.js +43 -0
  189. package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
  190. package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
  191. package/dist/serialization/resources/tools/types/index.d.ts +2 -0
  192. package/dist/serialization/resources/tools/types/index.js +2 -0
  193. package/dist/serialization/types/AgentState.d.ts +2 -0
  194. package/dist/serialization/types/AgentState.js +2 -0
  195. package/dist/serialization/types/LettaRequestConfig.d.ts +2 -0
  196. package/dist/serialization/types/LettaRequestConfig.js +2 -0
  197. package/dist/serialization/types/Provider.d.ts +2 -0
  198. package/dist/serialization/types/Provider.js +2 -0
  199. package/dist/serialization/types/ProviderCheck.d.ts +16 -0
  200. package/dist/serialization/types/ProviderCheck.js +47 -0
  201. package/dist/serialization/types/ProviderType.d.ts +1 -1
  202. package/dist/serialization/types/ProviderType.js +1 -1
  203. package/dist/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
  204. package/dist/serialization/types/StreamableHttpServerConfig.js +49 -0
  205. package/dist/serialization/types/UpdateSsemcpServer.d.ts +14 -0
  206. package/dist/serialization/types/UpdateSsemcpServer.js +45 -0
  207. package/dist/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
  208. package/dist/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
  209. package/dist/serialization/types/index.d.ts +4 -0
  210. package/dist/serialization/types/index.js +4 -0
  211. package/dist/version.d.ts +1 -1
  212. package/dist/version.js +1 -1
  213. package/package.json +1 -1
  214. package/reference.md +85 -27
  215. package/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +3 -0
  216. package/serialization/resources/agents/client/requests/AgentsSearchRequest.js +3 -0
  217. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  218. package/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
  219. package/serialization/resources/agents/resources/index.d.ts +1 -0
  220. package/serialization/resources/agents/resources/index.js +1 -0
  221. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  222. package/serialization/resources/agents/resources/messages/client/index.js +4 -0
  223. package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +20 -0
  224. package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +51 -0
  225. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  226. package/serialization/resources/agents/resources/messages/client/requests/index.js +5 -0
  227. package/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
  228. package/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
  229. package/serialization/resources/agents/types/index.d.ts +1 -0
  230. package/serialization/resources/agents/types/index.js +1 -0
  231. package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
  232. package/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
  233. package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
  234. package/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
  235. package/serialization/resources/tools/types/AddMcpServerRequest.d.ts +2 -1
  236. package/serialization/resources/tools/types/AddMcpServerRequest.js +2 -1
  237. package/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +2 -1
  238. package/serialization/resources/tools/types/AddMcpServerResponseItem.js +2 -1
  239. package/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +2 -1
  240. package/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +2 -1
  241. package/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -1
  242. package/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -1
  243. package/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +12 -0
  244. package/serialization/resources/tools/types/UpdateMcpServerRequest.js +43 -0
  245. package/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
  246. package/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
  247. package/serialization/resources/tools/types/index.d.ts +2 -0
  248. package/serialization/resources/tools/types/index.js +2 -0
  249. package/serialization/types/AgentState.d.ts +2 -0
  250. package/serialization/types/AgentState.js +2 -0
  251. package/serialization/types/LettaRequestConfig.d.ts +2 -0
  252. package/serialization/types/LettaRequestConfig.js +2 -0
  253. package/serialization/types/Provider.d.ts +2 -0
  254. package/serialization/types/Provider.js +2 -0
  255. package/serialization/types/ProviderCheck.d.ts +16 -0
  256. package/serialization/types/ProviderCheck.js +47 -0
  257. package/serialization/types/ProviderType.d.ts +1 -1
  258. package/serialization/types/ProviderType.js +1 -1
  259. package/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
  260. package/serialization/types/StreamableHttpServerConfig.js +49 -0
  261. package/serialization/types/UpdateSsemcpServer.d.ts +14 -0
  262. package/serialization/types/UpdateSsemcpServer.js +45 -0
  263. package/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
  264. package/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
  265. package/serialization/types/index.d.ts +4 -0
  266. package/serialization/types/index.js +4 -0
  267. package/version.d.ts +1 -1
  268. package/version.js +1 -1
  269. package/api/resources/agents/resources/messages/client/requests/MessagesCreateAsyncRequest.d.ts +0 -25
  270. package/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +0 -15
  271. package/dist/api/resources/agents/resources/messages/client/requests/MessagesCreateAsyncRequest.d.ts +0 -25
  272. package/dist/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +0 -15
  273. /package/api/resources/agents/resources/messages/client/requests/{MessagesCreateAsyncRequest.js → LettaAsyncRequest.js} +0 -0
  274. /package/api/resources/{providers/client/requests/ProvidersCheckRequest.js → tools/types/UpdateMcpServerRequest.js} +0 -0
  275. /package/{dist/api/resources/agents/resources/messages/client/requests/MessagesCreateAsyncRequest.js → api/resources/tools/types/UpdateMcpServerResponse.js} +0 -0
  276. /package/{dist/api/resources/providers/client/requests/ProvidersCheckRequest.js → api/types/ProviderCheck.js} +0 -0
@@ -65,4 +65,6 @@ exports.UpdateAgent = core.serialization.object({
65
65
  embedding: core.serialization.string().optional(),
66
66
  enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
67
67
  responseFormat: core.serialization.property("response_format", UpdateAgentResponseFormat_1.UpdateAgentResponseFormat.optional()),
68
+ lastRunCompletion: core.serialization.property("last_run_completion", core.serialization.date().optional()),
69
+ lastRunDurationMs: core.serialization.property("last_run_duration_ms", core.serialization.number().optional()),
68
70
  });
@@ -10,4 +10,5 @@ export * as blocks from "./blocks";
10
10
  export * as passages from "./passages";
11
11
  export * as groups from "./groups";
12
12
  export * from "./passages/client/requests";
13
+ export * from "./messages/client/requests";
13
14
  export * from "./templates/client/requests";
@@ -49,4 +49,5 @@ exports.blocks = __importStar(require("./blocks"));
49
49
  exports.passages = __importStar(require("./passages"));
50
50
  exports.groups = __importStar(require("./groups"));
51
51
  __exportStar(require("./passages/client/requests"), exports);
52
+ __exportStar(require("./messages/client/requests"), exports);
52
53
  __exportStar(require("./templates/client/requests"), exports);
@@ -1 +1,2 @@
1
1
  export * as list from "./list";
2
+ export * from "./requests";
@@ -32,6 +32,10 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
35
38
  Object.defineProperty(exports, "__esModule", { value: true });
36
39
  exports.list = void 0;
37
40
  exports.list = __importStar(require("./list"));
41
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as Letta from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { MessageCreate } from "../../../../../../types/MessageCreate";
8
+ import { MessageType } from "../../../../../../types/MessageType";
9
+ export declare const LettaAsyncRequest: core.serialization.Schema<serializers.agents.LettaAsyncRequest.Raw, Letta.agents.LettaAsyncRequest>;
10
+ export declare namespace LettaAsyncRequest {
11
+ interface Raw {
12
+ messages: MessageCreate.Raw[];
13
+ max_steps?: number | null;
14
+ use_assistant_message?: boolean | null;
15
+ assistant_message_tool_name?: string | null;
16
+ assistant_message_tool_kwarg?: string | null;
17
+ include_return_message_types?: MessageType.Raw[] | null;
18
+ callback_url?: string | null;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.LettaAsyncRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const MessageCreate_1 = require("../../../../../../types/MessageCreate");
42
+ const MessageType_1 = require("../../../../../../types/MessageType");
43
+ exports.LettaAsyncRequest = core.serialization.object({
44
+ messages: core.serialization.list(MessageCreate_1.MessageCreate),
45
+ maxSteps: core.serialization.property("max_steps", core.serialization.number().optional()),
46
+ useAssistantMessage: core.serialization.property("use_assistant_message", core.serialization.boolean().optional()),
47
+ assistantMessageToolName: core.serialization.property("assistant_message_tool_name", core.serialization.string().optional()),
48
+ assistantMessageToolKwarg: core.serialization.property("assistant_message_tool_kwarg", core.serialization.string().optional()),
49
+ includeReturnMessageTypes: core.serialization.property("include_return_message_types", core.serialization.list(MessageType_1.MessageType).optional()),
50
+ callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
51
+ });
@@ -0,0 +1 @@
1
+ export { LettaAsyncRequest } from "./LettaAsyncRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LettaAsyncRequest = void 0;
4
+ var LettaAsyncRequest_1 = require("./LettaAsyncRequest");
5
+ Object.defineProperty(exports, "LettaAsyncRequest", { enumerable: true, get: function () { return LettaAsyncRequest_1.LettaAsyncRequest; } });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AgentsSearchRequestSortBy: core.serialization.Schema<serializers.AgentsSearchRequestSortBy.Raw, Letta.AgentsSearchRequestSortBy>;
8
+ export declare namespace AgentsSearchRequestSortBy {
9
+ type Raw = "created_at" | "last_run_completion";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentsSearchRequestSortBy = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.AgentsSearchRequestSortBy = core.serialization.enum_(["created_at", "last_run_completion"]);
@@ -8,4 +8,5 @@ export * from "./AgentsSearchRequestSearchItemOne";
8
8
  export * from "./AgentsSearchRequestSearchItemTwo";
9
9
  export * from "./AgentsSearchRequestSearchItemOperator";
10
10
  export * from "./AgentsSearchRequestSearchItem";
11
+ export * from "./AgentsSearchRequestSortBy";
11
12
  export * from "./AgentsSearchResponse";
@@ -24,4 +24,5 @@ __exportStar(require("./AgentsSearchRequestSearchItemOne"), exports);
24
24
  __exportStar(require("./AgentsSearchRequestSearchItemTwo"), exports);
25
25
  __exportStar(require("./AgentsSearchRequestSearchItemOperator"), exports);
26
26
  __exportStar(require("./AgentsSearchRequestSearchItem"), exports);
27
+ __exportStar(require("./AgentsSearchRequestSortBy"), exports);
27
28
  __exportStar(require("./AgentsSearchResponse"), exports);
@@ -11,5 +11,7 @@ export declare namespace ProviderCreate {
11
11
  name: string;
12
12
  provider_type: ProviderType.Raw;
13
13
  api_key: string;
14
+ access_key?: string | null;
15
+ region?: string | null;
14
16
  }
15
17
  }
@@ -43,4 +43,6 @@ exports.ProviderCreate = core.serialization.object({
43
43
  name: core.serialization.string(),
44
44
  providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
45
45
  apiKey: core.serialization.property("api_key", core.serialization.string()),
46
+ accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
47
+ region: core.serialization.string().optional(),
46
48
  });
@@ -8,5 +8,7 @@ export declare const ProviderUpdate: core.serialization.Schema<serializers.Provi
8
8
  export declare namespace ProviderUpdate {
9
9
  interface Raw {
10
10
  api_key: string;
11
+ access_key?: string | null;
12
+ region?: string | null;
11
13
  }
12
14
  }
@@ -40,4 +40,6 @@ exports.ProviderUpdate = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  exports.ProviderUpdate = core.serialization.object({
42
42
  apiKey: core.serialization.property("api_key", core.serialization.string()),
43
+ accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
44
+ region: core.serialization.string().optional(),
43
45
  });
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { StdioServerConfig } from "../../../types/StdioServerConfig";
8
8
  import { SseServerConfig } from "../../../types/SseServerConfig";
9
+ import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
9
10
  export declare const AddMcpServerRequest: core.serialization.Schema<serializers.AddMcpServerRequest.Raw, Letta.AddMcpServerRequest>;
10
11
  export declare namespace AddMcpServerRequest {
11
- type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
12
+ type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
12
13
  }
@@ -40,4 +40,5 @@ exports.AddMcpServerRequest = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
42
  const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
- exports.AddMcpServerRequest = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig]);
43
+ const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
44
+ exports.AddMcpServerRequest = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { StdioServerConfig } from "../../../types/StdioServerConfig";
8
8
  import { SseServerConfig } from "../../../types/SseServerConfig";
9
+ import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
9
10
  export declare const AddMcpServerResponseItem: core.serialization.Schema<serializers.AddMcpServerResponseItem.Raw, Letta.AddMcpServerResponseItem>;
10
11
  export declare namespace AddMcpServerResponseItem {
11
- type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
12
+ type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
12
13
  }
@@ -40,4 +40,5 @@ exports.AddMcpServerResponseItem = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
42
  const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
- exports.AddMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig]);
43
+ const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
44
+ exports.AddMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { StdioServerConfig } from "../../../types/StdioServerConfig";
8
8
  import { SseServerConfig } from "../../../types/SseServerConfig";
9
+ import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
9
10
  export declare const DeleteMcpServerResponseItem: core.serialization.Schema<serializers.DeleteMcpServerResponseItem.Raw, Letta.DeleteMcpServerResponseItem>;
10
11
  export declare namespace DeleteMcpServerResponseItem {
11
- type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
12
+ type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
12
13
  }
@@ -40,4 +40,5 @@ exports.DeleteMcpServerResponseItem = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
42
  const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
- exports.DeleteMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig]);
43
+ const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
44
+ exports.DeleteMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { SseServerConfig } from "../../../types/SseServerConfig";
8
8
  import { StdioServerConfig } from "../../../types/StdioServerConfig";
9
+ import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
9
10
  export declare const ListMcpServersResponseValue: core.serialization.Schema<serializers.ListMcpServersResponseValue.Raw, Letta.ListMcpServersResponseValue>;
10
11
  export declare namespace ListMcpServersResponseValue {
11
- type Raw = SseServerConfig.Raw | StdioServerConfig.Raw;
12
+ type Raw = SseServerConfig.Raw | StdioServerConfig.Raw | StreamableHttpServerConfig.Raw;
12
13
  }
@@ -40,4 +40,5 @@ exports.ListMcpServersResponseValue = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const SseServerConfig_1 = require("../../../types/SseServerConfig");
42
42
  const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
43
- exports.ListMcpServersResponseValue = core.serialization.undiscriminatedUnion([SseServerConfig_1.SseServerConfig, StdioServerConfig_1.StdioServerConfig]);
43
+ const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
44
+ exports.ListMcpServersResponseValue = core.serialization.undiscriminatedUnion([SseServerConfig_1.SseServerConfig, StdioServerConfig_1.StdioServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { UpdateSsemcpServer } from "../../../types/UpdateSsemcpServer";
8
+ import { UpdateStreamableHttpmcpServer } from "../../../types/UpdateStreamableHttpmcpServer";
9
+ export declare const UpdateMcpServerRequest: core.serialization.Schema<serializers.UpdateMcpServerRequest.Raw, Letta.UpdateMcpServerRequest>;
10
+ export declare namespace UpdateMcpServerRequest {
11
+ type Raw = UpdateSsemcpServer.Raw | UpdateStreamableHttpmcpServer.Raw;
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UpdateMcpServerRequest = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const UpdateSsemcpServer_1 = require("../../../types/UpdateSsemcpServer");
42
+ const UpdateStreamableHttpmcpServer_1 = require("../../../types/UpdateStreamableHttpmcpServer");
43
+ exports.UpdateMcpServerRequest = core.serialization.undiscriminatedUnion([UpdateSsemcpServer_1.UpdateSsemcpServer, UpdateStreamableHttpmcpServer_1.UpdateStreamableHttpmcpServer]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { StdioServerConfig } from "../../../types/StdioServerConfig";
8
+ import { SseServerConfig } from "../../../types/SseServerConfig";
9
+ import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
10
+ export declare const UpdateMcpServerResponse: core.serialization.Schema<serializers.UpdateMcpServerResponse.Raw, Letta.UpdateMcpServerResponse>;
11
+ export declare namespace UpdateMcpServerResponse {
12
+ type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UpdateMcpServerResponse = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
+ const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
+ const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
44
+ exports.UpdateMcpServerResponse = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
@@ -2,3 +2,5 @@ export * from "./ListMcpServersResponseValue";
2
2
  export * from "./AddMcpServerRequest";
3
3
  export * from "./AddMcpServerResponseItem";
4
4
  export * from "./DeleteMcpServerResponseItem";
5
+ export * from "./UpdateMcpServerRequest";
6
+ export * from "./UpdateMcpServerResponse";
@@ -18,3 +18,5 @@ __exportStar(require("./ListMcpServersResponseValue"), exports);
18
18
  __exportStar(require("./AddMcpServerRequest"), exports);
19
19
  __exportStar(require("./AddMcpServerResponseItem"), exports);
20
20
  __exportStar(require("./DeleteMcpServerResponseItem"), exports);
21
+ __exportStar(require("./UpdateMcpServerRequest"), exports);
22
+ __exportStar(require("./UpdateMcpServerResponse"), exports);
@@ -44,5 +44,7 @@ export declare namespace AgentState {
44
44
  message_buffer_autoclear?: boolean | null;
45
45
  enable_sleeptime?: boolean | null;
46
46
  multi_agent_group?: Group.Raw | null;
47
+ last_run_completion?: string | null;
48
+ last_run_duration_ms?: number | null;
47
49
  }
48
50
  }
@@ -76,4 +76,6 @@ exports.AgentState = core.serialization.object({
76
76
  messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
77
77
  enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
78
78
  multiAgentGroup: core.serialization.property("multi_agent_group", Group_1.Group.optional()),
79
+ lastRunCompletion: core.serialization.property("last_run_completion", core.serialization.date().optional()),
80
+ lastRunDurationMs: core.serialization.property("last_run_duration_ms", core.serialization.number().optional()),
79
81
  });
@@ -4,11 +4,13 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { MessageType } from "./MessageType";
7
8
  export declare const LettaRequestConfig: core.serialization.ObjectSchema<serializers.LettaRequestConfig.Raw, Letta.LettaRequestConfig>;
8
9
  export declare namespace LettaRequestConfig {
9
10
  interface Raw {
10
11
  use_assistant_message?: boolean | null;
11
12
  assistant_message_tool_name?: string | null;
12
13
  assistant_message_tool_kwarg?: string | null;
14
+ include_return_message_types?: MessageType.Raw[] | null;
13
15
  }
14
16
  }
@@ -38,8 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.LettaRequestConfig = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const MessageType_1 = require("./MessageType");
41
42
  exports.LettaRequestConfig = core.serialization.object({
42
43
  useAssistantMessage: core.serialization.property("use_assistant_message", core.serialization.boolean().optional()),
43
44
  assistantMessageToolName: core.serialization.property("assistant_message_tool_name", core.serialization.string().optional()),
44
45
  assistantMessageToolKwarg: core.serialization.property("assistant_message_tool_kwarg", core.serialization.string().optional()),
46
+ includeReturnMessageTypes: core.serialization.property("include_return_message_types", core.serialization.list(MessageType_1.MessageType).optional()),
45
47
  });
@@ -15,6 +15,8 @@ export declare namespace Provider {
15
15
  provider_category: ProviderCategory.Raw;
16
16
  api_key?: string | null;
17
17
  base_url?: string | null;
18
+ access_key?: string | null;
19
+ region?: string | null;
18
20
  updated_at?: string | null;
19
21
  }
20
22
  }
@@ -47,5 +47,7 @@ exports.Provider = core.serialization.object({
47
47
  providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory),
48
48
  apiKey: core.serialization.property("api_key", core.serialization.string().optional()),
49
49
  baseUrl: core.serialization.property("base_url", core.serialization.string().optional()),
50
+ accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
51
+ region: core.serialization.string().optional(),
50
52
  updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
51
53
  });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ProviderType } from "./ProviderType";
8
+ export declare const ProviderCheck: core.serialization.ObjectSchema<serializers.ProviderCheck.Raw, Letta.ProviderCheck>;
9
+ export declare namespace ProviderCheck {
10
+ interface Raw {
11
+ provider_type: ProviderType.Raw;
12
+ api_key: string;
13
+ access_key?: string | null;
14
+ region?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ProviderCheck = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ProviderType_1 = require("./ProviderType");
42
+ exports.ProviderCheck = core.serialization.object({
43
+ providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
44
+ apiKey: core.serialization.property("api_key", core.serialization.string()),
45
+ accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
46
+ region: core.serialization.string().optional(),
47
+ });
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ProviderType: core.serialization.Schema<serializers.ProviderType.Raw, Letta.ProviderType>;
8
8
  export declare namespace ProviderType {
9
- type Raw = "anthropic" | "bedrock" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm";
9
+ type Raw = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
10
10
  }
@@ -40,7 +40,6 @@ exports.ProviderType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ProviderType = core.serialization.enum_([
42
42
  "anthropic",
43
- "bedrock",
44
43
  "google_ai",
45
44
  "google_vertex",
46
45
  "openai",
@@ -54,4 +53,5 @@ exports.ProviderType = core.serialization.enum_([
54
53
  "together",
55
54
  "azure",
56
55
  "vllm",
56
+ "bedrock",
57
57
  ]);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { McpServerType } from "./McpServerType";
8
+ export declare const StreamableHttpServerConfig: core.serialization.ObjectSchema<serializers.StreamableHttpServerConfig.Raw, Letta.StreamableHttpServerConfig>;
9
+ export declare namespace StreamableHttpServerConfig {
10
+ interface Raw {
11
+ server_name: string;
12
+ type?: McpServerType.Raw | null;
13
+ server_url: string;
14
+ auth_header?: string | null;
15
+ auth_token?: string | null;
16
+ custom_headers?: Record<string, string | null | undefined> | null;
17
+ }
18
+ }