@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
@@ -81,7 +81,7 @@ class Tools {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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,
@@ -158,7 +158,7 @@ class Tools {
158
158
  method: "PATCH",
159
159
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
160
160
  ? yield core.Supplier.get(this._options.project)
161
- : 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),
161
+ : 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),
162
162
  contentType: "application/json",
163
163
  requestType: "json",
164
164
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class Tools {
235
235
  method: "PATCH",
236
236
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
237
237
  ? yield core.Supplier.get(this._options.project)
238
- : 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),
238
+ : 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),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -318,7 +318,7 @@ class Tools {
318
318
  method: "PATCH",
319
319
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
320
320
  ? yield core.Supplier.get(this._options.project)
321
- : 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),
321
+ : 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),
322
322
  contentType: "application/json",
323
323
  queryParameters: _queryParams,
324
324
  requestType: "json",
@@ -103,7 +103,7 @@ class Archives {
103
103
  method: "GET",
104
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
105
  ? yield core.Supplier.get(this._options.project)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
106
+ : 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),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -182,7 +182,7 @@ class Archives {
182
182
  method: "POST",
183
183
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
184
184
  ? yield core.Supplier.get(this._options.project)
185
- : 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),
185
+ : 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),
186
186
  contentType: "application/json",
187
187
  requestType: "json",
188
188
  body: serializers.ArchiveCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -260,7 +260,7 @@ class Archives {
260
260
  method: "PATCH",
261
261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
262
262
  ? yield core.Supplier.get(this._options.project)
263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.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),
263
+ : 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),
264
264
  contentType: "application/json",
265
265
  requestType: "json",
266
266
  body: serializers.ArchiveUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -105,7 +105,7 @@ class Batches {
105
105
  method: "GET",
106
106
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
107
107
  ? yield core.Supplier.get(this._options.project)
108
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
108
+ : 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),
109
109
  contentType: "application/json",
110
110
  queryParameters: _queryParams,
111
111
  requestType: "json",
@@ -196,7 +196,7 @@ class Batches {
196
196
  method: "POST",
197
197
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
198
198
  ? yield core.Supplier.get(this._options.project)
199
- : 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),
199
+ : 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),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.CreateBatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -273,7 +273,7 @@ class Batches {
273
273
  method: "GET",
274
274
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
275
275
  ? yield core.Supplier.get(this._options.project)
276
- : 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),
276
+ : 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),
277
277
  contentType: "application/json",
278
278
  requestType: "json",
279
279
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -349,7 +349,7 @@ class Batches {
349
349
  method: "PATCH",
350
350
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
351
351
  ? yield core.Supplier.get(this._options.project)
352
- : 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),
352
+ : 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),
353
353
  contentType: "application/json",
354
354
  requestType: "json",
355
355
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -104,7 +104,7 @@ class Messages {
104
104
  method: "GET",
105
105
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
106
106
  ? yield core.Supplier.get(this._options.project)
107
- : 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),
107
+ : 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),
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
110
110
  requestType: "json",
@@ -149,7 +149,7 @@ class Blocks {
149
149
  method: "GET",
150
150
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
151
151
  ? yield core.Supplier.get(this._options.project)
152
- : 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),
152
+ : 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),
153
153
  contentType: "application/json",
154
154
  queryParameters: _queryParams,
155
155
  requestType: "json",
@@ -227,7 +227,7 @@ class Blocks {
227
227
  method: "POST",
228
228
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
229
229
  ? yield core.Supplier.get(this._options.project)
230
- : 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),
230
+ : 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),
231
231
  contentType: "application/json",
232
232
  requestType: "json",
233
233
  body: serializers.CreateBlock.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -303,7 +303,7 @@ class Blocks {
303
303
  method: "GET",
304
304
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
305
305
  ? yield core.Supplier.get(this._options.project)
306
- : 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),
306
+ : 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),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -377,7 +377,7 @@ class Blocks {
377
377
  method: "GET",
378
378
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
379
379
  ? yield core.Supplier.get(this._options.project)
380
- : 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),
380
+ : 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),
381
381
  contentType: "application/json",
382
382
  requestType: "json",
383
383
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -451,7 +451,7 @@ class Blocks {
451
451
  method: "DELETE",
452
452
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
453
453
  ? yield core.Supplier.get(this._options.project)
454
- : 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),
454
+ : 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),
455
455
  contentType: "application/json",
456
456
  requestType: "json",
457
457
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -517,7 +517,7 @@ class Blocks {
517
517
  method: "PATCH",
518
518
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
519
519
  ? yield core.Supplier.get(this._options.project)
520
- : 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),
520
+ : 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),
521
521
  contentType: "application/json",
522
522
  requestType: "json",
523
523
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -110,7 +110,7 @@ class Agents {
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",
@@ -92,7 +92,7 @@ class ClientSideAccessTokens {
92
92
  method: "GET",
93
93
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
94
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
95
+ : 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),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -170,7 +170,7 @@ class ClientSideAccessTokens {
170
170
  method: "POST",
171
171
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
172
172
  ? yield core.Supplier.get(this._options.project)
173
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
173
+ : 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),
174
174
  contentType: "application/json",
175
175
  requestType: "json",
176
176
  body: serializers.ClientSideAccessTokensCreateRequest.jsonOrThrow(request, {
@@ -246,7 +246,7 @@ class ClientSideAccessTokens {
246
246
  method: "DELETE",
247
247
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
248
248
  ? yield core.Supplier.get(this._options.project)
249
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
249
+ : 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),
250
250
  contentType: "application/json",
251
251
  requestType: "json",
252
252
  body: request,
@@ -95,7 +95,7 @@ class Folders {
95
95
  method: "GET",
96
96
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
97
97
  ? yield core.Supplier.get(this._options.project)
98
- : 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),
98
+ : 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),
99
99
  contentType: "application/json",
100
100
  requestType: "json",
101
101
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -171,7 +171,7 @@ class Folders {
171
171
  method: "GET",
172
172
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
173
173
  ? yield core.Supplier.get(this._options.project)
174
- : 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),
174
+ : 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),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -247,7 +247,7 @@ class Folders {
247
247
  method: "DELETE",
248
248
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
249
249
  ? yield core.Supplier.get(this._options.project)
250
- : 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),
250
+ : 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),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -315,7 +315,7 @@ class Folders {
315
315
  method: "PATCH",
316
316
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
317
317
  ? yield core.Supplier.get(this._options.project)
318
- : 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),
318
+ : 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),
319
319
  contentType: "application/json",
320
320
  requestType: "json",
321
321
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -395,7 +395,7 @@ class Folders {
395
395
  method: "GET",
396
396
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
397
397
  ? yield core.Supplier.get(this._options.project)
398
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
398
+ : 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),
399
399
  contentType: "application/json",
400
400
  requestType: "json",
401
401
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -482,7 +482,7 @@ class Folders {
482
482
  method: "GET",
483
483
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
484
484
  ? yield core.Supplier.get(this._options.project)
485
- : 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),
485
+ : 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),
486
486
  contentType: "application/json",
487
487
  queryParameters: _queryParams,
488
488
  requestType: "json",
@@ -581,7 +581,7 @@ class Folders {
581
581
  method: "GET",
582
582
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
583
583
  ? yield core.Supplier.get(this._options.project)
584
- : 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),
584
+ : 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),
585
585
  contentType: "application/json",
586
586
  queryParameters: _queryParams,
587
587
  requestType: "json",
@@ -660,7 +660,7 @@ class Folders {
660
660
  method: "POST",
661
661
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
662
662
  ? yield core.Supplier.get(this._options.project)
663
- : 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),
663
+ : 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),
664
664
  contentType: "application/json",
665
665
  requestType: "json",
666
666
  body: serializers.SourceCreate.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",
@@ -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,
@@ -194,7 +194,7 @@ class Files {
194
194
  method: "GET",
195
195
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
196
196
  ? yield core.Supplier.get(this._options.project)
197
- : 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),
197
+ : 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),
198
198
  contentType: "application/json",
199
199
  queryParameters: _queryParams,
200
200
  requestType: "json",
@@ -272,7 +272,7 @@ class Files {
272
272
  method: "DELETE",
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,
@@ -101,7 +101,7 @@ class Passages {
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",
@@ -113,7 +113,7 @@ class Groups {
113
113
  method: "GET",
114
114
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
115
115
  ? yield core.Supplier.get(this._options.project)
116
- : 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),
116
+ : 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),
117
117
  contentType: "application/json",
118
118
  queryParameters: _queryParams,
119
119
  requestType: "json",
@@ -193,7 +193,7 @@ class Groups {
193
193
  method: "POST",
194
194
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
195
195
  ? yield core.Supplier.get(this._options.project)
196
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
196
+ : 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),
197
197
  contentType: "application/json",
198
198
  requestType: "json",
199
199
  body: serializers.GroupCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -269,7 +269,7 @@ class Groups {
269
269
  method: "GET",
270
270
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
271
271
  ? yield core.Supplier.get(this._options.project)
272
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
272
+ : 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),
273
273
  contentType: "application/json",
274
274
  requestType: "json",
275
275
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -345,7 +345,7 @@ class Groups {
345
345
  method: "GET",
346
346
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
347
347
  ? yield core.Supplier.get(this._options.project)
348
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.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),
348
+ : 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),
349
349
  contentType: "application/json",
350
350
  requestType: "json",
351
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -421,7 +421,7 @@ class Groups {
421
421
  method: "DELETE",
422
422
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
423
423
  ? yield core.Supplier.get(this._options.project)
424
- : 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),
424
+ : 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),
425
425
  contentType: "application/json",
426
426
  requestType: "json",
427
427
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -489,7 +489,7 @@ class Groups {
489
489
  method: "PATCH",
490
490
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
491
491
  ? yield core.Supplier.get(this._options.project)
492
- : 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),
492
+ : 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),
493
493
  contentType: "application/json",
494
494
  requestType: "json",
495
495
  body: serializers.GroupUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -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" }),