@letta-ai/letta-client 0.0.68646 → 0.0.68648

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 (342) hide show
  1. package/api/resources/agents/client/Client.d.ts +2 -2
  2. package/api/resources/agents/client/Client.js +23 -13
  3. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +9 -0
  4. package/api/resources/agents/client/requests/{BodyImportAgentSerialized.d.ts → BodyImportAgent.d.ts} +1 -1
  5. package/api/resources/agents/client/requests/index.d.ts +1 -1
  6. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  7. package/api/resources/agents/resources/context/client/Client.js +1 -1
  8. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  9. package/api/resources/agents/resources/files/client/Client.js +4 -4
  10. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  11. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  12. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  13. package/api/resources/agents/resources/messages/client/Client.js +9 -9
  14. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  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 +4 -4
  18. package/api/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  19. package/api/resources/agents/types/AgentsListRequestOrder.js +10 -0
  20. package/api/resources/agents/types/AgentsListRequestOrderBy.d.ts +11 -0
  21. package/api/resources/agents/types/AgentsListRequestOrderBy.js +10 -0
  22. package/api/resources/agents/types/index.d.ts +2 -0
  23. package/api/resources/agents/types/index.js +2 -0
  24. package/api/resources/batches/client/Client.js +4 -4
  25. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  26. package/api/resources/blocks/client/Client.js +16 -8
  27. package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +11 -2
  28. package/api/resources/blocks/index.d.ts +1 -0
  29. package/api/resources/blocks/index.js +1 -0
  30. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  31. package/api/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  32. package/api/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  33. package/api/resources/blocks/types/index.d.ts +1 -0
  34. package/api/resources/blocks/types/index.js +17 -0
  35. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  36. package/api/resources/folders/client/Client.d.ts +2 -1
  37. package/api/resources/folders/client/Client.js +34 -13
  38. package/api/resources/folders/client/requests/FoldersListRequest.d.ts +30 -0
  39. package/api/resources/folders/client/requests/index.d.ts +1 -0
  40. package/api/resources/folders/index.d.ts +1 -0
  41. package/api/resources/folders/index.js +1 -0
  42. package/api/resources/folders/resources/files/client/Client.js +3 -3
  43. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  44. package/api/resources/folders/types/FoldersListRequestOrder.d.ts +11 -0
  45. package/api/resources/folders/types/FoldersListRequestOrder.js +10 -0
  46. package/api/resources/folders/types/index.d.ts +1 -0
  47. package/api/resources/folders/types/index.js +17 -0
  48. package/api/resources/groups/client/Client.js +15 -7
  49. package/api/resources/groups/client/requests/GroupsListRequest.d.ts +11 -3
  50. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  51. package/api/resources/groups/types/GroupsListRequestOrder.d.ts +11 -0
  52. package/api/resources/groups/types/GroupsListRequestOrder.js +10 -0
  53. package/api/resources/groups/types/index.d.ts +1 -0
  54. package/api/resources/groups/types/index.js +1 -0
  55. package/api/resources/health/client/Client.js +1 -1
  56. package/api/resources/identities/client/Client.js +16 -8
  57. package/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +17 -0
  58. package/api/resources/identities/index.d.ts +1 -0
  59. package/api/resources/identities/index.js +1 -0
  60. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  61. package/api/resources/identities/types/IdentitiesListRequestOrder.d.ts +11 -0
  62. package/api/resources/identities/types/IdentitiesListRequestOrder.js +10 -0
  63. package/api/resources/identities/types/index.d.ts +1 -0
  64. package/api/resources/identities/types/index.js +17 -0
  65. package/api/resources/index.d.ts +8 -4
  66. package/api/resources/index.js +9 -5
  67. package/api/resources/jobs/client/Client.js +5 -5
  68. package/api/resources/models/client/Client.js +2 -2
  69. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  70. package/api/resources/projects/client/Client.js +1 -1
  71. package/api/resources/providers/client/Client.js +23 -12
  72. package/api/resources/providers/client/requests/ProvidersListRequest.d.ts +26 -2
  73. package/api/resources/providers/index.d.ts +1 -0
  74. package/api/resources/providers/index.js +1 -0
  75. package/api/resources/providers/types/ProvidersListRequestOrder.d.ts +11 -0
  76. package/api/resources/providers/types/ProvidersListRequestOrder.js +10 -0
  77. package/api/resources/providers/types/index.d.ts +1 -0
  78. package/api/resources/providers/types/index.js +17 -0
  79. package/api/resources/runs/client/Client.js +5 -5
  80. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  81. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  82. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  83. package/api/resources/sources/client/Client.js +10 -10
  84. package/api/resources/sources/resources/files/client/Client.js +3 -3
  85. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  86. package/api/resources/steps/client/Client.d.ts +0 -1
  87. package/api/resources/steps/client/Client.js +9 -5
  88. package/api/resources/steps/client/requests/StepsListRequest.d.ts +6 -2
  89. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  90. package/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +2 -0
  91. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  92. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  93. package/api/resources/steps/types/StepsListRequestOrder.d.ts +11 -0
  94. package/api/resources/steps/types/StepsListRequestOrder.js +10 -0
  95. package/api/resources/steps/types/index.d.ts +1 -0
  96. package/api/resources/steps/types/index.js +1 -0
  97. package/api/resources/tags/client/Client.d.ts +1 -1
  98. package/api/resources/tags/client/Client.js +2 -2
  99. package/api/resources/telemetry/client/Client.js +1 -1
  100. package/api/resources/templates/client/Client.js +9 -9
  101. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  102. package/api/resources/tools/client/Client.d.ts +1 -1
  103. package/api/resources/tools/client/Client.js +33 -22
  104. package/api/resources/tools/client/requests/ToolsListRequest.d.ts +22 -0
  105. package/api/resources/tools/types/ToolsListRequestOrder.d.ts +11 -0
  106. package/api/resources/tools/types/ToolsListRequestOrder.js +10 -0
  107. package/api/resources/tools/types/index.d.ts +1 -0
  108. package/api/resources/tools/types/index.js +1 -0
  109. package/api/resources/voice/client/Client.js +1 -1
  110. package/{dist/api/types/BodyExportAgentSerialized.d.ts → api/types/BodyExportAgent.d.ts} +1 -1
  111. package/api/types/DeploymentEntity.d.ts +2 -0
  112. package/api/types/index.d.ts +1 -1
  113. package/api/types/index.js +1 -1
  114. package/dist/api/resources/agents/client/Client.d.ts +2 -2
  115. package/dist/api/resources/agents/client/Client.js +23 -13
  116. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +9 -0
  117. package/dist/api/resources/agents/client/requests/{BodyImportAgentSerialized.d.ts → BodyImportAgent.d.ts} +1 -1
  118. package/dist/api/resources/agents/client/requests/index.d.ts +1 -1
  119. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  120. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  121. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  122. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  123. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  124. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  125. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  126. package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
  127. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  128. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  129. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  130. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  131. package/dist/api/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  132. package/dist/api/resources/agents/types/AgentsListRequestOrder.js +10 -0
  133. package/dist/api/resources/agents/types/AgentsListRequestOrderBy.d.ts +11 -0
  134. package/dist/api/resources/agents/types/AgentsListRequestOrderBy.js +10 -0
  135. package/dist/api/resources/agents/types/index.d.ts +2 -0
  136. package/dist/api/resources/agents/types/index.js +2 -0
  137. package/dist/api/resources/batches/client/Client.js +4 -4
  138. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  139. package/dist/api/resources/blocks/client/Client.js +16 -8
  140. package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +11 -2
  141. package/dist/api/resources/blocks/index.d.ts +1 -0
  142. package/dist/api/resources/blocks/index.js +1 -0
  143. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  144. package/dist/api/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  145. package/dist/api/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  146. package/dist/api/resources/blocks/types/index.d.ts +1 -0
  147. package/dist/api/resources/blocks/types/index.js +17 -0
  148. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  149. package/dist/api/resources/folders/client/Client.d.ts +2 -1
  150. package/dist/api/resources/folders/client/Client.js +34 -13
  151. package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +30 -0
  152. package/dist/api/resources/folders/client/requests/FoldersListRequest.js +5 -0
  153. package/dist/api/resources/folders/client/requests/index.d.ts +1 -0
  154. package/dist/api/resources/folders/index.d.ts +1 -0
  155. package/dist/api/resources/folders/index.js +1 -0
  156. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  157. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  158. package/dist/api/resources/folders/types/FoldersListRequestOrder.d.ts +11 -0
  159. package/dist/api/resources/folders/types/FoldersListRequestOrder.js +10 -0
  160. package/dist/api/resources/folders/types/index.d.ts +1 -0
  161. package/dist/api/resources/folders/types/index.js +17 -0
  162. package/dist/api/resources/groups/client/Client.js +15 -7
  163. package/dist/api/resources/groups/client/requests/GroupsListRequest.d.ts +11 -3
  164. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  165. package/dist/api/resources/groups/types/GroupsListRequestOrder.d.ts +11 -0
  166. package/dist/api/resources/groups/types/GroupsListRequestOrder.js +10 -0
  167. package/dist/api/resources/groups/types/index.d.ts +1 -0
  168. package/dist/api/resources/groups/types/index.js +1 -0
  169. package/dist/api/resources/health/client/Client.js +1 -1
  170. package/dist/api/resources/identities/client/Client.js +16 -8
  171. package/dist/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +17 -0
  172. package/dist/api/resources/identities/index.d.ts +1 -0
  173. package/dist/api/resources/identities/index.js +1 -0
  174. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  175. package/dist/api/resources/identities/types/IdentitiesListRequestOrder.d.ts +11 -0
  176. package/dist/api/resources/identities/types/IdentitiesListRequestOrder.js +10 -0
  177. package/dist/api/resources/identities/types/index.d.ts +1 -0
  178. package/dist/api/resources/identities/types/index.js +17 -0
  179. package/dist/api/resources/index.d.ts +8 -4
  180. package/dist/api/resources/index.js +9 -5
  181. package/dist/api/resources/jobs/client/Client.js +5 -5
  182. package/dist/api/resources/models/client/Client.js +2 -2
  183. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  184. package/dist/api/resources/projects/client/Client.js +1 -1
  185. package/dist/api/resources/providers/client/Client.js +23 -12
  186. package/dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts +26 -2
  187. package/dist/api/resources/providers/index.d.ts +1 -0
  188. package/dist/api/resources/providers/index.js +1 -0
  189. package/dist/api/resources/providers/types/ProvidersListRequestOrder.d.ts +11 -0
  190. package/dist/api/resources/providers/types/ProvidersListRequestOrder.js +10 -0
  191. package/dist/api/resources/providers/types/index.d.ts +1 -0
  192. package/dist/api/resources/providers/types/index.js +17 -0
  193. package/dist/api/resources/runs/client/Client.js +5 -5
  194. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  195. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  196. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  197. package/dist/api/resources/sources/client/Client.js +10 -10
  198. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  199. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  200. package/dist/api/resources/steps/client/Client.d.ts +0 -1
  201. package/dist/api/resources/steps/client/Client.js +9 -5
  202. package/dist/api/resources/steps/client/requests/StepsListRequest.d.ts +6 -2
  203. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  204. package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +2 -0
  205. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  206. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  207. package/dist/api/resources/steps/types/StepsListRequestOrder.d.ts +11 -0
  208. package/dist/api/resources/steps/types/StepsListRequestOrder.js +10 -0
  209. package/dist/api/resources/steps/types/index.d.ts +1 -0
  210. package/dist/api/resources/steps/types/index.js +1 -0
  211. package/dist/api/resources/tags/client/Client.d.ts +1 -1
  212. package/dist/api/resources/tags/client/Client.js +2 -2
  213. package/dist/api/resources/telemetry/client/Client.js +1 -1
  214. package/dist/api/resources/templates/client/Client.js +9 -9
  215. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  216. package/dist/api/resources/tools/client/Client.d.ts +1 -1
  217. package/dist/api/resources/tools/client/Client.js +33 -22
  218. package/dist/api/resources/tools/client/requests/ToolsListRequest.d.ts +22 -0
  219. package/dist/api/resources/tools/types/ToolsListRequestOrder.d.ts +11 -0
  220. package/dist/api/resources/tools/types/ToolsListRequestOrder.js +10 -0
  221. package/dist/api/resources/tools/types/index.d.ts +1 -0
  222. package/dist/api/resources/tools/types/index.js +1 -0
  223. package/dist/api/resources/voice/client/Client.js +1 -1
  224. package/{api/types/BodyExportAgentSerialized.d.ts → dist/api/types/BodyExportAgent.d.ts} +1 -1
  225. package/dist/api/types/BodyExportAgent.js +5 -0
  226. package/dist/api/types/DeploymentEntity.d.ts +2 -0
  227. package/dist/api/types/index.d.ts +1 -1
  228. package/dist/api/types/index.js +1 -1
  229. package/dist/serialization/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  230. package/dist/serialization/resources/agents/types/AgentsListRequestOrder.js +41 -0
  231. package/dist/serialization/resources/agents/types/AgentsListRequestOrderBy.d.ts +10 -0
  232. package/dist/serialization/resources/agents/types/AgentsListRequestOrderBy.js +41 -0
  233. package/dist/serialization/resources/agents/types/index.d.ts +2 -0
  234. package/dist/serialization/resources/agents/types/index.js +2 -0
  235. package/dist/serialization/resources/blocks/index.d.ts +1 -0
  236. package/dist/serialization/resources/blocks/index.js +1 -0
  237. package/dist/serialization/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  238. package/dist/serialization/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  239. package/dist/serialization/resources/blocks/types/index.d.ts +1 -0
  240. package/dist/serialization/resources/blocks/types/index.js +17 -0
  241. package/dist/serialization/resources/folders/index.d.ts +1 -0
  242. package/dist/serialization/resources/folders/index.js +1 -0
  243. package/dist/serialization/resources/folders/types/FoldersListRequestOrder.d.ts +10 -0
  244. package/dist/serialization/resources/folders/types/FoldersListRequestOrder.js +41 -0
  245. package/dist/serialization/resources/folders/types/index.d.ts +1 -0
  246. package/dist/serialization/resources/folders/types/index.js +17 -0
  247. package/dist/serialization/resources/groups/types/GroupsListRequestOrder.d.ts +10 -0
  248. package/dist/serialization/resources/groups/types/GroupsListRequestOrder.js +41 -0
  249. package/dist/serialization/resources/groups/types/index.d.ts +1 -0
  250. package/dist/serialization/resources/groups/types/index.js +1 -0
  251. package/dist/serialization/resources/identities/index.d.ts +1 -0
  252. package/dist/serialization/resources/identities/index.js +1 -0
  253. package/dist/serialization/resources/identities/types/IdentitiesListRequestOrder.d.ts +10 -0
  254. package/dist/serialization/resources/identities/types/IdentitiesListRequestOrder.js +41 -0
  255. package/dist/serialization/resources/identities/types/index.d.ts +1 -0
  256. package/dist/serialization/resources/identities/types/index.js +17 -0
  257. package/dist/serialization/resources/index.d.ts +8 -4
  258. package/dist/serialization/resources/index.js +9 -5
  259. package/dist/serialization/resources/providers/index.d.ts +1 -0
  260. package/dist/serialization/resources/providers/index.js +1 -0
  261. package/dist/serialization/resources/providers/types/ProvidersListRequestOrder.d.ts +10 -0
  262. package/dist/serialization/resources/providers/types/ProvidersListRequestOrder.js +41 -0
  263. package/dist/serialization/resources/providers/types/index.d.ts +1 -0
  264. package/dist/serialization/resources/providers/types/index.js +17 -0
  265. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +1 -0
  266. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +1 -0
  267. package/dist/serialization/resources/steps/types/StepsListRequestOrder.d.ts +10 -0
  268. package/dist/serialization/resources/steps/types/StepsListRequestOrder.js +41 -0
  269. package/dist/serialization/resources/steps/types/index.d.ts +1 -0
  270. package/dist/serialization/resources/steps/types/index.js +1 -0
  271. package/dist/serialization/resources/tools/types/ToolsListRequestOrder.d.ts +10 -0
  272. package/dist/serialization/resources/tools/types/ToolsListRequestOrder.js +41 -0
  273. package/dist/serialization/resources/tools/types/index.d.ts +1 -0
  274. package/dist/serialization/resources/tools/types/index.js +1 -0
  275. package/dist/serialization/types/{BodyExportAgentSerialized.d.ts → BodyExportAgent.d.ts} +2 -2
  276. package/dist/serialization/types/{BodyExportAgentSerialized.js → BodyExportAgent.js} +2 -2
  277. package/dist/serialization/types/DeploymentEntity.d.ts +2 -0
  278. package/dist/serialization/types/DeploymentEntity.js +2 -0
  279. package/dist/serialization/types/index.d.ts +1 -1
  280. package/dist/serialization/types/index.js +1 -1
  281. package/dist/version.d.ts +1 -1
  282. package/dist/version.js +1 -1
  283. package/package.json +1 -1
  284. package/reference.md +12 -5
  285. package/serialization/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  286. package/serialization/resources/agents/types/AgentsListRequestOrder.js +41 -0
  287. package/serialization/resources/agents/types/AgentsListRequestOrderBy.d.ts +10 -0
  288. package/serialization/resources/agents/types/AgentsListRequestOrderBy.js +41 -0
  289. package/serialization/resources/agents/types/index.d.ts +2 -0
  290. package/serialization/resources/agents/types/index.js +2 -0
  291. package/serialization/resources/blocks/index.d.ts +1 -0
  292. package/serialization/resources/blocks/index.js +1 -0
  293. package/serialization/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  294. package/serialization/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  295. package/serialization/resources/blocks/types/index.d.ts +1 -0
  296. package/serialization/resources/blocks/types/index.js +17 -0
  297. package/serialization/resources/folders/index.d.ts +1 -0
  298. package/serialization/resources/folders/index.js +1 -0
  299. package/serialization/resources/folders/types/FoldersListRequestOrder.d.ts +10 -0
  300. package/serialization/resources/folders/types/FoldersListRequestOrder.js +41 -0
  301. package/serialization/resources/folders/types/index.d.ts +1 -0
  302. package/serialization/resources/folders/types/index.js +17 -0
  303. package/serialization/resources/groups/types/GroupsListRequestOrder.d.ts +10 -0
  304. package/serialization/resources/groups/types/GroupsListRequestOrder.js +41 -0
  305. package/serialization/resources/groups/types/index.d.ts +1 -0
  306. package/serialization/resources/groups/types/index.js +1 -0
  307. package/serialization/resources/identities/index.d.ts +1 -0
  308. package/serialization/resources/identities/index.js +1 -0
  309. package/serialization/resources/identities/types/IdentitiesListRequestOrder.d.ts +10 -0
  310. package/serialization/resources/identities/types/IdentitiesListRequestOrder.js +41 -0
  311. package/serialization/resources/identities/types/index.d.ts +1 -0
  312. package/serialization/resources/identities/types/index.js +17 -0
  313. package/serialization/resources/index.d.ts +8 -4
  314. package/serialization/resources/index.js +9 -5
  315. package/serialization/resources/providers/index.d.ts +1 -0
  316. package/serialization/resources/providers/index.js +1 -0
  317. package/serialization/resources/providers/types/ProvidersListRequestOrder.d.ts +10 -0
  318. package/serialization/resources/providers/types/ProvidersListRequestOrder.js +41 -0
  319. package/serialization/resources/providers/types/index.d.ts +1 -0
  320. package/serialization/resources/providers/types/index.js +17 -0
  321. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +1 -0
  322. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +1 -0
  323. package/serialization/resources/steps/types/StepsListRequestOrder.d.ts +10 -0
  324. package/serialization/resources/steps/types/StepsListRequestOrder.js +41 -0
  325. package/serialization/resources/steps/types/index.d.ts +1 -0
  326. package/serialization/resources/steps/types/index.js +1 -0
  327. package/serialization/resources/tools/types/ToolsListRequestOrder.d.ts +10 -0
  328. package/serialization/resources/tools/types/ToolsListRequestOrder.js +41 -0
  329. package/serialization/resources/tools/types/index.d.ts +1 -0
  330. package/serialization/resources/tools/types/index.js +1 -0
  331. package/serialization/types/{BodyExportAgentSerialized.d.ts → BodyExportAgent.d.ts} +2 -2
  332. package/serialization/types/{BodyExportAgentSerialized.js → BodyExportAgent.js} +2 -2
  333. package/serialization/types/DeploymentEntity.d.ts +2 -0
  334. package/serialization/types/DeploymentEntity.js +2 -0
  335. package/serialization/types/index.d.ts +1 -1
  336. package/serialization/types/index.js +1 -1
  337. package/version.d.ts +1 -1
  338. package/version.js +1 -1
  339. /package/api/resources/agents/client/requests/{BodyImportAgentSerialized.js → BodyImportAgent.js} +0 -0
  340. /package/api/{types/BodyExportAgentSerialized.js → resources/folders/client/requests/FoldersListRequest.js} +0 -0
  341. /package/{dist/api/resources/agents/client/requests/BodyImportAgentSerialized.js → api/types/BodyExportAgent.js} +0 -0
  342. /package/dist/api/{types/BodyExportAgentSerialized.js → resources/agents/client/requests/BodyImportAgent.js} +0 -0
@@ -1 +1,2 @@
1
1
  export { type GetFoldersMetadataRequest } from "./GetFoldersMetadataRequest";
2
+ export { type FoldersListRequest } from "./FoldersListRequest";
@@ -1,2 +1,3 @@
1
+ export * from "./types";
1
2
  export * from "./client";
2
3
  export * from "./resources";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
18
19
  __exportStar(require("./resources"), exports);
@@ -93,7 +93,7 @@ class Files {
93
93
  method: "POST",
94
94
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  queryParameters: _queryParams,
98
98
  requestType: "file",
99
99
  duplex: _maybeEncodedRequest.duplex,
@@ -183,7 +183,7 @@ class Files {
183
183
  method: "GET",
184
184
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
185
185
  ? yield core.Supplier.get(this._options.project)
186
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
186
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
187
187
  contentType: "application/json",
188
188
  queryParameters: _queryParams,
189
189
  requestType: "json",
@@ -261,7 +261,7 @@ class Files {
261
261
  method: "DELETE",
262
262
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
263
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Sort order for folders by creation time. 'asc' for oldest first, 'desc' for newest first
6
+ */
7
+ export type FoldersListRequestOrder = "asc" | "desc";
8
+ export declare const FoldersListRequestOrder: {
9
+ readonly Asc: "asc";
10
+ readonly Desc: "desc";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FoldersListRequestOrder = void 0;
7
+ exports.FoldersListRequestOrder = {
8
+ Asc: "asc",
9
+ Desc: "desc",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./FoldersListRequestOrder";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./FoldersListRequestOrder"), exports);
@@ -81,7 +81,7 @@ class Groups {
81
81
  __list() {
82
82
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
83
83
  var _a, _b, _c;
84
- const { managerType, before, after, limit, projectId } = request;
84
+ const { managerType, before, after, limit, order, orderBy, projectId } = request;
85
85
  const _queryParams = {};
86
86
  if (managerType != null) {
87
87
  _queryParams["manager_type"] = serializers.ManagerType.jsonOrThrow(managerType, {
@@ -97,6 +97,14 @@ class Groups {
97
97
  if (limit != null) {
98
98
  _queryParams["limit"] = limit.toString();
99
99
  }
100
+ if (order != null) {
101
+ _queryParams["order"] = serializers.GroupsListRequestOrder.jsonOrThrow(order, {
102
+ unrecognizedObjectKeys: "strip",
103
+ });
104
+ }
105
+ if (orderBy != null) {
106
+ _queryParams["order_by"] = orderBy;
107
+ }
100
108
  if (projectId != null) {
101
109
  _queryParams["project_id"] = projectId;
102
110
  }
@@ -105,7 +113,7 @@ class Groups {
105
113
  method: "GET",
106
114
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
107
115
  ? yield core.Supplier.get(this._options.project)
108
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
117
  contentType: "application/json",
110
118
  queryParameters: _queryParams,
111
119
  requestType: "json",
@@ -185,7 +193,7 @@ class Groups {
185
193
  method: "POST",
186
194
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
187
195
  ? yield core.Supplier.get(this._options.project)
188
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
197
  contentType: "application/json",
190
198
  requestType: "json",
191
199
  body: serializers.GroupCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -261,7 +269,7 @@ class Groups {
261
269
  method: "GET",
262
270
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
271
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
273
  contentType: "application/json",
266
274
  requestType: "json",
267
275
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -337,7 +345,7 @@ class Groups {
337
345
  method: "GET",
338
346
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
339
347
  ? yield core.Supplier.get(this._options.project)
340
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
348
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
341
349
  contentType: "application/json",
342
350
  requestType: "json",
343
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -413,7 +421,7 @@ class Groups {
413
421
  method: "DELETE",
414
422
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
415
423
  ? yield core.Supplier.get(this._options.project)
416
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
424
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
417
425
  contentType: "application/json",
418
426
  requestType: "json",
419
427
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -481,7 +489,7 @@ class Groups {
481
489
  method: "PATCH",
482
490
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
483
491
  ? yield core.Supplier.get(this._options.project)
484
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
492
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
485
493
  contentType: "application/json",
486
494
  requestType: "json",
487
495
  body: serializers.GroupUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -12,17 +12,25 @@ export interface GroupsListRequest {
12
12
  */
13
13
  managerType?: Letta.ManagerType;
14
14
  /**
15
- * Cursor for pagination
15
+ * Group ID cursor for pagination. Returns groups that come before this group ID in the specified sort order
16
16
  */
17
17
  before?: string;
18
18
  /**
19
- * Cursor for pagination
19
+ * Group ID cursor for pagination. Returns groups that come after this group ID in the specified sort order
20
20
  */
21
21
  after?: string;
22
22
  /**
23
- * Limit for pagination
23
+ * Maximum number of groups to return
24
24
  */
25
25
  limit?: number;
26
+ /**
27
+ * Sort order for groups by creation time. 'asc' for oldest first, 'desc' for newest first
28
+ */
29
+ order?: Letta.GroupsListRequestOrder;
30
+ /**
31
+ * Field to sort by
32
+ */
33
+ orderBy?: "created_at";
26
34
  /**
27
35
  * Search groups by project id
28
36
  */
@@ -102,7 +102,7 @@ class Messages {
102
102
  method: "GET",
103
103
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
104
104
  ? yield core.Supplier.get(this._options.project)
105
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
106
  contentType: "application/json",
107
107
  queryParameters: _queryParams,
108
108
  requestType: "json",
@@ -189,7 +189,7 @@ class Messages {
189
189
  method: "POST",
190
190
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
191
191
  ? yield core.Supplier.get(this._options.project)
192
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -260,7 +260,7 @@ class Messages {
260
260
  method: "POST",
261
261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
262
262
  ? yield core.Supplier.get(this._options.project)
263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
264
  contentType: "application/json",
265
265
  requestType: "json",
266
266
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -352,7 +352,7 @@ class Messages {
352
352
  method: "PATCH",
353
353
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
354
354
  ? yield core.Supplier.get(this._options.project)
355
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
355
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
356
356
  contentType: "application/json",
357
357
  requestType: "json",
358
358
  body: serializers.groups.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -429,7 +429,7 @@ class Messages {
429
429
  method: "PATCH",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
433
433
  contentType: "application/json",
434
434
  requestType: "json",
435
435
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Sort order for groups by creation time. 'asc' for oldest first, 'desc' for newest first
6
+ */
7
+ export type GroupsListRequestOrder = "asc" | "desc";
8
+ export declare const GroupsListRequestOrder: {
9
+ readonly Asc: "asc";
10
+ readonly Desc: "desc";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.GroupsListRequestOrder = void 0;
7
+ exports.GroupsListRequestOrder = {
8
+ Asc: "asc",
9
+ Desc: "desc",
10
+ };
@@ -1,2 +1,3 @@
1
+ export * from "./GroupsListRequestOrder";
1
2
  export * from "./GroupCreateManagerConfig";
2
3
  export * from "./GroupUpdateManagerConfig";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GroupsListRequestOrder"), exports);
17
18
  __exportStar(require("./GroupCreateManagerConfig"), exports);
18
19
  __exportStar(require("./GroupUpdateManagerConfig"), exports);
@@ -75,7 +75,7 @@ class Health {
75
75
  method: "GET",
76
76
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
77
77
  ? yield core.Supplier.get(this._options.project)
78
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -81,7 +81,7 @@ class Identities {
81
81
  __list() {
82
82
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
83
83
  var _a, _b, _c;
84
- const { name, projectId, identifierKey, identityType, before, after, limit } = request;
84
+ const { name, projectId, identifierKey, identityType, before, after, limit, order, orderBy } = request;
85
85
  const _queryParams = {};
86
86
  if (name != null) {
87
87
  _queryParams["name"] = name;
@@ -106,12 +106,20 @@ class Identities {
106
106
  if (limit != null) {
107
107
  _queryParams["limit"] = limit.toString();
108
108
  }
109
+ if (order != null) {
110
+ _queryParams["order"] = serializers.IdentitiesListRequestOrder.jsonOrThrow(order, {
111
+ unrecognizedObjectKeys: "strip",
112
+ });
113
+ }
114
+ if (orderBy != null) {
115
+ _queryParams["order_by"] = orderBy;
116
+ }
109
117
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
110
118
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/identities/"),
111
119
  method: "GET",
112
120
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
113
121
  ? yield core.Supplier.get(this._options.project)
114
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
122
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
123
  contentType: "application/json",
116
124
  queryParameters: _queryParams,
117
125
  requestType: "json",
@@ -190,7 +198,7 @@ class Identities {
190
198
  method: "POST",
191
199
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
192
200
  ? yield core.Supplier.get(this._options.project)
193
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
202
  contentType: "application/json",
195
203
  requestType: "json",
196
204
  body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -269,7 +277,7 @@ class Identities {
269
277
  method: "PUT",
270
278
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
271
279
  ? yield core.Supplier.get(this._options.project)
272
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
280
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
273
281
  contentType: "application/json",
274
282
  requestType: "json",
275
283
  body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -345,7 +353,7 @@ class Identities {
345
353
  method: "GET",
346
354
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
347
355
  ? yield core.Supplier.get(this._options.project)
348
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
356
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
349
357
  contentType: "application/json",
350
358
  requestType: "json",
351
359
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -419,7 +427,7 @@ class Identities {
419
427
  method: "GET",
420
428
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
421
429
  ? yield core.Supplier.get(this._options.project)
422
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
430
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
423
431
  contentType: "application/json",
424
432
  requestType: "json",
425
433
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -495,7 +503,7 @@ class Identities {
495
503
  method: "DELETE",
496
504
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
497
505
  ? yield core.Supplier.get(this._options.project)
498
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
506
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
499
507
  contentType: "application/json",
500
508
  requestType: "json",
501
509
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -561,7 +569,7 @@ class Identities {
561
569
  method: "PATCH",
562
570
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
563
571
  ? yield core.Supplier.get(this._options.project)
564
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
572
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
565
573
  contentType: "application/json",
566
574
  requestType: "json",
567
575
  body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -11,7 +11,24 @@ export interface IdentitiesListRequest {
11
11
  projectId?: string;
12
12
  identifierKey?: string;
13
13
  identityType?: Letta.IdentityType;
14
+ /**
15
+ * Identity ID cursor for pagination. Returns identities that come before this identity ID in the specified sort order
16
+ */
14
17
  before?: string;
18
+ /**
19
+ * Identity ID cursor for pagination. Returns identities that come after this identity ID in the specified sort order
20
+ */
15
21
  after?: string;
22
+ /**
23
+ * Maximum number of identities to return
24
+ */
16
25
  limit?: number;
26
+ /**
27
+ * Sort order for identities by creation time. 'asc' for oldest first, 'desc' for newest first
28
+ */
29
+ order?: Letta.IdentitiesListRequestOrder;
30
+ /**
31
+ * Field to sort by
32
+ */
33
+ orderBy?: "created_at";
17
34
  }
@@ -1,2 +1,3 @@
1
+ export * from "./types";
1
2
  export * from "./client";
2
3
  export * from "./resources";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
18
19
  __exportStar(require("./resources"), exports);
@@ -84,7 +84,7 @@ class Properties {
84
84
  method: "PUT",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68646", "User-Agent": "@letta-ai/letta-client/0.0.68646", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68648", "User-Agent": "@letta-ai/letta-client/0.0.68648", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Sort order for identities by creation time. 'asc' for oldest first, 'desc' for newest first
6
+ */
7
+ export type IdentitiesListRequestOrder = "asc" | "desc";
8
+ export declare const IdentitiesListRequestOrder: {
9
+ readonly Asc: "asc";
10
+ readonly Desc: "desc";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IdentitiesListRequestOrder = void 0;
7
+ exports.IdentitiesListRequestOrder = {
8
+ Asc: "asc",
9
+ Desc: "desc",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./IdentitiesListRequestOrder";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IdentitiesListRequestOrder"), exports);
@@ -1,9 +1,17 @@
1
1
  export * as tools from "./tools";
2
2
  export * from "./tools/types";
3
+ export * as folders from "./folders";
4
+ export * from "./folders/types";
3
5
  export * as agents from "./agents";
4
6
  export * from "./agents/types";
5
7
  export * as groups from "./groups";
6
8
  export * from "./groups/types";
9
+ export * as identities from "./identities";
10
+ export * from "./identities/types";
11
+ export * as blocks from "./blocks";
12
+ export * from "./blocks/types";
13
+ export * as providers from "./providers";
14
+ export * from "./providers/types";
7
15
  export * as runs from "./runs";
8
16
  export * from "./runs/types";
9
17
  export * as steps from "./steps";
@@ -19,13 +27,9 @@ export * from "./clientSideAccessTokens/types";
19
27
  export * as projects from "./projects";
20
28
  export * from "./projects/types";
21
29
  export * as sources from "./sources";
22
- export * as folders from "./folders";
23
- export * as identities from "./identities";
24
30
  export * as models from "./models";
25
- export * as blocks from "./blocks";
26
31
  export * as jobs from "./jobs";
27
32
  export * as health from "./health";
28
- export * as providers from "./providers";
29
33
  export * as telemetry from "./telemetry";
30
34
  export * as voice from "./voice";
31
35
  export * from "./tools/client/requests";
@@ -36,13 +36,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.voice = exports.telemetry = exports.providers = exports.health = exports.jobs = exports.blocks = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = exports.groups = exports.agents = exports.tools = void 0;
39
+ exports.voice = exports.telemetry = exports.health = exports.jobs = exports.models = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.blocks = exports.identities = exports.groups = exports.agents = exports.folders = exports.tools = void 0;
40
40
  exports.tools = __importStar(require("./tools"));
41
41
  __exportStar(require("./tools/types"), exports);
42
+ exports.folders = __importStar(require("./folders"));
43
+ __exportStar(require("./folders/types"), exports);
42
44
  exports.agents = __importStar(require("./agents"));
43
45
  __exportStar(require("./agents/types"), exports);
44
46
  exports.groups = __importStar(require("./groups"));
45
47
  __exportStar(require("./groups/types"), exports);
48
+ exports.identities = __importStar(require("./identities"));
49
+ __exportStar(require("./identities/types"), exports);
50
+ exports.blocks = __importStar(require("./blocks"));
51
+ __exportStar(require("./blocks/types"), exports);
52
+ exports.providers = __importStar(require("./providers"));
53
+ __exportStar(require("./providers/types"), exports);
46
54
  exports.runs = __importStar(require("./runs"));
47
55
  __exportStar(require("./runs/types"), exports);
48
56
  exports.steps = __importStar(require("./steps"));
@@ -58,13 +66,9 @@ __exportStar(require("./clientSideAccessTokens/types"), exports);
58
66
  exports.projects = __importStar(require("./projects"));
59
67
  __exportStar(require("./projects/types"), exports);
60
68
  exports.sources = __importStar(require("./sources"));
61
- exports.folders = __importStar(require("./folders"));
62
- exports.identities = __importStar(require("./identities"));
63
69
  exports.models = __importStar(require("./models"));
64
- exports.blocks = __importStar(require("./blocks"));
65
70
  exports.jobs = __importStar(require("./jobs"));
66
71
  exports.health = __importStar(require("./health"));
67
- exports.providers = __importStar(require("./providers"));
68
72
  exports.telemetry = __importStar(require("./telemetry"));
69
73
  exports.voice = __importStar(require("./voice"));
70
74
  __exportStar(require("./tools/client/requests"), exports);