@letta-ai/letta-client 0.1.200 → 0.1.202

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 (212) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +4 -4
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/index.d.ts +2 -1
  9. package/api/resources/agents/resources/index.js +3 -2
  10. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  11. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  12. package/api/resources/agents/resources/passages/client/Client.d.ts +20 -0
  13. package/api/resources/agents/resources/passages/client/Client.js +111 -4
  14. package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
  15. package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
  16. package/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  17. package/api/resources/agents/resources/passages/index.d.ts +1 -0
  18. package/api/resources/agents/resources/passages/index.js +1 -0
  19. package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
  20. package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
  21. package/api/resources/agents/resources/passages/types/index.d.ts +1 -0
  22. package/api/resources/agents/resources/passages/types/index.js +17 -0
  23. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  24. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  25. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  26. package/api/resources/batches/client/Client.js +4 -4
  27. package/api/resources/blocks/client/Client.js +6 -6
  28. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  29. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  30. package/api/resources/embeddingModels/client/Client.js +1 -1
  31. package/api/resources/folders/client/Client.js +9 -9
  32. package/api/resources/folders/resources/files/client/Client.js +3 -3
  33. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  34. package/api/resources/groups/client/Client.js +6 -6
  35. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  36. package/api/resources/health/client/Client.js +1 -1
  37. package/api/resources/identities/client/Client.js +7 -7
  38. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  39. package/api/resources/jobs/client/Client.js +5 -5
  40. package/api/resources/messages/client/Client.js +1 -1
  41. package/api/resources/models/client/Client.js +2 -2
  42. package/api/resources/projects/client/Client.js +1 -1
  43. package/api/resources/providers/client/Client.js +6 -6
  44. package/api/resources/runs/client/Client.js +5 -5
  45. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  46. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  47. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  48. package/api/resources/sources/client/Client.js +10 -10
  49. package/api/resources/sources/resources/files/client/Client.js +3 -3
  50. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  51. package/api/resources/steps/client/Client.js +3 -3
  52. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  53. package/api/resources/tags/client/Client.js +1 -1
  54. package/api/resources/telemetry/client/Client.js +1 -1
  55. package/api/resources/templates/client/Client.js +8 -8
  56. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  57. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -0
  58. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
  59. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
  60. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  61. package/api/resources/templates/types/index.d.ts +1 -0
  62. package/api/resources/templates/types/index.js +1 -0
  63. package/api/resources/tools/client/Client.js +103 -24
  64. package/api/resources/tools/client/requests/ToolsCountRequest.d.ts +27 -2
  65. package/api/resources/tools/client/requests/ToolsListRequest.d.ts +24 -0
  66. package/api/resources/voice/client/Client.js +1 -1
  67. package/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
  68. package/api/types/ArchivalMemorySearchResponse.js +5 -0
  69. package/api/types/ArchivalMemorySearchResult.d.ts +11 -0
  70. package/api/types/ArchivalMemorySearchResult.js +5 -0
  71. package/api/types/UpdateSsemcpServer.d.ts +0 -2
  72. package/api/types/UpdateStdioMcpServer.d.ts +0 -2
  73. package/api/types/UpdateStreamableHttpmcpServer.d.ts +0 -2
  74. package/api/types/index.d.ts +2 -0
  75. package/api/types/index.js +2 -0
  76. package/dist/api/resources/agents/client/Client.js +11 -11
  77. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  78. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  79. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  81. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  82. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  83. package/dist/api/resources/agents/resources/index.d.ts +2 -1
  84. package/dist/api/resources/agents/resources/index.js +3 -2
  85. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  86. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  87. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +20 -0
  88. package/dist/api/resources/agents/resources/passages/client/Client.js +111 -4
  89. package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
  90. package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
  91. package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  92. package/dist/api/resources/agents/resources/passages/index.d.ts +1 -0
  93. package/dist/api/resources/agents/resources/passages/index.js +1 -0
  94. package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
  95. package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
  96. package/dist/api/resources/agents/resources/passages/types/index.d.ts +1 -0
  97. package/dist/api/resources/agents/resources/passages/types/index.js +17 -0
  98. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  99. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  100. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  101. package/dist/api/resources/batches/client/Client.js +4 -4
  102. package/dist/api/resources/blocks/client/Client.js +6 -6
  103. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  104. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  105. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  106. package/dist/api/resources/folders/client/Client.js +9 -9
  107. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  108. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  109. package/dist/api/resources/groups/client/Client.js +6 -6
  110. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  111. package/dist/api/resources/health/client/Client.js +1 -1
  112. package/dist/api/resources/identities/client/Client.js +7 -7
  113. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  114. package/dist/api/resources/jobs/client/Client.js +5 -5
  115. package/dist/api/resources/messages/client/Client.js +1 -1
  116. package/dist/api/resources/models/client/Client.js +2 -2
  117. package/dist/api/resources/projects/client/Client.js +1 -1
  118. package/dist/api/resources/providers/client/Client.js +6 -6
  119. package/dist/api/resources/runs/client/Client.js +5 -5
  120. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  121. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  122. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  123. package/dist/api/resources/sources/client/Client.js +10 -10
  124. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  125. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  126. package/dist/api/resources/steps/client/Client.js +3 -3
  127. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  128. package/dist/api/resources/tags/client/Client.js +1 -1
  129. package/dist/api/resources/telemetry/client/Client.js +1 -1
  130. package/dist/api/resources/templates/client/Client.js +8 -8
  131. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  132. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -0
  133. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
  134. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
  135. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  136. package/dist/api/resources/templates/types/index.d.ts +1 -0
  137. package/dist/api/resources/templates/types/index.js +1 -0
  138. package/dist/api/resources/tools/client/Client.js +103 -24
  139. package/dist/api/resources/tools/client/requests/ToolsCountRequest.d.ts +27 -2
  140. package/dist/api/resources/tools/client/requests/ToolsListRequest.d.ts +24 -0
  141. package/dist/api/resources/voice/client/Client.js +1 -1
  142. package/dist/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
  143. package/dist/api/types/ArchivalMemorySearchResponse.js +5 -0
  144. package/dist/api/types/ArchivalMemorySearchResult.d.ts +11 -0
  145. package/dist/api/types/ArchivalMemorySearchResult.js +5 -0
  146. package/dist/api/types/UpdateSsemcpServer.d.ts +0 -2
  147. package/dist/api/types/UpdateStdioMcpServer.d.ts +0 -2
  148. package/dist/api/types/UpdateStreamableHttpmcpServer.d.ts +0 -2
  149. package/dist/api/types/index.d.ts +2 -0
  150. package/dist/api/types/index.js +2 -0
  151. package/dist/serialization/resources/agents/resources/index.d.ts +2 -1
  152. package/dist/serialization/resources/agents/resources/index.js +3 -2
  153. package/dist/serialization/resources/agents/resources/passages/index.d.ts +1 -0
  154. package/dist/serialization/resources/agents/resources/passages/index.js +1 -0
  155. package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
  156. package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
  157. package/dist/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
  158. package/dist/serialization/resources/agents/resources/passages/types/index.js +17 -0
  159. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -0
  160. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -0
  161. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
  162. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
  163. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  164. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +1 -1
  165. package/dist/serialization/resources/templates/types/index.d.ts +1 -0
  166. package/dist/serialization/resources/templates/types/index.js +1 -0
  167. package/dist/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
  168. package/dist/serialization/types/ArchivalMemorySearchResponse.js +45 -0
  169. package/dist/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
  170. package/dist/serialization/types/ArchivalMemorySearchResult.js +45 -0
  171. package/dist/serialization/types/UpdateSsemcpServer.d.ts +0 -1
  172. package/dist/serialization/types/UpdateSsemcpServer.js +0 -1
  173. package/dist/serialization/types/UpdateStdioMcpServer.d.ts +0 -1
  174. package/dist/serialization/types/UpdateStdioMcpServer.js +0 -1
  175. package/dist/serialization/types/UpdateStreamableHttpmcpServer.d.ts +0 -1
  176. package/dist/serialization/types/UpdateStreamableHttpmcpServer.js +0 -1
  177. package/dist/serialization/types/index.d.ts +2 -0
  178. package/dist/serialization/types/index.js +2 -0
  179. package/dist/version.d.ts +1 -1
  180. package/dist/version.js +1 -1
  181. package/package.json +1 -1
  182. package/reference.md +77 -0
  183. package/serialization/resources/agents/resources/index.d.ts +2 -1
  184. package/serialization/resources/agents/resources/index.js +3 -2
  185. package/serialization/resources/agents/resources/passages/index.d.ts +1 -0
  186. package/serialization/resources/agents/resources/passages/index.js +1 -0
  187. package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
  188. package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
  189. package/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
  190. package/serialization/resources/agents/resources/passages/types/index.js +17 -0
  191. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -0
  192. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -0
  193. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
  194. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
  195. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  196. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +1 -1
  197. package/serialization/resources/templates/types/index.d.ts +1 -0
  198. package/serialization/resources/templates/types/index.js +1 -0
  199. package/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
  200. package/serialization/types/ArchivalMemorySearchResponse.js +45 -0
  201. package/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
  202. package/serialization/types/ArchivalMemorySearchResult.js +45 -0
  203. package/serialization/types/UpdateSsemcpServer.d.ts +0 -1
  204. package/serialization/types/UpdateSsemcpServer.js +0 -1
  205. package/serialization/types/UpdateStdioMcpServer.d.ts +0 -1
  206. package/serialization/types/UpdateStdioMcpServer.js +0 -1
  207. package/serialization/types/UpdateStreamableHttpmcpServer.d.ts +0 -1
  208. package/serialization/types/UpdateStreamableHttpmcpServer.js +0 -1
  209. package/serialization/types/index.d.ts +2 -0
  210. package/serialization/types/index.js +2 -0
  211. package/version.d.ts +1 -1
  212. package/version.js +1 -1
@@ -106,7 +106,7 @@ class Steps {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -81,7 +81,7 @@ class Usage {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -90,7 +90,7 @@ class Sources {
90
90
  method: "GET",
91
91
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  requestType: "json",
96
96
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -166,7 +166,7 @@ class Sources {
166
166
  method: "GET",
167
167
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
168
168
  ? yield core.Supplier.get(this._options.project)
169
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -242,7 +242,7 @@ class Sources {
242
242
  method: "DELETE",
243
243
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
244
244
  ? yield core.Supplier.get(this._options.project)
245
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
245
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -310,7 +310,7 @@ class Sources {
310
310
  method: "PATCH",
311
311
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
312
312
  ? yield core.Supplier.get(this._options.project)
313
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -387,7 +387,7 @@ class Sources {
387
387
  method: "GET",
388
388
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
389
389
  ? yield core.Supplier.get(this._options.project)
390
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
390
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -474,7 +474,7 @@ class Sources {
474
474
  method: "GET",
475
475
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
476
476
  ? yield core.Supplier.get(this._options.project)
477
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
477
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
478
478
  contentType: "application/json",
479
479
  queryParameters: _queryParams,
480
480
  requestType: "json",
@@ -550,7 +550,7 @@ class Sources {
550
550
  method: "GET",
551
551
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
552
552
  ? yield core.Supplier.get(this._options.project)
553
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
553
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
554
554
  contentType: "application/json",
555
555
  requestType: "json",
556
556
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -628,7 +628,7 @@ class Sources {
628
628
  method: "POST",
629
629
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
630
630
  ? yield core.Supplier.get(this._options.project)
631
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
631
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
632
632
  contentType: "application/json",
633
633
  requestType: "json",
634
634
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -705,7 +705,7 @@ class Sources {
705
705
  method: "GET",
706
706
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
707
707
  ? yield core.Supplier.get(this._options.project)
708
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
709
709
  contentType: "application/json",
710
710
  requestType: "json",
711
711
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -788,7 +788,7 @@ class Sources {
788
788
  method: "GET",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
792
792
  contentType: "application/json",
793
793
  queryParameters: _queryParams,
794
794
  requestType: "json",
@@ -93,7 +93,7 @@ class Files {
93
93
  method: "POST",
94
94
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "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.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  queryParameters: _queryParams,
98
98
  requestType: "file",
99
99
  duplex: _maybeEncodedRequest.duplex,
@@ -186,7 +186,7 @@ class Files {
186
186
  method: "GET",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  queryParameters: _queryParams,
192
192
  requestType: "json",
@@ -264,7 +264,7 @@ class Files {
264
264
  method: "DELETE",
265
265
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
266
266
  ? yield core.Supplier.get(this._options.project)
267
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
267
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -140,7 +140,7 @@ class Steps {
140
140
  method: "GET",
141
141
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
142
142
  ? yield core.Supplier.get(this._options.project)
143
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
144
144
  contentType: "application/json",
145
145
  queryParameters: _queryParams,
146
146
  requestType: "json",
@@ -217,7 +217,7 @@ class Steps {
217
217
  method: "GET",
218
218
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
219
219
  ? yield core.Supplier.get(this._options.project)
220
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
221
221
  contentType: "application/json",
222
222
  requestType: "json",
223
223
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -293,7 +293,7 @@ class Steps {
293
293
  method: "GET",
294
294
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
295
295
  ? yield core.Supplier.get(this._options.project)
296
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
296
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
297
297
  contentType: "application/json",
298
298
  requestType: "json",
299
299
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -89,7 +89,7 @@ class Feedback {
89
89
  method: "PATCH",
90
90
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
91
91
  ? yield core.Supplier.get(this._options.project)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
@@ -92,7 +92,7 @@ class Tags {
92
92
  method: "GET",
93
93
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
94
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-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",
@@ -79,7 +79,7 @@ class Telemetry {
79
79
  method: "GET",
80
80
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
81
81
  ? yield core.Supplier.get(this._options.project)
82
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -118,7 +118,7 @@ class Templates {
118
118
  method: "GET",
119
119
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
120
120
  ? yield core.Supplier.get(this._options.project)
121
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
121
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
122
122
  contentType: "application/json",
123
123
  queryParameters: _queryParams,
124
124
  requestType: "json",
@@ -186,7 +186,7 @@ class Templates {
186
186
  method: "POST",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
@@ -261,7 +261,7 @@ class Templates {
261
261
  method: "DELETE",
262
262
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
263
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -331,7 +331,7 @@ class Templates {
331
331
  method: "GET",
332
332
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
333
333
  ? yield core.Supplier.get(this._options.project)
334
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
335
335
  contentType: "application/json",
336
336
  requestType: "json",
337
337
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -398,7 +398,7 @@ class Templates {
398
398
  method: "POST",
399
399
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
400
400
  ? yield core.Supplier.get(this._options.project)
401
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
401
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
402
  contentType: "application/json",
403
403
  requestType: "json",
404
404
  body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -472,7 +472,7 @@ class Templates {
472
472
  method: "POST",
473
473
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
474
474
  ? yield core.Supplier.get(this._options.project)
475
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
475
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
476
476
  contentType: "application/json",
477
477
  requestType: "json",
478
478
  body: Object.assign(Object.assign({}, serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" })), { type: "agent" }),
@@ -549,7 +549,7 @@ class Templates {
549
549
  method: "PATCH",
550
550
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
551
551
  ? yield core.Supplier.get(this._options.project)
552
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
552
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
553
553
  contentType: "application/json",
554
554
  requestType: "json",
555
555
  body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -640,7 +640,7 @@ class Templates {
640
640
  method: "GET",
641
641
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
642
642
  ? yield core.Supplier.get(this._options.project)
643
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
643
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
644
644
  contentType: "application/json",
645
645
  queryParameters: _queryParams,
646
646
  requestType: "json",
@@ -83,7 +83,7 @@ class Agents {
83
83
  method: "POST",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.200", "User-Agent": "@letta-ai/letta-client/0.1.200", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.202", "User-Agent": "@letta-ai/letta-client/0.1.202", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -13,6 +13,7 @@ export interface TemplatesGetTemplateSnapshotResponseAgentsItem {
13
13
  tags?: string[];
14
14
  identityIds?: string[];
15
15
  toolRules?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem[];
16
+ agentType: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType;
16
17
  entityId: string;
17
18
  name: string;
18
19
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
5
+ export declare const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType: {
6
+ readonly MemgptAgent: "memgpt_agent";
7
+ readonly MemgptV2Agent: "memgpt_v2_agent";
8
+ readonly ReactAgent: "react_agent";
9
+ readonly WorkflowAgent: "workflow_agent";
10
+ readonly SplitThreadAgent: "split_thread_agent";
11
+ readonly SleeptimeAgent: "sleeptime_agent";
12
+ readonly VoiceConvoAgent: "voice_convo_agent";
13
+ readonly VoiceSleeptimeAgent: "voice_sleeptime_agent";
14
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = void 0;
7
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = {
8
+ MemgptAgent: "memgpt_agent",
9
+ MemgptV2Agent: "memgpt_v2_agent",
10
+ ReactAgent: "react_agent",
11
+ WorkflowAgent: "workflow_agent",
12
+ SplitThreadAgent: "split_thread_agent",
13
+ SleeptimeAgent: "sleeptime_agent",
14
+ VoiceConvoAgent: "voice_convo_agent",
15
+ VoiceSleeptimeAgent: "voice_sleeptime_agent",
16
+ };
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TemplatesGetTemplateSnapshotResponseConfiguration {
5
- managerAgentId?: string;
5
+ managerAgentEntityId?: string;
6
6
  managerType?: string;
7
7
  terminationToken?: string;
8
8
  maxTurns?: number;
@@ -18,6 +18,7 @@ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxC
18
18
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven";
19
19
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate";
20
20
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
21
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
21
22
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
22
23
  export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
23
24
  export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
@@ -34,6 +34,7 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesI
34
34
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven"), exports);
35
35
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate"), exports);
36
36
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
37
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType"), exports);
37
38
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
38
39
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
39
40
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);