@letta-ai/letta-client 0.1.164 → 0.1.166

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 (168) hide show
  1. package/api/resources/agents/client/Client.d.ts +1 -1
  2. package/api/resources/agents/client/Client.js +11 -17
  3. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  6. package/api/resources/agents/resources/files/client/Client.js +3 -3
  7. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  8. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  9. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  10. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  11. package/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +2 -0
  12. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  13. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  14. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  15. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  16. package/api/resources/batches/client/Client.js +4 -4
  17. package/api/resources/blocks/client/Client.js +10 -7
  18. package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +4 -0
  19. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  20. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  21. package/api/resources/embeddingModels/client/Client.js +1 -1
  22. package/api/resources/folders/client/Client.js +9 -9
  23. package/api/resources/folders/resources/files/client/Client.js +3 -3
  24. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  25. package/api/resources/groups/client/Client.js +6 -6
  26. package/api/resources/groups/client/requests/GroupCreate.d.ts +2 -0
  27. package/api/resources/groups/client/requests/GroupUpdate.d.ts +2 -0
  28. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  29. package/api/resources/health/client/Client.js +1 -1
  30. package/api/resources/identities/client/Client.js +7 -7
  31. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  32. package/api/resources/jobs/client/Client.js +5 -5
  33. package/api/resources/messages/client/Client.js +1 -1
  34. package/api/resources/models/client/Client.js +1 -1
  35. package/api/resources/projects/client/Client.js +1 -1
  36. package/api/resources/providers/client/Client.js +5 -5
  37. package/api/resources/runs/client/Client.js +4 -4
  38. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  39. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  40. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  41. package/api/resources/sources/client/Client.js +10 -10
  42. package/api/resources/sources/resources/files/client/Client.js +3 -3
  43. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  44. package/api/resources/steps/client/Client.js +2 -2
  45. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  46. package/api/resources/tags/client/Client.js +1 -1
  47. package/api/resources/telemetry/client/Client.js +1 -1
  48. package/api/resources/templates/client/Client.js +1 -1
  49. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  50. package/api/resources/tools/client/Client.js +21 -21
  51. package/api/resources/voice/client/Client.js +1 -1
  52. package/api/types/Block.d.ts +2 -0
  53. package/api/types/BlockUpdate.d.ts +2 -0
  54. package/api/types/CreateBlock.d.ts +2 -0
  55. package/api/types/FileBlock.d.ts +2 -0
  56. package/api/types/Group.d.ts +2 -0
  57. package/api/types/LettaBatchRequest.d.ts +2 -0
  58. package/api/types/LettaRequest.d.ts +2 -0
  59. package/api/types/LettaStreamingRequest.d.ts +2 -0
  60. package/dist/api/resources/agents/client/Client.d.ts +1 -1
  61. package/dist/api/resources/agents/client/Client.js +11 -17
  62. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  63. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  64. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  65. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  66. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  67. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  68. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  69. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  70. package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +2 -0
  71. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  72. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  73. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  74. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  75. package/dist/api/resources/batches/client/Client.js +4 -4
  76. package/dist/api/resources/blocks/client/Client.js +10 -7
  77. package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +4 -0
  78. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  79. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  80. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  81. package/dist/api/resources/folders/client/Client.js +9 -9
  82. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  83. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  84. package/dist/api/resources/groups/client/Client.js +6 -6
  85. package/dist/api/resources/groups/client/requests/GroupCreate.d.ts +2 -0
  86. package/dist/api/resources/groups/client/requests/GroupUpdate.d.ts +2 -0
  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 +1 -1
  94. package/dist/api/resources/projects/client/Client.js +1 -1
  95. package/dist/api/resources/providers/client/Client.js +5 -5
  96. package/dist/api/resources/runs/client/Client.js +4 -4
  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 +2 -2
  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 +1 -1
  108. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  109. package/dist/api/resources/tools/client/Client.js +21 -21
  110. package/dist/api/resources/voice/client/Client.js +1 -1
  111. package/dist/api/types/Block.d.ts +2 -0
  112. package/dist/api/types/BlockUpdate.d.ts +2 -0
  113. package/dist/api/types/CreateBlock.d.ts +2 -0
  114. package/dist/api/types/FileBlock.d.ts +2 -0
  115. package/dist/api/types/Group.d.ts +2 -0
  116. package/dist/api/types/LettaBatchRequest.d.ts +2 -0
  117. package/dist/api/types/LettaRequest.d.ts +2 -0
  118. package/dist/api/types/LettaStreamingRequest.d.ts +2 -0
  119. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +1 -0
  120. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +1 -0
  121. package/dist/serialization/resources/groups/client/requests/GroupCreate.d.ts +1 -0
  122. package/dist/serialization/resources/groups/client/requests/GroupCreate.js +1 -0
  123. package/dist/serialization/resources/groups/client/requests/GroupUpdate.d.ts +1 -0
  124. package/dist/serialization/resources/groups/client/requests/GroupUpdate.js +1 -0
  125. package/dist/serialization/types/Block.d.ts +1 -0
  126. package/dist/serialization/types/Block.js +1 -0
  127. package/dist/serialization/types/BlockUpdate.d.ts +1 -0
  128. package/dist/serialization/types/BlockUpdate.js +1 -0
  129. package/dist/serialization/types/CreateBlock.d.ts +1 -0
  130. package/dist/serialization/types/CreateBlock.js +1 -0
  131. package/dist/serialization/types/FileBlock.d.ts +1 -0
  132. package/dist/serialization/types/FileBlock.js +1 -0
  133. package/dist/serialization/types/Group.d.ts +1 -0
  134. package/dist/serialization/types/Group.js +1 -0
  135. package/dist/serialization/types/LettaBatchRequest.d.ts +1 -0
  136. package/dist/serialization/types/LettaBatchRequest.js +1 -0
  137. package/dist/serialization/types/LettaRequest.d.ts +1 -0
  138. package/dist/serialization/types/LettaRequest.js +1 -0
  139. package/dist/serialization/types/LettaStreamingRequest.d.ts +1 -0
  140. package/dist/serialization/types/LettaStreamingRequest.js +1 -0
  141. package/dist/version.d.ts +1 -1
  142. package/dist/version.js +1 -1
  143. package/package.json +1 -1
  144. package/reference.md +1 -1
  145. package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +1 -0
  146. package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +1 -0
  147. package/serialization/resources/groups/client/requests/GroupCreate.d.ts +1 -0
  148. package/serialization/resources/groups/client/requests/GroupCreate.js +1 -0
  149. package/serialization/resources/groups/client/requests/GroupUpdate.d.ts +1 -0
  150. package/serialization/resources/groups/client/requests/GroupUpdate.js +1 -0
  151. package/serialization/types/Block.d.ts +1 -0
  152. package/serialization/types/Block.js +1 -0
  153. package/serialization/types/BlockUpdate.d.ts +1 -0
  154. package/serialization/types/BlockUpdate.js +1 -0
  155. package/serialization/types/CreateBlock.d.ts +1 -0
  156. package/serialization/types/CreateBlock.js +1 -0
  157. package/serialization/types/FileBlock.d.ts +1 -0
  158. package/serialization/types/FileBlock.js +1 -0
  159. package/serialization/types/Group.d.ts +1 -0
  160. package/serialization/types/Group.js +1 -0
  161. package/serialization/types/LettaBatchRequest.d.ts +1 -0
  162. package/serialization/types/LettaBatchRequest.js +1 -0
  163. package/serialization/types/LettaRequest.d.ts +1 -0
  164. package/serialization/types/LettaRequest.js +1 -0
  165. package/serialization/types/LettaStreamingRequest.d.ts +1 -0
  166. package/serialization/types/LettaStreamingRequest.js +1 -0
  167. package/version.d.ts +1 -1
  168. package/version.js +1 -1
@@ -76,7 +76,7 @@ class Blocks {
76
76
  list() {
77
77
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
78
78
  var _a, _b, _c;
79
- const { label, templatesOnly, name, identityId, identifierKeys, limit } = request;
79
+ const { label, templatesOnly, name, identityId, identifierKeys, projectId, limit } = request;
80
80
  const _queryParams = {};
81
81
  if (label != null) {
82
82
  _queryParams["label"] = label;
@@ -98,6 +98,9 @@ class Blocks {
98
98
  _queryParams["identifier_keys"] = identifierKeys;
99
99
  }
100
100
  }
101
+ if (projectId != null) {
102
+ _queryParams["project_id"] = projectId;
103
+ }
101
104
  if (limit != null) {
102
105
  _queryParams["limit"] = limit.toString();
103
106
  }
@@ -106,7 +109,7 @@ class Blocks {
106
109
  method: "GET",
107
110
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
111
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
113
  contentType: "application/json",
111
114
  queryParameters: _queryParams,
112
115
  requestType: "json",
@@ -175,7 +178,7 @@ class Blocks {
175
178
  method: "POST",
176
179
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
177
180
  ? yield core.Supplier.get(this._options.project)
178
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
182
  contentType: "application/json",
180
183
  requestType: "json",
181
184
  body: serializers.CreateBlock.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -242,7 +245,7 @@ class Blocks {
242
245
  method: "GET",
243
246
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
244
247
  ? 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.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
248
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
249
  contentType: "application/json",
247
250
  requestType: "json",
248
251
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -307,7 +310,7 @@ class Blocks {
307
310
  method: "GET",
308
311
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
309
312
  ? yield core.Supplier.get(this._options.project)
310
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-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.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
311
314
  contentType: "application/json",
312
315
  requestType: "json",
313
316
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -372,7 +375,7 @@ class Blocks {
372
375
  method: "DELETE",
373
376
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
374
377
  ? yield core.Supplier.get(this._options.project)
375
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
378
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
376
379
  contentType: "application/json",
377
380
  requestType: "json",
378
381
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -432,7 +435,7 @@ class Blocks {
432
435
  method: "PATCH",
433
436
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
434
437
  ? yield core.Supplier.get(this._options.project)
435
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
438
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
436
439
  contentType: "application/json",
437
440
  requestType: "json",
438
441
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -26,6 +26,10 @@ export interface BlocksListRequest {
26
26
  * Search agents by identifier keys
27
27
  */
28
28
  identifierKeys?: string | string[];
29
+ /**
30
+ * Search blocks by project id
31
+ */
32
+ projectId?: string;
29
33
  /**
30
34
  * Number of blocks to return
31
35
  */
@@ -90,7 +90,7 @@ class Agents {
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.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-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.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -89,7 +89,7 @@ class ClientSideAccessTokens {
89
89
  method: "GET",
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.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-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.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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",
@@ -158,7 +158,7 @@ class ClientSideAccessTokens {
158
158
  method: "POST",
159
159
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
160
160
  ? yield core.Supplier.get(this._options.project)
161
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
162
  contentType: "application/json",
163
163
  requestType: "json",
164
164
  body: serializers.ClientSideAccessTokensCreateRequest.jsonOrThrow(request, {
@@ -225,7 +225,7 @@ class ClientSideAccessTokens {
225
225
  method: "DELETE",
226
226
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
227
227
  ? yield core.Supplier.get(this._options.project)
228
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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: request,
@@ -77,7 +77,7 @@ class EmbeddingModels {
77
77
  method: "GET",
78
78
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
79
79
  ? yield core.Supplier.get(this._options.project)
80
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Folders {
87
87
  method: "GET",
88
88
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
89
89
  ? yield core.Supplier.get(this._options.project)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
91
  contentType: "application/json",
92
92
  requestType: "json",
93
93
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -154,7 +154,7 @@ class Folders {
154
154
  method: "GET",
155
155
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
156
156
  ? yield core.Supplier.get(this._options.project)
157
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
158
  contentType: "application/json",
159
159
  requestType: "json",
160
160
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -221,7 +221,7 @@ class Folders {
221
221
  method: "DELETE",
222
222
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
223
223
  ? yield core.Supplier.get(this._options.project)
224
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -283,7 +283,7 @@ class Folders {
283
283
  method: "PATCH",
284
284
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
285
285
  ? yield core.Supplier.get(this._options.project)
286
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
287
  contentType: "application/json",
288
288
  requestType: "json",
289
289
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -351,7 +351,7 @@ class Folders {
351
351
  method: "GET",
352
352
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
353
353
  ? yield core.Supplier.get(this._options.project)
354
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
354
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
355
355
  contentType: "application/json",
356
356
  requestType: "json",
357
357
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -429,7 +429,7 @@ class Folders {
429
429
  method: "GET",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
432
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
433
433
  contentType: "application/json",
434
434
  queryParameters: _queryParams,
435
435
  requestType: "json",
@@ -496,7 +496,7 @@ class Folders {
496
496
  method: "GET",
497
497
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
498
498
  ? yield core.Supplier.get(this._options.project)
499
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
499
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
500
500
  contentType: "application/json",
501
501
  requestType: "json",
502
502
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -565,7 +565,7 @@ class Folders {
565
565
  method: "POST",
566
566
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
567
567
  ? yield core.Supplier.get(this._options.project)
568
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
568
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
569
569
  contentType: "application/json",
570
570
  requestType: "json",
571
571
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -633,7 +633,7 @@ class Folders {
633
633
  method: "GET",
634
634
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
635
635
  ? yield core.Supplier.get(this._options.project)
636
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
636
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
637
  contentType: "application/json",
638
638
  requestType: "json",
639
639
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Files {
87
87
  method: "POST",
88
88
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
89
89
  ? yield core.Supplier.get(this._options.project)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "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),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "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),
91
91
  queryParameters: _queryParams,
92
92
  requestType: "file",
93
93
  duplex: _maybeEncodedRequest.duplex,
@@ -168,7 +168,7 @@ class Files {
168
168
  method: "GET",
169
169
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
170
170
  ? yield core.Supplier.get(this._options.project)
171
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
172
  contentType: "application/json",
173
173
  queryParameters: _queryParams,
174
174
  requestType: "json",
@@ -237,7 +237,7 @@ class Files {
237
237
  method: "DELETE",
238
238
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
239
239
  ? yield core.Supplier.get(this._options.project)
240
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -90,7 +90,7 @@ class Passages {
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.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-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.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -100,7 +100,7 @@ class Groups {
100
100
  method: "GET",
101
101
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
102
102
  ? yield core.Supplier.get(this._options.project)
103
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -171,7 +171,7 @@ class Groups {
171
171
  method: "POST",
172
172
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
173
173
  ? yield core.Supplier.get(this._options.project)
174
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  body: serializers.GroupCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +238,7 @@ class Groups {
238
238
  method: "GET",
239
239
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
240
240
  ? yield core.Supplier.get(this._options.project)
241
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  requestType: "json",
244
244
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -305,7 +305,7 @@ class Groups {
305
305
  method: "GET",
306
306
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
307
307
  ? yield core.Supplier.get(this._options.project)
308
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
308
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -372,7 +372,7 @@ class Groups {
372
372
  method: "DELETE",
373
373
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
374
374
  ? yield core.Supplier.get(this._options.project)
375
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
375
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
376
376
  contentType: "application/json",
377
377
  requestType: "json",
378
378
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -434,7 +434,7 @@ class Groups {
434
434
  method: "PATCH",
435
435
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
436
436
  ? yield core.Supplier.get(this._options.project)
437
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
437
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
438
438
  contentType: "application/json",
439
439
  requestType: "json",
440
440
  body: serializers.GroupUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -16,6 +16,8 @@ export interface GroupCreate {
16
16
  description: string;
17
17
  /** */
18
18
  managerConfig?: Letta.GroupCreateManagerConfig;
19
+ /** The associated project id. */
20
+ projectId?: string;
19
21
  /** */
20
22
  sharedBlockIds?: string[];
21
23
  }
@@ -13,6 +13,8 @@ export interface GroupUpdate {
13
13
  description?: string;
14
14
  /** */
15
15
  managerConfig?: Letta.GroupUpdateManagerConfig;
16
+ /** The associated project id. */
17
+ projectId?: string;
16
18
  /** */
17
19
  sharedBlockIds?: string[];
18
20
  }
@@ -99,7 +99,7 @@ class Messages {
99
99
  method: "GET",
100
100
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
101
101
  ? yield core.Supplier.get(this._options.project)
102
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
103
  contentType: "application/json",
104
104
  queryParameters: _queryParams,
105
105
  requestType: "json",
@@ -177,7 +177,7 @@ class Messages {
177
177
  method: "POST",
178
178
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
179
179
  ? yield core.Supplier.get(this._options.project)
180
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  requestType: "json",
183
183
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -239,7 +239,7 @@ class Messages {
239
239
  method: "POST",
240
240
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
241
241
  ? yield core.Supplier.get(this._options.project)
242
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -322,7 +322,7 @@ class Messages {
322
322
  method: "PATCH",
323
323
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
324
324
  ? yield core.Supplier.get(this._options.project)
325
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
325
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
326
326
  contentType: "application/json",
327
327
  requestType: "json",
328
328
  body: serializers.groups.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -390,7 +390,7 @@ class Messages {
390
390
  method: "PATCH",
391
391
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
392
392
  ? yield core.Supplier.get(this._options.project)
393
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
393
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
394
394
  contentType: "application/json",
395
395
  requestType: "json",
396
396
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -72,7 +72,7 @@ class Health {
72
72
  method: "GET",
73
73
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
74
74
  ? yield core.Supplier.get(this._options.project)
75
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -106,7 +106,7 @@ class Identities {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -176,7 +176,7 @@ class Identities {
176
176
  method: "POST",
177
177
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
178
178
  ? yield core.Supplier.get(this._options.project)
179
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
180
  contentType: "application/json",
181
181
  requestType: "json",
182
182
  body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -246,7 +246,7 @@ class Identities {
246
246
  method: "PUT",
247
247
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
248
248
  ? yield core.Supplier.get(this._options.project)
249
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
249
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
250
  contentType: "application/json",
251
251
  requestType: "json",
252
252
  body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -313,7 +313,7 @@ class Identities {
313
313
  method: "GET",
314
314
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
315
315
  ? yield core.Supplier.get(this._options.project)
316
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
316
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
317
317
  contentType: "application/json",
318
318
  requestType: "json",
319
319
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -378,7 +378,7 @@ class Identities {
378
378
  method: "GET",
379
379
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
380
380
  ? yield core.Supplier.get(this._options.project)
381
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
381
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
382
382
  contentType: "application/json",
383
383
  requestType: "json",
384
384
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,7 +445,7 @@ class Identities {
445
445
  method: "DELETE",
446
446
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
447
447
  ? yield core.Supplier.get(this._options.project)
448
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
448
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
449
449
  contentType: "application/json",
450
450
  requestType: "json",
451
451
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -505,7 +505,7 @@ class Identities {
505
505
  method: "PATCH",
506
506
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
507
507
  ? yield core.Supplier.get(this._options.project)
508
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
508
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
509
509
  contentType: "application/json",
510
510
  requestType: "json",
511
511
  body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -81,7 +81,7 @@ class Properties {
81
81
  method: "PUT",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
  body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
@@ -96,7 +96,7 @@ class Jobs {
96
96
  method: "GET",
97
97
  headers: 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": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
102
102
  requestType: "json",
@@ -181,7 +181,7 @@ class Jobs {
181
181
  method: "GET",
182
182
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
183
183
  ? yield core.Supplier.get(this._options.project)
184
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  queryParameters: _queryParams,
187
187
  requestType: "json",
@@ -249,7 +249,7 @@ class Jobs {
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": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-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": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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,
@@ -316,7 +316,7 @@ class Jobs {
316
316
  method: "DELETE",
317
317
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
318
318
  ? yield core.Supplier.get(this._options.project)
319
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
319
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
320
320
  contentType: "application/json",
321
321
  requestType: "json",
322
322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -386,7 +386,7 @@ class Jobs {
386
386
  method: "PATCH",
387
387
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
388
388
  ? yield core.Supplier.get(this._options.project)
389
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
389
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-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
390
  contentType: "application/json",
391
391
  requestType: "json",
392
392
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -100,7 +100,7 @@ class Messages {
100
100
  method: "GET",
101
101
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
102
102
  ? yield core.Supplier.get(this._options.project)
103
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.164", "User-Agent": "@letta-ai/letta-client/0.1.164", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.166", "User-Agent": "@letta-ai/letta-client/0.1.166", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",