@letta-ai/letta-client 1.0.0-alpha.4 → 1.0.0-alpha.5

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 (141) hide show
  1. package/api/resources/agents/client/Client.js +9 -9
  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 +10 -10
  10. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  13. package/api/resources/archives/client/Client.js +3 -3
  14. package/api/resources/batches/client/Client.js +4 -4
  15. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  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/chat/client/Client.js +1 -1
  19. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  20. package/api/resources/folders/client/Client.js +8 -8
  21. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  22. package/api/resources/folders/resources/files/client/Client.js +3 -3
  23. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  24. package/api/resources/groups/client/Client.js +6 -6
  25. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  26. package/api/resources/health/client/Client.js +1 -1
  27. package/api/resources/identities/client/Client.js +7 -7
  28. package/api/resources/identities/resources/agents/client/Client.js +1 -1
  29. package/api/resources/identities/resources/blocks/client/Client.js +1 -1
  30. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  31. package/api/resources/jobs/client/Client.js +5 -5
  32. package/api/resources/models/client/Client.js +2 -2
  33. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  34. package/api/resources/projects/client/Client.js +1 -1
  35. package/api/resources/providers/client/Client.js +7 -7
  36. package/api/resources/runs/client/Client.js +6 -6
  37. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  38. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  39. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  40. package/api/resources/sources/client/Client.js +10 -10
  41. package/api/resources/sources/resources/files/client/Client.js +3 -3
  42. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  43. package/api/resources/steps/client/Client.js +2 -2
  44. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  45. package/api/resources/steps/resources/messages/client/Client.js +1 -1
  46. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  47. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  48. package/api/resources/tags/client/Client.js +1 -1
  49. package/api/resources/telemetry/client/Client.js +1 -1
  50. package/api/resources/templates/client/Client.js +13 -13
  51. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  52. package/api/resources/tools/client/Client.js +17 -17
  53. package/api/resources/voice/client/Client.js +1 -1
  54. package/api/types/ApprovalRequestMessage.d.ts +1 -3
  55. package/api/types/{ApprovalRequestMessageRequestedToolCalls.d.ts → ApprovalRequestMessageToolCalls.d.ts} +1 -1
  56. package/api/types/index.d.ts +1 -2
  57. package/api/types/index.js +1 -2
  58. package/dist/api/resources/agents/client/Client.js +9 -9
  59. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  60. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  61. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  62. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  63. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  64. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  65. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  66. package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
  67. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  68. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  69. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  70. package/dist/api/resources/archives/client/Client.js +3 -3
  71. package/dist/api/resources/batches/client/Client.js +4 -4
  72. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  73. package/dist/api/resources/blocks/client/Client.js +6 -6
  74. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  75. package/dist/api/resources/chat/client/Client.js +1 -1
  76. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  77. package/dist/api/resources/folders/client/Client.js +8 -8
  78. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  79. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  80. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  81. package/dist/api/resources/groups/client/Client.js +6 -6
  82. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  83. package/dist/api/resources/health/client/Client.js +1 -1
  84. package/dist/api/resources/identities/client/Client.js +7 -7
  85. package/dist/api/resources/identities/resources/agents/client/Client.js +1 -1
  86. package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
  87. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  88. package/dist/api/resources/jobs/client/Client.js +5 -5
  89. package/dist/api/resources/models/client/Client.js +2 -2
  90. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  91. package/dist/api/resources/projects/client/Client.js +1 -1
  92. package/dist/api/resources/providers/client/Client.js +7 -7
  93. package/dist/api/resources/runs/client/Client.js +6 -6
  94. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  95. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  96. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  97. package/dist/api/resources/sources/client/Client.js +10 -10
  98. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  99. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  100. package/dist/api/resources/steps/client/Client.js +2 -2
  101. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  102. package/dist/api/resources/steps/resources/messages/client/Client.js +1 -1
  103. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  104. package/dist/api/resources/steps/resources/trace/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 +13 -13
  108. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  109. package/dist/api/resources/tools/client/Client.js +17 -17
  110. package/dist/api/resources/voice/client/Client.js +1 -1
  111. package/dist/api/types/ApprovalRequestMessage.d.ts +1 -3
  112. package/dist/api/types/{ApprovalRequestMessageRequestedToolCalls.d.ts → ApprovalRequestMessageToolCalls.d.ts} +1 -1
  113. package/dist/api/types/index.d.ts +1 -2
  114. package/dist/api/types/index.js +1 -2
  115. package/dist/serialization/types/ApprovalRequestMessage.d.ts +2 -4
  116. package/dist/serialization/types/ApprovalRequestMessage.js +2 -4
  117. package/dist/serialization/types/{ApprovalRequestMessageAllowedToolCalls.d.ts → ApprovalRequestMessageToolCalls.d.ts} +2 -2
  118. package/dist/serialization/types/{ApprovalRequestMessageAllowedToolCalls.js → ApprovalRequestMessageToolCalls.js} +2 -2
  119. package/dist/serialization/types/index.d.ts +1 -2
  120. package/dist/serialization/types/index.js +1 -2
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +1 -1
  124. package/serialization/types/ApprovalRequestMessage.d.ts +2 -4
  125. package/serialization/types/ApprovalRequestMessage.js +2 -4
  126. package/serialization/types/{ApprovalRequestMessageAllowedToolCalls.d.ts → ApprovalRequestMessageToolCalls.d.ts} +2 -2
  127. package/serialization/types/{ApprovalRequestMessageAllowedToolCalls.js → ApprovalRequestMessageToolCalls.js} +2 -2
  128. package/serialization/types/index.d.ts +1 -2
  129. package/serialization/types/index.js +1 -2
  130. package/version.d.ts +1 -1
  131. package/version.js +1 -1
  132. package/api/types/ApprovalRequestMessageAllowedToolCalls.d.ts +0 -8
  133. package/dist/api/types/ApprovalRequestMessageAllowedToolCalls.d.ts +0 -8
  134. package/dist/api/types/ApprovalRequestMessageAllowedToolCalls.js +0 -5
  135. package/dist/api/types/ApprovalRequestMessageRequestedToolCalls.js +0 -5
  136. package/dist/serialization/types/ApprovalRequestMessageRequestedToolCalls.d.ts +0 -12
  137. package/dist/serialization/types/ApprovalRequestMessageRequestedToolCalls.js +0 -43
  138. package/serialization/types/ApprovalRequestMessageRequestedToolCalls.d.ts +0 -12
  139. package/serialization/types/ApprovalRequestMessageRequestedToolCalls.js +0 -43
  140. /package/api/types/{ApprovalRequestMessageAllowedToolCalls.js → ApprovalRequestMessageToolCalls.js} +0 -0
  141. /package/{api/types/ApprovalRequestMessageRequestedToolCalls.js → dist/api/types/ApprovalRequestMessageToolCalls.js} +0 -0
@@ -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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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,
@@ -476,7 +476,7 @@ class Sources {
476
476
  method: "GET",
477
477
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
478
478
  ? yield core.Supplier.get(this._options.project)
479
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
479
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
480
480
  contentType: "application/json",
481
481
  queryParameters: _queryParams,
482
482
  requestType: "json",
@@ -552,7 +552,7 @@ class Sources {
552
552
  method: "GET",
553
553
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
554
554
  ? yield core.Supplier.get(this._options.project)
555
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
555
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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
556
  contentType: "application/json",
557
557
  requestType: "json",
558
558
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -630,7 +630,7 @@ class Sources {
630
630
  method: "POST",
631
631
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
632
632
  ? yield core.Supplier.get(this._options.project)
633
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
633
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
634
634
  contentType: "application/json",
635
635
  requestType: "json",
636
636
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -707,7 +707,7 @@ class Sources {
707
707
  method: "GET",
708
708
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
709
709
  ? yield core.Supplier.get(this._options.project)
710
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
710
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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
711
  contentType: "application/json",
712
712
  requestType: "json",
713
713
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -792,7 +792,7 @@ class Sources {
792
792
  method: "GET",
793
793
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
794
794
  ? yield core.Supplier.get(this._options.project)
795
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
795
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
796
796
  contentType: "application/json",
797
797
  queryParameters: _queryParams,
798
798
  requestType: "json",
@@ -96,7 +96,7 @@ class Files {
96
96
  method: "POST",
97
97
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
98
98
  ? yield core.Supplier.get(this._options.project)
99
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "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),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
100
100
  queryParameters: _queryParams,
101
101
  requestType: "file",
102
102
  duplex: _maybeEncodedRequest.duplex,
@@ -194,7 +194,7 @@ class Files {
194
194
  method: "GET",
195
195
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
196
196
  ? yield core.Supplier.get(this._options.project)
197
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
198
198
  contentType: "application/json",
199
199
  queryParameters: _queryParams,
200
200
  requestType: "json",
@@ -272,7 +272,7 @@ class Files {
272
272
  method: "DELETE",
273
273
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
274
274
  ? yield core.Supplier.get(this._options.project)
275
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
275
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
276
276
  contentType: "application/json",
277
277
  requestType: "json",
278
278
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -97,7 +97,7 @@ class Passages {
97
97
  method: "GET",
98
98
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
99
99
  ? yield core.Supplier.get(this._options.project)
100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -172,7 +172,7 @@ class Steps {
172
172
  method: "GET",
173
173
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
174
174
  ? yield core.Supplier.get(this._options.project)
175
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
175
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
176
176
  contentType: "application/json",
177
177
  queryParameters: _queryParams,
178
178
  requestType: "json",
@@ -249,7 +249,7 @@ class Steps {
249
249
  method: "GET",
250
250
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
251
251
  ? yield core.Supplier.get(this._options.project)
252
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
252
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class Feedback {
82
82
  method: "PATCH",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.steps.ModifyFeedbackRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -107,7 +107,7 @@ class Messages {
107
107
  method: "GET",
108
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
109
109
  ? yield core.Supplier.get(this._options.project)
110
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -81,7 +81,7 @@ class Metrics {
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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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,
@@ -79,7 +79,7 @@ class Trace {
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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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,
@@ -114,7 +114,7 @@ class Tags {
114
114
  method: "GET",
115
115
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
116
116
  ? yield core.Supplier.get(this._options.project)
117
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
118
  contentType: "application/json",
119
119
  queryParameters: _queryParams,
120
120
  requestType: "json",
@@ -83,7 +83,7 @@ class Telemetry {
83
83
  method: "GET",
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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -88,7 +88,7 @@ class Templates {
88
88
  method: "POST",
89
89
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
90
90
  ? yield core.Supplier.get(this._options.project)
91
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  body: serializers.TemplatesCreateAgentsFromTemplateRequest.jsonOrThrow(request, {
@@ -210,7 +210,7 @@ class Templates {
210
210
  method: "GET",
211
211
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
212
212
  ? yield core.Supplier.get(this._options.project)
213
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
214
214
  contentType: "application/json",
215
215
  queryParameters: _queryParams,
216
216
  requestType: "json",
@@ -278,7 +278,7 @@ class Templates {
278
278
  method: "POST",
279
279
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
280
280
  ? yield core.Supplier.get(this._options.project)
281
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
281
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
282
282
  contentType: "application/json",
283
283
  requestType: "json",
284
284
  body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
@@ -353,7 +353,7 @@ class Templates {
353
353
  method: "DELETE",
354
354
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
355
355
  ? yield core.Supplier.get(this._options.project)
356
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
356
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
357
357
  contentType: "application/json",
358
358
  requestType: "json",
359
359
  body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -423,7 +423,7 @@ class Templates {
423
423
  method: "GET",
424
424
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
425
425
  ? yield core.Supplier.get(this._options.project)
426
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
426
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
427
427
  contentType: "application/json",
428
428
  requestType: "json",
429
429
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -494,7 +494,7 @@ class Templates {
494
494
  method: "PUT",
495
495
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
496
496
  ? yield core.Supplier.get(this._options.project)
497
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
497
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
498
498
  contentType: "application/json",
499
499
  requestType: "json",
500
500
  body: request,
@@ -571,7 +571,7 @@ class Templates {
571
571
  method: "POST",
572
572
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
573
573
  ? yield core.Supplier.get(this._options.project)
574
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
574
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
575
575
  contentType: "application/json",
576
576
  requestType: "json",
577
577
  body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -646,7 +646,7 @@ class Templates {
646
646
  method: "POST",
647
647
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
648
648
  ? yield core.Supplier.get(this._options.project)
649
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
649
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
650
650
  contentType: "application/json",
651
651
  requestType: "json",
652
652
  body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -723,7 +723,7 @@ class Templates {
723
723
  method: "PATCH",
724
724
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
725
725
  ? yield core.Supplier.get(this._options.project)
726
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
726
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
727
727
  contentType: "application/json",
728
728
  requestType: "json",
729
729
  body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -807,7 +807,7 @@ class Templates {
807
807
  method: "PATCH",
808
808
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
809
809
  ? yield core.Supplier.get(this._options.project)
810
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
810
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
811
811
  contentType: "application/json",
812
812
  requestType: "json",
813
813
  body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
@@ -895,7 +895,7 @@ class Templates {
895
895
  method: "GET",
896
896
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
897
897
  ? yield core.Supplier.get(this._options.project)
898
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
898
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
899
899
  contentType: "application/json",
900
900
  queryParameters: _queryParams,
901
901
  requestType: "json",
@@ -973,7 +973,7 @@ class Templates {
973
973
  method: "POST",
974
974
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
975
975
  ? yield core.Supplier.get(this._options.project)
976
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
976
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
977
977
  contentType: "application/json",
978
978
  requestType: "json",
979
979
  body: serializers.TemplatesMigrateDeploymentRequest.jsonOrThrow(request, {
@@ -1058,7 +1058,7 @@ class Templates {
1058
1058
  method: "PUT",
1059
1059
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1060
1060
  ? yield core.Supplier.get(this._options.project)
1061
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1061
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1062
1062
  contentType: "application/json",
1063
1063
  requestType: "json",
1064
1064
  body: serializers.TemplatesUpdateCurrentTemplateFromAgentFileRequest.jsonOrThrow(request, {
@@ -76,7 +76,7 @@ class Agents {
76
76
  method: "POST",
77
77
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
78
78
  ? yield core.Supplier.get(this._options.project)
79
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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" }),
@@ -353,7 +353,7 @@ class Tools {
353
353
  method: "GET",
354
354
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
355
355
  ? yield core.Supplier.get(this._options.project)
356
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
356
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
357
357
  contentType: "application/json",
358
358
  queryParameters: _queryParams,
359
359
  requestType: "json",
@@ -499,7 +499,7 @@ class Tools {
499
499
  method: "GET",
500
500
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
501
501
  ? yield core.Supplier.get(this._options.project)
502
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
502
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
503
  contentType: "application/json",
504
504
  queryParameters: _queryParams,
505
505
  requestType: "json",
@@ -578,7 +578,7 @@ class Tools {
578
578
  method: "POST",
579
579
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
580
580
  ? yield core.Supplier.get(this._options.project)
581
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
581
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
582
582
  contentType: "application/json",
583
583
  requestType: "json",
584
584
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -657,7 +657,7 @@ class Tools {
657
657
  method: "PUT",
658
658
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
659
659
  ? yield core.Supplier.get(this._options.project)
660
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
660
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
661
661
  contentType: "application/json",
662
662
  requestType: "json",
663
663
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -733,7 +733,7 @@ class Tools {
733
733
  method: "POST",
734
734
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
735
735
  ? yield core.Supplier.get(this._options.project)
736
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
736
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
737
737
  contentType: "application/json",
738
738
  requestType: "json",
739
739
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -814,7 +814,7 @@ class Tools {
814
814
  method: "POST",
815
815
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
816
816
  ? yield core.Supplier.get(this._options.project)
817
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
817
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
818
818
  contentType: "application/json",
819
819
  requestType: "json",
820
820
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -890,7 +890,7 @@ class Tools {
890
890
  method: "GET",
891
891
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
892
892
  ? yield core.Supplier.get(this._options.project)
893
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
893
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
894
894
  contentType: "application/json",
895
895
  requestType: "json",
896
896
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -970,7 +970,7 @@ class Tools {
970
970
  method: "PUT",
971
971
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
972
972
  ? yield core.Supplier.get(this._options.project)
973
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
973
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
974
974
  contentType: "application/json",
975
975
  requestType: "json",
976
976
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1047,7 +1047,7 @@ class Tools {
1047
1047
  method: "GET",
1048
1048
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1049
1049
  ? yield core.Supplier.get(this._options.project)
1050
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1050
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1051
1051
  contentType: "application/json",
1052
1052
  requestType: "json",
1053
1053
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1124,7 +1124,7 @@ class Tools {
1124
1124
  method: "POST",
1125
1125
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1126
1126
  ? yield core.Supplier.get(this._options.project)
1127
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1127
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1128
1128
  contentType: "application/json",
1129
1129
  requestType: "json",
1130
1130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1200,7 +1200,7 @@ class Tools {
1200
1200
  method: "DELETE",
1201
1201
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1202
1202
  ? yield core.Supplier.get(this._options.project)
1203
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1203
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1204
1204
  contentType: "application/json",
1205
1205
  requestType: "json",
1206
1206
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1277,7 +1277,7 @@ class Tools {
1277
1277
  method: "PATCH",
1278
1278
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1279
1279
  ? yield core.Supplier.get(this._options.project)
1280
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1280
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1281
1281
  contentType: "application/json",
1282
1282
  requestType: "json",
1283
1283
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1359,7 +1359,7 @@ class Tools {
1359
1359
  method: "POST",
1360
1360
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1361
1361
  ? yield core.Supplier.get(this._options.project)
1362
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1362
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1363
1363
  contentType: "application/json",
1364
1364
  requestType: "json",
1365
1365
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1420,7 +1420,7 @@ class Tools {
1420
1420
  method: "POST",
1421
1421
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1422
1422
  ? yield core.Supplier.get(this._options.project)
1423
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1423
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1424
1424
  contentType: "application/json",
1425
1425
  requestType: "json",
1426
1426
  body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -90,7 +90,7 @@ class Voice {
90
90
  method: "POST",
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": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-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
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(request, {