@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
@@ -0,0 +1,49 @@
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.StreamableHttpServerConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const McpServerType_1 = require("./McpServerType");
42
+ exports.StreamableHttpServerConfig = core.serialization.object({
43
+ serverName: core.serialization.property("server_name", core.serialization.string()),
44
+ type: McpServerType_1.McpServerType.optional(),
45
+ serverUrl: core.serialization.property("server_url", core.serialization.string()),
46
+ authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
47
+ authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
48
+ customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
49
+ });
@@ -0,0 +1,14 @@
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 UpdateSsemcpServer: core.serialization.ObjectSchema<serializers.UpdateSsemcpServer.Raw, Letta.UpdateSsemcpServer>;
8
+ export declare namespace UpdateSsemcpServer {
9
+ interface Raw {
10
+ server_name?: string | null;
11
+ server_url?: string | null;
12
+ token?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.UpdateSsemcpServer = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.UpdateSsemcpServer = core.serialization.object({
42
+ serverName: core.serialization.property("server_name", core.serialization.string().optional()),
43
+ serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
44
+ token: core.serialization.string().optional(),
45
+ });
@@ -0,0 +1,15 @@
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 UpdateStreamableHttpmcpServer: core.serialization.ObjectSchema<serializers.UpdateStreamableHttpmcpServer.Raw, Letta.UpdateStreamableHttpmcpServer>;
8
+ export declare namespace UpdateStreamableHttpmcpServer {
9
+ interface Raw {
10
+ server_name?: string | null;
11
+ server_url?: string | null;
12
+ auth_header?: string | null;
13
+ auth_token?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.UpdateStreamableHttpmcpServer = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.UpdateStreamableHttpmcpServer = core.serialization.object({
42
+ serverName: core.serialization.property("server_name", core.serialization.string().optional()),
43
+ serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
44
+ authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
45
+ authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
46
+ });
@@ -159,6 +159,7 @@ export * from "./Passage";
159
159
  export * from "./PipRequirement";
160
160
  export * from "./Provider";
161
161
  export * from "./ProviderCategory";
162
+ export * from "./ProviderCheck";
162
163
  export * from "./ProviderTrace";
163
164
  export * from "./ProviderType";
164
165
  export * from "./ReasoningContent";
@@ -187,6 +188,7 @@ export * from "./Source";
187
188
  export * from "./StdioServerConfig";
188
189
  export * from "./Step";
189
190
  export * from "./StopReasonType";
191
+ export * from "./StreamableHttpServerConfig";
190
192
  export * from "./SupervisorManager";
191
193
  export * from "./SupervisorManagerUpdate";
192
194
  export * from "./SystemMessage";
@@ -214,6 +216,8 @@ export * from "./ToolType";
214
216
  export * from "./UpdateAssistantMessageContent";
215
217
  export * from "./UpdateAssistantMessage";
216
218
  export * from "./UpdateReasoningMessage";
219
+ export * from "./UpdateSsemcpServer";
220
+ export * from "./UpdateStreamableHttpmcpServer";
217
221
  export * from "./UpdateSystemMessage";
218
222
  export * from "./UpdateUserMessageContent";
219
223
  export * from "./UpdateUserMessage";
@@ -175,6 +175,7 @@ __exportStar(require("./Passage"), exports);
175
175
  __exportStar(require("./PipRequirement"), exports);
176
176
  __exportStar(require("./Provider"), exports);
177
177
  __exportStar(require("./ProviderCategory"), exports);
178
+ __exportStar(require("./ProviderCheck"), exports);
178
179
  __exportStar(require("./ProviderTrace"), exports);
179
180
  __exportStar(require("./ProviderType"), exports);
180
181
  __exportStar(require("./ReasoningContent"), exports);
@@ -203,6 +204,7 @@ __exportStar(require("./Source"), exports);
203
204
  __exportStar(require("./StdioServerConfig"), exports);
204
205
  __exportStar(require("./Step"), exports);
205
206
  __exportStar(require("./StopReasonType"), exports);
207
+ __exportStar(require("./StreamableHttpServerConfig"), exports);
206
208
  __exportStar(require("./SupervisorManager"), exports);
207
209
  __exportStar(require("./SupervisorManagerUpdate"), exports);
208
210
  __exportStar(require("./SystemMessage"), exports);
@@ -230,6 +232,8 @@ __exportStar(require("./ToolType"), exports);
230
232
  __exportStar(require("./UpdateAssistantMessageContent"), exports);
231
233
  __exportStar(require("./UpdateAssistantMessage"), exports);
232
234
  __exportStar(require("./UpdateReasoningMessage"), exports);
235
+ __exportStar(require("./UpdateSsemcpServer"), exports);
236
+ __exportStar(require("./UpdateStreamableHttpmcpServer"), exports);
233
237
  __exportStar(require("./UpdateSystemMessage"), exports);
234
238
  __exportStar(require("./UpdateUserMessageContent"), exports);
235
239
  __exportStar(require("./UpdateUserMessage"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.131";
1
+ export declare const SDK_VERSION = "0.1.132";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.131";
4
+ exports.SDK_VERSION = "0.1.132";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -1094,6 +1094,77 @@ await client.tools.deleteMcpServer("mcp_server_name");
1094
1094
  </dl>
1095
1095
  </details>
1096
1096
 
1097
+ <details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">updateMcpServer</a>(mcpServerName, { ...params }) -> Letta.UpdateMcpServerResponse</code></summary>
1098
+ <dl>
1099
+ <dd>
1100
+
1101
+ #### 📝 Description
1102
+
1103
+ <dl>
1104
+ <dd>
1105
+
1106
+ <dl>
1107
+ <dd>
1108
+
1109
+ Update an existing MCP server configuration
1110
+
1111
+ </dd>
1112
+ </dl>
1113
+ </dd>
1114
+ </dl>
1115
+
1116
+ #### 🔌 Usage
1117
+
1118
+ <dl>
1119
+ <dd>
1120
+
1121
+ <dl>
1122
+ <dd>
1123
+
1124
+ ```typescript
1125
+ await client.tools.updateMcpServer("mcp_server_name", {});
1126
+ ```
1127
+
1128
+ </dd>
1129
+ </dl>
1130
+ </dd>
1131
+ </dl>
1132
+
1133
+ #### ⚙️ Parameters
1134
+
1135
+ <dl>
1136
+ <dd>
1137
+
1138
+ <dl>
1139
+ <dd>
1140
+
1141
+ **mcpServerName:** `string`
1142
+
1143
+ </dd>
1144
+ </dl>
1145
+
1146
+ <dl>
1147
+ <dd>
1148
+
1149
+ **request:** `Letta.UpdateMcpServerRequest`
1150
+
1151
+ </dd>
1152
+ </dl>
1153
+
1154
+ <dl>
1155
+ <dd>
1156
+
1157
+ **requestOptions:** `Tools.RequestOptions`
1158
+
1159
+ </dd>
1160
+ </dl>
1161
+ </dd>
1162
+ </dl>
1163
+
1164
+ </dd>
1165
+ </dl>
1166
+ </details>
1167
+
1097
1168
  ## Sources
1098
1169
 
1099
1170
  <details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">count</a>() -> number</code></summary>
@@ -3965,7 +4036,7 @@ await client.providers.modify("provider_id", {
3965
4036
  </dl>
3966
4037
  </details>
3967
4038
 
3968
- <details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>({ ...params }) -> unknown</code></summary>
4039
+ <details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>() -> unknown</code></summary>
3969
4040
  <dl>
3970
4041
  <dd>
3971
4042
 
@@ -3978,10 +4049,7 @@ await client.providers.modify("provider_id", {
3978
4049
  <dd>
3979
4050
 
3980
4051
  ```typescript
3981
- await client.providers.check({
3982
- apiKey: "x-api-key",
3983
- providerType: "anthropic",
3984
- });
4052
+ await client.providers.check();
3985
4053
  ```
3986
4054
 
3987
4055
  </dd>
@@ -3997,14 +4065,6 @@ await client.providers.check({
3997
4065
  <dl>
3998
4066
  <dd>
3999
4067
 
4000
- **request:** `Letta.ProvidersCheckRequest`
4001
-
4002
- </dd>
4003
- </dl>
4004
-
4005
- <dl>
4006
- <dd>
4007
-
4008
4068
  **requestOptions:** `Providers.RequestOptions`
4009
4069
 
4010
4070
  </dd>
@@ -6753,19 +6813,17 @@ The actual processing happens in the background, and the status can be checked u
6753
6813
 
6754
6814
  ```typescript
6755
6815
  await client.agents.messages.createAsync("agent_id", {
6756
- body: {
6757
- messages: [
6758
- {
6759
- role: "user",
6760
- content: [
6761
- {
6762
- type: "text",
6763
- text: "text",
6764
- },
6765
- ],
6766
- },
6767
- ],
6768
- },
6816
+ messages: [
6817
+ {
6818
+ role: "user",
6819
+ content: [
6820
+ {
6821
+ type: "text",
6822
+ text: "text",
6823
+ },
6824
+ ],
6825
+ },
6826
+ ],
6769
6827
  });
6770
6828
  ```
6771
6829
 
@@ -6790,7 +6848,7 @@ await client.agents.messages.createAsync("agent_id", {
6790
6848
  <dl>
6791
6849
  <dd>
6792
6850
 
6793
- **request:** `Letta.agents.MessagesCreateAsyncRequest`
6851
+ **request:** `Letta.agents.LettaAsyncRequest`
6794
6852
 
6795
6853
  </dd>
6796
6854
  </dl>
@@ -5,6 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Letta from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { AgentsSearchRequestSearchItem } from "../../types/AgentsSearchRequestSearchItem";
8
+ import { AgentsSearchRequestSortBy } from "../../types/AgentsSearchRequestSortBy";
8
9
  export declare const AgentsSearchRequest: core.serialization.Schema<serializers.AgentsSearchRequest.Raw, Letta.AgentsSearchRequest>;
9
10
  export declare namespace AgentsSearchRequest {
10
11
  interface Raw {
@@ -13,5 +14,7 @@ export declare namespace AgentsSearchRequest {
13
14
  combinator?: "AND" | null;
14
15
  limit?: number | null;
15
16
  after?: string | null;
17
+ sortBy?: AgentsSearchRequestSortBy.Raw | null;
18
+ ascending?: boolean | null;
16
19
  }
17
20
  }
@@ -39,10 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AgentsSearchRequest = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  const AgentsSearchRequestSearchItem_1 = require("../../types/AgentsSearchRequestSearchItem");
42
+ const AgentsSearchRequestSortBy_1 = require("../../types/AgentsSearchRequestSortBy");
42
43
  exports.AgentsSearchRequest = core.serialization.object({
43
44
  search: core.serialization.list(AgentsSearchRequestSearchItem_1.AgentsSearchRequestSearchItem).optional(),
44
45
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
45
46
  combinator: core.serialization.stringLiteral("AND").optional(),
46
47
  limit: core.serialization.number().optional(),
47
48
  after: core.serialization.string().optional(),
49
+ sortBy: AgentsSearchRequestSortBy_1.AgentsSearchRequestSortBy.optional(),
50
+ ascending: core.serialization.boolean().optional(),
48
51
  });
@@ -33,5 +33,7 @@ export declare namespace UpdateAgent {
33
33
  embedding?: string | null;
34
34
  enable_sleeptime?: boolean | null;
35
35
  response_format?: UpdateAgentResponseFormat.Raw | null;
36
+ last_run_completion?: string | null;
37
+ last_run_duration_ms?: number | null;
36
38
  }
37
39
  }
@@ -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
  });