@letta-ai/letta-client 0.1.180 → 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 (464) 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/NotFoundErrorBody.d.ts +1 -1
  118. package/api/types/index.d.ts +1 -3
  119. package/api/types/index.js +1 -3
  120. package/dist/api/errors/index.d.ts +1 -2
  121. package/dist/api/errors/index.js +1 -2
  122. package/dist/api/resources/agents/client/Client.js +10 -10
  123. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  124. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  125. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  126. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  127. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  128. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  129. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  130. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  131. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  132. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  133. package/dist/api/resources/agents/resources/templates/client/Client.d.ts +14 -25
  134. package/dist/api/resources/agents/resources/templates/client/Client.js +59 -131
  135. package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -2
  136. package/dist/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  137. package/dist/api/resources/agents/resources/templates/types/index.d.ts +0 -2
  138. package/dist/api/resources/agents/resources/templates/types/index.js +0 -2
  139. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  140. package/dist/api/resources/batches/client/Client.js +4 -4
  141. package/dist/api/resources/blocks/client/Client.js +6 -6
  142. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  143. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  144. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  145. package/dist/api/resources/folders/client/Client.js +9 -9
  146. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  147. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  148. package/dist/api/resources/groups/client/Client.js +6 -6
  149. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  150. package/dist/api/resources/health/client/Client.js +1 -1
  151. package/dist/api/resources/identities/client/Client.js +7 -7
  152. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  153. package/dist/api/resources/jobs/client/Client.js +5 -5
  154. package/dist/api/resources/messages/client/Client.js +1 -1
  155. package/dist/api/resources/models/client/Client.js +1 -1
  156. package/dist/api/resources/projects/client/Client.js +1 -1
  157. package/dist/api/resources/providers/client/Client.js +6 -6
  158. package/dist/api/resources/runs/client/Client.js +4 -4
  159. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  160. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  161. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  162. package/dist/api/resources/sources/client/Client.js +10 -10
  163. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  164. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  165. package/dist/api/resources/steps/client/Client.js +3 -3
  166. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  167. package/dist/api/resources/tags/client/Client.js +1 -1
  168. package/dist/api/resources/telemetry/client/Client.js +1 -1
  169. package/dist/api/resources/templates/client/Client.d.ts +107 -0
  170. package/dist/api/resources/templates/client/Client.js +540 -3
  171. package/dist/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +15 -0
  172. package/dist/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +5 -0
  173. package/{api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts → dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts} +1 -2
  174. package/dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +5 -0
  175. package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
  176. package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.js +5 -0
  177. package/dist/api/resources/templates/client/requests/TemplatesListRequest.d.ts +3 -0
  178. package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
  179. package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js +5 -0
  180. package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
  181. package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +5 -0
  182. package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
  183. package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +5 -0
  184. package/dist/api/resources/templates/client/requests/index.d.ts +6 -0
  185. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  186. package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +15 -0
  187. package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.js +5 -0
  188. package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
  189. package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.js +5 -0
  190. package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +15 -0
  191. package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
  192. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
  193. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
  194. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +18 -0
  195. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
  196. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
  197. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
  198. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
  199. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
  200. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +11 -0
  201. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
  202. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
  203. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
  204. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
  205. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
  206. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
  207. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
  208. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
  209. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
  210. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
  211. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
  212. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
  213. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
  214. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
  215. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
  216. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
  217. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
  218. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
  219. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
  220. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
  221. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
  222. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
  223. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
  224. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
  225. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
  226. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
  227. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
  228. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
  229. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
  230. package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
  231. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
  232. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
  233. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
  234. package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
  235. package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
  236. package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
  237. package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +15 -0
  238. package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
  239. package/dist/api/resources/templates/types/index.d.ts +26 -0
  240. package/dist/api/resources/templates/types/index.js +26 -0
  241. package/dist/api/resources/tools/client/Client.js +20 -20
  242. package/dist/api/resources/voice/client/Client.js +1 -1
  243. package/dist/api/types/ConflictErrorBody.d.ts +1 -1
  244. package/dist/api/types/NotFoundErrorBody.d.ts +1 -1
  245. package/dist/api/types/index.d.ts +1 -3
  246. package/dist/api/types/index.js +1 -3
  247. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -1
  248. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -1
  249. package/dist/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  250. package/dist/serialization/resources/agents/resources/templates/client/requests/index.js +1 -5
  251. package/dist/serialization/resources/agents/resources/templates/types/index.d.ts +0 -2
  252. package/dist/serialization/resources/agents/resources/templates/types/index.js +0 -2
  253. package/dist/serialization/resources/index.d.ts +1 -0
  254. package/dist/serialization/resources/index.js +1 -0
  255. package/dist/serialization/resources/templates/client/index.d.ts +1 -0
  256. package/dist/serialization/resources/templates/client/index.js +17 -0
  257. package/dist/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +13 -0
  258. package/dist/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +44 -0
  259. package/dist/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
  260. package/dist/serialization/resources/{agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +3 -3
  261. package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
  262. package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
  263. package/dist/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
  264. package/dist/serialization/{types/InternalServerErrorBody.js → resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +4 -4
  265. package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
  266. package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
  267. package/dist/serialization/resources/templates/client/requests/index.d.ts +5 -0
  268. package/dist/serialization/resources/templates/client/requests/index.js +13 -0
  269. package/dist/serialization/resources/templates/index.d.ts +1 -0
  270. package/dist/serialization/resources/templates/index.js +1 -0
  271. package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +18 -0
  272. package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +49 -0
  273. package/dist/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
  274. package/dist/serialization/resources/{agents/resources/templates/client/requests/TemplatesCreateRequest.js → templates/types/TemplatesDeleteTemplateResponse.js} +4 -4
  275. package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +18 -0
  276. package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +49 -0
  277. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
  278. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
  279. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +27 -0
  280. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +58 -0
  281. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
  282. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
  283. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
  284. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
  285. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
  286. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +48 -0
  287. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +18 -0
  288. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +58 -0
  289. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
  290. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
  291. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
  292. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
  293. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
  294. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
  295. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
  296. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
  297. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
  298. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
  299. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
  300. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
  301. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
  302. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
  303. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
  304. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
  305. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
  306. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
  307. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
  308. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
  309. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
  310. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
  311. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
  312. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
  313. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
  314. package/dist/serialization/{types/NotFoundErrorBodyMessage.js → resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js} +10 -5
  315. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +2 -0
  316. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +2 -0
  317. package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
  318. package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
  319. package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
  320. package/{serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js} +6 -5
  321. package/dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
  322. package/{serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.js → dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js} +4 -4
  323. package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +18 -0
  324. package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +49 -0
  325. package/dist/serialization/resources/templates/types/index.d.ts +26 -0
  326. package/dist/serialization/resources/templates/types/index.js +26 -0
  327. package/dist/serialization/types/ConflictErrorBody.d.ts +1 -1
  328. package/dist/serialization/types/ConflictErrorBody.js +1 -1
  329. package/dist/serialization/types/NotFoundErrorBody.d.ts +1 -1
  330. package/dist/serialization/types/NotFoundErrorBody.js +1 -1
  331. package/dist/serialization/types/index.d.ts +1 -3
  332. package/dist/serialization/types/index.js +1 -3
  333. package/dist/version.d.ts +1 -1
  334. package/dist/version.js +1 -1
  335. package/package.json +1 -1
  336. package/reference.md +555 -30
  337. package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -1
  338. package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -1
  339. package/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
  340. package/serialization/resources/agents/resources/templates/client/requests/index.js +1 -5
  341. package/serialization/resources/agents/resources/templates/types/index.d.ts +0 -2
  342. package/serialization/resources/agents/resources/templates/types/index.js +0 -2
  343. package/serialization/resources/index.d.ts +1 -0
  344. package/serialization/resources/index.js +1 -0
  345. package/serialization/resources/templates/client/index.d.ts +1 -0
  346. package/serialization/resources/templates/client/index.js +17 -0
  347. package/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +13 -0
  348. package/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +44 -0
  349. package/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
  350. package/serialization/resources/{agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +3 -3
  351. package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
  352. package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
  353. package/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
  354. package/{dist/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.js → serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +4 -5
  355. package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
  356. package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
  357. package/serialization/resources/templates/client/requests/index.d.ts +5 -0
  358. package/serialization/resources/templates/client/requests/index.js +13 -0
  359. package/serialization/resources/templates/index.d.ts +1 -0
  360. package/serialization/resources/templates/index.js +1 -0
  361. package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +18 -0
  362. package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +49 -0
  363. package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
  364. package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.js +43 -0
  365. package/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +18 -0
  366. package/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +49 -0
  367. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
  368. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
  369. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +27 -0
  370. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +58 -0
  371. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
  372. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
  373. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
  374. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
  375. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
  376. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +48 -0
  377. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +18 -0
  378. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +58 -0
  379. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
  380. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
  381. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
  382. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
  383. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
  384. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
  385. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
  386. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
  387. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
  388. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
  389. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
  390. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
  391. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
  392. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
  393. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
  394. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
  395. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
  396. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
  397. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
  398. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
  399. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
  400. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
  401. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
  402. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
  403. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
  404. package/serialization/{types/NotFoundErrorBodyMessage.js → resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js} +10 -5
  405. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +2 -0
  406. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +2 -0
  407. package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
  408. package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
  409. package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
  410. package/{dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js} +6 -5
  411. package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
  412. package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js +43 -0
  413. package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +18 -0
  414. package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +49 -0
  415. package/serialization/resources/templates/types/index.d.ts +26 -0
  416. package/serialization/resources/templates/types/index.js +26 -0
  417. package/serialization/types/ConflictErrorBody.d.ts +1 -1
  418. package/serialization/types/ConflictErrorBody.js +1 -1
  419. package/serialization/types/NotFoundErrorBody.d.ts +1 -1
  420. package/serialization/types/NotFoundErrorBody.js +1 -1
  421. package/serialization/types/index.d.ts +1 -3
  422. package/serialization/types/index.js +1 -3
  423. package/version.d.ts +1 -1
  424. package/version.js +1 -1
  425. package/api/errors/InternalServerError.d.ts +0 -8
  426. package/api/errors/InternalServerError.js +0 -52
  427. package/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -15
  428. package/api/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -7
  429. package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -7
  430. package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +0 -9
  431. package/api/types/InternalServerErrorBody.d.ts +0 -6
  432. package/api/types/NotFoundErrorBodyMessage.d.ts +0 -8
  433. package/api/types/NotFoundErrorBodyMessage.js +0 -10
  434. package/dist/api/errors/InternalServerError.d.ts +0 -8
  435. package/dist/api/errors/InternalServerError.js +0 -52
  436. package/dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -15
  437. package/dist/api/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -7
  438. package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -7
  439. package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +0 -9
  440. package/dist/api/types/InternalServerErrorBody.d.ts +0 -6
  441. package/dist/api/types/NotFoundErrorBodyMessage.d.ts +0 -8
  442. package/dist/api/types/NotFoundErrorBodyMessage.js +0 -10
  443. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts +0 -12
  444. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -14
  445. package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -13
  446. package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -10
  447. package/dist/serialization/types/InternalServerErrorBody.d.ts +0 -12
  448. package/dist/serialization/types/NotFoundErrorBodyMessage.d.ts +0 -10
  449. package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts +0 -12
  450. package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -14
  451. package/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -13
  452. package/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.js +0 -44
  453. package/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -10
  454. package/serialization/types/InternalServerErrorBody.d.ts +0 -12
  455. package/serialization/types/InternalServerErrorBody.js +0 -43
  456. package/serialization/types/NotFoundErrorBodyMessage.d.ts +0 -10
  457. /package/api/resources/{agents/resources/templates/client/requests/TemplatesCreateRequest.js → templates/client/requests/TemplatesCreateTemplateRequest.js} +0 -0
  458. /package/api/resources/{agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +0 -0
  459. /package/api/resources/{agents/resources/templates/types/TemplatesCreateResponse.js → templates/client/requests/TemplatesForkTemplateRequest.js} +0 -0
  460. /package/api/{types/InternalServerErrorBody.js → resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js} +0 -0
  461. /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.js → api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +0 -0
  462. /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js} +0 -0
  463. /package/{dist/api/resources/agents/resources/templates/types/TemplatesCreateResponse.js → api/resources/templates/types/TemplatesCreateTemplateResponse.js} +0 -0
  464. /package/{dist/api/types/InternalServerErrorBody.js → api/resources/templates/types/TemplatesDeleteTemplateResponse.js} +0 -0
@@ -1,2 +1,28 @@
1
1
  export * from "./TemplatesListResponseTemplatesItem";
2
2
  export * from "./TemplatesListResponse";
3
+ export * from "./TemplatesSaveTemplateVersionResponse";
4
+ export * from "./TemplatesDeleteTemplateResponse";
5
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
6
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem";
7
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
8
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem";
9
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
10
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero";
11
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne";
12
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo";
13
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping";
14
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour";
15
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive";
16
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit";
17
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven";
18
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
19
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
20
+ export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
21
+ export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
22
+ export * from "./TemplatesGetTemplateSnapshotResponseType";
23
+ export * from "./TemplatesGetTemplateSnapshotResponse";
24
+ export * from "./TemplatesForkTemplateResponse";
25
+ export * from "./TemplatesCreateTemplateResponse";
26
+ export * from "./TemplatesRenameTemplateResponse";
27
+ export * from "./TemplatesListTemplateVersionsResponseVersionsItem";
28
+ export * from "./TemplatesListTemplateVersionsResponse";
@@ -16,3 +16,29 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./TemplatesListResponseTemplatesItem"), exports);
18
18
  __exportStar(require("./TemplatesListResponse"), exports);
19
+ __exportStar(require("./TemplatesSaveTemplateVersionResponse"), exports);
20
+ __exportStar(require("./TemplatesDeleteTemplateResponse"), exports);
21
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
22
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem"), exports);
23
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables"), exports);
24
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem"), exports);
25
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables"), exports);
26
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero"), exports);
27
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne"), exports);
28
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo"), exports);
29
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping"), exports);
30
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour"), exports);
31
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive"), exports);
32
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit"), exports);
33
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven"), exports);
34
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
35
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
36
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
37
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
38
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseType"), exports);
39
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponse"), exports);
40
+ __exportStar(require("./TemplatesForkTemplateResponse"), exports);
41
+ __exportStar(require("./TemplatesCreateTemplateResponse"), exports);
42
+ __exportStar(require("./TemplatesRenameTemplateResponse"), exports);
43
+ __exportStar(require("./TemplatesListTemplateVersionsResponseVersionsItem"), exports);
44
+ __exportStar(require("./TemplatesListTemplateVersionsResponse"), exports);
@@ -81,7 +81,7 @@ class Tools {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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
+ : 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),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -157,7 +157,7 @@ class Tools {
157
157
  method: "DELETE",
158
158
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
159
159
  ? yield core.Supplier.get(this._options.project)
160
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
160
+ : 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),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class Tools {
225
225
  method: "PATCH",
226
226
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
227
227
  ? yield core.Supplier.get(this._options.project)
228
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
228
+ : 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),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -307,7 +307,7 @@ class Tools {
307
307
  method: "GET",
308
308
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
309
309
  ? yield core.Supplier.get(this._options.project)
310
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
310
+ : 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),
311
311
  contentType: "application/json",
312
312
  queryParameters: _queryParams,
313
313
  requestType: "json",
@@ -395,7 +395,7 @@ class Tools {
395
395
  method: "GET",
396
396
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
397
397
  ? yield core.Supplier.get(this._options.project)
398
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
398
+ : 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),
399
399
  contentType: "application/json",
400
400
  queryParameters: _queryParams,
401
401
  requestType: "json",
@@ -474,7 +474,7 @@ class Tools {
474
474
  method: "POST",
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.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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
  requestType: "json",
480
480
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -553,7 +553,7 @@ class Tools {
553
553
  method: "PUT",
554
554
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
555
555
  ? yield core.Supplier.get(this._options.project)
556
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
556
+ : 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),
557
557
  contentType: "application/json",
558
558
  requestType: "json",
559
559
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -629,7 +629,7 @@ class Tools {
629
629
  method: "POST",
630
630
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
631
631
  ? yield core.Supplier.get(this._options.project)
632
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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
+ : 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),
633
633
  contentType: "application/json",
634
634
  requestType: "json",
635
635
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -710,7 +710,7 @@ class Tools {
710
710
  method: "POST",
711
711
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
712
712
  ? yield core.Supplier.get(this._options.project)
713
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
713
+ : 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),
714
714
  contentType: "application/json",
715
715
  requestType: "json",
716
716
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -788,7 +788,7 @@ class Tools {
788
788
  method: "GET",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
791
+ : 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, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
792
792
  contentType: "application/json",
793
793
  requestType: "json",
794
794
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -864,7 +864,7 @@ class Tools {
864
864
  method: "GET",
865
865
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
866
866
  ? yield core.Supplier.get(this._options.project)
867
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
867
+ : 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),
868
868
  contentType: "application/json",
869
869
  requestType: "json",
870
870
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -940,7 +940,7 @@ class Tools {
940
940
  method: "POST",
941
941
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
942
942
  ? yield core.Supplier.get(this._options.project)
943
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
943
+ : 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),
944
944
  contentType: "application/json",
945
945
  requestType: "json",
946
946
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1017,7 +1017,7 @@ class Tools {
1017
1017
  method: "GET",
1018
1018
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1019
1019
  ? yield core.Supplier.get(this._options.project)
1020
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1020
+ : 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, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1021
1021
  contentType: "application/json",
1022
1022
  requestType: "json",
1023
1023
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1097,7 +1097,7 @@ class Tools {
1097
1097
  method: "PUT",
1098
1098
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1099
1099
  ? yield core.Supplier.get(this._options.project)
1100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1100
+ : 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),
1101
1101
  contentType: "application/json",
1102
1102
  requestType: "json",
1103
1103
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1174,7 +1174,7 @@ class Tools {
1174
1174
  method: "GET",
1175
1175
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1176
1176
  ? yield core.Supplier.get(this._options.project)
1177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1177
+ : 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),
1178
1178
  contentType: "application/json",
1179
1179
  requestType: "json",
1180
1180
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1251,7 +1251,7 @@ class Tools {
1251
1251
  method: "POST",
1252
1252
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1253
1253
  ? yield core.Supplier.get(this._options.project)
1254
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1254
+ : 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),
1255
1255
  contentType: "application/json",
1256
1256
  requestType: "json",
1257
1257
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1327,7 +1327,7 @@ class Tools {
1327
1327
  method: "DELETE",
1328
1328
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1329
1329
  ? yield core.Supplier.get(this._options.project)
1330
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1330
+ : 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),
1331
1331
  contentType: "application/json",
1332
1332
  requestType: "json",
1333
1333
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1404,7 +1404,7 @@ class Tools {
1404
1404
  method: "PATCH",
1405
1405
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1406
1406
  ? yield core.Supplier.get(this._options.project)
1407
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1407
+ : 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),
1408
1408
  contentType: "application/json",
1409
1409
  requestType: "json",
1410
1410
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1486,7 +1486,7 @@ class Tools {
1486
1486
  method: "POST",
1487
1487
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1488
1488
  ? yield core.Supplier.get(this._options.project)
1489
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1489
+ : 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),
1490
1490
  contentType: "application/json",
1491
1491
  requestType: "json",
1492
1492
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1547,7 +1547,7 @@ class Tools {
1547
1547
  method: "POST",
1548
1548
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1549
1549
  ? yield core.Supplier.get(this._options.project)
1550
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
1550
+ : 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),
1551
1551
  contentType: "application/json",
1552
1552
  requestType: "json",
1553
1553
  body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -85,7 +85,7 @@ class Voice {
85
85
  method: "POST",
86
86
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
87
87
  ? yield core.Supplier.get(this._options.project)
88
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ : 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, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  requestType: "json",
91
91
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(_body, {
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ConflictErrorBody {
5
- message: "You can only migrate agents to a new versioned agent template that belongs to the same project";
5
+ message: string;
6
6
  }
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface NotFoundErrorBody {
5
- message: "Agent not found";
5
+ message: string;
6
6
  }
@@ -1,9 +1,7 @@
1
1
  export * from "./NotFoundErrorBody";
2
- export * from "./InternalServerErrorBody";
3
- export * from "./NotFoundErrorBodyMessage";
4
- export * from "./ConflictErrorBody";
5
2
  export * from "./PaymentRequiredErrorBody";
6
3
  export * from "./BadRequestErrorBody";
4
+ export * from "./ConflictErrorBody";
7
5
  export * from "./ActionModel";
8
6
  export * from "./ActionParametersModel";
9
7
  export * from "./ActionResponseModel";
@@ -15,11 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./NotFoundErrorBody"), exports);
18
- __exportStar(require("./InternalServerErrorBody"), exports);
19
- __exportStar(require("./NotFoundErrorBodyMessage"), exports);
20
- __exportStar(require("./ConflictErrorBody"), exports);
21
18
  __exportStar(require("./PaymentRequiredErrorBody"), exports);
22
19
  __exportStar(require("./BadRequestErrorBody"), exports);
20
+ __exportStar(require("./ConflictErrorBody"), exports);
23
21
  __exportStar(require("./ActionModel"), exports);
24
22
  __exportStar(require("./ActionParametersModel"), exports);
25
23
  __exportStar(require("./ActionResponseModel"), exports);
@@ -8,7 +8,6 @@ export declare const TemplatesMigrateRequest: core.serialization.Schema<serializ
8
8
  export declare namespace TemplatesMigrateRequest {
9
9
  interface Raw {
10
10
  to_template: string;
11
- variables?: Record<string, string> | null;
12
11
  preserve_core_memories: boolean;
13
12
  preserve_tool_variables?: boolean | null;
14
13
  }
@@ -40,7 +40,6 @@ exports.TemplatesMigrateRequest = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
41
  exports.TemplatesMigrateRequest = core.serialization.object({
42
42
  toTemplate: core.serialization.property("to_template", core.serialization.string()),
43
- variables: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
44
43
  preserveCoreMemories: core.serialization.property("preserve_core_memories", core.serialization.boolean()),
45
44
  preserveToolVariables: core.serialization.property("preserve_tool_variables", core.serialization.boolean().optional()),
46
45
  });
@@ -1,3 +1 @@
1
- export { TemplatesCreateVersionRequest } from "./TemplatesCreateVersionRequest";
2
1
  export { TemplatesMigrateRequest } from "./TemplatesMigrateRequest";
3
- export { TemplatesCreateRequest } from "./TemplatesCreateRequest";
@@ -1,9 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TemplatesCreateRequest = exports.TemplatesMigrateRequest = exports.TemplatesCreateVersionRequest = void 0;
4
- var TemplatesCreateVersionRequest_1 = require("./TemplatesCreateVersionRequest");
5
- Object.defineProperty(exports, "TemplatesCreateVersionRequest", { enumerable: true, get: function () { return TemplatesCreateVersionRequest_1.TemplatesCreateVersionRequest; } });
3
+ exports.TemplatesMigrateRequest = void 0;
6
4
  var TemplatesMigrateRequest_1 = require("./TemplatesMigrateRequest");
7
5
  Object.defineProperty(exports, "TemplatesMigrateRequest", { enumerable: true, get: function () { return TemplatesMigrateRequest_1.TemplatesMigrateRequest; } });
8
- var TemplatesCreateRequest_1 = require("./TemplatesCreateRequest");
9
- Object.defineProperty(exports, "TemplatesCreateRequest", { enumerable: true, get: function () { return TemplatesCreateRequest_1.TemplatesCreateRequest; } });
@@ -1,3 +1 @@
1
- export * from "./TemplatesCreateVersionRequestReturnAgentState";
2
1
  export * from "./TemplatesMigrateResponse";
3
- export * from "./TemplatesCreateResponse";
@@ -14,6 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TemplatesCreateVersionRequestReturnAgentState"), exports);
18
17
  __exportStar(require("./TemplatesMigrateResponse"), exports);
19
- __exportStar(require("./TemplatesCreateResponse"), exports);
@@ -30,4 +30,5 @@ export * from "./groups/client/requests";
30
30
  export * from "./identities/client/requests";
31
31
  export * from "./providers/client/requests";
32
32
  export * from "./batches/client/requests";
33
+ export * from "./templates/client/requests";
33
34
  export * from "./clientSideAccessTokens/client/requests";
@@ -69,4 +69,5 @@ __exportStar(require("./groups/client/requests"), exports);
69
69
  __exportStar(require("./identities/client/requests"), exports);
70
70
  __exportStar(require("./providers/client/requests"), exports);
71
71
  __exportStar(require("./batches/client/requests"), exports);
72
+ __exportStar(require("./templates/client/requests"), exports);
72
73
  __exportStar(require("./clientSideAccessTokens/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Letta from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const TemplatesCreateTemplateRequest: core.serialization.Schema<serializers.TemplatesCreateTemplateRequest.Raw, Letta.TemplatesCreateTemplateRequest>;
8
+ export declare namespace TemplatesCreateTemplateRequest {
9
+ interface Raw {
10
+ agent_id: string;
11
+ name?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TemplatesCreateTemplateRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ exports.TemplatesCreateTemplateRequest = core.serialization.object({
42
+ agentId: core.serialization.property("agent_id", core.serialization.string()),
43
+ name: core.serialization.string().optional(),
44
+ });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Letta from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const TemplatesDeleteTemplateRequest: core.serialization.Schema<serializers.TemplatesDeleteTemplateRequest.Raw, Letta.TemplatesDeleteTemplateRequest>;
8
+ export declare namespace TemplatesDeleteTemplateRequest {
9
+ interface Raw {
10
+ }
11
+ }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TemplatesCreateVersionRequestReturnAgentState = void 0;
40
- const core = __importStar(require("../../../../../../core"));
41
- exports.TemplatesCreateVersionRequestReturnAgentState = core.serialization.enum_(["true"]);
39
+ exports.TemplatesDeleteTemplateRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ exports.TemplatesDeleteTemplateRequest = core.serialization.object({});
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Letta from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const TemplatesForkTemplateRequest: core.serialization.Schema<serializers.TemplatesForkTemplateRequest.Raw, Letta.TemplatesForkTemplateRequest>;
8
+ export declare namespace TemplatesForkTemplateRequest {
9
+ interface Raw {
10
+ name?: string | null;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TemplatesForkTemplateRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ exports.TemplatesForkTemplateRequest = core.serialization.object({
42
+ name: core.serialization.string().optional(),
43
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Letta from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const TemplatesRenameTemplateRequest: core.serialization.Schema<serializers.TemplatesRenameTemplateRequest.Raw, Letta.TemplatesRenameTemplateRequest>;
8
+ export declare namespace TemplatesRenameTemplateRequest {
9
+ interface Raw {
10
+ new_name: string;
11
+ }
12
+ }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.InternalServerErrorBody = void 0;
40
- const core = __importStar(require("../../core"));
41
- exports.InternalServerErrorBody = core.serialization.object({
42
- message: core.serialization.stringLiteral("Failed to create agent template"),
39
+ exports.TemplatesRenameTemplateRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ exports.TemplatesRenameTemplateRequest = core.serialization.object({
42
+ newName: core.serialization.property("new_name", core.serialization.string()),
43
43
  });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Letta from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const TemplatesSaveTemplateVersionRequest: core.serialization.Schema<serializers.TemplatesSaveTemplateVersionRequest.Raw, Letta.TemplatesSaveTemplateVersionRequest>;
8
+ export declare namespace TemplatesSaveTemplateVersionRequest {
9
+ interface Raw {
10
+ preserve_environment_variables_on_migration?: boolean | null;
11
+ preserve_core_memories_on_migration?: boolean | null;
12
+ migrate_agents?: boolean | null;
13
+ message?: string | null;
14
+ }
15
+ }