@letta-ai/letta-client 0.1.98 → 0.1.100

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 (767) hide show
  1. package/Client.d.ts +9 -0
  2. package/Client.js +39 -24
  3. package/api/resources/agents/client/Client.d.ts +13 -44
  4. package/api/resources/agents/client/Client.js +63 -228
  5. package/api/resources/agents/client/requests/index.d.ts +0 -3
  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/groups/client/Client.d.ts +45 -0
  10. package/api/resources/agents/resources/groups/client/Client.js +141 -0
  11. package/api/resources/agents/{client/requests/ListAgentGroupsRequest.d.ts → resources/groups/client/requests/GroupsListRequest.d.ts} +1 -1
  12. package/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
  13. package/api/resources/agents/resources/index.d.ts +2 -0
  14. package/api/resources/agents/resources/index.js +3 -1
  15. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  16. package/api/resources/agents/resources/messages/client/Client.d.ts +13 -0
  17. package/api/resources/agents/resources/messages/client/Client.js +77 -5
  18. package/{dist/api/resources/agents/client/requests/ResetMessagesRequest.d.ts → api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts} +1 -1
  19. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  20. package/api/resources/agents/resources/passages/client/Client.d.ts +16 -0
  21. package/api/resources/agents/resources/passages/client/Client.js +73 -3
  22. package/api/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +1 -1
  23. package/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  24. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  25. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  26. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  27. package/api/resources/{messages/resources/batches → batches}/client/Client.d.ts +9 -9
  28. package/api/resources/{messages/resources/batches → batches}/client/Client.js +16 -16
  29. package/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.d.ts +1 -1
  30. package/api/resources/blocks/client/Client.d.ts +3 -13
  31. package/api/resources/blocks/client/Client.js +10 -71
  32. package/api/resources/blocks/index.d.ts +1 -0
  33. package/api/resources/blocks/index.js +1 -0
  34. package/api/resources/blocks/resources/agents/client/Client.d.ts +45 -0
  35. package/api/resources/blocks/resources/agents/client/Client.js +135 -0
  36. package/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
  37. package/api/resources/blocks/resources/agents/client/index.js +2 -0
  38. package/api/resources/blocks/resources/index.d.ts +1 -0
  39. package/api/resources/blocks/resources/index.js +37 -0
  40. package/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -5
  41. package/api/resources/clientSideAccessTokens/client/Client.js +9 -9
  42. package/api/resources/clientSideAccessTokens/client/requests/{ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts → ClientSideAccessTokensCreateRequest.d.ts} +2 -2
  43. package/api/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
  44. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +9 -0
  45. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
  46. package/{dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js → api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js} +2 -2
  47. package/{dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts → api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts} +2 -2
  48. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +8 -0
  49. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +9 -0
  50. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
  51. package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js → ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js} +2 -2
  52. package/api/resources/clientSideAccessTokens/types/index.d.ts +6 -6
  53. package/api/resources/clientSideAccessTokens/types/index.js +6 -6
  54. package/api/resources/embeddings/client/Client.d.ts +39 -0
  55. package/api/resources/embeddings/client/Client.js +117 -0
  56. package/api/resources/embeddings/client/index.d.ts +1 -0
  57. package/api/resources/embeddings/client/index.js +2 -0
  58. package/api/resources/groups/client/Client.d.ts +0 -12
  59. package/api/resources/groups/client/Client.js +5 -64
  60. package/api/resources/groups/resources/messages/client/Client.d.ts +12 -0
  61. package/api/resources/groups/resources/messages/client/Client.js +63 -4
  62. package/api/resources/health/client/Client.js +1 -1
  63. package/api/resources/identities/client/Client.d.ts +3 -15
  64. package/api/resources/identities/client/Client.js +11 -71
  65. package/api/resources/identities/index.d.ts +1 -0
  66. package/api/resources/identities/index.js +1 -0
  67. package/api/resources/identities/resources/index.d.ts +1 -0
  68. package/api/resources/identities/resources/index.js +37 -0
  69. package/api/resources/identities/resources/properties/client/Client.d.ts +47 -0
  70. package/api/resources/identities/resources/properties/client/Client.js +134 -0
  71. package/api/resources/identities/resources/properties/client/index.d.ts +1 -0
  72. package/api/resources/identities/resources/properties/client/index.js +2 -0
  73. package/api/resources/identities/resources/properties/index.d.ts +1 -0
  74. package/api/resources/identities/resources/properties/index.js +17 -0
  75. package/api/resources/index.d.ts +4 -0
  76. package/api/resources/index.js +5 -1
  77. package/api/resources/jobs/client/Client.js +4 -4
  78. package/api/resources/messages/client/Client.d.ts +0 -3
  79. package/api/resources/messages/client/Client.js +1 -6
  80. package/api/resources/messages/index.d.ts +0 -1
  81. package/api/resources/messages/index.js +0 -1
  82. package/api/resources/models/client/Client.d.ts +2 -9
  83. package/api/resources/models/client/Client.js +4 -53
  84. package/api/resources/projects/client/Client.d.ts +3 -3
  85. package/api/resources/projects/client/Client.js +5 -5
  86. package/{dist/api/resources/projects/client/requests/ProjectsListProjectsRequest.d.ts → api/resources/projects/client/requests/ProjectsListRequest.d.ts} +1 -1
  87. package/api/resources/projects/client/requests/index.d.ts +1 -1
  88. package/api/resources/projects/types/{ProjectsListProjectsResponse.d.ts → ProjectsListResponse.d.ts} +2 -2
  89. package/api/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +1 -1
  90. package/api/resources/projects/types/index.d.ts +2 -2
  91. package/api/resources/projects/types/index.js +2 -2
  92. package/api/resources/providers/client/Client.d.ts +21 -5
  93. package/api/resources/providers/client/Client.js +98 -10
  94. package/{dist/api/resources/providers/client/requests/ListProvidersRequest.d.ts → api/resources/providers/client/requests/ProvidersListRequest.d.ts} +1 -1
  95. package/api/resources/providers/client/requests/index.d.ts +1 -1
  96. package/api/resources/runs/client/Client.d.ts +18 -63
  97. package/api/resources/runs/client/Client.js +36 -231
  98. package/api/resources/runs/client/requests/{ListActiveRunsRequest.d.ts → RunsListActiveRequest.d.ts} +1 -1
  99. package/api/resources/runs/client/requests/index.d.ts +1 -3
  100. package/api/resources/runs/index.d.ts +1 -0
  101. package/api/resources/runs/index.js +1 -0
  102. package/api/resources/runs/resources/index.d.ts +5 -0
  103. package/api/resources/runs/resources/index.js +44 -0
  104. package/api/resources/runs/resources/messages/client/Client.d.ts +58 -0
  105. package/api/resources/runs/resources/messages/client/Client.js +166 -0
  106. package/{dist/api/resources/runs/client/requests/ListRunMessagesRequest.d.ts → api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts} +2 -2
  107. package/api/resources/runs/resources/messages/client/requests/index.d.ts +1 -0
  108. package/api/resources/runs/resources/messages/client/requests/index.js +2 -0
  109. package/api/resources/runs/resources/messages/index.d.ts +1 -0
  110. package/api/resources/runs/resources/messages/index.js +17 -0
  111. package/api/resources/runs/resources/steps/client/Client.d.ts +55 -0
  112. package/api/resources/runs/resources/steps/client/Client.js +160 -0
  113. package/{dist/api/resources/runs/client/requests/ListRunStepsRequest.d.ts → api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts} +1 -1
  114. package/api/resources/runs/resources/steps/client/requests/index.d.ts +1 -0
  115. package/api/resources/runs/resources/steps/client/requests/index.js +2 -0
  116. package/api/resources/runs/resources/steps/index.d.ts +1 -0
  117. package/api/resources/runs/resources/steps/index.js +17 -0
  118. package/api/resources/runs/resources/usage/client/Client.d.ts +44 -0
  119. package/api/resources/runs/resources/usage/client/Client.js +134 -0
  120. package/api/resources/runs/resources/usage/client/index.d.ts +1 -0
  121. package/api/resources/runs/resources/usage/client/index.js +2 -0
  122. package/api/resources/runs/resources/usage/index.d.ts +1 -0
  123. package/api/resources/runs/resources/usage/index.js +17 -0
  124. package/api/resources/sources/client/Client.d.ts +2 -2
  125. package/api/resources/sources/client/Client.js +9 -9
  126. package/api/resources/sources/resources/files/client/Client.js +3 -3
  127. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  128. package/api/resources/steps/client/Client.d.ts +9 -2
  129. package/api/resources/steps/client/Client.js +47 -4
  130. package/api/resources/tag/client/Client.js +1 -1
  131. package/api/resources/tags/client/Client.d.ts +38 -0
  132. package/api/resources/tags/client/Client.js +110 -0
  133. package/api/resources/tags/client/index.d.ts +1 -0
  134. package/api/resources/tags/client/index.js +2 -0
  135. package/api/resources/tags/index.d.ts +1 -0
  136. package/api/resources/tags/index.js +17 -0
  137. package/api/resources/templates/client/Client.d.ts +6 -15
  138. package/api/resources/templates/client/Client.js +10 -60
  139. package/api/resources/templates/client/requests/{TemplatesListTemplatesRequest.d.ts → TemplatesListRequest.d.ts} +1 -1
  140. package/api/resources/templates/client/requests/index.d.ts +1 -2
  141. package/api/resources/templates/index.d.ts +1 -0
  142. package/api/resources/templates/index.js +1 -0
  143. package/api/resources/templates/resources/agents/client/Client.d.ts +44 -0
  144. package/api/resources/templates/resources/agents/client/Client.js +123 -0
  145. package/api/resources/templates/resources/agents/client/index.d.ts +1 -0
  146. package/api/resources/templates/resources/agents/client/index.js +17 -0
  147. package/{dist/api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts → api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts} +1 -1
  148. package/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
  149. package/api/resources/templates/resources/agents/client/requests/index.js +2 -0
  150. package/api/resources/templates/resources/agents/index.d.ts +2 -0
  151. package/api/resources/templates/resources/agents/index.js +18 -0
  152. package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponse.d.ts → api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts} +2 -2
  153. package/api/resources/templates/resources/agents/types/index.d.ts +1 -0
  154. package/api/resources/templates/resources/agents/types/index.js +17 -0
  155. package/api/resources/templates/resources/index.d.ts +3 -0
  156. package/api/resources/{messages → templates}/resources/index.js +4 -3
  157. package/{dist/api/resources/projects/types/ProjectsListProjectsResponse.d.ts → api/resources/templates/types/TemplatesListResponse.d.ts} +2 -2
  158. package/api/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.d.ts → TemplatesListResponseTemplatesItem.d.ts} +1 -1
  159. package/api/resources/templates/types/index.d.ts +2 -3
  160. package/api/resources/templates/types/index.js +2 -3
  161. package/api/resources/tools/client/Client.d.ts +2 -2
  162. package/api/resources/tools/client/Client.js +19 -19
  163. package/api/resources/voice/client/Client.js +1 -1
  164. package/dist/Client.d.ts +9 -0
  165. package/dist/Client.js +39 -24
  166. package/dist/api/resources/agents/client/Client.d.ts +13 -44
  167. package/dist/api/resources/agents/client/Client.js +63 -228
  168. package/dist/api/resources/agents/client/requests/index.d.ts +0 -3
  169. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  170. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  171. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  172. package/dist/api/resources/agents/resources/groups/client/Client.d.ts +45 -0
  173. package/dist/api/resources/agents/resources/groups/client/Client.js +141 -0
  174. package/dist/api/resources/agents/resources/groups/client/index.d.ts +1 -0
  175. package/dist/api/resources/agents/resources/groups/client/index.js +17 -0
  176. package/dist/api/resources/agents/{client/requests/ListAgentGroupsRequest.d.ts → resources/groups/client/requests/GroupsListRequest.d.ts} +1 -1
  177. package/dist/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
  178. package/dist/api/resources/agents/resources/groups/client/requests/index.js +2 -0
  179. package/dist/api/resources/agents/resources/groups/index.d.ts +1 -0
  180. package/dist/api/resources/agents/resources/groups/index.js +17 -0
  181. package/dist/api/resources/agents/resources/index.d.ts +2 -0
  182. package/dist/api/resources/agents/resources/index.js +3 -1
  183. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  184. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +13 -0
  185. package/dist/api/resources/agents/resources/messages/client/Client.js +77 -5
  186. package/{api/resources/agents/client/requests/ResetMessagesRequest.d.ts → dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts} +1 -1
  187. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  188. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +16 -0
  189. package/dist/api/resources/agents/resources/passages/client/Client.js +73 -3
  190. package/dist/api/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +1 -1
  191. package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  192. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  193. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  194. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  195. package/dist/api/resources/{messages/resources/batches → batches}/client/Client.d.ts +9 -9
  196. package/dist/api/resources/{messages/resources/batches → batches}/client/Client.js +16 -16
  197. package/dist/api/resources/batches/client/index.d.ts +1 -0
  198. package/dist/api/resources/batches/client/index.js +17 -0
  199. package/dist/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.d.ts +1 -1
  200. package/dist/api/resources/batches/client/requests/index.js +2 -0
  201. package/dist/api/resources/batches/index.d.ts +1 -0
  202. package/dist/api/resources/batches/index.js +17 -0
  203. package/dist/api/resources/blocks/client/Client.d.ts +3 -13
  204. package/dist/api/resources/blocks/client/Client.js +10 -71
  205. package/dist/api/resources/blocks/index.d.ts +1 -0
  206. package/dist/api/resources/blocks/index.js +1 -0
  207. package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +45 -0
  208. package/dist/api/resources/blocks/resources/agents/client/Client.js +135 -0
  209. package/dist/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
  210. package/dist/api/resources/blocks/resources/agents/client/index.js +2 -0
  211. package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
  212. package/dist/api/resources/blocks/resources/agents/index.js +17 -0
  213. package/dist/api/resources/blocks/resources/index.d.ts +1 -0
  214. package/dist/api/resources/blocks/resources/index.js +37 -0
  215. package/dist/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -5
  216. package/dist/api/resources/clientSideAccessTokens/client/Client.js +9 -9
  217. package/dist/api/resources/clientSideAccessTokens/client/requests/{ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts → ClientSideAccessTokensCreateRequest.d.ts} +2 -2
  218. package/dist/api/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
  219. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +9 -0
  220. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
  221. package/{api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js → dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js} +2 -2
  222. package/{api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts → dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts} +2 -2
  223. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +8 -0
  224. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +9 -0
  225. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
  226. package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js → ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js} +2 -2
  227. package/dist/api/resources/clientSideAccessTokens/types/index.d.ts +6 -6
  228. package/dist/api/resources/clientSideAccessTokens/types/index.js +6 -6
  229. package/dist/api/resources/embeddings/client/Client.d.ts +39 -0
  230. package/dist/api/resources/embeddings/client/Client.js +117 -0
  231. package/dist/api/resources/embeddings/client/index.d.ts +1 -0
  232. package/dist/api/resources/embeddings/client/index.js +2 -0
  233. package/dist/api/resources/embeddings/index.d.ts +1 -0
  234. package/dist/api/resources/embeddings/index.js +17 -0
  235. package/dist/api/resources/groups/client/Client.d.ts +0 -12
  236. package/dist/api/resources/groups/client/Client.js +5 -64
  237. package/dist/api/resources/groups/resources/messages/client/Client.d.ts +12 -0
  238. package/dist/api/resources/groups/resources/messages/client/Client.js +63 -4
  239. package/dist/api/resources/health/client/Client.js +1 -1
  240. package/dist/api/resources/identities/client/Client.d.ts +3 -15
  241. package/dist/api/resources/identities/client/Client.js +11 -71
  242. package/dist/api/resources/identities/index.d.ts +1 -0
  243. package/dist/api/resources/identities/index.js +1 -0
  244. package/dist/api/resources/identities/resources/index.d.ts +1 -0
  245. package/dist/api/resources/identities/resources/index.js +37 -0
  246. package/dist/api/resources/identities/resources/properties/client/Client.d.ts +47 -0
  247. package/dist/api/resources/identities/resources/properties/client/Client.js +134 -0
  248. package/dist/api/resources/identities/resources/properties/client/index.d.ts +1 -0
  249. package/dist/api/resources/identities/resources/properties/client/index.js +2 -0
  250. package/dist/api/resources/identities/resources/properties/index.d.ts +1 -0
  251. package/dist/api/resources/identities/resources/properties/index.js +17 -0
  252. package/dist/api/resources/index.d.ts +4 -0
  253. package/dist/api/resources/index.js +5 -1
  254. package/dist/api/resources/jobs/client/Client.js +4 -4
  255. package/dist/api/resources/messages/client/Client.d.ts +0 -3
  256. package/dist/api/resources/messages/client/Client.js +1 -6
  257. package/dist/api/resources/messages/index.d.ts +0 -1
  258. package/dist/api/resources/messages/index.js +0 -1
  259. package/dist/api/resources/models/client/Client.d.ts +2 -9
  260. package/dist/api/resources/models/client/Client.js +4 -53
  261. package/dist/api/resources/projects/client/Client.d.ts +3 -3
  262. package/dist/api/resources/projects/client/Client.js +5 -5
  263. package/{api/resources/projects/client/requests/ProjectsListProjectsRequest.d.ts → dist/api/resources/projects/client/requests/ProjectsListRequest.d.ts} +1 -1
  264. package/dist/api/resources/projects/client/requests/index.d.ts +1 -1
  265. package/{api/resources/templates/types/TemplatesListTemplatesResponse.d.ts → dist/api/resources/projects/types/ProjectsListResponse.d.ts} +2 -2
  266. package/dist/api/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +1 -1
  267. package/dist/api/resources/projects/types/index.d.ts +2 -2
  268. package/dist/api/resources/projects/types/index.js +2 -2
  269. package/dist/api/resources/providers/client/Client.d.ts +21 -5
  270. package/dist/api/resources/providers/client/Client.js +98 -10
  271. package/{api/resources/providers/client/requests/ListProvidersRequest.d.ts → dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts} +1 -1
  272. package/dist/api/resources/providers/client/requests/index.d.ts +1 -1
  273. package/dist/api/resources/runs/client/Client.d.ts +18 -63
  274. package/dist/api/resources/runs/client/Client.js +36 -231
  275. package/dist/api/resources/runs/client/requests/{ListActiveRunsRequest.d.ts → RunsListActiveRequest.d.ts} +1 -1
  276. package/dist/api/resources/runs/client/requests/index.d.ts +1 -3
  277. package/dist/api/resources/runs/index.d.ts +1 -0
  278. package/dist/api/resources/runs/index.js +1 -0
  279. package/dist/api/resources/runs/resources/index.d.ts +5 -0
  280. package/dist/api/resources/runs/resources/index.js +44 -0
  281. package/dist/api/resources/runs/resources/messages/client/Client.d.ts +58 -0
  282. package/dist/api/resources/runs/resources/messages/client/Client.js +166 -0
  283. package/dist/api/resources/runs/resources/messages/client/index.d.ts +1 -0
  284. package/dist/api/resources/runs/resources/messages/client/index.js +17 -0
  285. package/{api/resources/runs/client/requests/ListRunMessagesRequest.d.ts → dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts} +2 -2
  286. package/dist/api/resources/runs/resources/messages/client/requests/index.d.ts +1 -0
  287. package/dist/api/resources/runs/resources/messages/client/requests/index.js +2 -0
  288. package/dist/api/resources/runs/resources/messages/index.d.ts +1 -0
  289. package/dist/api/resources/runs/resources/messages/index.js +17 -0
  290. package/dist/api/resources/runs/resources/steps/client/Client.d.ts +55 -0
  291. package/dist/api/resources/runs/resources/steps/client/Client.js +160 -0
  292. package/dist/api/resources/runs/resources/steps/client/index.d.ts +1 -0
  293. package/dist/api/resources/runs/resources/steps/client/index.js +17 -0
  294. package/{api/resources/runs/client/requests/ListRunStepsRequest.d.ts → dist/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts} +1 -1
  295. package/dist/api/resources/runs/resources/steps/client/requests/index.d.ts +1 -0
  296. package/dist/api/resources/runs/resources/steps/client/requests/index.js +2 -0
  297. package/dist/api/resources/runs/resources/steps/index.d.ts +1 -0
  298. package/dist/api/resources/runs/resources/steps/index.js +17 -0
  299. package/dist/api/resources/runs/resources/usage/client/Client.d.ts +44 -0
  300. package/dist/api/resources/runs/resources/usage/client/Client.js +134 -0
  301. package/dist/api/resources/runs/resources/usage/client/index.d.ts +1 -0
  302. package/dist/api/resources/runs/resources/usage/client/index.js +2 -0
  303. package/dist/api/resources/runs/resources/usage/index.d.ts +1 -0
  304. package/dist/api/resources/runs/resources/usage/index.js +17 -0
  305. package/dist/api/resources/sources/client/Client.d.ts +2 -2
  306. package/dist/api/resources/sources/client/Client.js +9 -9
  307. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  308. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  309. package/dist/api/resources/steps/client/Client.d.ts +9 -2
  310. package/dist/api/resources/steps/client/Client.js +47 -4
  311. package/dist/api/resources/tag/client/Client.js +1 -1
  312. package/dist/api/resources/tags/client/Client.d.ts +38 -0
  313. package/dist/api/resources/tags/client/Client.js +110 -0
  314. package/dist/api/resources/tags/client/index.d.ts +1 -0
  315. package/dist/api/resources/tags/client/index.js +2 -0
  316. package/dist/api/resources/tags/index.d.ts +1 -0
  317. package/dist/api/resources/tags/index.js +17 -0
  318. package/dist/api/resources/templates/client/Client.d.ts +6 -15
  319. package/dist/api/resources/templates/client/Client.js +10 -60
  320. package/dist/api/resources/templates/client/requests/{TemplatesListTemplatesRequest.d.ts → TemplatesListRequest.d.ts} +1 -1
  321. package/dist/api/resources/templates/client/requests/index.d.ts +1 -2
  322. package/dist/api/resources/templates/index.d.ts +1 -0
  323. package/dist/api/resources/templates/index.js +1 -0
  324. package/dist/api/resources/templates/resources/agents/client/Client.d.ts +44 -0
  325. package/dist/api/resources/templates/resources/agents/client/Client.js +123 -0
  326. package/dist/api/resources/templates/resources/agents/client/index.d.ts +1 -0
  327. package/dist/api/resources/templates/resources/agents/client/index.js +17 -0
  328. package/{api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts → dist/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts} +1 -1
  329. package/dist/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
  330. package/dist/api/resources/templates/resources/agents/client/requests/index.js +2 -0
  331. package/dist/api/resources/templates/resources/agents/index.d.ts +2 -0
  332. package/dist/api/resources/templates/resources/agents/index.js +18 -0
  333. package/{api/resources/templates/types/TemplatesCreateAgentsResponse.d.ts → dist/api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts} +2 -2
  334. package/dist/api/resources/templates/resources/agents/types/index.d.ts +1 -0
  335. package/dist/api/resources/templates/resources/agents/types/index.js +17 -0
  336. package/dist/api/resources/templates/resources/index.d.ts +3 -0
  337. package/dist/{serialization/resources/messages → api/resources/templates}/resources/index.js +4 -3
  338. package/dist/api/resources/templates/types/{TemplatesListTemplatesResponse.d.ts → TemplatesListResponse.d.ts} +2 -2
  339. package/dist/api/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.d.ts → TemplatesListResponseTemplatesItem.d.ts} +1 -1
  340. package/dist/api/resources/templates/types/index.d.ts +2 -3
  341. package/dist/api/resources/templates/types/index.js +2 -3
  342. package/dist/api/resources/tools/client/Client.d.ts +2 -2
  343. package/dist/api/resources/tools/client/Client.js +19 -19
  344. package/dist/api/resources/voice/client/Client.js +1 -1
  345. package/dist/serialization/resources/agents/client/index.d.ts +0 -2
  346. package/dist/serialization/resources/agents/client/index.js +1 -3
  347. package/dist/serialization/resources/agents/client/requests/index.d.ts +0 -1
  348. package/dist/serialization/resources/agents/client/requests/index.js +1 -3
  349. package/dist/serialization/resources/agents/resources/groups/client/index.d.ts +1 -0
  350. package/dist/serialization/resources/agents/resources/groups/client/index.js +37 -0
  351. package/{serialization/resources/messages/resources/batches → dist/serialization/resources/agents/resources/groups}/client/list.d.ts +3 -3
  352. package/{serialization/resources/agents/client/listAgentGroups.js → dist/serialization/resources/agents/resources/groups/client/list.js} +2 -2
  353. package/dist/serialization/resources/agents/resources/groups/index.d.ts +1 -0
  354. package/dist/serialization/resources/agents/resources/groups/index.js +17 -0
  355. package/dist/serialization/resources/agents/resources/index.d.ts +1 -0
  356. package/dist/serialization/resources/agents/resources/index.js +2 -1
  357. package/dist/serialization/resources/agents/resources/passages/client/index.d.ts +1 -0
  358. package/dist/serialization/resources/agents/resources/passages/client/index.js +2 -1
  359. package/dist/serialization/resources/agents/resources/passages/client/modify.d.ts +11 -0
  360. package/{serialization/resources/agents/client/modifyPassage.js → dist/serialization/resources/agents/resources/passages/client/modify.js} +2 -2
  361. package/dist/serialization/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +5 -5
  362. package/{serialization/resources/agents → dist/serialization/resources/agents/resources/passages}/client/requests/PassageUpdate.js +2 -2
  363. package/dist/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  364. package/dist/serialization/resources/agents/resources/passages/client/requests/index.js +3 -1
  365. package/dist/serialization/resources/{agents/client/listAgentGroups.d.ts → batches/client/list.d.ts} +3 -3
  366. package/dist/serialization/resources/{agents/client/modifyPassage.js → batches/client/list.js} +2 -2
  367. package/dist/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
  368. package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +2 -2
  369. package/dist/serialization/resources/batches/index.d.ts +1 -0
  370. package/dist/serialization/resources/batches/index.js +17 -0
  371. package/dist/serialization/resources/blocks/client/index.d.ts +0 -1
  372. package/dist/serialization/resources/blocks/client/index.js +1 -2
  373. package/dist/serialization/resources/blocks/index.d.ts +1 -0
  374. package/dist/serialization/resources/blocks/index.js +1 -0
  375. package/dist/serialization/resources/blocks/resources/agents/client/index.d.ts +1 -0
  376. package/dist/serialization/resources/blocks/resources/agents/client/index.js +37 -0
  377. package/dist/serialization/resources/blocks/resources/agents/client/list.d.ts +11 -0
  378. package/dist/serialization/resources/blocks/{client/listAgentsForBlock.js → resources/agents/client/list.js} +2 -2
  379. package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
  380. package/dist/serialization/resources/blocks/resources/agents/index.js +17 -0
  381. package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
  382. package/dist/serialization/resources/blocks/resources/index.js +37 -0
  383. package/dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +15 -0
  384. package/{serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js} +4 -4
  385. package/dist/serialization/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
  386. package/dist/serialization/resources/clientSideAccessTokens/client/requests/index.js +3 -3
  387. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +15 -0
  388. package/{serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js} +4 -4
  389. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
  390. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js +41 -0
  391. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts +16 -0
  392. package/dist/serialization/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponse.js} +4 -4
  393. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +14 -0
  394. package/dist/serialization/resources/{templates/types/TemplatesListTemplatesResponse.js → clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js} +5 -5
  395. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +15 -0
  396. package/dist/serialization/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → ClientSideAccessTokensCreateResponsePolicyDataItem.js} +4 -4
  397. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
  398. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +41 -0
  399. package/dist/serialization/resources/clientSideAccessTokens/types/index.d.ts +6 -6
  400. package/dist/serialization/resources/clientSideAccessTokens/types/index.js +6 -6
  401. package/dist/serialization/resources/embeddings/client/index.d.ts +1 -0
  402. package/dist/serialization/resources/embeddings/client/index.js +37 -0
  403. package/{serialization/resources/models/client/listEmbeddingModels.d.ts → dist/serialization/resources/embeddings/client/list.d.ts} +1 -1
  404. package/dist/serialization/resources/embeddings/index.d.ts +1 -0
  405. package/dist/serialization/resources/embeddings/index.js +17 -0
  406. package/dist/serialization/resources/identities/client/index.d.ts +0 -1
  407. package/dist/serialization/resources/identities/client/index.js +1 -2
  408. package/dist/serialization/resources/identities/index.d.ts +1 -0
  409. package/dist/serialization/resources/identities/index.js +1 -0
  410. package/dist/serialization/resources/identities/resources/index.d.ts +1 -0
  411. package/dist/serialization/resources/identities/resources/index.js +37 -0
  412. package/dist/serialization/resources/identities/resources/properties/client/index.d.ts +1 -0
  413. package/dist/serialization/resources/identities/resources/properties/client/index.js +37 -0
  414. package/dist/serialization/resources/identities/resources/properties/client/upsert.d.ts +11 -0
  415. package/dist/serialization/resources/identities/{client/upsertIdentityProperties.js → resources/properties/client/upsert.js} +2 -2
  416. package/dist/serialization/resources/identities/resources/properties/index.d.ts +1 -0
  417. package/dist/serialization/resources/identities/resources/properties/index.js +17 -0
  418. package/dist/serialization/resources/index.d.ts +3 -2
  419. package/dist/serialization/resources/index.js +4 -3
  420. package/dist/serialization/resources/models/client/index.d.ts +1 -2
  421. package/dist/serialization/resources/models/client/index.js +2 -3
  422. package/{serialization/resources/models/client/listLlms.d.ts → dist/serialization/resources/models/client/list.d.ts} +1 -1
  423. package/dist/serialization/resources/projects/types/ProjectsListResponse.d.ts +14 -0
  424. package/dist/serialization/resources/projects/types/{ProjectsListProjectsResponse.js → ProjectsListResponse.js} +4 -4
  425. package/dist/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +2 -2
  426. package/dist/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.js → ProjectsListResponseProjectsItem.js} +2 -2
  427. package/dist/serialization/resources/projects/types/index.d.ts +2 -2
  428. package/dist/serialization/resources/projects/types/index.js +2 -2
  429. package/dist/serialization/resources/providers/client/index.d.ts +1 -1
  430. package/dist/serialization/resources/providers/client/index.js +2 -2
  431. package/{serialization/resources/providers/client/listProviders.d.ts → dist/serialization/resources/providers/client/list.d.ts} +1 -1
  432. package/dist/serialization/resources/runs/client/index.d.ts +1 -3
  433. package/dist/serialization/resources/runs/client/index.js +2 -4
  434. package/{serialization/resources/runs/client/listActiveRuns.d.ts → dist/serialization/resources/runs/client/listActive.d.ts} +1 -1
  435. package/dist/serialization/resources/runs/index.d.ts +1 -0
  436. package/dist/serialization/resources/runs/index.js +1 -0
  437. package/dist/serialization/resources/runs/resources/index.d.ts +2 -0
  438. package/dist/serialization/resources/runs/resources/index.js +38 -0
  439. package/dist/serialization/resources/runs/resources/messages/client/index.d.ts +1 -0
  440. package/dist/serialization/resources/runs/resources/messages/client/index.js +37 -0
  441. package/dist/serialization/resources/runs/resources/messages/client/list.d.ts +11 -0
  442. package/dist/serialization/resources/runs/{client/listRunMessages.js → resources/messages/client/list.js} +2 -2
  443. package/dist/serialization/resources/runs/resources/messages/index.d.ts +1 -0
  444. package/dist/serialization/resources/runs/resources/messages/index.js +17 -0
  445. package/dist/serialization/resources/runs/resources/steps/client/index.d.ts +1 -0
  446. package/dist/serialization/resources/runs/resources/steps/client/index.js +37 -0
  447. package/dist/serialization/resources/{messages/resources/batches → runs/resources/steps}/client/list.d.ts +3 -3
  448. package/dist/serialization/resources/runs/{client/listRunSteps.js → resources/steps/client/list.js} +2 -2
  449. package/dist/serialization/resources/runs/resources/steps/index.d.ts +1 -0
  450. package/dist/serialization/resources/runs/resources/steps/index.js +17 -0
  451. package/dist/serialization/resources/sources/client/index.d.ts +1 -1
  452. package/dist/serialization/resources/sources/client/index.js +2 -2
  453. package/dist/serialization/resources/sources/client/{getByName.d.ts → retrieveByName.d.ts} +1 -1
  454. package/dist/serialization/resources/templates/index.d.ts +1 -1
  455. package/dist/serialization/resources/templates/index.js +1 -1
  456. package/dist/serialization/resources/templates/resources/agents/client/index.d.ts +1 -0
  457. package/dist/serialization/resources/templates/resources/agents/client/index.js +17 -0
  458. package/dist/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +16 -0
  459. package/dist/serialization/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +3 -3
  460. package/dist/serialization/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
  461. package/dist/serialization/resources/templates/resources/agents/client/requests/index.js +5 -0
  462. package/dist/serialization/resources/templates/resources/agents/index.d.ts +2 -0
  463. package/dist/serialization/resources/templates/resources/agents/index.js +18 -0
  464. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
  465. package/{serialization/resources/messages/resources/batches/client/list.js → dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js} +5 -3
  466. package/dist/serialization/resources/templates/resources/agents/types/index.d.ts +1 -0
  467. package/dist/serialization/resources/templates/resources/agents/types/index.js +17 -0
  468. package/dist/serialization/resources/templates/resources/index.d.ts +3 -0
  469. package/dist/{api/resources/messages → serialization/resources/templates}/resources/index.js +4 -3
  470. package/dist/serialization/resources/templates/types/TemplatesListResponse.d.ts +14 -0
  471. package/{serialization/resources/projects/types/ProjectsListProjectsResponse.js → dist/serialization/resources/templates/types/TemplatesListResponse.js} +4 -4
  472. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +13 -0
  473. package/dist/serialization/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.js → TemplatesListResponseTemplatesItem.js} +2 -2
  474. package/dist/serialization/resources/templates/types/index.d.ts +2 -3
  475. package/dist/serialization/resources/templates/types/index.js +2 -3
  476. package/dist/serialization/resources/tools/client/index.d.ts +1 -1
  477. package/dist/serialization/resources/tools/client/index.js +2 -2
  478. package/{serialization/resources/tools/client/addBaseTool.d.ts → dist/serialization/resources/tools/client/upsertBaseTools.d.ts} +1 -1
  479. package/dist/version.d.ts +1 -1
  480. package/dist/version.js +1 -1
  481. package/package.json +1 -1
  482. package/reference.md +921 -639
  483. package/serialization/resources/agents/client/index.d.ts +0 -2
  484. package/serialization/resources/agents/client/index.js +1 -3
  485. package/serialization/resources/agents/client/requests/index.d.ts +0 -1
  486. package/serialization/resources/agents/client/requests/index.js +1 -3
  487. package/serialization/resources/agents/resources/groups/client/index.d.ts +1 -0
  488. package/serialization/resources/agents/resources/groups/client/index.js +37 -0
  489. package/serialization/resources/agents/resources/groups/client/list.d.ts +11 -0
  490. package/{dist/serialization/resources/agents/client/listAgentGroups.js → serialization/resources/agents/resources/groups/client/list.js} +2 -2
  491. package/serialization/resources/agents/resources/groups/index.d.ts +1 -0
  492. package/serialization/resources/agents/resources/groups/index.js +17 -0
  493. package/serialization/resources/agents/resources/index.d.ts +1 -0
  494. package/serialization/resources/agents/resources/index.js +2 -1
  495. package/serialization/resources/agents/resources/passages/client/index.d.ts +1 -0
  496. package/serialization/resources/agents/resources/passages/client/index.js +2 -1
  497. package/serialization/resources/agents/resources/passages/client/modify.d.ts +11 -0
  498. package/{dist/serialization/resources/messages/resources/batches/client/list.js → serialization/resources/agents/resources/passages/client/modify.js} +2 -2
  499. package/serialization/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +5 -5
  500. package/{dist/serialization/resources/agents → serialization/resources/agents/resources/passages}/client/requests/PassageUpdate.js +2 -2
  501. package/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  502. package/serialization/resources/agents/resources/passages/client/requests/index.js +3 -1
  503. package/{dist/serialization/resources/runs/client/listRunSteps.d.ts → serialization/resources/batches/client/list.d.ts} +3 -3
  504. package/serialization/resources/batches/client/list.js +42 -0
  505. package/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
  506. package/serialization/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +2 -2
  507. package/serialization/resources/batches/index.d.ts +1 -0
  508. package/serialization/resources/batches/index.js +17 -0
  509. package/serialization/resources/blocks/client/index.d.ts +0 -1
  510. package/serialization/resources/blocks/client/index.js +1 -2
  511. package/serialization/resources/blocks/index.d.ts +1 -0
  512. package/serialization/resources/blocks/index.js +1 -0
  513. package/serialization/resources/blocks/resources/agents/client/index.d.ts +1 -0
  514. package/serialization/resources/blocks/resources/agents/client/index.js +37 -0
  515. package/serialization/resources/blocks/resources/agents/client/list.d.ts +11 -0
  516. package/serialization/resources/blocks/{client/listAgentsForBlock.js → resources/agents/client/list.js} +2 -2
  517. package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
  518. package/serialization/resources/blocks/resources/agents/index.js +17 -0
  519. package/serialization/resources/blocks/resources/index.d.ts +1 -0
  520. package/serialization/resources/blocks/resources/index.js +37 -0
  521. package/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +15 -0
  522. package/{dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js} +4 -4
  523. package/serialization/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
  524. package/serialization/resources/clientSideAccessTokens/client/requests/index.js +3 -3
  525. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +15 -0
  526. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js +46 -0
  527. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
  528. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js +41 -0
  529. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts +16 -0
  530. package/serialization/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponse.js} +4 -4
  531. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +14 -0
  532. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js +45 -0
  533. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +15 -0
  534. package/{dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js → serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.js} +4 -4
  535. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
  536. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +41 -0
  537. package/serialization/resources/clientSideAccessTokens/types/index.d.ts +6 -6
  538. package/serialization/resources/clientSideAccessTokens/types/index.js +6 -6
  539. package/serialization/resources/embeddings/client/index.d.ts +1 -0
  540. package/serialization/resources/embeddings/client/index.js +37 -0
  541. package/{dist/serialization/resources/models/client/listEmbeddingModels.d.ts → serialization/resources/embeddings/client/list.d.ts} +1 -1
  542. package/serialization/resources/embeddings/index.d.ts +1 -0
  543. package/serialization/resources/embeddings/index.js +17 -0
  544. package/serialization/resources/identities/client/index.d.ts +0 -1
  545. package/serialization/resources/identities/client/index.js +1 -2
  546. package/serialization/resources/identities/index.d.ts +1 -0
  547. package/serialization/resources/identities/index.js +1 -0
  548. package/serialization/resources/identities/resources/index.d.ts +1 -0
  549. package/serialization/resources/identities/resources/index.js +37 -0
  550. package/serialization/resources/identities/resources/properties/client/index.d.ts +1 -0
  551. package/serialization/resources/identities/resources/properties/client/index.js +37 -0
  552. package/serialization/resources/identities/resources/properties/client/upsert.d.ts +11 -0
  553. package/serialization/resources/identities/{client/upsertIdentityProperties.js → resources/properties/client/upsert.js} +2 -2
  554. package/serialization/resources/identities/resources/properties/index.d.ts +1 -0
  555. package/serialization/resources/identities/resources/properties/index.js +17 -0
  556. package/serialization/resources/index.d.ts +3 -2
  557. package/serialization/resources/index.js +4 -3
  558. package/serialization/resources/models/client/index.d.ts +1 -2
  559. package/serialization/resources/models/client/index.js +2 -3
  560. package/{dist/serialization/resources/models/client/listLlms.d.ts → serialization/resources/models/client/list.d.ts} +1 -1
  561. package/serialization/resources/projects/types/ProjectsListResponse.d.ts +14 -0
  562. package/serialization/resources/projects/types/ProjectsListResponse.js +45 -0
  563. package/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +2 -2
  564. package/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.js → ProjectsListResponseProjectsItem.js} +2 -2
  565. package/serialization/resources/projects/types/index.d.ts +2 -2
  566. package/serialization/resources/projects/types/index.js +2 -2
  567. package/serialization/resources/providers/client/index.d.ts +1 -1
  568. package/serialization/resources/providers/client/index.js +2 -2
  569. package/{dist/serialization/resources/providers/client/listProviders.d.ts → serialization/resources/providers/client/list.d.ts} +1 -1
  570. package/serialization/resources/runs/client/index.d.ts +1 -3
  571. package/serialization/resources/runs/client/index.js +2 -4
  572. package/{dist/serialization/resources/runs/client/listActiveRuns.d.ts → serialization/resources/runs/client/listActive.d.ts} +1 -1
  573. package/serialization/resources/runs/index.d.ts +1 -0
  574. package/serialization/resources/runs/index.js +1 -0
  575. package/serialization/resources/runs/resources/index.d.ts +2 -0
  576. package/serialization/resources/runs/resources/index.js +38 -0
  577. package/serialization/resources/runs/resources/messages/client/index.d.ts +1 -0
  578. package/serialization/resources/runs/resources/messages/client/index.js +37 -0
  579. package/serialization/resources/runs/resources/messages/client/list.d.ts +11 -0
  580. package/serialization/resources/runs/{client/listRunMessages.js → resources/messages/client/list.js} +2 -2
  581. package/serialization/resources/runs/resources/messages/index.d.ts +1 -0
  582. package/serialization/resources/runs/resources/messages/index.js +17 -0
  583. package/serialization/resources/runs/resources/steps/client/index.d.ts +1 -0
  584. package/serialization/resources/runs/resources/steps/client/index.js +37 -0
  585. package/serialization/resources/runs/resources/steps/client/list.d.ts +11 -0
  586. package/serialization/resources/runs/{client/listRunSteps.js → resources/steps/client/list.js} +2 -2
  587. package/serialization/resources/runs/resources/steps/index.d.ts +1 -0
  588. package/serialization/resources/runs/resources/steps/index.js +17 -0
  589. package/serialization/resources/sources/client/index.d.ts +1 -1
  590. package/serialization/resources/sources/client/index.js +2 -2
  591. package/serialization/resources/sources/client/{getByName.d.ts → retrieveByName.d.ts} +1 -1
  592. package/serialization/resources/templates/index.d.ts +1 -1
  593. package/serialization/resources/templates/index.js +1 -1
  594. package/serialization/resources/templates/resources/agents/client/index.d.ts +1 -0
  595. package/serialization/resources/templates/resources/agents/client/index.js +17 -0
  596. package/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +16 -0
  597. package/serialization/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +3 -3
  598. package/serialization/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
  599. package/serialization/resources/templates/resources/agents/client/requests/index.js +5 -0
  600. package/serialization/resources/templates/resources/agents/index.d.ts +2 -0
  601. package/serialization/resources/templates/resources/agents/index.js +18 -0
  602. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
  603. package/{dist/serialization/resources/templates/types/TemplatesCreateAgentsResponse.js → serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js} +4 -4
  604. package/serialization/resources/templates/resources/agents/types/index.d.ts +1 -0
  605. package/serialization/resources/templates/resources/agents/types/index.js +17 -0
  606. package/serialization/resources/templates/resources/index.d.ts +3 -0
  607. package/serialization/resources/templates/resources/index.js +42 -0
  608. package/serialization/resources/templates/types/TemplatesListResponse.d.ts +14 -0
  609. package/serialization/resources/templates/types/{TemplatesListTemplatesResponse.js → TemplatesListResponse.js} +4 -4
  610. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +13 -0
  611. package/serialization/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.js → TemplatesListResponseTemplatesItem.js} +2 -2
  612. package/serialization/resources/templates/types/index.d.ts +2 -3
  613. package/serialization/resources/templates/types/index.js +2 -3
  614. package/serialization/resources/tools/client/index.d.ts +1 -1
  615. package/serialization/resources/tools/client/index.js +2 -2
  616. package/{dist/serialization/resources/tools/client/addBaseTool.d.ts → serialization/resources/tools/client/upsertBaseTools.d.ts} +1 -1
  617. package/version.d.ts +1 -1
  618. package/version.js +1 -1
  619. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -9
  620. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
  621. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -8
  622. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -9
  623. package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
  624. package/api/resources/messages/resources/index.d.ts +0 -2
  625. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -9
  626. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
  627. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -8
  628. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -9
  629. package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
  630. package/dist/api/resources/messages/resources/index.d.ts +0 -2
  631. package/dist/serialization/resources/agents/client/modifyPassage.d.ts +0 -11
  632. package/dist/serialization/resources/blocks/client/listAgentsForBlock.d.ts +0 -11
  633. package/dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts +0 -15
  634. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -15
  635. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
  636. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js +0 -41
  637. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts +0 -16
  638. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -14
  639. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js +0 -45
  640. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -15
  641. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
  642. package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js +0 -41
  643. package/dist/serialization/resources/identities/client/upsertIdentityProperties.d.ts +0 -11
  644. package/dist/serialization/resources/messages/index.d.ts +0 -1
  645. package/dist/serialization/resources/messages/index.js +0 -17
  646. package/dist/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +0 -14
  647. package/dist/serialization/resources/messages/resources/index.d.ts +0 -2
  648. package/dist/serialization/resources/projects/types/ProjectsListProjectsResponse.d.ts +0 -14
  649. package/dist/serialization/resources/runs/client/listRunMessages.d.ts +0 -11
  650. package/dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +0 -16
  651. package/dist/serialization/resources/templates/client/requests/index.d.ts +0 -1
  652. package/dist/serialization/resources/templates/client/requests/index.js +0 -5
  653. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponse.d.ts +0 -13
  654. package/dist/serialization/resources/templates/types/TemplatesListTemplatesResponse.d.ts +0 -14
  655. package/dist/serialization/resources/templates/types/TemplatesListTemplatesResponseTemplatesItem.d.ts +0 -13
  656. package/serialization/resources/agents/client/listAgentGroups.d.ts +0 -11
  657. package/serialization/resources/agents/client/modifyPassage.d.ts +0 -11
  658. package/serialization/resources/blocks/client/listAgentsForBlock.d.ts +0 -11
  659. package/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts +0 -15
  660. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -15
  661. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
  662. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js +0 -41
  663. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts +0 -16
  664. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -14
  665. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js +0 -45
  666. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -15
  667. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js +0 -46
  668. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
  669. package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js +0 -41
  670. package/serialization/resources/identities/client/upsertIdentityProperties.d.ts +0 -11
  671. package/serialization/resources/messages/index.d.ts +0 -1
  672. package/serialization/resources/messages/index.js +0 -17
  673. package/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +0 -14
  674. package/serialization/resources/messages/resources/index.d.ts +0 -2
  675. package/serialization/resources/messages/resources/index.js +0 -41
  676. package/serialization/resources/projects/types/ProjectsListProjectsResponse.d.ts +0 -14
  677. package/serialization/resources/runs/client/listRunMessages.d.ts +0 -11
  678. package/serialization/resources/runs/client/listRunSteps.d.ts +0 -11
  679. package/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +0 -16
  680. package/serialization/resources/templates/client/requests/index.d.ts +0 -1
  681. package/serialization/resources/templates/client/requests/index.js +0 -5
  682. package/serialization/resources/templates/types/TemplatesCreateAgentsResponse.d.ts +0 -13
  683. package/serialization/resources/templates/types/TemplatesCreateAgentsResponse.js +0 -44
  684. package/serialization/resources/templates/types/TemplatesListTemplatesResponse.d.ts +0 -14
  685. package/serialization/resources/templates/types/TemplatesListTemplatesResponseTemplatesItem.d.ts +0 -13
  686. /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/index.d.ts +0 -0
  687. /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/index.js +0 -0
  688. /package/api/resources/agents/{client/requests/ListAgentGroupsRequest.js → resources/groups/client/requests/GroupsListRequest.js} +0 -0
  689. /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/requests/index.js +0 -0
  690. /package/api/resources/{messages/resources/batches → agents/resources/groups}/index.d.ts +0 -0
  691. /package/api/resources/{messages/resources/batches → agents/resources/groups}/index.js +0 -0
  692. /package/api/resources/agents/{client/requests/PassageUpdate.js → resources/messages/client/requests/MessagesResetRequest.js} +0 -0
  693. /package/{dist/api/resources/agents → api/resources/agents/resources/passages}/client/requests/PassageUpdate.js +0 -0
  694. /package/{dist/api/resources/messages → api}/resources/batches/client/index.d.ts +0 -0
  695. /package/{dist/api/resources/messages → api}/resources/batches/client/index.js +0 -0
  696. /package/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +0 -0
  697. /package/api/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
  698. /package/{dist/api/resources/messages → api}/resources/batches/client/requests/index.js +0 -0
  699. /package/{dist/api/resources/messages → api}/resources/batches/index.d.ts +0 -0
  700. /package/{dist/api/resources/messages → api}/resources/batches/index.js +0 -0
  701. /package/{dist/serialization/resources/messages/resources/batches → api/resources/blocks/resources/agents}/index.d.ts +0 -0
  702. /package/{dist/serialization/resources/messages/resources/batches → api/resources/blocks/resources/agents}/index.js +0 -0
  703. /package/api/resources/{agents/client/requests/ResetMessagesRequest.js → clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js} +0 -0
  704. /package/api/resources/clientSideAccessTokens/{client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → types/ClientSideAccessTokensCreateRequestPolicyItem.js} +0 -0
  705. /package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → ClientSideAccessTokensCreateResponse.js} +0 -0
  706. /package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponsePolicy.js} +0 -0
  707. /package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js → ClientSideAccessTokensCreateResponsePolicyDataItem.js} +0 -0
  708. /package/{serialization/resources/messages/resources/batches → api/resources/embeddings}/index.d.ts +0 -0
  709. /package/{serialization/resources/messages/resources/batches → api/resources/embeddings}/index.js +0 -0
  710. /package/api/resources/{clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js → projects/client/requests/ProjectsListRequest.js} +0 -0
  711. /package/api/resources/projects/{client/requests/ProjectsListProjectsRequest.js → types/ProjectsListResponse.js} +0 -0
  712. /package/api/resources/projects/types/{ProjectsListProjectsResponse.js → ProjectsListResponseProjectsItem.js} +0 -0
  713. /package/api/resources/{projects/types/ProjectsListProjectsResponseProjectsItem.js → providers/client/requests/ProvidersListRequest.js} +0 -0
  714. /package/api/resources/{providers/client/requests/ListProvidersRequest.js → runs/client/requests/RunsListActiveRequest.js} +0 -0
  715. /package/{dist/serialization/resources/templates → api/resources/runs/resources/messages}/client/index.d.ts +0 -0
  716. /package/{dist/serialization/resources/templates → api/resources/runs/resources/messages}/client/index.js +0 -0
  717. /package/api/resources/runs/{client/requests/ListActiveRunsRequest.js → resources/messages/client/requests/MessagesListRequest.js} +0 -0
  718. /package/{serialization/resources/templates → api/resources/runs/resources/steps}/client/index.d.ts +0 -0
  719. /package/{serialization/resources/templates → api/resources/runs/resources/steps}/client/index.js +0 -0
  720. /package/api/resources/runs/{client/requests/ListRunMessagesRequest.js → resources/steps/client/requests/StepsListRequest.js} +0 -0
  721. /package/api/resources/{runs/client/requests/ListRunStepsRequest.js → templates/client/requests/TemplatesListRequest.js} +0 -0
  722. /package/api/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +0 -0
  723. /package/api/resources/templates/{client/requests/TemplatesListTemplatesRequest.js → resources/agents/types/AgentsCreateResponse.js} +0 -0
  724. /package/api/resources/templates/types/{TemplatesCreateAgentsResponse.js → TemplatesListResponse.js} +0 -0
  725. /package/api/resources/templates/types/{TemplatesListTemplatesResponse.js → TemplatesListResponseTemplatesItem.js} +0 -0
  726. /package/{api/resources/templates/types/TemplatesListTemplatesResponseTemplatesItem.js → dist/api/resources/agents/resources/groups/client/requests/GroupsListRequest.js} +0 -0
  727. /package/dist/api/resources/agents/{client/requests/ListAgentGroupsRequest.js → resources/messages/client/requests/MessagesResetRequest.js} +0 -0
  728. /package/dist/api/resources/agents/{client/requests/ResetMessagesRequest.js → resources/passages/client/requests/PassageUpdate.js} +0 -0
  729. /package/dist/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +0 -0
  730. /package/dist/api/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
  731. /package/dist/api/resources/clientSideAccessTokens/client/requests/{ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → ClientSideAccessTokensCreateRequest.js} +0 -0
  732. /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → ClientSideAccessTokensCreateRequestPolicyItem.js} +0 -0
  733. /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponse.js} +0 -0
  734. /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js → ClientSideAccessTokensCreateResponsePolicy.js} +0 -0
  735. /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js → ClientSideAccessTokensCreateResponsePolicyDataItem.js} +0 -0
  736. /package/dist/api/resources/projects/client/requests/{ProjectsListProjectsRequest.js → ProjectsListRequest.js} +0 -0
  737. /package/dist/api/resources/projects/types/{ProjectsListProjectsResponse.js → ProjectsListResponse.js} +0 -0
  738. /package/dist/api/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.js → ProjectsListResponseProjectsItem.js} +0 -0
  739. /package/dist/api/resources/providers/client/requests/{ListProvidersRequest.js → ProvidersListRequest.js} +0 -0
  740. /package/dist/api/resources/runs/client/requests/{ListActiveRunsRequest.js → RunsListActiveRequest.js} +0 -0
  741. /package/dist/api/resources/runs/{client/requests/ListRunMessagesRequest.js → resources/messages/client/requests/MessagesListRequest.js} +0 -0
  742. /package/dist/api/resources/runs/{client/requests/ListRunStepsRequest.js → resources/steps/client/requests/StepsListRequest.js} +0 -0
  743. /package/dist/api/resources/templates/client/requests/{TemplatesCreateAgentsRequest.js → TemplatesListRequest.js} +0 -0
  744. /package/dist/api/resources/templates/{client/requests/TemplatesListTemplatesRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +0 -0
  745. /package/dist/api/resources/templates/{types/TemplatesCreateAgentsResponse.js → resources/agents/types/AgentsCreateResponse.js} +0 -0
  746. /package/dist/api/resources/templates/types/{TemplatesListTemplatesResponse.js → TemplatesListResponse.js} +0 -0
  747. /package/dist/api/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.js → TemplatesListResponseTemplatesItem.js} +0 -0
  748. /package/dist/serialization/resources/{messages/resources/batches → batches}/client/index.d.ts +0 -0
  749. /package/dist/serialization/resources/{messages/resources/batches → batches}/client/index.js +0 -0
  750. /package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
  751. /package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/index.js +0 -0
  752. /package/dist/serialization/resources/{models/client/listEmbeddingModels.js → embeddings/client/list.js} +0 -0
  753. /package/dist/serialization/resources/models/client/{listLlms.js → list.js} +0 -0
  754. /package/dist/serialization/resources/providers/client/{listProviders.js → list.js} +0 -0
  755. /package/dist/serialization/resources/runs/client/{listActiveRuns.js → listActive.js} +0 -0
  756. /package/dist/serialization/resources/sources/client/{getByName.js → retrieveByName.js} +0 -0
  757. /package/dist/serialization/resources/tools/client/{addBaseTool.js → upsertBaseTools.js} +0 -0
  758. /package/serialization/resources/{messages/resources/batches → batches}/client/index.d.ts +0 -0
  759. /package/serialization/resources/{messages/resources/batches → batches}/client/index.js +0 -0
  760. /package/serialization/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
  761. /package/serialization/resources/{messages/resources/batches → batches}/client/requests/index.js +0 -0
  762. /package/serialization/resources/{models/client/listEmbeddingModels.js → embeddings/client/list.js} +0 -0
  763. /package/serialization/resources/models/client/{listLlms.js → list.js} +0 -0
  764. /package/serialization/resources/providers/client/{listProviders.js → list.js} +0 -0
  765. /package/serialization/resources/runs/client/{listActiveRuns.js → listActive.js} +0 -0
  766. /package/serialization/resources/sources/client/{getByName.js → retrieveByName.js} +0 -0
  767. /package/serialization/resources/tools/client/{addBaseTool.js → upsertBaseTools.js} +0 -0
@@ -0,0 +1,134 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ var __importDefault = (this && this.__importDefault) || function (mod) {
48
+ return (mod && mod.__esModule) ? mod : { "default": mod };
49
+ };
50
+ Object.defineProperty(exports, "__esModule", { value: true });
51
+ exports.Usage = void 0;
52
+ const environments = __importStar(require("../../../../../../environments"));
53
+ const core = __importStar(require("../../../../../../core"));
54
+ const Letta = __importStar(require("../../../../../index"));
55
+ const url_join_1 = __importDefault(require("url-join"));
56
+ const serializers = __importStar(require("../../../../../../serialization/index"));
57
+ const errors = __importStar(require("../../../../../../errors/index"));
58
+ class Usage {
59
+ constructor(_options = {}) {
60
+ this._options = _options;
61
+ }
62
+ /**
63
+ * Get usage statistics for a run.
64
+ *
65
+ * @param {string} runId
66
+ * @param {Usage.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Letta.UnprocessableEntityError}
69
+ *
70
+ * @example
71
+ * await client.runs.usage.retrieve("run_id")
72
+ */
73
+ retrieve(runId, requestOptions) {
74
+ return __awaiter(this, void 0, void 0, function* () {
75
+ var _a, _b, _c;
76
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
+ 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/runs/${encodeURIComponent(runId)}/usage`),
78
+ method: "GET",
79
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
80
+ contentType: "application/json",
81
+ requestType: "json",
82
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
83
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
84
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
85
+ });
86
+ if (_response.ok) {
87
+ return serializers.UsageStatistics.parseOrThrow(_response.body, {
88
+ unrecognizedObjectKeys: "passthrough",
89
+ allowUnrecognizedUnionMembers: true,
90
+ allowUnrecognizedEnumValues: true,
91
+ skipValidation: true,
92
+ breadcrumbsPrefix: ["response"],
93
+ });
94
+ }
95
+ if (_response.error.reason === "status-code") {
96
+ switch (_response.error.statusCode) {
97
+ case 422:
98
+ throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
99
+ unrecognizedObjectKeys: "passthrough",
100
+ allowUnrecognizedUnionMembers: true,
101
+ allowUnrecognizedEnumValues: true,
102
+ skipValidation: true,
103
+ breadcrumbsPrefix: ["response"],
104
+ }));
105
+ default:
106
+ throw new errors.LettaError({
107
+ statusCode: _response.error.statusCode,
108
+ body: _response.error.body,
109
+ });
110
+ }
111
+ }
112
+ switch (_response.error.reason) {
113
+ case "non-json":
114
+ throw new errors.LettaError({
115
+ statusCode: _response.error.statusCode,
116
+ body: _response.error.rawBody,
117
+ });
118
+ case "timeout":
119
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/runs/{run_id}/usage.");
120
+ case "unknown":
121
+ throw new errors.LettaError({
122
+ message: _response.error.errorMessage,
123
+ });
124
+ }
125
+ });
126
+ }
127
+ _getCustomAuthorizationHeaders() {
128
+ return __awaiter(this, void 0, void 0, function* () {
129
+ const tokenValue = yield core.Supplier.get(this._options.token);
130
+ return { Authorization: `Bearer ${tokenValue}` };
131
+ });
132
+ }
133
+ }
134
+ exports.Usage = Usage;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -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("./client"), exports);
@@ -78,9 +78,9 @@ export declare class Sources {
78
78
  * @throws {@link Letta.UnprocessableEntityError}
79
79
  *
80
80
  * @example
81
- * await client.sources.getByName("source_name")
81
+ * await client.sources.retrieveByName("source_name")
82
82
  */
83
- getByName(sourceName: string, requestOptions?: Sources.RequestOptions): Promise<string>;
83
+ retrieveByName(sourceName: string, requestOptions?: Sources.RequestOptions): Promise<string>;
84
84
  /**
85
85
  * List all data sources created by a user.
86
86
  *
@@ -86,7 +86,7 @@ class Sources {
86
86
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
87
87
  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/sources/${encodeURIComponent(sourceId)}`),
88
88
  method: "GET",
89
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
89
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
90
90
  contentType: "application/json",
91
91
  requestType: "json",
92
92
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -151,7 +151,7 @@ class Sources {
151
151
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
152
152
  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/sources/${encodeURIComponent(sourceId)}`),
153
153
  method: "DELETE",
154
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
154
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
155
155
  contentType: "application/json",
156
156
  requestType: "json",
157
157
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -211,7 +211,7 @@ class Sources {
211
211
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
212
212
  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/sources/${encodeURIComponent(sourceId)}`),
213
213
  method: "PATCH",
214
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
214
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
215
215
  contentType: "application/json",
216
216
  requestType: "json",
217
217
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -269,15 +269,15 @@ class Sources {
269
269
  * @throws {@link Letta.UnprocessableEntityError}
270
270
  *
271
271
  * @example
272
- * await client.sources.getByName("source_name")
272
+ * await client.sources.retrieveByName("source_name")
273
273
  */
274
- getByName(sourceName, requestOptions) {
274
+ retrieveByName(sourceName, requestOptions) {
275
275
  return __awaiter(this, void 0, void 0, function* () {
276
276
  var _a, _b, _c;
277
277
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
278
278
  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/sources/name/${encodeURIComponent(sourceName)}`),
279
279
  method: "GET",
280
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
281
281
  contentType: "application/json",
282
282
  requestType: "json",
283
283
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -285,7 +285,7 @@ class Sources {
285
285
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
286
286
  });
287
287
  if (_response.ok) {
288
- return serializers.sources.getByName.Response.parseOrThrow(_response.body, {
288
+ return serializers.sources.retrieveByName.Response.parseOrThrow(_response.body, {
289
289
  unrecognizedObjectKeys: "passthrough",
290
290
  allowUnrecognizedUnionMembers: true,
291
291
  allowUnrecognizedEnumValues: true,
@@ -341,7 +341,7 @@ class Sources {
341
341
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
342
342
  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/sources/"),
343
343
  method: "GET",
344
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
344
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
345
345
  contentType: "application/json",
346
346
  requestType: "json",
347
347
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -408,7 +408,7 @@ class Sources {
408
408
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
409
409
  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/sources/"),
410
410
  method: "POST",
411
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
411
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
412
412
  contentType: "application/json",
413
413
  requestType: "json",
414
414
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -80,7 +80,7 @@ class Files {
80
80
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
81
81
  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/sources/${encodeURIComponent(sourceId)}/upload`),
82
82
  method: "POST",
83
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
83
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
84
84
  requestType: "file",
85
85
  duplex: _maybeEncodedRequest.duplex,
86
86
  body: _maybeEncodedRequest.body,
@@ -155,7 +155,7 @@ class Files {
155
155
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
156
156
  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/sources/${encodeURIComponent(sourceId)}/files`),
157
157
  method: "GET",
158
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
158
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
159
159
  contentType: "application/json",
160
160
  queryParameters: _queryParams,
161
161
  requestType: "json",
@@ -222,7 +222,7 @@ class Files {
222
222
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
223
223
  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/sources/${encodeURIComponent(sourceId)}/${encodeURIComponent(fileId)}`),
224
224
  method: "DELETE",
225
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
225
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
226
226
  contentType: "application/json",
227
227
  requestType: "json",
228
228
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -76,7 +76,7 @@ class Passages {
76
76
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
77
  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/sources/${encodeURIComponent(sourceId)}/passages`),
78
78
  method: "GET",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -48,9 +48,16 @@ export declare class Steps {
48
48
  * @throws {@link Letta.UnprocessableEntityError}
49
49
  *
50
50
  * @example
51
- * await client.steps.retrieveStep("step_id")
51
+ * await client.steps.retrieve("step_id")
52
52
  */
53
- retrieveStep(stepId: string, requestOptions?: Steps.RequestOptions): Promise<Letta.Step>;
53
+ retrieve(stepId: string, requestOptions?: Steps.RequestOptions): Promise<Letta.Step>;
54
+ /**
55
+ * @param {Steps.RequestOptions} requestOptions - Request-specific configuration.
56
+ *
57
+ * @example
58
+ * await client.steps.list()
59
+ */
60
+ list(requestOptions?: Steps.RequestOptions): Promise<void>;
54
61
  protected _getCustomAuthorizationHeaders(): Promise<{
55
62
  Authorization: string;
56
63
  }>;
@@ -103,7 +103,7 @@ class Steps {
103
103
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
104
104
  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/steps"),
105
105
  method: "GET",
106
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -161,15 +161,15 @@ class Steps {
161
161
  * @throws {@link Letta.UnprocessableEntityError}
162
162
  *
163
163
  * @example
164
- * await client.steps.retrieveStep("step_id")
164
+ * await client.steps.retrieve("step_id")
165
165
  */
166
- retrieveStep(stepId, requestOptions) {
166
+ retrieve(stepId, requestOptions) {
167
167
  return __awaiter(this, void 0, void 0, function* () {
168
168
  var _a, _b, _c;
169
169
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
170
170
  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/steps/${encodeURIComponent(stepId)}`),
171
171
  method: "GET",
172
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
172
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
173
173
  contentType: "application/json",
174
174
  requestType: "json",
175
175
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -217,6 +217,49 @@ class Steps {
217
217
  }
218
218
  });
219
219
  }
220
+ /**
221
+ * @param {Steps.RequestOptions} requestOptions - Request-specific configuration.
222
+ *
223
+ * @example
224
+ * await client.steps.list()
225
+ */
226
+ list(requestOptions) {
227
+ return __awaiter(this, void 0, void 0, function* () {
228
+ var _a, _b, _c;
229
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
230
+ 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/steps/"),
231
+ method: "GET",
232
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
233
+ contentType: "application/json",
234
+ requestType: "json",
235
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
236
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
237
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
238
+ });
239
+ if (_response.ok) {
240
+ return;
241
+ }
242
+ if (_response.error.reason === "status-code") {
243
+ throw new errors.LettaError({
244
+ statusCode: _response.error.statusCode,
245
+ body: _response.error.body,
246
+ });
247
+ }
248
+ switch (_response.error.reason) {
249
+ case "non-json":
250
+ throw new errors.LettaError({
251
+ statusCode: _response.error.statusCode,
252
+ body: _response.error.rawBody,
253
+ });
254
+ case "timeout":
255
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/steps/.");
256
+ case "unknown":
257
+ throw new errors.LettaError({
258
+ message: _response.error.errorMessage,
259
+ });
260
+ }
261
+ });
262
+ }
220
263
  _getCustomAuthorizationHeaders() {
221
264
  return __awaiter(this, void 0, void 0, function* () {
222
265
  const tokenValue = yield core.Supplier.get(this._options.token);
@@ -87,7 +87,7 @@ class Tag {
87
87
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
88
88
  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/tags/"),
89
89
  method: "GET",
90
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "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),
90
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -0,0 +1,38 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments";
5
+ import * as core from "../../../../core";
6
+ export declare namespace Tags {
7
+ interface Options {
8
+ environment?: core.Supplier<environments.LettaEnvironment | string>;
9
+ /** Specify a custom URL to connect the client to. */
10
+ baseUrl?: core.Supplier<string>;
11
+ token?: core.Supplier<string | undefined>;
12
+ fetcher?: core.FetchFunction;
13
+ }
14
+ interface RequestOptions {
15
+ /** The maximum time to wait for a response in seconds. */
16
+ timeoutInSeconds?: number;
17
+ /** The number of times to retry the request. Defaults to 2. */
18
+ maxRetries?: number;
19
+ /** A hook to abort the request. */
20
+ abortSignal?: AbortSignal;
21
+ /** Additional headers to include in the request. */
22
+ headers?: Record<string, string>;
23
+ }
24
+ }
25
+ export declare class Tags {
26
+ protected readonly _options: Tags.Options;
27
+ constructor(_options?: Tags.Options);
28
+ /**
29
+ * @param {Tags.RequestOptions} requestOptions - Request-specific configuration.
30
+ *
31
+ * @example
32
+ * await client.tags.list()
33
+ */
34
+ list(requestOptions?: Tags.RequestOptions): Promise<void>;
35
+ protected _getCustomAuthorizationHeaders(): Promise<{
36
+ Authorization: string;
37
+ }>;
38
+ }
@@ -0,0 +1,110 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ var __importDefault = (this && this.__importDefault) || function (mod) {
48
+ return (mod && mod.__esModule) ? mod : { "default": mod };
49
+ };
50
+ Object.defineProperty(exports, "__esModule", { value: true });
51
+ exports.Tags = void 0;
52
+ const environments = __importStar(require("../../../../environments"));
53
+ const core = __importStar(require("../../../../core"));
54
+ const url_join_1 = __importDefault(require("url-join"));
55
+ const errors = __importStar(require("../../../../errors/index"));
56
+ class Tags {
57
+ constructor(_options = {}) {
58
+ this._options = _options;
59
+ }
60
+ /**
61
+ * @param {Tags.RequestOptions} requestOptions - Request-specific configuration.
62
+ *
63
+ * @example
64
+ * await client.tags.list()
65
+ */
66
+ list(requestOptions) {
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ var _a, _b, _c;
69
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
70
+ 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/tags"),
71
+ method: "GET",
72
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
73
+ contentType: "application/json",
74
+ requestType: "json",
75
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
76
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
77
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
78
+ });
79
+ if (_response.ok) {
80
+ return;
81
+ }
82
+ if (_response.error.reason === "status-code") {
83
+ throw new errors.LettaError({
84
+ statusCode: _response.error.statusCode,
85
+ body: _response.error.body,
86
+ });
87
+ }
88
+ switch (_response.error.reason) {
89
+ case "non-json":
90
+ throw new errors.LettaError({
91
+ statusCode: _response.error.statusCode,
92
+ body: _response.error.rawBody,
93
+ });
94
+ case "timeout":
95
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tags.");
96
+ case "unknown":
97
+ throw new errors.LettaError({
98
+ message: _response.error.errorMessage,
99
+ });
100
+ }
101
+ });
102
+ }
103
+ _getCustomAuthorizationHeaders() {
104
+ return __awaiter(this, void 0, void 0, function* () {
105
+ const tokenValue = yield core.Supplier.get(this._options.token);
106
+ return { Authorization: `Bearer ${tokenValue}` };
107
+ });
108
+ }
109
+ }
110
+ exports.Tags = Tags;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -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("./client"), exports);