@letta-ai/letta-client 0.1.206 → 0.1.208

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 (220) 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/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.d.ts +16 -0
  10. package/api/resources/agents/resources/messages/client/Client.js +88 -8
  11. package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +24 -0
  12. package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
  13. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  14. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  15. package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
  16. package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
  17. package/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  18. package/api/resources/agents/resources/messages/types/index.js +1 -0
  19. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  20. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  21. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  22. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  23. package/api/resources/batches/client/Client.js +4 -4
  24. package/api/resources/blocks/client/Client.js +6 -6
  25. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  26. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  27. package/api/resources/embeddingModels/client/Client.js +1 -1
  28. package/api/resources/folders/client/Client.js +9 -9
  29. package/api/resources/folders/resources/files/client/Client.js +3 -3
  30. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  31. package/api/resources/groups/client/Client.js +6 -6
  32. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  33. package/api/resources/health/client/Client.js +1 -1
  34. package/api/resources/identities/client/Client.js +7 -7
  35. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  36. package/api/resources/jobs/client/Client.js +5 -5
  37. package/api/resources/messages/client/Client.js +1 -1
  38. package/api/resources/models/client/Client.js +2 -2
  39. package/api/resources/projects/client/Client.js +1 -1
  40. package/api/resources/providers/client/Client.js +6 -6
  41. package/api/resources/runs/client/Client.js +5 -5
  42. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  43. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  44. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  45. package/api/resources/sources/client/Client.js +10 -10
  46. package/api/resources/sources/resources/files/client/Client.js +3 -3
  47. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  48. package/api/resources/steps/client/Client.js +3 -3
  49. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  50. package/api/resources/tags/client/Client.js +1 -1
  51. package/api/resources/telemetry/client/Client.js +1 -1
  52. package/api/resources/templates/client/Client.js +9 -9
  53. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  54. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  55. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  56. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  57. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  58. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  59. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  60. package/api/resources/templates/types/index.d.ts +3 -1
  61. package/api/resources/templates/types/index.js +3 -1
  62. package/api/resources/tools/client/Client.js +20 -20
  63. package/api/resources/voice/client/Client.js +1 -1
  64. package/api/types/DeleteDeploymentResponse.d.ts +12 -0
  65. package/api/types/DeleteDeploymentResponse.js +5 -0
  66. package/api/types/DeploymentEntity.d.ts +12 -0
  67. package/api/types/DeploymentEntity.js +5 -0
  68. package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  69. package/api/types/ListDeploymentEntitiesResponse.js +5 -0
  70. package/api/types/MessageSearchResult.d.ts +21 -0
  71. package/api/types/MessageSearchResult.js +5 -0
  72. package/api/types/index.d.ts +4 -0
  73. package/api/types/index.js +4 -0
  74. package/dist/api/resources/agents/client/Client.js +11 -11
  75. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  76. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  77. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  78. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  79. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  80. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  82. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +16 -0
  83. package/dist/api/resources/agents/resources/messages/client/Client.js +88 -8
  84. package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +24 -0
  85. package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
  86. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  87. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  88. package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
  89. package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
  90. package/dist/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  91. package/dist/api/resources/agents/resources/messages/types/index.js +1 -0
  92. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  93. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  94. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  95. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  96. package/dist/api/resources/batches/client/Client.js +4 -4
  97. package/dist/api/resources/blocks/client/Client.js +6 -6
  98. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  99. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  100. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  101. package/dist/api/resources/folders/client/Client.js +9 -9
  102. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  103. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  104. package/dist/api/resources/groups/client/Client.js +6 -6
  105. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  106. package/dist/api/resources/health/client/Client.js +1 -1
  107. package/dist/api/resources/identities/client/Client.js +7 -7
  108. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  109. package/dist/api/resources/jobs/client/Client.js +5 -5
  110. package/dist/api/resources/messages/client/Client.js +1 -1
  111. package/dist/api/resources/models/client/Client.js +2 -2
  112. package/dist/api/resources/projects/client/Client.js +1 -1
  113. package/dist/api/resources/providers/client/Client.js +6 -6
  114. package/dist/api/resources/runs/client/Client.js +5 -5
  115. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  116. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  117. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  118. package/dist/api/resources/sources/client/Client.js +10 -10
  119. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  120. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  121. package/dist/api/resources/steps/client/Client.js +3 -3
  122. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  123. package/dist/api/resources/tags/client/Client.js +1 -1
  124. package/dist/api/resources/telemetry/client/Client.js +1 -1
  125. package/dist/api/resources/templates/client/Client.js +9 -9
  126. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  127. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  128. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  129. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  130. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  131. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  132. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  133. package/dist/api/resources/templates/types/index.d.ts +3 -1
  134. package/dist/api/resources/templates/types/index.js +3 -1
  135. package/dist/api/resources/tools/client/Client.js +20 -20
  136. package/dist/api/resources/voice/client/Client.js +1 -1
  137. package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
  138. package/dist/api/types/DeleteDeploymentResponse.js +5 -0
  139. package/dist/api/types/DeploymentEntity.d.ts +12 -0
  140. package/dist/api/types/DeploymentEntity.js +5 -0
  141. package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  142. package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
  143. package/dist/api/types/MessageSearchResult.d.ts +21 -0
  144. package/dist/api/types/MessageSearchResult.js +5 -0
  145. package/dist/api/types/index.d.ts +4 -0
  146. package/dist/api/types/index.js +4 -0
  147. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  148. package/dist/serialization/resources/agents/resources/messages/client/index.js +2 -1
  149. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +20 -0
  150. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +51 -0
  151. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  152. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  153. package/dist/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
  154. package/dist/serialization/resources/agents/resources/messages/client/search.js +42 -0
  155. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  156. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  157. package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
  158. package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
  159. package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  160. package/dist/serialization/resources/agents/resources/messages/types/index.js +1 -0
  161. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  162. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  163. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  164. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  165. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  166. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  167. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  168. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  169. package/dist/serialization/resources/templates/types/index.d.ts +3 -1
  170. package/dist/serialization/resources/templates/types/index.js +3 -1
  171. package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  172. package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
  173. package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
  174. package/dist/serialization/types/DeploymentEntity.js +46 -0
  175. package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  176. package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  177. package/dist/serialization/types/MessageSearchResult.d.ts +18 -0
  178. package/dist/serialization/types/MessageSearchResult.js +49 -0
  179. package/dist/serialization/types/index.d.ts +4 -0
  180. package/dist/serialization/types/index.js +4 -0
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +66 -0
  185. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  186. package/serialization/resources/agents/resources/messages/client/index.js +2 -1
  187. package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +20 -0
  188. package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +51 -0
  189. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  190. package/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  191. package/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
  192. package/serialization/resources/agents/resources/messages/client/search.js +42 -0
  193. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  194. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  195. package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
  196. package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
  197. package/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  198. package/serialization/resources/agents/resources/messages/types/index.js +1 -0
  199. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  200. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  201. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  202. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  203. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  204. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  205. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  206. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  207. package/serialization/resources/templates/types/index.d.ts +3 -1
  208. package/serialization/resources/templates/types/index.js +3 -1
  209. package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  210. package/serialization/types/DeleteDeploymentResponse.js +46 -0
  211. package/serialization/types/DeploymentEntity.d.ts +15 -0
  212. package/serialization/types/DeploymentEntity.js +46 -0
  213. package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  214. package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  215. package/serialization/types/MessageSearchResult.d.ts +18 -0
  216. package/serialization/types/MessageSearchResult.js +49 -0
  217. package/serialization/types/index.d.ts +4 -0
  218. package/serialization/types/index.js +4 -0
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
@@ -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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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" }),
@@ -473,7 +473,7 @@ class Templates {
473
473
  method: "POST",
474
474
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
475
475
  ? yield core.Supplier.get(this._options.project)
476
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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
477
  contentType: "application/json",
478
478
  requestType: "json",
479
479
  body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -550,7 +550,7 @@ class Templates {
550
550
  method: "PATCH",
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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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
  body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -634,7 +634,7 @@ class Templates {
634
634
  method: "PATCH",
635
635
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
636
636
  ? yield core.Supplier.get(this._options.project)
637
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
637
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
638
638
  contentType: "application/json",
639
639
  requestType: "json",
640
640
  body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
@@ -719,7 +719,7 @@ class Templates {
719
719
  method: "GET",
720
720
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
721
721
  ? yield core.Supplier.get(this._options.project)
722
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
722
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
723
723
  contentType: "application/json",
724
724
  queryParameters: _queryParams,
725
725
  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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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" }),
@@ -7,13 +7,13 @@ export interface TemplatesGetTemplateSnapshotResponseAgentsItem {
7
7
  systemPrompt: string;
8
8
  toolIds?: string[];
9
9
  sourceIds?: string[];
10
- properties?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemProperties;
11
10
  memoryVariables?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables;
12
11
  toolVariables?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables;
13
12
  tags?: string[];
14
13
  identityIds?: string[];
15
14
  toolRules?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem[];
16
15
  agentType: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType;
16
+ properties?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemProperties;
17
17
  entityId: string;
18
18
  name: string;
19
19
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Letta from "../../../index";
4
5
  export interface TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
5
6
  enableReasoner?: boolean;
6
7
  putInnerThoughtsInKwargs?: boolean;
@@ -9,6 +10,8 @@ export interface TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
9
10
  maxReasoningTokens?: number;
10
11
  maxFilesOpen?: number;
11
12
  messageBufferAutoclear?: boolean;
13
+ verbosityLevel?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel;
14
+ reasoningEffort?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort;
12
15
  perFileViewWindowCharLimit?: number;
13
16
  temperature?: number;
14
17
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = "minimal" | "low" | "medium" | "high";
5
+ export declare const TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort: {
6
+ readonly Minimal: "minimal";
7
+ readonly Low: "low";
8
+ readonly Medium: "medium";
9
+ readonly High: "high";
10
+ };
@@ -0,0 +1,12 @@
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.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = void 0;
7
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = {
8
+ Minimal: "minimal",
9
+ Low: "low",
10
+ Medium: "medium",
11
+ High: "high",
12
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = "low" | "medium" | "high";
5
+ export declare const TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel: {
6
+ readonly Low: "low";
7
+ readonly Medium: "medium";
8
+ readonly High: "high";
9
+ };
@@ -0,0 +1,11 @@
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.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = void 0;
7
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = {
8
+ Low: "low",
9
+ Medium: "medium",
10
+ High: "high",
11
+ };
@@ -3,7 +3,6 @@ export * from "./TemplatesListResponseTemplatesItem";
3
3
  export * from "./TemplatesListResponse";
4
4
  export * from "./TemplatesSaveTemplateVersionResponse";
5
5
  export * from "./TemplatesDeleteTemplateResponse";
6
- export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
7
6
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem";
8
7
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
9
8
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem";
@@ -19,6 +18,9 @@ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeve
19
18
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate";
20
19
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
21
20
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
21
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel";
22
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort";
23
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
22
24
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
23
25
  export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
24
26
  export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
@@ -19,7 +19,6 @@ __exportStar(require("./TemplatesListResponseTemplatesItem"), exports);
19
19
  __exportStar(require("./TemplatesListResponse"), exports);
20
20
  __exportStar(require("./TemplatesSaveTemplateVersionResponse"), exports);
21
21
  __exportStar(require("./TemplatesDeleteTemplateResponse"), exports);
22
- __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
23
22
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem"), exports);
24
23
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables"), exports);
25
24
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem"), exports);
@@ -35,6 +34,9 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesI
35
34
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate"), exports);
36
35
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
37
36
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType"), exports);
37
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel"), exports);
38
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort"), exports);
39
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
38
40
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
39
41
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
40
42
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
@@ -81,7 +81,7 @@ class Tools {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -157,7 +157,7 @@ class Tools {
157
157
  method: "DELETE",
158
158
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
159
159
  ? yield core.Supplier.get(this._options.project)
160
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class Tools {
225
225
  method: "PATCH",
226
226
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
227
227
  ? yield core.Supplier.get(this._options.project)
228
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -348,7 +348,7 @@ class Tools {
348
348
  method: "GET",
349
349
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
350
350
  ? yield core.Supplier.get(this._options.project)
351
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
351
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
352
352
  contentType: "application/json",
353
353
  queryParameters: _queryParams,
354
354
  requestType: "json",
@@ -474,7 +474,7 @@ class Tools {
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.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-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",
@@ -553,7 +553,7 @@ class Tools {
553
553
  method: "POST",
554
554
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
555
555
  ? yield core.Supplier.get(this._options.project)
556
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
556
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
557
557
  contentType: "application/json",
558
558
  requestType: "json",
559
559
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -632,7 +632,7 @@ class Tools {
632
632
  method: "PUT",
633
633
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
634
634
  ? yield core.Supplier.get(this._options.project)
635
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
635
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
636
636
  contentType: "application/json",
637
637
  requestType: "json",
638
638
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -708,7 +708,7 @@ class Tools {
708
708
  method: "POST",
709
709
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
710
710
  ? yield core.Supplier.get(this._options.project)
711
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
711
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
712
712
  contentType: "application/json",
713
713
  requestType: "json",
714
714
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -789,7 +789,7 @@ class Tools {
789
789
  method: "POST",
790
790
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
791
791
  ? yield core.Supplier.get(this._options.project)
792
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
793
793
  contentType: "application/json",
794
794
  requestType: "json",
795
795
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -867,7 +867,7 @@ class Tools {
867
867
  method: "GET",
868
868
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
869
869
  ? yield core.Supplier.get(this._options.project)
870
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
870
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
871
871
  contentType: "application/json",
872
872
  requestType: "json",
873
873
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -943,7 +943,7 @@ class Tools {
943
943
  method: "GET",
944
944
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
945
945
  ? yield core.Supplier.get(this._options.project)
946
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
946
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
947
947
  contentType: "application/json",
948
948
  requestType: "json",
949
949
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1019,7 +1019,7 @@ class Tools {
1019
1019
  method: "POST",
1020
1020
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1021
1021
  ? yield core.Supplier.get(this._options.project)
1022
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1022
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1023
1023
  contentType: "application/json",
1024
1024
  requestType: "json",
1025
1025
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1096,7 +1096,7 @@ class Tools {
1096
1096
  method: "GET",
1097
1097
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1098
1098
  ? yield core.Supplier.get(this._options.project)
1099
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1099
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1100
1100
  contentType: "application/json",
1101
1101
  requestType: "json",
1102
1102
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1176,7 +1176,7 @@ class Tools {
1176
1176
  method: "PUT",
1177
1177
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1178
1178
  ? yield core.Supplier.get(this._options.project)
1179
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1179
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1180
1180
  contentType: "application/json",
1181
1181
  requestType: "json",
1182
1182
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1253,7 +1253,7 @@ class Tools {
1253
1253
  method: "GET",
1254
1254
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1255
1255
  ? yield core.Supplier.get(this._options.project)
1256
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1256
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1257
1257
  contentType: "application/json",
1258
1258
  requestType: "json",
1259
1259
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1330,7 +1330,7 @@ class Tools {
1330
1330
  method: "POST",
1331
1331
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1332
1332
  ? yield core.Supplier.get(this._options.project)
1333
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1333
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1334
1334
  contentType: "application/json",
1335
1335
  requestType: "json",
1336
1336
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1406,7 +1406,7 @@ class Tools {
1406
1406
  method: "DELETE",
1407
1407
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1408
1408
  ? yield core.Supplier.get(this._options.project)
1409
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1409
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1410
1410
  contentType: "application/json",
1411
1411
  requestType: "json",
1412
1412
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1483,7 +1483,7 @@ class Tools {
1483
1483
  method: "PATCH",
1484
1484
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1485
1485
  ? yield core.Supplier.get(this._options.project)
1486
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1486
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1487
1487
  contentType: "application/json",
1488
1488
  requestType: "json",
1489
1489
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1565,7 +1565,7 @@ class Tools {
1565
1565
  method: "POST",
1566
1566
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1567
1567
  ? yield core.Supplier.get(this._options.project)
1568
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1568
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1569
1569
  contentType: "application/json",
1570
1570
  requestType: "json",
1571
1571
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1626,7 +1626,7 @@ class Tools {
1626
1626
  method: "POST",
1627
1627
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1628
1628
  ? yield core.Supplier.get(this._options.project)
1629
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1629
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1630
1630
  contentType: "application/json",
1631
1631
  requestType: "json",
1632
1632
  body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -85,7 +85,7 @@ class Voice {
85
85
  method: "POST",
86
86
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
87
87
  ? yield core.Supplier.get(this._options.project)
88
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.206", "User-Agent": "@letta-ai/letta-client/0.1.206", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.208", "User-Agent": "@letta-ai/letta-client/0.1.208", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  requestType: "json",
91
91
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(_body, {
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response model for delete deployment operation.
6
+ */
7
+ export interface DeleteDeploymentResponse {
8
+ deletedBlocks?: string[];
9
+ deletedAgents?: string[];
10
+ deletedGroups?: string[];
11
+ message: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A deployment entity.
6
+ */
7
+ export interface DeploymentEntity {
8
+ id: string;
9
+ type: string;
10
+ name?: string;
11
+ description?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Letta from "../index";
5
+ /**
6
+ * Response model for listing deployment entities.
7
+ */
8
+ export interface ListDeploymentEntitiesResponse {
9
+ entities?: Letta.DeploymentEntity[];
10
+ totalCount: number;
11
+ deploymentId: string;
12
+ message: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Letta from "../index";
5
+ /**
6
+ * Result from a message search operation with scoring details.
7
+ */
8
+ export interface MessageSearchResult {
9
+ /** The message content and metadata */
10
+ message: Letta.Message;
11
+ /** Full-text search (BM25) score if FTS was used */
12
+ ftsScore?: number;
13
+ /** Full-text search rank position if FTS was used */
14
+ ftsRank?: number;
15
+ /** Vector similarity score if vector search was used */
16
+ vectorScore?: number;
17
+ /** Vector search rank position if vector search was used */
18
+ vectorRank?: number;
19
+ /** Reciprocal Rank Fusion combined score */
20
+ rrfScore: number;
21
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -106,6 +106,8 @@ export * from "./CustomFormatGrammar";
106
106
  export * from "./CustomFormatGrammarGrammarSyntax";
107
107
  export * from "./CustomFormatGrammarGrammar";
108
108
  export * from "./CustomFormatText";
109
+ export * from "./DeleteDeploymentResponse";
110
+ export * from "./DeploymentEntity";
109
111
  export * from "./DuplicateFileHandling";
110
112
  export * from "./DynamicManager";
111
113
  export * from "./DynamicManagerUpdate";
@@ -178,6 +180,7 @@ export * from "./LettaStopReason";
178
180
  export * from "./LettaStreamingRequestMessagesItem";
179
181
  export * from "./LettaStreamingRequest";
180
182
  export * from "./LettaUsageStatistics";
183
+ export * from "./ListDeploymentEntitiesResponse";
181
184
  export * from "./LocalSandboxConfig";
182
185
  export * from "./McpServerSchema";
183
186
  export * from "./McpServerType";
@@ -194,6 +197,7 @@ export * from "./MessageCreateRole";
194
197
  export * from "./MessageCreateContent";
195
198
  export * from "./MessageCreate";
196
199
  export * from "./MessageRole";
200
+ export * from "./MessageSearchResult";
197
201
  export * from "./MessageType";
198
202
  export * from "./ModalSandboxConfigLanguage";
199
203
  export * from "./ModalSandboxConfig";
@@ -122,6 +122,8 @@ __exportStar(require("./CustomFormatGrammar"), exports);
122
122
  __exportStar(require("./CustomFormatGrammarGrammarSyntax"), exports);
123
123
  __exportStar(require("./CustomFormatGrammarGrammar"), exports);
124
124
  __exportStar(require("./CustomFormatText"), exports);
125
+ __exportStar(require("./DeleteDeploymentResponse"), exports);
126
+ __exportStar(require("./DeploymentEntity"), exports);
125
127
  __exportStar(require("./DuplicateFileHandling"), exports);
126
128
  __exportStar(require("./DynamicManager"), exports);
127
129
  __exportStar(require("./DynamicManagerUpdate"), exports);
@@ -194,6 +196,7 @@ __exportStar(require("./LettaStopReason"), exports);
194
196
  __exportStar(require("./LettaStreamingRequestMessagesItem"), exports);
195
197
  __exportStar(require("./LettaStreamingRequest"), exports);
196
198
  __exportStar(require("./LettaUsageStatistics"), exports);
199
+ __exportStar(require("./ListDeploymentEntitiesResponse"), exports);
197
200
  __exportStar(require("./LocalSandboxConfig"), exports);
198
201
  __exportStar(require("./McpServerSchema"), exports);
199
202
  __exportStar(require("./McpServerType"), exports);
@@ -210,6 +213,7 @@ __exportStar(require("./MessageCreateRole"), exports);
210
213
  __exportStar(require("./MessageCreateContent"), exports);
211
214
  __exportStar(require("./MessageCreate"), exports);
212
215
  __exportStar(require("./MessageRole"), exports);
216
+ __exportStar(require("./MessageSearchResult"), exports);
213
217
  __exportStar(require("./MessageType"), exports);
214
218
  __exportStar(require("./ModalSandboxConfigLanguage"), exports);
215
219
  __exportStar(require("./ModalSandboxConfig"), exports);
@@ -1,4 +1,5 @@
1
1
  export * as list from "./list";
2
2
  export * as cancel from "./cancel";
3
+ export * as search from "./search";
3
4
  export * as previewRawPayload from "./previewRawPayload";
4
5
  export * from "./requests";
@@ -36,8 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.previewRawPayload = exports.cancel = exports.list = void 0;
39
+ exports.previewRawPayload = exports.search = exports.cancel = exports.list = void 0;
40
40
  exports.list = __importStar(require("./list"));
41
41
  exports.cancel = __importStar(require("./cancel"));
42
+ exports.search = __importStar(require("./search"));
42
43
  exports.previewRawPayload = __importStar(require("./previewRawPayload"));
43
44
  __exportStar(require("./requests"), exports);