@letta-ai/letta-client 0.1.201 → 0.1.203

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 (214) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +4 -4
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/index.d.ts +2 -1
  9. package/api/resources/agents/resources/index.js +3 -2
  10. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  11. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  12. package/api/resources/agents/resources/passages/client/Client.d.ts +20 -0
  13. package/api/resources/agents/resources/passages/client/Client.js +111 -4
  14. package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
  15. package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
  16. package/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  17. package/api/resources/agents/resources/passages/index.d.ts +1 -0
  18. package/api/resources/agents/resources/passages/index.js +1 -0
  19. package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
  20. package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
  21. package/api/resources/agents/resources/passages/types/index.d.ts +1 -0
  22. package/api/resources/agents/resources/passages/types/index.js +17 -0
  23. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  24. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  25. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  26. package/api/resources/batches/client/Client.js +4 -4
  27. package/api/resources/blocks/client/Client.js +6 -6
  28. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  29. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  30. package/api/resources/embeddingModels/client/Client.js +1 -1
  31. package/api/resources/folders/client/Client.js +9 -9
  32. package/api/resources/folders/resources/files/client/Client.js +3 -3
  33. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  34. package/api/resources/groups/client/Client.js +6 -6
  35. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  36. package/api/resources/health/client/Client.js +1 -1
  37. package/api/resources/identities/client/Client.js +7 -7
  38. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  39. package/api/resources/jobs/client/Client.js +5 -5
  40. package/api/resources/messages/client/Client.js +1 -1
  41. package/api/resources/models/client/Client.js +2 -2
  42. package/api/resources/projects/client/Client.js +1 -1
  43. package/api/resources/providers/client/Client.js +6 -6
  44. package/api/resources/runs/client/Client.js +5 -5
  45. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  46. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  47. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  48. package/api/resources/sources/client/Client.js +10 -10
  49. package/api/resources/sources/resources/files/client/Client.js +3 -3
  50. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  51. package/api/resources/steps/client/Client.js +3 -3
  52. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  53. package/api/resources/tags/client/Client.js +1 -1
  54. package/api/resources/telemetry/client/Client.js +1 -1
  55. package/api/resources/templates/client/Client.d.ts +16 -0
  56. package/api/resources/templates/client/Client.js +86 -8
  57. package/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +11 -0
  58. package/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +5 -0
  59. package/api/resources/templates/client/requests/index.d.ts +1 -0
  60. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  61. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -0
  62. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
  63. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
  64. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  65. package/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +6 -0
  66. package/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +5 -0
  67. package/api/resources/templates/types/index.d.ts +2 -0
  68. package/api/resources/templates/types/index.js +2 -0
  69. package/api/resources/tools/client/Client.js +20 -20
  70. package/api/resources/voice/client/Client.js +1 -1
  71. package/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
  72. package/api/types/ArchivalMemorySearchResponse.js +5 -0
  73. package/api/types/ArchivalMemorySearchResult.d.ts +11 -0
  74. package/api/types/ArchivalMemorySearchResult.js +5 -0
  75. package/api/types/index.d.ts +2 -0
  76. package/api/types/index.js +2 -0
  77. package/dist/api/resources/agents/client/Client.js +11 -11
  78. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  79. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  82. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  83. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  84. package/dist/api/resources/agents/resources/index.d.ts +2 -1
  85. package/dist/api/resources/agents/resources/index.js +3 -2
  86. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  87. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  88. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +20 -0
  89. package/dist/api/resources/agents/resources/passages/client/Client.js +111 -4
  90. package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
  91. package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
  92. package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
  93. package/dist/api/resources/agents/resources/passages/index.d.ts +1 -0
  94. package/dist/api/resources/agents/resources/passages/index.js +1 -0
  95. package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
  96. package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
  97. package/dist/api/resources/agents/resources/passages/types/index.d.ts +1 -0
  98. package/dist/api/resources/agents/resources/passages/types/index.js +17 -0
  99. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  100. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  101. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  102. package/dist/api/resources/batches/client/Client.js +4 -4
  103. package/dist/api/resources/blocks/client/Client.js +6 -6
  104. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  105. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  106. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  107. package/dist/api/resources/folders/client/Client.js +9 -9
  108. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  109. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  110. package/dist/api/resources/groups/client/Client.js +6 -6
  111. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  112. package/dist/api/resources/health/client/Client.js +1 -1
  113. package/dist/api/resources/identities/client/Client.js +7 -7
  114. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  115. package/dist/api/resources/jobs/client/Client.js +5 -5
  116. package/dist/api/resources/messages/client/Client.js +1 -1
  117. package/dist/api/resources/models/client/Client.js +2 -2
  118. package/dist/api/resources/projects/client/Client.js +1 -1
  119. package/dist/api/resources/providers/client/Client.js +6 -6
  120. package/dist/api/resources/runs/client/Client.js +5 -5
  121. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  122. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  123. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  124. package/dist/api/resources/sources/client/Client.js +10 -10
  125. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  126. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  127. package/dist/api/resources/steps/client/Client.js +3 -3
  128. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  129. package/dist/api/resources/tags/client/Client.js +1 -1
  130. package/dist/api/resources/telemetry/client/Client.js +1 -1
  131. package/dist/api/resources/templates/client/Client.d.ts +16 -0
  132. package/dist/api/resources/templates/client/Client.js +86 -8
  133. package/dist/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +11 -0
  134. package/dist/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +5 -0
  135. package/dist/api/resources/templates/client/requests/index.d.ts +1 -0
  136. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  137. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -0
  138. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
  139. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
  140. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  141. package/dist/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +6 -0
  142. package/dist/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +5 -0
  143. package/dist/api/resources/templates/types/index.d.ts +2 -0
  144. package/dist/api/resources/templates/types/index.js +2 -0
  145. package/dist/api/resources/tools/client/Client.js +20 -20
  146. package/dist/api/resources/voice/client/Client.js +1 -1
  147. package/dist/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
  148. package/dist/api/types/ArchivalMemorySearchResponse.js +5 -0
  149. package/dist/api/types/ArchivalMemorySearchResult.d.ts +11 -0
  150. package/dist/api/types/ArchivalMemorySearchResult.js +5 -0
  151. package/dist/api/types/index.d.ts +2 -0
  152. package/dist/api/types/index.js +2 -0
  153. package/dist/serialization/resources/agents/resources/index.d.ts +2 -1
  154. package/dist/serialization/resources/agents/resources/index.js +3 -2
  155. package/dist/serialization/resources/agents/resources/passages/index.d.ts +1 -0
  156. package/dist/serialization/resources/agents/resources/passages/index.js +1 -0
  157. package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
  158. package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
  159. package/dist/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
  160. package/dist/serialization/resources/agents/resources/passages/types/index.js +17 -0
  161. package/dist/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +12 -0
  162. package/dist/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +43 -0
  163. package/dist/serialization/resources/templates/client/requests/index.d.ts +1 -0
  164. package/dist/serialization/resources/templates/client/requests/index.js +3 -1
  165. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -0
  166. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -0
  167. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
  168. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
  169. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  170. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +1 -1
  171. package/dist/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +12 -0
  172. package/dist/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +43 -0
  173. package/dist/serialization/resources/templates/types/index.d.ts +2 -0
  174. package/dist/serialization/resources/templates/types/index.js +2 -0
  175. package/dist/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
  176. package/dist/serialization/types/ArchivalMemorySearchResponse.js +45 -0
  177. package/dist/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
  178. package/dist/serialization/types/ArchivalMemorySearchResult.js +45 -0
  179. package/dist/serialization/types/index.d.ts +2 -0
  180. package/dist/serialization/types/index.js +2 -0
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +156 -0
  185. package/serialization/resources/agents/resources/index.d.ts +2 -1
  186. package/serialization/resources/agents/resources/index.js +3 -2
  187. package/serialization/resources/agents/resources/passages/index.d.ts +1 -0
  188. package/serialization/resources/agents/resources/passages/index.js +1 -0
  189. package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
  190. package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
  191. package/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
  192. package/serialization/resources/agents/resources/passages/types/index.js +17 -0
  193. package/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +12 -0
  194. package/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +43 -0
  195. package/serialization/resources/templates/client/requests/index.d.ts +1 -0
  196. package/serialization/resources/templates/client/requests/index.js +3 -1
  197. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -0
  198. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -0
  199. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
  200. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
  201. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
  202. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +1 -1
  203. package/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +12 -0
  204. package/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +43 -0
  205. package/serialization/resources/templates/types/index.d.ts +2 -0
  206. package/serialization/resources/templates/types/index.js +2 -0
  207. package/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
  208. package/serialization/types/ArchivalMemorySearchResponse.js +45 -0
  209. package/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
  210. package/serialization/types/ArchivalMemorySearchResult.js +45 -0
  211. package/serialization/types/index.d.ts +2 -0
  212. package/serialization/types/index.js +2 -0
  213. package/version.d.ts +1 -1
  214. package/version.js +1 -1
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType>;
8
+ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemAgentType {
9
+ type Raw = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
10
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = core.serialization.enum_([
42
+ "memgpt_agent",
43
+ "memgpt_v2_agent",
44
+ "react_agent",
45
+ "workflow_agent",
46
+ "split_thread_agent",
47
+ "sleeptime_agent",
48
+ "voice_convo_agent",
49
+ "voice_sleeptime_agent",
50
+ ]);
@@ -7,7 +7,7 @@ import * as core from "../../../../core";
7
7
  export declare const TemplatesGetTemplateSnapshotResponseConfiguration: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseConfiguration.Raw, Letta.TemplatesGetTemplateSnapshotResponseConfiguration>;
8
8
  export declare namespace TemplatesGetTemplateSnapshotResponseConfiguration {
9
9
  interface Raw {
10
- managerAgentId?: string | null;
10
+ managerAgentEntityId?: string | null;
11
11
  managerType?: string | null;
12
12
  terminationToken?: string | null;
13
13
  maxTurns?: number | null;
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TemplatesGetTemplateSnapshotResponseConfiguration = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  exports.TemplatesGetTemplateSnapshotResponseConfiguration = core.serialization.object({
42
- managerAgentId: core.serialization.string().optional(),
42
+ managerAgentEntityId: core.serialization.string().optional(),
43
43
  managerType: core.serialization.string().optional(),
44
44
  terminationToken: core.serialization.string().optional(),
45
45
  maxTurns: core.serialization.number().optional(),
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const TemplatesUpdateTemplateDescriptionResponse: core.serialization.ObjectSchema<serializers.TemplatesUpdateTemplateDescriptionResponse.Raw, Letta.TemplatesUpdateTemplateDescriptionResponse>;
8
+ export declare namespace TemplatesUpdateTemplateDescriptionResponse {
9
+ interface Raw {
10
+ success: boolean;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TemplatesUpdateTemplateDescriptionResponse = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.TemplatesUpdateTemplateDescriptionResponse = core.serialization.object({
42
+ success: core.serialization.boolean(),
43
+ });
@@ -18,6 +18,7 @@ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxC
18
18
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven";
19
19
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate";
20
20
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
21
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
21
22
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
22
23
  export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
23
24
  export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
@@ -26,5 +27,6 @@ export * from "./TemplatesGetTemplateSnapshotResponse";
26
27
  export * from "./TemplatesForkTemplateResponse";
27
28
  export * from "./TemplatesCreateTemplateResponse";
28
29
  export * from "./TemplatesRenameTemplateResponse";
30
+ export * from "./TemplatesUpdateTemplateDescriptionResponse";
29
31
  export * from "./TemplatesListTemplateVersionsResponseVersionsItem";
30
32
  export * from "./TemplatesListTemplateVersionsResponse";
@@ -34,6 +34,7 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesI
34
34
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven"), exports);
35
35
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate"), exports);
36
36
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
37
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType"), exports);
37
38
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
38
39
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
39
40
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
@@ -42,5 +43,6 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponse"), exports);
42
43
  __exportStar(require("./TemplatesForkTemplateResponse"), exports);
43
44
  __exportStar(require("./TemplatesCreateTemplateResponse"), exports);
44
45
  __exportStar(require("./TemplatesRenameTemplateResponse"), exports);
46
+ __exportStar(require("./TemplatesUpdateTemplateDescriptionResponse"), exports);
45
47
  __exportStar(require("./TemplatesListTemplateVersionsResponseVersionsItem"), exports);
46
48
  __exportStar(require("./TemplatesListTemplateVersionsResponse"), exports);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ArchivalMemorySearchResult } from "./ArchivalMemorySearchResult";
8
+ export declare const ArchivalMemorySearchResponse: core.serialization.ObjectSchema<serializers.ArchivalMemorySearchResponse.Raw, Letta.ArchivalMemorySearchResponse>;
9
+ export declare namespace ArchivalMemorySearchResponse {
10
+ interface Raw {
11
+ results: ArchivalMemorySearchResult.Raw[];
12
+ count: number;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ArchivalMemorySearchResponse = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ArchivalMemorySearchResult_1 = require("./ArchivalMemorySearchResult");
42
+ exports.ArchivalMemorySearchResponse = core.serialization.object({
43
+ results: core.serialization.list(ArchivalMemorySearchResult_1.ArchivalMemorySearchResult),
44
+ count: core.serialization.number(),
45
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ArchivalMemorySearchResult: core.serialization.ObjectSchema<serializers.ArchivalMemorySearchResult.Raw, Letta.ArchivalMemorySearchResult>;
8
+ export declare namespace ArchivalMemorySearchResult {
9
+ interface Raw {
10
+ timestamp: string;
11
+ content: string;
12
+ tags?: string[] | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ArchivalMemorySearchResult = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ArchivalMemorySearchResult = core.serialization.object({
42
+ timestamp: core.serialization.string(),
43
+ content: core.serialization.string(),
44
+ tags: core.serialization.list(core.serialization.string()).optional(),
45
+ });
@@ -18,6 +18,8 @@ export * from "./AppModel";
18
18
  export * from "./ApprovalCreate";
19
19
  export * from "./ApprovalRequestMessage";
20
20
  export * from "./ApprovalResponseMessage";
21
+ export * from "./ArchivalMemorySearchResponse";
22
+ export * from "./ArchivalMemorySearchResult";
21
23
  export * from "./AssistantMessageContent";
22
24
  export * from "./AssistantMessage";
23
25
  export * from "./Audio";
@@ -34,6 +34,8 @@ __exportStar(require("./AppModel"), exports);
34
34
  __exportStar(require("./ApprovalCreate"), exports);
35
35
  __exportStar(require("./ApprovalRequestMessage"), exports);
36
36
  __exportStar(require("./ApprovalResponseMessage"), exports);
37
+ __exportStar(require("./ArchivalMemorySearchResponse"), exports);
38
+ __exportStar(require("./ArchivalMemorySearchResult"), exports);
37
39
  __exportStar(require("./AssistantMessageContent"), exports);
38
40
  __exportStar(require("./AssistantMessage"), exports);
39
41
  __exportStar(require("./Audio"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.201";
1
+ export declare const SDK_VERSION = "0.1.203";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.201";
4
+ exports.SDK_VERSION = "0.1.203";