@letta-ai/letta-client 0.0.68657 → 0.0.68659

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 (548) hide show
  1. package/api/errors/InternalServerError.d.ts +8 -0
  2. package/api/errors/InternalServerError.js +52 -0
  3. package/api/errors/index.d.ts +1 -0
  4. package/api/errors/index.js +1 -0
  5. package/api/resources/agents/client/Client.js +9 -9
  6. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  7. package/api/resources/agents/resources/context/client/Client.js +1 -1
  8. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  9. package/api/resources/agents/resources/files/client/Client.js +4 -4
  10. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  11. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  12. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  13. package/api/resources/agents/resources/messages/client/Client.js +10 -10
  14. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  15. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  16. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  17. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  18. package/api/resources/archives/client/Client.js +3 -3
  19. package/api/resources/batches/client/Client.js +4 -4
  20. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  21. package/api/resources/blocks/client/Client.js +6 -6
  22. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  23. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  24. package/api/resources/folders/client/Client.js +8 -8
  25. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  26. package/api/resources/folders/resources/files/client/Client.js +3 -3
  27. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  28. package/api/resources/groups/client/Client.js +6 -6
  29. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  30. package/api/resources/health/client/Client.js +1 -1
  31. package/api/resources/identities/client/Client.js +7 -7
  32. package/api/resources/identities/resources/agents/client/Client.js +1 -1
  33. package/api/resources/identities/resources/blocks/client/Client.js +1 -1
  34. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  35. package/api/resources/jobs/client/Client.js +5 -5
  36. package/api/resources/models/client/Client.js +2 -2
  37. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  38. package/api/resources/projects/client/Client.js +1 -1
  39. package/api/resources/providers/client/Client.js +6 -6
  40. package/api/resources/runs/client/Client.js +5 -5
  41. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  42. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  43. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  44. package/api/resources/sources/client/Client.js +10 -10
  45. package/api/resources/sources/resources/files/client/Client.js +3 -3
  46. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  47. package/api/resources/steps/client/Client.d.ts +3 -0
  48. package/api/resources/steps/client/Client.js +7 -2
  49. package/api/resources/steps/index.d.ts +1 -1
  50. package/api/resources/steps/index.js +1 -1
  51. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  52. package/api/resources/steps/resources/index.d.ts +3 -0
  53. package/api/resources/steps/resources/index.js +4 -1
  54. package/api/resources/steps/resources/messages/client/Client.d.ts +50 -0
  55. package/api/resources/steps/resources/messages/client/Client.js +166 -0
  56. package/api/resources/steps/resources/messages/client/index.d.ts +1 -0
  57. package/api/resources/steps/resources/messages/client/index.js +17 -0
  58. package/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +30 -0
  59. package/api/resources/steps/resources/messages/client/requests/MessagesListRequest.js +5 -0
  60. package/api/resources/steps/resources/messages/client/requests/index.d.ts +1 -0
  61. package/api/resources/steps/resources/messages/client/requests/index.js +2 -0
  62. package/api/resources/steps/resources/messages/index.d.ts +2 -0
  63. package/api/resources/steps/resources/messages/index.js +18 -0
  64. package/api/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  65. package/api/resources/steps/resources/messages/types/MessagesListRequestOrder.js +10 -0
  66. package/api/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +5 -0
  67. package/api/resources/steps/resources/messages/types/MessagesListResponseItem.js +5 -0
  68. package/api/resources/steps/resources/messages/types/index.d.ts +2 -0
  69. package/api/resources/steps/resources/messages/types/index.js +18 -0
  70. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  71. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  72. package/api/resources/tags/client/Client.js +1 -1
  73. package/api/resources/telemetry/client/Client.js +1 -1
  74. package/api/resources/templates/client/Client.d.ts +39 -0
  75. package/api/resources/templates/client/Client.js +174 -9
  76. package/api/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.d.ts +19 -0
  77. package/api/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.js +5 -0
  78. package/api/resources/templates/client/requests/index.d.ts +1 -0
  79. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  80. package/api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +3 -0
  81. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroup.d.ts +24 -0
  82. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroup.js +5 -0
  83. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.d.ts +5 -0
  84. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.js +5 -0
  85. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.d.ts +4 -0
  86. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.js +5 -0
  87. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.d.ts +5 -0
  88. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.js +5 -0
  89. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.d.ts +4 -0
  90. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.js +5 -0
  91. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.d.ts +5 -0
  92. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.js +5 -0
  93. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.d.ts +4 -0
  94. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.js +5 -0
  95. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.d.ts +5 -0
  96. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.js +5 -0
  97. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.d.ts +4 -0
  98. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.js +5 -0
  99. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.d.ts +5 -0
  100. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.js +5 -0
  101. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.d.ts +4 -0
  102. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.js +5 -0
  103. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.d.ts +12 -0
  104. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.js +14 -0
  105. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.d.ts +5 -0
  106. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.js +5 -0
  107. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.d.ts +4 -0
  108. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.js +5 -0
  109. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.d.ts +5 -0
  110. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.js +5 -0
  111. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.d.ts +4 -0
  112. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.js +5 -0
  113. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.d.ts +5 -0
  114. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.js +5 -0
  115. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.d.ts +4 -0
  116. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.js +5 -0
  117. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.d.ts +5 -0
  118. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.js +5 -0
  119. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.d.ts +4 -0
  120. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.js +5 -0
  121. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.d.ts +4 -0
  122. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.js +5 -0
  123. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.d.ts +5 -0
  124. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.js +5 -0
  125. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.d.ts +4 -0
  126. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.js +5 -0
  127. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.d.ts +5 -0
  128. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.js +5 -0
  129. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.d.ts +4 -0
  130. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.js +5 -0
  131. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.d.ts +5 -0
  132. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.js +5 -0
  133. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.d.ts +4 -0
  134. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.js +5 -0
  135. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.d.ts +5 -0
  136. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.js +5 -0
  137. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.d.ts +4 -0
  138. package/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.js +5 -0
  139. package/api/resources/templates/resources/agents/types/index.d.ts +29 -0
  140. package/api/resources/templates/resources/agents/types/index.js +29 -0
  141. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +1 -0
  142. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +1 -0
  143. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.d.ts +7 -0
  144. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.js +5 -0
  145. package/api/resources/templates/types/TemplatesMigrateDeploymentResponse.d.ts +7 -0
  146. package/api/resources/templates/types/TemplatesMigrateDeploymentResponse.js +5 -0
  147. package/api/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.d.ts +7 -0
  148. package/api/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.js +5 -0
  149. package/api/resources/templates/types/index.d.ts +3 -0
  150. package/api/resources/templates/types/index.js +3 -0
  151. package/api/resources/tools/client/Client.js +20 -20
  152. package/api/resources/voice/client/Client.js +1 -1
  153. package/api/types/ChildToolRule.d.ts +1 -1
  154. package/api/types/ConditionalToolRule.d.ts +1 -1
  155. package/api/types/ContinueToolRule.d.ts +1 -1
  156. package/api/types/InitToolRule.d.ts +1 -1
  157. package/api/types/InternalServerErrorBody.d.ts +6 -0
  158. package/api/types/InternalServerErrorBody.js +5 -0
  159. package/api/types/MaxCountPerStepToolRule.d.ts +1 -1
  160. package/api/types/Memory.d.ts +3 -1
  161. package/api/types/MemoryAgentType.d.ts +8 -0
  162. package/api/types/MemoryAgentType.js +5 -0
  163. package/api/types/ParentToolRule.d.ts +1 -1
  164. package/api/types/RequiredBeforeExitToolRule.d.ts +1 -1
  165. package/api/types/RequiresApprovalToolRule.d.ts +1 -1
  166. package/api/types/Step.d.ts +1 -1
  167. package/api/types/TerminalToolRule.d.ts +1 -1
  168. package/api/types/index.d.ts +2 -0
  169. package/api/types/index.js +2 -0
  170. package/dist/api/errors/InternalServerError.d.ts +8 -0
  171. package/dist/api/errors/InternalServerError.js +52 -0
  172. package/dist/api/errors/index.d.ts +1 -0
  173. package/dist/api/errors/index.js +1 -0
  174. package/dist/api/resources/agents/client/Client.js +9 -9
  175. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  176. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  177. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  178. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  179. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  180. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  181. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  182. package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
  183. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  184. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  185. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  186. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  187. package/dist/api/resources/archives/client/Client.js +3 -3
  188. package/dist/api/resources/batches/client/Client.js +4 -4
  189. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  190. package/dist/api/resources/blocks/client/Client.js +6 -6
  191. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  192. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  193. package/dist/api/resources/folders/client/Client.js +8 -8
  194. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  195. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  196. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  197. package/dist/api/resources/groups/client/Client.js +6 -6
  198. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  199. package/dist/api/resources/health/client/Client.js +1 -1
  200. package/dist/api/resources/identities/client/Client.js +7 -7
  201. package/dist/api/resources/identities/resources/agents/client/Client.js +1 -1
  202. package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
  203. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  204. package/dist/api/resources/jobs/client/Client.js +5 -5
  205. package/dist/api/resources/models/client/Client.js +2 -2
  206. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  207. package/dist/api/resources/projects/client/Client.js +1 -1
  208. package/dist/api/resources/providers/client/Client.js +6 -6
  209. package/dist/api/resources/runs/client/Client.js +5 -5
  210. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  211. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  212. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  213. package/dist/api/resources/sources/client/Client.js +10 -10
  214. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  215. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  216. package/dist/api/resources/steps/client/Client.d.ts +3 -0
  217. package/dist/api/resources/steps/client/Client.js +7 -2
  218. package/dist/api/resources/steps/index.d.ts +1 -1
  219. package/dist/api/resources/steps/index.js +1 -1
  220. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  221. package/dist/api/resources/steps/resources/index.d.ts +3 -0
  222. package/dist/api/resources/steps/resources/index.js +4 -1
  223. package/dist/api/resources/steps/resources/messages/client/Client.d.ts +50 -0
  224. package/dist/api/resources/steps/resources/messages/client/Client.js +166 -0
  225. package/dist/api/resources/steps/resources/messages/client/index.d.ts +1 -0
  226. package/dist/api/resources/steps/resources/messages/client/index.js +17 -0
  227. package/dist/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +30 -0
  228. package/dist/api/resources/steps/resources/messages/client/requests/MessagesListRequest.js +5 -0
  229. package/dist/api/resources/steps/resources/messages/client/requests/index.d.ts +1 -0
  230. package/dist/api/resources/steps/resources/messages/client/requests/index.js +2 -0
  231. package/dist/api/resources/steps/resources/messages/index.d.ts +2 -0
  232. package/dist/api/resources/steps/resources/messages/index.js +18 -0
  233. package/dist/api/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  234. package/dist/api/resources/steps/resources/messages/types/MessagesListRequestOrder.js +10 -0
  235. package/dist/api/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +5 -0
  236. package/dist/api/resources/steps/resources/messages/types/MessagesListResponseItem.js +5 -0
  237. package/dist/api/resources/steps/resources/messages/types/index.d.ts +2 -0
  238. package/dist/api/resources/steps/resources/messages/types/index.js +18 -0
  239. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  240. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  241. package/dist/api/resources/tags/client/Client.js +1 -1
  242. package/dist/api/resources/telemetry/client/Client.js +1 -1
  243. package/dist/api/resources/templates/client/Client.d.ts +39 -0
  244. package/dist/api/resources/templates/client/Client.js +174 -9
  245. package/dist/api/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.d.ts +19 -0
  246. package/dist/api/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.js +5 -0
  247. package/dist/api/resources/templates/client/requests/index.d.ts +1 -0
  248. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  249. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +3 -0
  250. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroup.d.ts +24 -0
  251. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroup.js +5 -0
  252. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.d.ts +5 -0
  253. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.js +5 -0
  254. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.d.ts +4 -0
  255. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.js +5 -0
  256. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.d.ts +5 -0
  257. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.js +5 -0
  258. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.d.ts +4 -0
  259. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.js +5 -0
  260. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.d.ts +5 -0
  261. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.js +5 -0
  262. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.d.ts +4 -0
  263. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.js +5 -0
  264. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.d.ts +5 -0
  265. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.js +5 -0
  266. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.d.ts +4 -0
  267. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.js +5 -0
  268. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.d.ts +5 -0
  269. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.js +5 -0
  270. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.d.ts +4 -0
  271. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.js +5 -0
  272. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.d.ts +12 -0
  273. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.js +14 -0
  274. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.d.ts +5 -0
  275. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.js +5 -0
  276. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.d.ts +4 -0
  277. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.js +5 -0
  278. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.d.ts +5 -0
  279. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.js +5 -0
  280. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.d.ts +4 -0
  281. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.js +5 -0
  282. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.d.ts +5 -0
  283. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.js +5 -0
  284. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.d.ts +4 -0
  285. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.js +5 -0
  286. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.d.ts +5 -0
  287. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.js +5 -0
  288. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.d.ts +4 -0
  289. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.js +5 -0
  290. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.d.ts +4 -0
  291. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.js +5 -0
  292. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.d.ts +5 -0
  293. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.js +5 -0
  294. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.d.ts +4 -0
  295. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.js +5 -0
  296. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.d.ts +5 -0
  297. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.js +5 -0
  298. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.d.ts +4 -0
  299. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.js +5 -0
  300. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.d.ts +5 -0
  301. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.js +5 -0
  302. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.d.ts +4 -0
  303. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.js +5 -0
  304. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.d.ts +5 -0
  305. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.js +5 -0
  306. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.d.ts +4 -0
  307. package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.js +5 -0
  308. package/dist/api/resources/templates/resources/agents/types/index.d.ts +29 -0
  309. package/dist/api/resources/templates/resources/agents/types/index.js +29 -0
  310. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +1 -0
  311. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +1 -0
  312. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.d.ts +7 -0
  313. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.js +5 -0
  314. package/dist/api/resources/templates/types/TemplatesMigrateDeploymentResponse.d.ts +7 -0
  315. package/dist/api/resources/templates/types/TemplatesMigrateDeploymentResponse.js +5 -0
  316. package/dist/api/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.d.ts +7 -0
  317. package/dist/api/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.js +5 -0
  318. package/dist/api/resources/templates/types/index.d.ts +3 -0
  319. package/dist/api/resources/templates/types/index.js +3 -0
  320. package/dist/api/resources/tools/client/Client.js +20 -20
  321. package/dist/api/resources/voice/client/Client.js +1 -1
  322. package/dist/api/types/ChildToolRule.d.ts +1 -1
  323. package/dist/api/types/ConditionalToolRule.d.ts +1 -1
  324. package/dist/api/types/ContinueToolRule.d.ts +1 -1
  325. package/dist/api/types/InitToolRule.d.ts +1 -1
  326. package/dist/api/types/InternalServerErrorBody.d.ts +6 -0
  327. package/dist/api/types/InternalServerErrorBody.js +5 -0
  328. package/dist/api/types/MaxCountPerStepToolRule.d.ts +1 -1
  329. package/dist/api/types/Memory.d.ts +3 -1
  330. package/dist/api/types/MemoryAgentType.d.ts +8 -0
  331. package/dist/api/types/MemoryAgentType.js +5 -0
  332. package/dist/api/types/ParentToolRule.d.ts +1 -1
  333. package/dist/api/types/RequiredBeforeExitToolRule.d.ts +1 -1
  334. package/dist/api/types/RequiresApprovalToolRule.d.ts +1 -1
  335. package/dist/api/types/Step.d.ts +1 -1
  336. package/dist/api/types/TerminalToolRule.d.ts +1 -1
  337. package/dist/api/types/index.d.ts +2 -0
  338. package/dist/api/types/index.js +2 -0
  339. package/dist/serialization/resources/steps/index.d.ts +1 -1
  340. package/dist/serialization/resources/steps/index.js +1 -1
  341. package/dist/serialization/resources/steps/resources/index.d.ts +2 -0
  342. package/dist/serialization/resources/steps/resources/index.js +3 -1
  343. package/dist/serialization/resources/steps/resources/messages/client/index.d.ts +1 -0
  344. package/dist/serialization/resources/steps/resources/messages/client/index.js +37 -0
  345. package/dist/serialization/resources/steps/resources/messages/client/list.d.ts +11 -0
  346. package/dist/serialization/resources/steps/resources/messages/client/list.js +42 -0
  347. package/dist/serialization/resources/steps/resources/messages/index.d.ts +2 -0
  348. package/dist/serialization/resources/steps/resources/messages/index.js +18 -0
  349. package/dist/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  350. package/dist/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.js +41 -0
  351. package/dist/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +19 -0
  352. package/dist/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.js +60 -0
  353. package/dist/serialization/resources/steps/resources/messages/types/index.d.ts +2 -0
  354. package/dist/serialization/resources/steps/resources/messages/types/index.js +18 -0
  355. package/dist/serialization/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.d.ts +15 -0
  356. package/dist/serialization/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.js +46 -0
  357. package/dist/serialization/resources/templates/client/requests/index.d.ts +1 -0
  358. package/dist/serialization/resources/templates/client/requests/index.js +3 -1
  359. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +3 -0
  360. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js +3 -0
  361. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroup.d.ts +44 -0
  362. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroup.js +75 -0
  363. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.d.ts +11 -0
  364. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.js +47 -0
  365. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.d.ts +10 -0
  366. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.js +41 -0
  367. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.d.ts +11 -0
  368. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.js +47 -0
  369. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.d.ts +10 -0
  370. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.js +41 -0
  371. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.d.ts +11 -0
  372. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.js +47 -0
  373. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.d.ts +10 -0
  374. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.js +41 -0
  375. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.d.ts +11 -0
  376. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.js +47 -0
  377. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.d.ts +10 -0
  378. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.js +41 -0
  379. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.d.ts +11 -0
  380. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.js +47 -0
  381. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.d.ts +10 -0
  382. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.js +41 -0
  383. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.d.ts +10 -0
  384. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.js +41 -0
  385. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.d.ts +11 -0
  386. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.js +47 -0
  387. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.d.ts +10 -0
  388. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.js +41 -0
  389. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.d.ts +11 -0
  390. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.js +47 -0
  391. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.d.ts +10 -0
  392. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.js +41 -0
  393. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.d.ts +11 -0
  394. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.js +47 -0
  395. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.d.ts +10 -0
  396. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.js +41 -0
  397. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.d.ts +11 -0
  398. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.js +47 -0
  399. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.d.ts +10 -0
  400. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.js +41 -0
  401. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.d.ts +10 -0
  402. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.js +44 -0
  403. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.d.ts +11 -0
  404. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.js +47 -0
  405. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.d.ts +10 -0
  406. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.js +41 -0
  407. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.d.ts +11 -0
  408. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.js +47 -0
  409. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.d.ts +10 -0
  410. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.js +41 -0
  411. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.d.ts +11 -0
  412. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.js +47 -0
  413. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.d.ts +10 -0
  414. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.js +41 -0
  415. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.d.ts +11 -0
  416. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.js +47 -0
  417. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.d.ts +10 -0
  418. package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.js +41 -0
  419. package/dist/serialization/resources/templates/resources/agents/types/index.d.ts +29 -0
  420. package/dist/serialization/resources/templates/resources/agents/types/index.js +29 -0
  421. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +2 -0
  422. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +2 -0
  423. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +1 -0
  424. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +1 -0
  425. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.d.ts +13 -0
  426. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.js +44 -0
  427. package/dist/serialization/resources/templates/types/TemplatesMigrateDeploymentResponse.d.ts +13 -0
  428. package/dist/serialization/resources/templates/types/TemplatesMigrateDeploymentResponse.js +44 -0
  429. package/dist/serialization/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.d.ts +13 -0
  430. package/dist/serialization/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.js +44 -0
  431. package/dist/serialization/resources/templates/types/index.d.ts +3 -0
  432. package/dist/serialization/resources/templates/types/index.js +3 -0
  433. package/dist/serialization/types/InternalServerErrorBody.d.ts +12 -0
  434. package/dist/serialization/types/InternalServerErrorBody.js +43 -0
  435. package/dist/serialization/types/Memory.d.ts +2 -0
  436. package/dist/serialization/types/Memory.js +2 -0
  437. package/dist/serialization/types/MemoryAgentType.d.ts +11 -0
  438. package/dist/serialization/types/MemoryAgentType.js +42 -0
  439. package/dist/serialization/types/index.d.ts +2 -0
  440. package/dist/serialization/types/index.js +2 -0
  441. package/dist/version.d.ts +1 -1
  442. package/dist/version.js +1 -1
  443. package/package.json +1 -1
  444. package/reference.md +243 -0
  445. package/serialization/resources/steps/index.d.ts +1 -1
  446. package/serialization/resources/steps/index.js +1 -1
  447. package/serialization/resources/steps/resources/index.d.ts +2 -0
  448. package/serialization/resources/steps/resources/index.js +3 -1
  449. package/serialization/resources/steps/resources/messages/client/index.d.ts +1 -0
  450. package/serialization/resources/steps/resources/messages/client/index.js +37 -0
  451. package/serialization/resources/steps/resources/messages/client/list.d.ts +11 -0
  452. package/serialization/resources/steps/resources/messages/client/list.js +42 -0
  453. package/serialization/resources/steps/resources/messages/index.d.ts +2 -0
  454. package/serialization/resources/steps/resources/messages/index.js +18 -0
  455. package/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  456. package/serialization/resources/steps/resources/messages/types/MessagesListRequestOrder.js +41 -0
  457. package/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.d.ts +19 -0
  458. package/serialization/resources/steps/resources/messages/types/MessagesListResponseItem.js +60 -0
  459. package/serialization/resources/steps/resources/messages/types/index.d.ts +2 -0
  460. package/serialization/resources/steps/resources/messages/types/index.js +18 -0
  461. package/serialization/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.d.ts +15 -0
  462. package/serialization/resources/templates/client/requests/TemplatesMigrateDeploymentRequest.js +46 -0
  463. package/serialization/resources/templates/client/requests/index.d.ts +1 -0
  464. package/serialization/resources/templates/client/requests/index.js +3 -1
  465. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +3 -0
  466. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js +3 -0
  467. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroup.d.ts +44 -0
  468. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroup.js +75 -0
  469. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.d.ts +11 -0
  470. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateId.js +47 -0
  471. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.d.ts +10 -0
  472. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupBaseTemplateIdItem.js +41 -0
  473. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.d.ts +11 -0
  474. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentId.js +47 -0
  475. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.d.ts +10 -0
  476. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupDeploymentIdItem.js +41 -0
  477. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.d.ts +11 -0
  478. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHidden.js +47 -0
  479. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.d.ts +10 -0
  480. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupHiddenItem.js +41 -0
  481. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.d.ts +11 -0
  482. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageId.js +47 -0
  483. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.d.ts +10 -0
  484. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupLastProcessedMessageIdItem.js +41 -0
  485. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.d.ts +11 -0
  486. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentId.js +47 -0
  487. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.d.ts +10 -0
  488. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerAgentIdItem.js +41 -0
  489. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.d.ts +10 -0
  490. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupManagerType.js +41 -0
  491. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.d.ts +11 -0
  492. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLength.js +47 -0
  493. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.d.ts +10 -0
  494. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxMessageBufferLengthItem.js +41 -0
  495. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.d.ts +11 -0
  496. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurns.js +47 -0
  497. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.d.ts +10 -0
  498. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMaxTurnsItem.js +41 -0
  499. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.d.ts +11 -0
  500. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLength.js +47 -0
  501. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.d.ts +10 -0
  502. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupMinMessageBufferLengthItem.js +41 -0
  503. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.d.ts +11 -0
  504. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectId.js +47 -0
  505. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.d.ts +10 -0
  506. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupProjectIdItem.js +41 -0
  507. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.d.ts +10 -0
  508. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSharedBlockIds.js +44 -0
  509. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.d.ts +11 -0
  510. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequency.js +47 -0
  511. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.d.ts +10 -0
  512. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupSleeptimeAgentFrequencyItem.js +41 -0
  513. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.d.ts +11 -0
  514. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateId.js +47 -0
  515. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.d.ts +10 -0
  516. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTemplateIdItem.js +41 -0
  517. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.d.ts +11 -0
  518. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationToken.js +47 -0
  519. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.d.ts +10 -0
  520. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTerminationTokenItem.js +41 -0
  521. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.d.ts +11 -0
  522. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounter.js +47 -0
  523. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.d.ts +10 -0
  524. package/serialization/resources/templates/resources/agents/types/AgentsCreateResponseGroupTurnsCounterItem.js +41 -0
  525. package/serialization/resources/templates/resources/agents/types/index.d.ts +29 -0
  526. package/serialization/resources/templates/resources/agents/types/index.js +29 -0
  527. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +2 -0
  528. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +2 -0
  529. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +1 -0
  530. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +1 -0
  531. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.d.ts +13 -0
  532. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseRelationshipsItem.js +44 -0
  533. package/serialization/resources/templates/types/TemplatesMigrateDeploymentResponse.d.ts +13 -0
  534. package/serialization/resources/templates/types/TemplatesMigrateDeploymentResponse.js +44 -0
  535. package/serialization/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.d.ts +13 -0
  536. package/serialization/resources/templates/types/TemplatesSetCurrentTemplateFromSnapshotResponse.js +44 -0
  537. package/serialization/resources/templates/types/index.d.ts +3 -0
  538. package/serialization/resources/templates/types/index.js +3 -0
  539. package/serialization/types/InternalServerErrorBody.d.ts +12 -0
  540. package/serialization/types/InternalServerErrorBody.js +43 -0
  541. package/serialization/types/Memory.d.ts +2 -0
  542. package/serialization/types/Memory.js +2 -0
  543. package/serialization/types/MemoryAgentType.d.ts +11 -0
  544. package/serialization/types/MemoryAgentType.js +42 -0
  545. package/serialization/types/index.d.ts +2 -0
  546. package/serialization/types/index.js +2 -0
  547. package/version.d.ts +1 -1
  548. package/version.js +1 -1
@@ -110,7 +110,7 @@ class Messages {
110
110
  method: "GET",
111
111
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
112
112
  ? yield core.Supplier.get(this._options.project)
113
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
113
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
116
116
  requestType: "json",
@@ -197,7 +197,7 @@ class Messages {
197
197
  method: "POST",
198
198
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
199
199
  ? yield core.Supplier.get(this._options.project)
200
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
200
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  requestType: "json",
203
203
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -268,7 +268,7 @@ class Messages {
268
268
  method: "POST",
269
269
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
270
270
  ? yield core.Supplier.get(this._options.project)
271
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
271
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
272
  contentType: "application/json",
273
273
  requestType: "json",
274
274
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -360,7 +360,7 @@ class Messages {
360
360
  method: "PATCH",
361
361
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
362
362
  ? yield core.Supplier.get(this._options.project)
363
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
363
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
364
364
  contentType: "application/json",
365
365
  requestType: "json",
366
366
  body: serializers.groups.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -437,7 +437,7 @@ class Messages {
437
437
  method: "PATCH",
438
438
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
439
439
  ? yield core.Supplier.get(this._options.project)
440
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
440
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
441
441
  contentType: "application/json",
442
442
  requestType: "json",
443
443
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -75,7 +75,7 @@ class Health {
75
75
  method: "GET",
76
76
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
77
77
  ? yield core.Supplier.get(this._options.project)
78
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -129,7 +129,7 @@ class Identities {
129
129
  method: "GET",
130
130
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
131
131
  ? yield core.Supplier.get(this._options.project)
132
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
132
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
133
133
  contentType: "application/json",
134
134
  queryParameters: _queryParams,
135
135
  requestType: "json",
@@ -208,7 +208,7 @@ class Identities {
208
208
  method: "POST",
209
209
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
210
210
  ? yield core.Supplier.get(this._options.project)
211
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
211
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
212
212
  contentType: "application/json",
213
213
  requestType: "json",
214
214
  body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -287,7 +287,7 @@ class Identities {
287
287
  method: "PUT",
288
288
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
289
289
  ? yield core.Supplier.get(this._options.project)
290
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
290
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -363,7 +363,7 @@ class Identities {
363
363
  method: "GET",
364
364
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
365
365
  ? yield core.Supplier.get(this._options.project)
366
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
366
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
367
367
  contentType: "application/json",
368
368
  requestType: "json",
369
369
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -437,7 +437,7 @@ class Identities {
437
437
  method: "GET",
438
438
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
439
439
  ? yield core.Supplier.get(this._options.project)
440
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
440
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
441
441
  contentType: "application/json",
442
442
  requestType: "json",
443
443
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -513,7 +513,7 @@ class Identities {
513
513
  method: "DELETE",
514
514
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
515
515
  ? yield core.Supplier.get(this._options.project)
516
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
516
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
517
517
  contentType: "application/json",
518
518
  requestType: "json",
519
519
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -579,7 +579,7 @@ class Identities {
579
579
  method: "PATCH",
580
580
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
581
581
  ? yield core.Supplier.get(this._options.project)
582
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
582
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
583
583
  contentType: "application/json",
584
584
  requestType: "json",
585
585
  body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -101,7 +101,7 @@ class Agents {
101
101
  method: "GET",
102
102
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
103
  ? yield core.Supplier.get(this._options.project)
104
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
104
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  queryParameters: _queryParams,
107
107
  requestType: "json",
@@ -101,7 +101,7 @@ class Blocks {
101
101
  method: "GET",
102
102
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
103
  ? yield core.Supplier.get(this._options.project)
104
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
104
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  queryParameters: _queryParams,
107
107
  requestType: "json",
@@ -84,7 +84,7 @@ class Properties {
84
84
  method: "PUT",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
@@ -101,7 +101,7 @@ class Jobs {
101
101
  method: "GET",
102
102
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
103
  ? yield core.Supplier.get(this._options.project)
104
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
104
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  queryParameters: _queryParams,
107
107
  requestType: "json",
@@ -195,7 +195,7 @@ class Jobs {
195
195
  method: "GET",
196
196
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
197
197
  ? yield core.Supplier.get(this._options.project)
198
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
198
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
199
199
  contentType: "application/json",
200
200
  queryParameters: _queryParams,
201
201
  requestType: "json",
@@ -272,7 +272,7 @@ class Jobs {
272
272
  method: "GET",
273
273
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
274
274
  ? yield core.Supplier.get(this._options.project)
275
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
275
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
276
276
  contentType: "application/json",
277
277
  requestType: "json",
278
278
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -348,7 +348,7 @@ class Jobs {
348
348
  method: "DELETE",
349
349
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
350
350
  ? yield core.Supplier.get(this._options.project)
351
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
351
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
352
352
  contentType: "application/json",
353
353
  requestType: "json",
354
354
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -427,7 +427,7 @@ class Jobs {
427
427
  method: "PATCH",
428
428
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
429
429
  ? yield core.Supplier.get(this._options.project)
430
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
430
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
431
431
  contentType: "application/json",
432
432
  requestType: "json",
433
433
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -106,7 +106,7 @@ class Models {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -178,7 +178,7 @@ class Models {
178
178
  method: "GET",
179
179
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
180
180
  ? yield core.Supplier.get(this._options.project)
181
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
181
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -80,7 +80,7 @@ class Embeddings {
80
80
  method: "GET",
81
81
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
82
82
  ? yield core.Supplier.get(this._options.project)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -89,7 +89,7 @@ class Projects {
89
89
  method: "GET",
90
90
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
91
91
  ? yield core.Supplier.get(this._options.project)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
@@ -108,7 +108,7 @@ class Providers {
108
108
  method: "GET",
109
109
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
110
110
  ? yield core.Supplier.get(this._options.project)
111
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
111
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
112
112
  contentType: "application/json",
113
113
  queryParameters: _queryParams,
114
114
  requestType: "json",
@@ -189,7 +189,7 @@ class Providers {
189
189
  method: "POST",
190
190
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
191
191
  ? yield core.Supplier.get(this._options.project)
192
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -266,7 +266,7 @@ class Providers {
266
266
  method: "GET",
267
267
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
268
268
  ? yield core.Supplier.get(this._options.project)
269
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
269
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
270
270
  contentType: "application/json",
271
271
  requestType: "json",
272
272
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -342,7 +342,7 @@ class Providers {
342
342
  method: "DELETE",
343
343
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
344
344
  ? yield core.Supplier.get(this._options.project)
345
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
345
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
346
346
  contentType: "application/json",
347
347
  requestType: "json",
348
348
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -412,7 +412,7 @@ class Providers {
412
412
  method: "PATCH",
413
413
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
414
414
  ? yield core.Supplier.get(this._options.project)
415
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
415
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
416
416
  contentType: "application/json",
417
417
  requestType: "json",
418
418
  body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -492,7 +492,7 @@ class Providers {
492
492
  method: "POST",
493
493
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
494
494
  ? yield core.Supplier.get(this._options.project)
495
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
495
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
496
496
  contentType: "application/json",
497
497
  requestType: "json",
498
498
  body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -129,7 +129,7 @@ class Runs {
129
129
  method: "GET",
130
130
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
131
131
  ? yield core.Supplier.get(this._options.project)
132
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
132
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
133
133
  contentType: "application/json",
134
134
  queryParameters: _queryParams,
135
135
  requestType: "json",
@@ -219,7 +219,7 @@ class Runs {
219
219
  method: "GET",
220
220
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
221
221
  ? yield core.Supplier.get(this._options.project)
222
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
222
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
223
223
  contentType: "application/json",
224
224
  queryParameters: _queryParams,
225
225
  requestType: "json",
@@ -296,7 +296,7 @@ class Runs {
296
296
  method: "GET",
297
297
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
298
298
  ? yield core.Supplier.get(this._options.project)
299
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
300
300
  contentType: "application/json",
301
301
  requestType: "json",
302
302
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -372,7 +372,7 @@ class Runs {
372
372
  method: "DELETE",
373
373
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
374
374
  ? yield core.Supplier.get(this._options.project)
375
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
375
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
376
376
  contentType: "application/json",
377
377
  requestType: "json",
378
378
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -437,7 +437,7 @@ class Runs {
437
437
  method: "POST",
438
438
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
439
439
  ? yield core.Supplier.get(this._options.project)
440
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
440
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
441
441
  contentType: "application/json",
442
442
  requestType: "json",
443
443
  body: serializers.RetrieveStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -98,7 +98,7 @@ class Messages {
98
98
  method: "GET",
99
99
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
100
100
  ? yield core.Supplier.get(this._options.project)
101
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
101
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
104
104
  requestType: "json",
@@ -106,7 +106,7 @@ class Steps {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -81,7 +81,7 @@ class Usage {
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.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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,
@@ -90,7 +90,7 @@ class Sources {
90
90
  method: "GET",
91
91
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  requestType: "json",
96
96
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -166,7 +166,7 @@ class Sources {
166
166
  method: "GET",
167
167
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
168
168
  ? yield core.Supplier.get(this._options.project)
169
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -242,7 +242,7 @@ class Sources {
242
242
  method: "DELETE",
243
243
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
244
244
  ? yield core.Supplier.get(this._options.project)
245
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
245
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -310,7 +310,7 @@ class Sources {
310
310
  method: "PATCH",
311
311
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
312
312
  ? yield core.Supplier.get(this._options.project)
313
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -387,7 +387,7 @@ class Sources {
387
387
  method: "GET",
388
388
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
389
389
  ? yield core.Supplier.get(this._options.project)
390
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
390
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -474,7 +474,7 @@ class Sources {
474
474
  method: "GET",
475
475
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
476
476
  ? yield core.Supplier.get(this._options.project)
477
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
478
478
  contentType: "application/json",
479
479
  queryParameters: _queryParams,
480
480
  requestType: "json",
@@ -550,7 +550,7 @@ class Sources {
550
550
  method: "GET",
551
551
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
552
552
  ? yield core.Supplier.get(this._options.project)
553
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
553
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
554
554
  contentType: "application/json",
555
555
  requestType: "json",
556
556
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -628,7 +628,7 @@ class Sources {
628
628
  method: "POST",
629
629
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
630
630
  ? yield core.Supplier.get(this._options.project)
631
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
631
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
632
632
  contentType: "application/json",
633
633
  requestType: "json",
634
634
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -705,7 +705,7 @@ class Sources {
705
705
  method: "GET",
706
706
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
707
707
  ? yield core.Supplier.get(this._options.project)
708
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
709
709
  contentType: "application/json",
710
710
  requestType: "json",
711
711
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -788,7 +788,7 @@ class Sources {
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.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
792
792
  contentType: "application/json",
793
793
  queryParameters: _queryParams,
794
794
  requestType: "json",
@@ -93,7 +93,7 @@ class Files {
93
93
  method: "POST",
94
94
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  queryParameters: _queryParams,
98
98
  requestType: "file",
99
99
  duplex: _maybeEncodedRequest.duplex,
@@ -186,7 +186,7 @@ class Files {
186
186
  method: "GET",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
190
190
  contentType: "application/json",
191
191
  queryParameters: _queryParams,
192
192
  requestType: "json",
@@ -264,7 +264,7 @@ class Files {
264
264
  method: "DELETE",
265
265
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
266
266
  ? yield core.Supplier.get(this._options.project)
267
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "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),
267
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "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),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68657", "User-Agent": "@letta-ai/letta-client/0.0.68657", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68659", "User-Agent": "@letta-ai/letta-client/0.0.68659", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",