@letta-ai/letta-client 0.1.206 → 0.1.207

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 (171) 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.js +8 -8
  10. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  11. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  12. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  13. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  14. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  15. package/api/resources/batches/client/Client.js +4 -4
  16. package/api/resources/blocks/client/Client.js +6 -6
  17. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  18. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  19. package/api/resources/embeddingModels/client/Client.js +1 -1
  20. package/api/resources/folders/client/Client.js +9 -9
  21. package/api/resources/folders/resources/files/client/Client.js +3 -3
  22. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  23. package/api/resources/groups/client/Client.js +6 -6
  24. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  25. package/api/resources/health/client/Client.js +1 -1
  26. package/api/resources/identities/client/Client.js +7 -7
  27. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  28. package/api/resources/jobs/client/Client.js +5 -5
  29. package/api/resources/messages/client/Client.js +1 -1
  30. package/api/resources/models/client/Client.js +2 -2
  31. package/api/resources/projects/client/Client.js +1 -1
  32. package/api/resources/providers/client/Client.js +6 -6
  33. package/api/resources/runs/client/Client.js +5 -5
  34. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  35. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  36. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  37. package/api/resources/sources/client/Client.js +10 -10
  38. package/api/resources/sources/resources/files/client/Client.js +3 -3
  39. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  40. package/api/resources/steps/client/Client.js +3 -3
  41. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  42. package/api/resources/tags/client/Client.js +1 -1
  43. package/api/resources/telemetry/client/Client.js +1 -1
  44. package/api/resources/templates/client/Client.js +9 -9
  45. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  46. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  47. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  48. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  49. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  50. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  51. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  52. package/api/resources/templates/types/index.d.ts +3 -1
  53. package/api/resources/templates/types/index.js +3 -1
  54. package/api/resources/tools/client/Client.js +20 -20
  55. package/api/resources/voice/client/Client.js +1 -1
  56. package/api/types/DeleteDeploymentResponse.d.ts +12 -0
  57. package/api/types/DeleteDeploymentResponse.js +5 -0
  58. package/api/types/DeploymentEntity.d.ts +12 -0
  59. package/api/types/DeploymentEntity.js +5 -0
  60. package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  61. package/api/types/ListDeploymentEntitiesResponse.js +5 -0
  62. package/api/types/index.d.ts +3 -0
  63. package/api/types/index.js +3 -0
  64. package/dist/api/resources/agents/client/Client.js +11 -11
  65. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  66. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  67. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  68. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  69. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  70. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  71. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  72. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  73. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  74. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  75. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  76. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  77. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  78. package/dist/api/resources/batches/client/Client.js +4 -4
  79. package/dist/api/resources/blocks/client/Client.js +6 -6
  80. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  81. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  82. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  83. package/dist/api/resources/folders/client/Client.js +9 -9
  84. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  85. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  86. package/dist/api/resources/groups/client/Client.js +6 -6
  87. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  88. package/dist/api/resources/health/client/Client.js +1 -1
  89. package/dist/api/resources/identities/client/Client.js +7 -7
  90. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  91. package/dist/api/resources/jobs/client/Client.js +5 -5
  92. package/dist/api/resources/messages/client/Client.js +1 -1
  93. package/dist/api/resources/models/client/Client.js +2 -2
  94. package/dist/api/resources/projects/client/Client.js +1 -1
  95. package/dist/api/resources/providers/client/Client.js +6 -6
  96. package/dist/api/resources/runs/client/Client.js +5 -5
  97. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  98. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  99. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  100. package/dist/api/resources/sources/client/Client.js +10 -10
  101. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  102. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  103. package/dist/api/resources/steps/client/Client.js +3 -3
  104. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  105. package/dist/api/resources/tags/client/Client.js +1 -1
  106. package/dist/api/resources/telemetry/client/Client.js +1 -1
  107. package/dist/api/resources/templates/client/Client.js +9 -9
  108. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  109. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  110. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  111. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  112. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  113. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  114. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  115. package/dist/api/resources/templates/types/index.d.ts +3 -1
  116. package/dist/api/resources/templates/types/index.js +3 -1
  117. package/dist/api/resources/tools/client/Client.js +20 -20
  118. package/dist/api/resources/voice/client/Client.js +1 -1
  119. package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
  120. package/dist/api/types/DeleteDeploymentResponse.js +5 -0
  121. package/dist/api/types/DeploymentEntity.d.ts +12 -0
  122. package/dist/api/types/DeploymentEntity.js +5 -0
  123. package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  124. package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
  125. package/dist/api/types/index.d.ts +3 -0
  126. package/dist/api/types/index.js +3 -0
  127. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  128. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  129. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  130. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  131. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  132. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  133. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  134. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  135. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  136. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  137. package/dist/serialization/resources/templates/types/index.d.ts +3 -1
  138. package/dist/serialization/resources/templates/types/index.js +3 -1
  139. package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  140. package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
  141. package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
  142. package/dist/serialization/types/DeploymentEntity.js +46 -0
  143. package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  144. package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  145. package/dist/serialization/types/index.d.ts +3 -0
  146. package/dist/serialization/types/index.js +3 -0
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +1 -1
  150. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  151. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  152. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  153. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  154. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  155. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  156. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  157. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  158. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  159. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  160. package/serialization/resources/templates/types/index.d.ts +3 -1
  161. package/serialization/resources/templates/types/index.js +3 -1
  162. package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  163. package/serialization/types/DeleteDeploymentResponse.js +46 -0
  164. package/serialization/types/DeploymentEntity.d.ts +15 -0
  165. package/serialization/types/DeploymentEntity.js +46 -0
  166. package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  167. package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  168. package/serialization/types/index.d.ts +3 -0
  169. package/serialization/types/index.js +3 -0
  170. package/version.d.ts +1 -1
  171. package/version.js +1 -1
@@ -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.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),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
169
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
245
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
313
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
390
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
631
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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())), _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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "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.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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
267
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
143
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
220
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
296
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
95
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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),
82
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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.207", "User-Agent": "@letta-ai/letta-client/0.1.207", "X-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);