@letta-ai/letta-client 0.1.179 → 0.1.181

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 (477) hide show
  1. package/api/errors/index.d.ts +1 -2
  2. package/api/errors/index.js +1 -2
  3. package/api/resources/agents/client/Client.js +10 -10
  4. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  5. package/api/resources/agents/resources/context/client/Client.js +1 -1
  6. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  7. package/api/resources/agents/resources/files/client/Client.js +3 -3
  8. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  9. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  10. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  11. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  12. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  13. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  14. package/api/resources/agents/resources/templates/client/Client.d.ts +14 -25
  15. package/api/resources/agents/resources/templates/client/Client.js +59 -131
  16. package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -2
  17. package/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  18. package/api/resources/agents/resources/templates/types/index.d.ts +0 -2
  19. package/api/resources/agents/resources/templates/types/index.js +0 -2
  20. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  21. package/api/resources/batches/client/Client.js +4 -4
  22. package/api/resources/blocks/client/Client.js +6 -6
  23. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  24. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  25. package/api/resources/embeddingModels/client/Client.js +1 -1
  26. package/api/resources/folders/client/Client.js +9 -9
  27. package/api/resources/folders/resources/files/client/Client.js +3 -3
  28. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  29. package/api/resources/groups/client/Client.js +6 -6
  30. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  31. package/api/resources/health/client/Client.js +1 -1
  32. package/api/resources/identities/client/Client.js +7 -7
  33. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  34. package/api/resources/jobs/client/Client.js +5 -5
  35. package/api/resources/messages/client/Client.js +1 -1
  36. package/api/resources/models/client/Client.js +1 -1
  37. package/api/resources/projects/client/Client.js +1 -1
  38. package/api/resources/providers/client/Client.js +6 -6
  39. package/api/resources/runs/client/Client.js +4 -4
  40. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  41. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  42. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  43. package/api/resources/sources/client/Client.js +10 -10
  44. package/api/resources/sources/resources/files/client/Client.js +3 -3
  45. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  46. package/api/resources/steps/client/Client.js +3 -3
  47. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  48. package/api/resources/tags/client/Client.js +1 -1
  49. package/api/resources/telemetry/client/Client.js +1 -1
  50. package/api/resources/templates/client/Client.d.ts +107 -0
  51. package/api/resources/templates/client/Client.js +540 -3
  52. package/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +15 -0
  53. package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts → api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts} +1 -2
  54. package/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
  55. package/api/resources/templates/client/requests/TemplatesListRequest.d.ts +3 -0
  56. package/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
  57. package/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
  58. package/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
  59. package/api/resources/templates/client/requests/index.d.ts +6 -0
  60. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  61. package/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +15 -0
  62. package/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
  63. package/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +15 -0
  64. package/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
  65. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
  66. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
  67. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +18 -0
  68. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
  69. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
  70. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
  71. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
  72. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
  73. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +11 -0
  74. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
  75. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
  76. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
  77. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
  78. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
  79. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
  80. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
  81. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
  82. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
  83. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
  84. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
  85. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
  86. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
  87. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
  88. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
  89. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
  90. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
  91. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
  92. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
  93. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
  94. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
  95. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
  96. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
  97. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
  98. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
  99. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
  100. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
  101. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
  102. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
  103. package/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
  104. package/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
  105. package/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
  106. package/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
  107. package/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
  108. package/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
  109. package/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
  110. package/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +15 -0
  111. package/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
  112. package/api/resources/templates/types/index.d.ts +26 -0
  113. package/api/resources/templates/types/index.js +26 -0
  114. package/api/resources/tools/client/Client.js +20 -20
  115. package/api/resources/voice/client/Client.js +1 -1
  116. package/api/types/ConflictErrorBody.d.ts +1 -1
  117. package/api/types/LlmConfig.d.ts +2 -0
  118. package/api/types/LlmConfigVerbosity.d.ts +9 -0
  119. package/api/types/LlmConfigVerbosity.js +11 -0
  120. package/api/types/NotFoundErrorBody.d.ts +1 -1
  121. package/api/types/index.d.ts +2 -3
  122. package/api/types/index.js +2 -3
  123. package/dist/api/errors/index.d.ts +1 -2
  124. package/dist/api/errors/index.js +1 -2
  125. package/dist/api/resources/agents/client/Client.js +10 -10
  126. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  127. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  128. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  129. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  130. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  131. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  132. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  133. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  134. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  135. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  136. package/dist/api/resources/agents/resources/templates/client/Client.d.ts +14 -25
  137. package/dist/api/resources/agents/resources/templates/client/Client.js +59 -131
  138. package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -2
  139. package/dist/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  140. package/dist/api/resources/agents/resources/templates/types/index.d.ts +0 -2
  141. package/dist/api/resources/agents/resources/templates/types/index.js +0 -2
  142. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  143. package/dist/api/resources/batches/client/Client.js +4 -4
  144. package/dist/api/resources/blocks/client/Client.js +6 -6
  145. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  146. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  147. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  148. package/dist/api/resources/folders/client/Client.js +9 -9
  149. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  150. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  151. package/dist/api/resources/groups/client/Client.js +6 -6
  152. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  153. package/dist/api/resources/health/client/Client.js +1 -1
  154. package/dist/api/resources/identities/client/Client.js +7 -7
  155. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  156. package/dist/api/resources/jobs/client/Client.js +5 -5
  157. package/dist/api/resources/messages/client/Client.js +1 -1
  158. package/dist/api/resources/models/client/Client.js +1 -1
  159. package/dist/api/resources/projects/client/Client.js +1 -1
  160. package/dist/api/resources/providers/client/Client.js +6 -6
  161. package/dist/api/resources/runs/client/Client.js +4 -4
  162. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  163. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  164. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  165. package/dist/api/resources/sources/client/Client.js +10 -10
  166. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  167. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  168. package/dist/api/resources/steps/client/Client.js +3 -3
  169. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  170. package/dist/api/resources/tags/client/Client.js +1 -1
  171. package/dist/api/resources/telemetry/client/Client.js +1 -1
  172. package/dist/api/resources/templates/client/Client.d.ts +107 -0
  173. package/dist/api/resources/templates/client/Client.js +540 -3
  174. package/dist/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +15 -0
  175. package/dist/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +5 -0
  176. package/{api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts → dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts} +1 -2
  177. package/dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +5 -0
  178. package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
  179. package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.js +5 -0
  180. package/dist/api/resources/templates/client/requests/TemplatesListRequest.d.ts +3 -0
  181. package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
  182. package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js +5 -0
  183. package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
  184. package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +5 -0
  185. package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
  186. package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +5 -0
  187. package/dist/api/resources/templates/client/requests/index.d.ts +6 -0
  188. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  189. package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +15 -0
  190. package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.js +5 -0
  191. package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
  192. package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.js +5 -0
  193. package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +15 -0
  194. package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
  195. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
  196. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
  197. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +18 -0
  198. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
  199. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
  200. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
  201. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
  202. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
  203. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +11 -0
  204. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
  205. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
  206. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
  207. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
  208. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
  209. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
  210. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
  211. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
  212. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
  213. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
  214. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
  215. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
  216. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
  217. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
  218. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
  219. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
  220. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
  221. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
  222. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
  223. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
  224. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
  225. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
  226. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
  227. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
  228. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
  229. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
  230. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
  231. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
  232. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
  233. package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
  234. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
  235. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
  236. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
  237. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
  238. package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
  239. package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
  240. package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +15 -0
  241. package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
  242. package/dist/api/resources/templates/types/index.d.ts +26 -0
  243. package/dist/api/resources/templates/types/index.js +26 -0
  244. package/dist/api/resources/tools/client/Client.js +20 -20
  245. package/dist/api/resources/voice/client/Client.js +1 -1
  246. package/dist/api/types/ConflictErrorBody.d.ts +1 -1
  247. package/dist/api/types/LlmConfig.d.ts +2 -0
  248. package/dist/api/types/LlmConfigVerbosity.d.ts +9 -0
  249. package/dist/api/types/LlmConfigVerbosity.js +11 -0
  250. package/dist/api/types/NotFoundErrorBody.d.ts +1 -1
  251. package/dist/api/types/index.d.ts +2 -3
  252. package/dist/api/types/index.js +2 -3
  253. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -1
  254. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -1
  255. package/dist/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  256. package/dist/serialization/resources/agents/resources/templates/client/requests/index.js +1 -5
  257. package/dist/serialization/resources/agents/resources/templates/types/index.d.ts +0 -2
  258. package/dist/serialization/resources/agents/resources/templates/types/index.js +0 -2
  259. package/dist/serialization/resources/index.d.ts +1 -0
  260. package/dist/serialization/resources/index.js +1 -0
  261. package/dist/serialization/resources/templates/client/index.d.ts +1 -0
  262. package/dist/serialization/resources/templates/client/index.js +17 -0
  263. package/dist/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +13 -0
  264. package/dist/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +44 -0
  265. package/dist/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
  266. package/dist/serialization/resources/{agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +3 -3
  267. package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
  268. package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
  269. package/dist/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
  270. package/dist/serialization/resources/{agents/resources/templates/types/TemplatesCreateResponse.js → templates/client/requests/TemplatesRenameTemplateRequest.js} +4 -5
  271. package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
  272. package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
  273. package/dist/serialization/resources/templates/client/requests/index.d.ts +5 -0
  274. package/dist/serialization/resources/templates/client/requests/index.js +13 -0
  275. package/dist/serialization/resources/templates/index.d.ts +1 -0
  276. package/dist/serialization/resources/templates/index.js +1 -0
  277. package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +18 -0
  278. package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +49 -0
  279. package/dist/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
  280. package/dist/serialization/resources/{agents/resources/templates/client/requests/TemplatesCreateRequest.js → templates/types/TemplatesDeleteTemplateResponse.js} +4 -4
  281. package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +18 -0
  282. package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +49 -0
  283. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
  284. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
  285. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +27 -0
  286. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +58 -0
  287. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
  288. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
  289. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
  290. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
  291. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
  292. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +48 -0
  293. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +18 -0
  294. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +58 -0
  295. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
  296. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
  297. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
  298. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
  299. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
  300. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
  301. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
  302. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
  303. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
  304. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
  305. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
  306. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
  307. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
  308. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
  309. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
  310. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
  311. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
  312. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
  313. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
  314. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
  315. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
  316. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
  317. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
  318. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
  319. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
  320. package/dist/serialization/{types/NotFoundErrorBodyMessage.js → resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js} +10 -5
  321. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +2 -0
  322. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +2 -0
  323. package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
  324. package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
  325. package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
  326. package/{serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js} +6 -5
  327. package/dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
  328. package/{serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.js → dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js} +4 -4
  329. package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +18 -0
  330. package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +49 -0
  331. package/dist/serialization/resources/templates/types/index.d.ts +26 -0
  332. package/dist/serialization/resources/templates/types/index.js +26 -0
  333. package/dist/serialization/types/ConflictErrorBody.d.ts +1 -1
  334. package/dist/serialization/types/ConflictErrorBody.js +1 -1
  335. package/dist/serialization/types/LlmConfig.d.ts +2 -0
  336. package/dist/serialization/types/LlmConfig.js +2 -0
  337. package/dist/serialization/types/LlmConfigVerbosity.d.ts +10 -0
  338. package/dist/serialization/types/{InternalServerErrorBody.js → LlmConfigVerbosity.js} +2 -4
  339. package/dist/serialization/types/NotFoundErrorBody.d.ts +1 -1
  340. package/dist/serialization/types/NotFoundErrorBody.js +1 -1
  341. package/dist/serialization/types/index.d.ts +2 -3
  342. package/dist/serialization/types/index.js +2 -3
  343. package/dist/version.d.ts +1 -1
  344. package/dist/version.js +1 -1
  345. package/package.json +1 -1
  346. package/reference.md +555 -30
  347. package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -1
  348. package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -1
  349. package/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  350. package/serialization/resources/agents/resources/templates/client/requests/index.js +1 -5
  351. package/serialization/resources/agents/resources/templates/types/index.d.ts +0 -2
  352. package/serialization/resources/agents/resources/templates/types/index.js +0 -2
  353. package/serialization/resources/index.d.ts +1 -0
  354. package/serialization/resources/index.js +1 -0
  355. package/serialization/resources/templates/client/index.d.ts +1 -0
  356. package/serialization/resources/templates/client/index.js +17 -0
  357. package/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +13 -0
  358. package/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +44 -0
  359. package/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
  360. package/serialization/resources/{agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +3 -3
  361. package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
  362. package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
  363. package/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
  364. package/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +43 -0
  365. package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
  366. package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
  367. package/serialization/resources/templates/client/requests/index.d.ts +5 -0
  368. package/serialization/resources/templates/client/requests/index.js +13 -0
  369. package/serialization/resources/templates/index.d.ts +1 -0
  370. package/serialization/resources/templates/index.js +1 -0
  371. package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +18 -0
  372. package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +49 -0
  373. package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
  374. package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.js +43 -0
  375. package/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +18 -0
  376. package/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +49 -0
  377. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
  378. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
  379. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +27 -0
  380. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +58 -0
  381. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
  382. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
  383. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
  384. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
  385. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
  386. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +48 -0
  387. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +18 -0
  388. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +58 -0
  389. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
  390. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
  391. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
  392. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
  393. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
  394. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
  395. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
  396. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
  397. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
  398. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
  399. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
  400. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
  401. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
  402. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
  403. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
  404. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
  405. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
  406. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
  407. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
  408. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
  409. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
  410. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
  411. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
  412. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
  413. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
  414. package/serialization/{types/NotFoundErrorBodyMessage.js → resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js} +10 -5
  415. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +2 -0
  416. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +2 -0
  417. package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
  418. package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
  419. package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
  420. package/{dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js} +6 -5
  421. package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
  422. package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js +43 -0
  423. package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +18 -0
  424. package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +49 -0
  425. package/serialization/resources/templates/types/index.d.ts +26 -0
  426. package/serialization/resources/templates/types/index.js +26 -0
  427. package/serialization/types/ConflictErrorBody.d.ts +1 -1
  428. package/serialization/types/ConflictErrorBody.js +1 -1
  429. package/serialization/types/LlmConfig.d.ts +2 -0
  430. package/serialization/types/LlmConfig.js +2 -0
  431. package/serialization/types/LlmConfigVerbosity.d.ts +10 -0
  432. package/serialization/types/{InternalServerErrorBody.js → LlmConfigVerbosity.js} +2 -4
  433. package/serialization/types/NotFoundErrorBody.d.ts +1 -1
  434. package/serialization/types/NotFoundErrorBody.js +1 -1
  435. package/serialization/types/index.d.ts +2 -3
  436. package/serialization/types/index.js +2 -3
  437. package/version.d.ts +1 -1
  438. package/version.js +1 -1
  439. package/api/errors/InternalServerError.d.ts +0 -8
  440. package/api/errors/InternalServerError.js +0 -52
  441. package/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -15
  442. package/api/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -7
  443. package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -7
  444. package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +0 -9
  445. package/api/types/InternalServerErrorBody.d.ts +0 -6
  446. package/api/types/NotFoundErrorBodyMessage.d.ts +0 -8
  447. package/api/types/NotFoundErrorBodyMessage.js +0 -10
  448. package/dist/api/errors/InternalServerError.d.ts +0 -8
  449. package/dist/api/errors/InternalServerError.js +0 -52
  450. package/dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -15
  451. package/dist/api/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -7
  452. package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -7
  453. package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +0 -9
  454. package/dist/api/types/InternalServerErrorBody.d.ts +0 -6
  455. package/dist/api/types/NotFoundErrorBodyMessage.d.ts +0 -8
  456. package/dist/api/types/NotFoundErrorBodyMessage.js +0 -10
  457. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts +0 -12
  458. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -14
  459. package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -13
  460. package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -10
  461. package/dist/serialization/types/InternalServerErrorBody.d.ts +0 -12
  462. package/dist/serialization/types/NotFoundErrorBodyMessage.d.ts +0 -10
  463. package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts +0 -12
  464. package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -14
  465. package/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -13
  466. package/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.js +0 -44
  467. package/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -10
  468. package/serialization/types/InternalServerErrorBody.d.ts +0 -12
  469. package/serialization/types/NotFoundErrorBodyMessage.d.ts +0 -10
  470. /package/api/resources/{agents/resources/templates/client/requests/TemplatesCreateRequest.js → templates/client/requests/TemplatesCreateTemplateRequest.js} +0 -0
  471. /package/api/resources/{agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +0 -0
  472. /package/api/resources/{agents/resources/templates/types/TemplatesCreateResponse.js → templates/client/requests/TemplatesForkTemplateRequest.js} +0 -0
  473. /package/api/{types/InternalServerErrorBody.js → resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js} +0 -0
  474. /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.js → api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +0 -0
  475. /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js} +0 -0
  476. /package/{dist/api/resources/agents/resources/templates/types/TemplatesCreateResponse.js → api/resources/templates/types/TemplatesCreateTemplateResponse.js} +0 -0
  477. /package/{dist/api/types/InternalServerErrorBody.js → api/resources/templates/types/TemplatesDeleteTemplateResponse.js} +0 -0
@@ -80,7 +80,7 @@ class Batches {
80
80
  method: "GET",
81
81
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
82
82
  ? yield core.Supplier.get(this._options.project)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -168,7 +168,7 @@ class Batches {
168
168
  method: "POST",
169
169
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
170
170
  ? yield core.Supplier.get(this._options.project)
171
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
171
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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
172
  contentType: "application/json",
173
173
  requestType: "json",
174
174
  body: serializers.CreateBatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -245,7 +245,7 @@ class Batches {
245
245
  method: "GET",
246
246
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
247
247
  ? yield core.Supplier.get(this._options.project)
248
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
248
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
249
249
  contentType: "application/json",
250
250
  requestType: "json",
251
251
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -321,7 +321,7 @@ class Batches {
321
321
  method: "PATCH",
322
322
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
323
323
  ? yield core.Supplier.get(this._options.project)
324
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
324
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -141,7 +141,7 @@ class Blocks {
141
141
  method: "GET",
142
142
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
143
143
  ? yield core.Supplier.get(this._options.project)
144
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
144
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
145
145
  contentType: "application/json",
146
146
  queryParameters: _queryParams,
147
147
  requestType: "json",
@@ -219,7 +219,7 @@ class Blocks {
219
219
  method: "POST",
220
220
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
221
221
  ? yield core.Supplier.get(this._options.project)
222
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
222
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
223
223
  contentType: "application/json",
224
224
  requestType: "json",
225
225
  body: serializers.CreateBlock.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -295,7 +295,7 @@ class Blocks {
295
295
  method: "GET",
296
296
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
297
297
  ? yield core.Supplier.get(this._options.project)
298
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
298
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
299
299
  contentType: "application/json",
300
300
  requestType: "json",
301
301
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -369,7 +369,7 @@ class Blocks {
369
369
  method: "GET",
370
370
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
371
371
  ? yield core.Supplier.get(this._options.project)
372
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
372
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
373
373
  contentType: "application/json",
374
374
  requestType: "json",
375
375
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -443,7 +443,7 @@ class Blocks {
443
443
  method: "DELETE",
444
444
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
445
445
  ? yield core.Supplier.get(this._options.project)
446
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
446
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
447
447
  contentType: "application/json",
448
448
  requestType: "json",
449
449
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -509,7 +509,7 @@ class Blocks {
509
509
  method: "PATCH",
510
510
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
511
511
  ? yield core.Supplier.get(this._options.project)
512
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
512
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
513
513
  contentType: "application/json",
514
514
  requestType: "json",
515
515
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -93,7 +93,7 @@ class Agents {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -92,7 +92,7 @@ class ClientSideAccessTokens {
92
92
  method: "GET",
93
93
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
94
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
95
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -170,7 +170,7 @@ class ClientSideAccessTokens {
170
170
  method: "POST",
171
171
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
172
172
  ? yield core.Supplier.get(this._options.project)
173
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
174
  contentType: "application/json",
175
175
  requestType: "json",
176
176
  body: serializers.ClientSideAccessTokensCreateRequest.jsonOrThrow(request, {
@@ -246,7 +246,7 @@ class ClientSideAccessTokens {
246
246
  method: "DELETE",
247
247
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
248
248
  ? yield core.Supplier.get(this._options.project)
249
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
249
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
250
  contentType: "application/json",
251
251
  requestType: "json",
252
252
  body: request,
@@ -80,7 +80,7 @@ class EmbeddingModels {
80
80
  method: "GET",
81
81
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
82
82
  ? yield core.Supplier.get(this._options.project)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -90,7 +90,7 @@ class Folders {
90
90
  method: "GET",
91
91
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
94
94
  contentType: "application/json",
95
95
  requestType: "json",
96
96
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -166,7 +166,7 @@ class Folders {
166
166
  method: "GET",
167
167
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
168
168
  ? yield core.Supplier.get(this._options.project)
169
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
169
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -242,7 +242,7 @@ class Folders {
242
242
  method: "DELETE",
243
243
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
244
244
  ? yield core.Supplier.get(this._options.project)
245
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
245
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -310,7 +310,7 @@ class Folders {
310
310
  method: "PATCH",
311
311
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
312
312
  ? yield core.Supplier.get(this._options.project)
313
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
313
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -387,7 +387,7 @@ class Folders {
387
387
  method: "GET",
388
388
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
389
389
  ? yield core.Supplier.get(this._options.project)
390
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
390
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -474,7 +474,7 @@ class Folders {
474
474
  method: "GET",
475
475
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
476
476
  ? yield core.Supplier.get(this._options.project)
477
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
477
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
478
478
  contentType: "application/json",
479
479
  queryParameters: _queryParams,
480
480
  requestType: "json",
@@ -550,7 +550,7 @@ class Folders {
550
550
  method: "GET",
551
551
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
552
552
  ? yield core.Supplier.get(this._options.project)
553
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
553
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
554
554
  contentType: "application/json",
555
555
  requestType: "json",
556
556
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -628,7 +628,7 @@ class Folders {
628
628
  method: "POST",
629
629
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
630
630
  ? yield core.Supplier.get(this._options.project)
631
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
631
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
632
632
  contentType: "application/json",
633
633
  requestType: "json",
634
634
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -705,7 +705,7 @@ class Folders {
705
705
  method: "GET",
706
706
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
707
707
  ? yield core.Supplier.get(this._options.project)
708
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
709
709
  contentType: "application/json",
710
710
  requestType: "json",
711
711
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -90,7 +90,7 @@ class Files {
90
90
  method: "POST",
91
91
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
94
94
  queryParameters: _queryParams,
95
95
  requestType: "file",
96
96
  duplex: _maybeEncodedRequest.duplex,
@@ -180,7 +180,7 @@ class Files {
180
180
  method: "GET",
181
181
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
182
182
  ? yield core.Supplier.get(this._options.project)
183
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
183
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
184
184
  contentType: "application/json",
185
185
  queryParameters: _queryParams,
186
186
  requestType: "json",
@@ -258,7 +258,7 @@ class Files {
258
258
  method: "DELETE",
259
259
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
260
260
  ? yield core.Supplier.get(this._options.project)
261
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
261
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -105,7 +105,7 @@ class Groups {
105
105
  method: "GET",
106
106
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
107
107
  ? yield core.Supplier.get(this._options.project)
108
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
108
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
109
  contentType: "application/json",
110
110
  queryParameters: _queryParams,
111
111
  requestType: "json",
@@ -185,7 +185,7 @@ class Groups {
185
185
  method: "POST",
186
186
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
187
187
  ? yield core.Supplier.get(this._options.project)
188
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
188
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  body: serializers.GroupCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -261,7 +261,7 @@ class Groups {
261
261
  method: "GET",
262
262
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
263
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -337,7 +337,7 @@ class Groups {
337
337
  method: "GET",
338
338
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
339
339
  ? yield core.Supplier.get(this._options.project)
340
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
340
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
341
341
  contentType: "application/json",
342
342
  requestType: "json",
343
343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -413,7 +413,7 @@ class Groups {
413
413
  method: "DELETE",
414
414
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
415
415
  ? yield core.Supplier.get(this._options.project)
416
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
416
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
417
417
  contentType: "application/json",
418
418
  requestType: "json",
419
419
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -481,7 +481,7 @@ class Groups {
481
481
  method: "PATCH",
482
482
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
483
483
  ? yield core.Supplier.get(this._options.project)
484
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
484
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
485
485
  contentType: "application/json",
486
486
  requestType: "json",
487
487
  body: serializers.GroupUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -102,7 +102,7 @@ class Messages {
102
102
  method: "GET",
103
103
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
104
104
  ? yield core.Supplier.get(this._options.project)
105
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
106
  contentType: "application/json",
107
107
  queryParameters: _queryParams,
108
108
  requestType: "json",
@@ -189,7 +189,7 @@ class Messages {
189
189
  method: "POST",
190
190
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
191
191
  ? yield core.Supplier.get(this._options.project)
192
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -260,7 +260,7 @@ class Messages {
260
260
  method: "POST",
261
261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
262
262
  ? yield core.Supplier.get(this._options.project)
263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
264
  contentType: "application/json",
265
265
  requestType: "json",
266
266
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -352,7 +352,7 @@ class Messages {
352
352
  method: "PATCH",
353
353
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
354
354
  ? yield core.Supplier.get(this._options.project)
355
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
355
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
356
356
  contentType: "application/json",
357
357
  requestType: "json",
358
358
  body: serializers.groups.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -429,7 +429,7 @@ class Messages {
429
429
  method: "PATCH",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
433
433
  contentType: "application/json",
434
434
  requestType: "json",
435
435
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -75,7 +75,7 @@ class Health {
75
75
  method: "GET",
76
76
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
77
77
  ? yield core.Supplier.get(this._options.project)
78
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class Identities {
111
111
  method: "GET",
112
112
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
113
113
  ? yield core.Supplier.get(this._options.project)
114
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -190,7 +190,7 @@ class Identities {
190
190
  method: "POST",
191
191
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
192
192
  ? yield core.Supplier.get(this._options.project)
193
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -269,7 +269,7 @@ class Identities {
269
269
  method: "PUT",
270
270
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
271
271
  ? yield core.Supplier.get(this._options.project)
272
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
273
273
  contentType: "application/json",
274
274
  requestType: "json",
275
275
  body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -345,7 +345,7 @@ class Identities {
345
345
  method: "GET",
346
346
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
347
347
  ? yield core.Supplier.get(this._options.project)
348
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
348
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
349
349
  contentType: "application/json",
350
350
  requestType: "json",
351
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -419,7 +419,7 @@ class Identities {
419
419
  method: "GET",
420
420
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
421
421
  ? yield core.Supplier.get(this._options.project)
422
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
422
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
423
423
  contentType: "application/json",
424
424
  requestType: "json",
425
425
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -495,7 +495,7 @@ class Identities {
495
495
  method: "DELETE",
496
496
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
497
497
  ? yield core.Supplier.get(this._options.project)
498
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
498
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
499
499
  contentType: "application/json",
500
500
  requestType: "json",
501
501
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -561,7 +561,7 @@ class Identities {
561
561
  method: "PATCH",
562
562
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
563
563
  ? yield core.Supplier.get(this._options.project)
564
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
564
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
565
565
  contentType: "application/json",
566
566
  requestType: "json",
567
567
  body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -84,7 +84,7 @@ class Properties {
84
84
  method: "PUT",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
@@ -99,7 +99,7 @@ class Jobs {
99
99
  method: "GET",
100
100
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
101
101
  ? yield core.Supplier.get(this._options.project)
102
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
103
103
  contentType: "application/json",
104
104
  queryParameters: _queryParams,
105
105
  requestType: "json",
@@ -193,7 +193,7 @@ class Jobs {
193
193
  method: "GET",
194
194
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
195
195
  ? yield core.Supplier.get(this._options.project)
196
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
197
197
  contentType: "application/json",
198
198
  queryParameters: _queryParams,
199
199
  requestType: "json",
@@ -270,7 +270,7 @@ class Jobs {
270
270
  method: "GET",
271
271
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
272
272
  ? yield core.Supplier.get(this._options.project)
273
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
273
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
274
274
  contentType: "application/json",
275
275
  requestType: "json",
276
276
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -346,7 +346,7 @@ class Jobs {
346
346
  method: "DELETE",
347
347
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
348
348
  ? yield core.Supplier.get(this._options.project)
349
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
349
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
350
350
  contentType: "application/json",
351
351
  requestType: "json",
352
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -425,7 +425,7 @@ class Jobs {
425
425
  method: "PATCH",
426
426
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
427
427
  ? yield core.Supplier.get(this._options.project)
428
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
428
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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),
429
429
  contentType: "application/json",
430
430
  requestType: "json",
431
431
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -103,7 +103,7 @@ class Messages {
103
103
  method: "GET",
104
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
105
  ? yield core.Supplier.get(this._options.project)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.181", "User-Agent": "@letta-ai/letta-client/0.1.181", "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",