@letta-ai/letta-client 0.1.206 → 0.1.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +4 -4
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.d.ts +16 -0
  10. package/api/resources/agents/resources/messages/client/Client.js +88 -8
  11. package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +24 -0
  12. package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
  13. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  14. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  15. package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
  16. package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
  17. package/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  18. package/api/resources/agents/resources/messages/types/index.js +1 -0
  19. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  20. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  21. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  22. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  23. package/api/resources/batches/client/Client.js +4 -4
  24. package/api/resources/blocks/client/Client.js +6 -6
  25. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  26. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  27. package/api/resources/embeddingModels/client/Client.js +1 -1
  28. package/api/resources/folders/client/Client.js +9 -9
  29. package/api/resources/folders/resources/files/client/Client.js +3 -3
  30. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  31. package/api/resources/groups/client/Client.js +6 -6
  32. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  33. package/api/resources/health/client/Client.js +1 -1
  34. package/api/resources/identities/client/Client.js +7 -7
  35. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  36. package/api/resources/jobs/client/Client.js +5 -5
  37. package/api/resources/messages/client/Client.js +1 -1
  38. package/api/resources/models/client/Client.js +2 -2
  39. package/api/resources/projects/client/Client.js +1 -1
  40. package/api/resources/providers/client/Client.js +6 -6
  41. package/api/resources/runs/client/Client.js +5 -5
  42. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  43. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  44. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  45. package/api/resources/sources/client/Client.js +10 -10
  46. package/api/resources/sources/resources/files/client/Client.js +3 -3
  47. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  48. package/api/resources/steps/client/Client.js +3 -3
  49. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  50. package/api/resources/tags/client/Client.js +1 -1
  51. package/api/resources/telemetry/client/Client.js +1 -1
  52. package/api/resources/templates/client/Client.js +9 -9
  53. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  54. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  55. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  56. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  57. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  58. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  59. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  60. package/api/resources/templates/types/index.d.ts +3 -1
  61. package/api/resources/templates/types/index.js +3 -1
  62. package/api/resources/tools/client/Client.js +20 -20
  63. package/api/resources/voice/client/Client.js +1 -1
  64. package/api/types/DeleteDeploymentResponse.d.ts +12 -0
  65. package/api/types/DeleteDeploymentResponse.js +5 -0
  66. package/api/types/DeploymentEntity.d.ts +12 -0
  67. package/api/types/DeploymentEntity.js +5 -0
  68. package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  69. package/api/types/ListDeploymentEntitiesResponse.js +5 -0
  70. package/api/types/MessageSearchResult.d.ts +21 -0
  71. package/api/types/MessageSearchResult.js +5 -0
  72. package/api/types/index.d.ts +4 -0
  73. package/api/types/index.js +4 -0
  74. package/dist/api/resources/agents/client/Client.js +11 -11
  75. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  76. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  77. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  78. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  79. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  80. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  82. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +16 -0
  83. package/dist/api/resources/agents/resources/messages/client/Client.js +88 -8
  84. package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +24 -0
  85. package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
  86. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  87. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  88. package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
  89. package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
  90. package/dist/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  91. package/dist/api/resources/agents/resources/messages/types/index.js +1 -0
  92. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  93. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  94. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  95. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  96. package/dist/api/resources/batches/client/Client.js +4 -4
  97. package/dist/api/resources/blocks/client/Client.js +6 -6
  98. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  99. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  100. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  101. package/dist/api/resources/folders/client/Client.js +9 -9
  102. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  103. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  104. package/dist/api/resources/groups/client/Client.js +6 -6
  105. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  106. package/dist/api/resources/health/client/Client.js +1 -1
  107. package/dist/api/resources/identities/client/Client.js +7 -7
  108. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  109. package/dist/api/resources/jobs/client/Client.js +5 -5
  110. package/dist/api/resources/messages/client/Client.js +1 -1
  111. package/dist/api/resources/models/client/Client.js +2 -2
  112. package/dist/api/resources/projects/client/Client.js +1 -1
  113. package/dist/api/resources/providers/client/Client.js +6 -6
  114. package/dist/api/resources/runs/client/Client.js +5 -5
  115. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  116. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  117. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  118. package/dist/api/resources/sources/client/Client.js +10 -10
  119. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  120. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  121. package/dist/api/resources/steps/client/Client.js +3 -3
  122. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  123. package/dist/api/resources/tags/client/Client.js +1 -1
  124. package/dist/api/resources/telemetry/client/Client.js +1 -1
  125. package/dist/api/resources/templates/client/Client.js +9 -9
  126. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  127. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  128. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  129. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  130. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  131. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  132. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  133. package/dist/api/resources/templates/types/index.d.ts +3 -1
  134. package/dist/api/resources/templates/types/index.js +3 -1
  135. package/dist/api/resources/tools/client/Client.js +20 -20
  136. package/dist/api/resources/voice/client/Client.js +1 -1
  137. package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
  138. package/dist/api/types/DeleteDeploymentResponse.js +5 -0
  139. package/dist/api/types/DeploymentEntity.d.ts +12 -0
  140. package/dist/api/types/DeploymentEntity.js +5 -0
  141. package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  142. package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
  143. package/dist/api/types/MessageSearchResult.d.ts +21 -0
  144. package/dist/api/types/MessageSearchResult.js +5 -0
  145. package/dist/api/types/index.d.ts +4 -0
  146. package/dist/api/types/index.js +4 -0
  147. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  148. package/dist/serialization/resources/agents/resources/messages/client/index.js +2 -1
  149. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +20 -0
  150. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +51 -0
  151. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  152. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  153. package/dist/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
  154. package/dist/serialization/resources/agents/resources/messages/client/search.js +42 -0
  155. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  156. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  157. package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
  158. package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
  159. package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  160. package/dist/serialization/resources/agents/resources/messages/types/index.js +1 -0
  161. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  162. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  163. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  164. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  165. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  166. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  167. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  168. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  169. package/dist/serialization/resources/templates/types/index.d.ts +3 -1
  170. package/dist/serialization/resources/templates/types/index.js +3 -1
  171. package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  172. package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
  173. package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
  174. package/dist/serialization/types/DeploymentEntity.js +46 -0
  175. package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  176. package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  177. package/dist/serialization/types/MessageSearchResult.d.ts +18 -0
  178. package/dist/serialization/types/MessageSearchResult.js +49 -0
  179. package/dist/serialization/types/index.d.ts +4 -0
  180. package/dist/serialization/types/index.js +4 -0
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +66 -0
  185. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  186. package/serialization/resources/agents/resources/messages/client/index.js +2 -1
  187. package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +20 -0
  188. package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +51 -0
  189. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  190. package/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  191. package/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
  192. package/serialization/resources/agents/resources/messages/client/search.js +42 -0
  193. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  194. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  195. package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
  196. package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
  197. package/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  198. package/serialization/resources/agents/resources/messages/types/index.js +1 -0
  199. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  200. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  201. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  202. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  203. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  204. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  205. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  206. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  207. package/serialization/resources/templates/types/index.d.ts +3 -1
  208. package/serialization/resources/templates/types/index.js +3 -1
  209. package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  210. package/serialization/types/DeleteDeploymentResponse.js +46 -0
  211. package/serialization/types/DeploymentEntity.d.ts +15 -0
  212. package/serialization/types/DeploymentEntity.js +46 -0
  213. package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  214. package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  215. package/serialization/types/MessageSearchResult.d.ts +18 -0
  216. package/serialization/types/MessageSearchResult.js +49 -0
  217. package/serialization/types/index.d.ts +4 -0
  218. package/serialization/types/index.js +4 -0
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
@@ -0,0 +1,20 @@
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 { MessageSearchRequestSearchMode } from "../../types/MessageSearchRequestSearchMode";
8
+ import { MessageRole } from "../../../../../../types/MessageRole";
9
+ export declare const MessageSearchRequest: core.serialization.Schema<serializers.agents.MessageSearchRequest.Raw, Letta.agents.MessageSearchRequest>;
10
+ export declare namespace MessageSearchRequest {
11
+ interface Raw {
12
+ query_text?: string | null;
13
+ search_mode?: MessageSearchRequestSearchMode.Raw | null;
14
+ roles?: MessageRole.Raw[] | null;
15
+ project_id?: string | null;
16
+ limit?: number | null;
17
+ start_date?: string | null;
18
+ end_date?: string | null;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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.MessageSearchRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const MessageSearchRequestSearchMode_1 = require("../../types/MessageSearchRequestSearchMode");
42
+ const MessageRole_1 = require("../../../../../../types/MessageRole");
43
+ exports.MessageSearchRequest = core.serialization.object({
44
+ queryText: core.serialization.property("query_text", core.serialization.string().optional()),
45
+ searchMode: core.serialization.property("search_mode", MessageSearchRequestSearchMode_1.MessageSearchRequestSearchMode.optional()),
46
+ roles: core.serialization.list(MessageRole_1.MessageRole).optional(),
47
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
48
+ limit: core.serialization.number().optional(),
49
+ startDate: core.serialization.property("start_date", core.serialization.date().optional()),
50
+ endDate: core.serialization.property("end_date", core.serialization.date().optional()),
51
+ });
@@ -1,2 +1,3 @@
1
1
  export { CancelAgentRunRequest } from "./CancelAgentRunRequest";
2
+ export { MessageSearchRequest } from "./MessageSearchRequest";
2
3
  export { LettaAsyncRequest } from "./LettaAsyncRequest";
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LettaAsyncRequest = exports.CancelAgentRunRequest = void 0;
3
+ exports.LettaAsyncRequest = exports.MessageSearchRequest = exports.CancelAgentRunRequest = void 0;
4
4
  var CancelAgentRunRequest_1 = require("./CancelAgentRunRequest");
5
5
  Object.defineProperty(exports, "CancelAgentRunRequest", { enumerable: true, get: function () { return CancelAgentRunRequest_1.CancelAgentRunRequest; } });
6
+ var MessageSearchRequest_1 = require("./MessageSearchRequest");
7
+ Object.defineProperty(exports, "MessageSearchRequest", { enumerable: true, get: function () { return MessageSearchRequest_1.MessageSearchRequest; } });
6
8
  var LettaAsyncRequest_1 = require("./LettaAsyncRequest");
7
9
  Object.defineProperty(exports, "LettaAsyncRequest", { enumerable: true, get: function () { return LettaAsyncRequest_1.LettaAsyncRequest; } });
@@ -0,0 +1,11 @@
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 { MessageSearchResult } from "../../../../../types/MessageSearchResult";
8
+ export declare const Response: core.serialization.Schema<serializers.agents.messages.search.Response.Raw, Letta.MessageSearchResult[]>;
9
+ export declare namespace Response {
10
+ type Raw = MessageSearchResult.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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.Response = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const MessageSearchResult_1 = require("../../../../../types/MessageSearchResult");
42
+ exports.Response = core.serialization.list(MessageSearchResult_1.MessageSearchResult);
@@ -7,13 +7,16 @@ import * as core from "../../../../../../core";
7
7
  import { SystemMessage } from "../../../../../types/SystemMessage";
8
8
  import { UserMessage } from "../../../../../types/UserMessage";
9
9
  import { ReasoningMessage } from "../../../../../types/ReasoningMessage";
10
+ import { HiddenReasoningMessage } from "../../../../../types/HiddenReasoningMessage";
10
11
  import { ToolCallMessage } from "../../../../../types/ToolCallMessage";
11
12
  import { ToolReturnMessage } from "../../../../../types/ToolReturnMessage";
12
13
  import { AssistantMessage } from "../../../../../types/AssistantMessage";
14
+ import { ApprovalRequestMessage } from "../../../../../types/ApprovalRequestMessage";
15
+ import { ApprovalResponseMessage } from "../../../../../types/ApprovalResponseMessage";
13
16
  import { LettaPing } from "../../../../../types/LettaPing";
14
17
  import { LettaStopReason } from "../../../../../types/LettaStopReason";
15
18
  import { LettaUsageStatistics } from "../../../../../types/LettaUsageStatistics";
16
19
  export declare const LettaStreamingResponse: core.serialization.Schema<serializers.agents.LettaStreamingResponse.Raw, Letta.agents.LettaStreamingResponse>;
17
20
  export declare namespace LettaStreamingResponse {
18
- type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
21
+ type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | HiddenReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | ApprovalRequestMessage.Raw | ApprovalResponseMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
19
22
  }
@@ -41,9 +41,12 @@ const core = __importStar(require("../../../../../../core"));
41
41
  const SystemMessage_1 = require("../../../../../types/SystemMessage");
42
42
  const UserMessage_1 = require("../../../../../types/UserMessage");
43
43
  const ReasoningMessage_1 = require("../../../../../types/ReasoningMessage");
44
+ const HiddenReasoningMessage_1 = require("../../../../../types/HiddenReasoningMessage");
44
45
  const ToolCallMessage_1 = require("../../../../../types/ToolCallMessage");
45
46
  const ToolReturnMessage_1 = require("../../../../../types/ToolReturnMessage");
46
47
  const AssistantMessage_1 = require("../../../../../types/AssistantMessage");
48
+ const ApprovalRequestMessage_1 = require("../../../../../types/ApprovalRequestMessage");
49
+ const ApprovalResponseMessage_1 = require("../../../../../types/ApprovalResponseMessage");
47
50
  const LettaPing_1 = require("../../../../../types/LettaPing");
48
51
  const LettaStopReason_1 = require("../../../../../types/LettaStopReason");
49
52
  const LettaUsageStatistics_1 = require("../../../../../types/LettaUsageStatistics");
@@ -51,9 +54,12 @@ exports.LettaStreamingResponse = core.serialization.undiscriminatedUnion([
51
54
  SystemMessage_1.SystemMessage,
52
55
  UserMessage_1.UserMessage,
53
56
  ReasoningMessage_1.ReasoningMessage,
57
+ HiddenReasoningMessage_1.HiddenReasoningMessage,
54
58
  ToolCallMessage_1.ToolCallMessage,
55
59
  ToolReturnMessage_1.ToolReturnMessage,
56
60
  AssistantMessage_1.AssistantMessage,
61
+ ApprovalRequestMessage_1.ApprovalRequestMessage,
62
+ ApprovalResponseMessage_1.ApprovalResponseMessage,
57
63
  LettaPing_1.LettaPing,
58
64
  LettaStopReason_1.LettaStopReason,
59
65
  LettaUsageStatistics_1.LettaUsageStatistics,
@@ -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 MessageSearchRequestSearchMode: core.serialization.Schema<serializers.agents.MessageSearchRequestSearchMode.Raw, Letta.agents.MessageSearchRequestSearchMode>;
8
+ export declare namespace MessageSearchRequestSearchMode {
9
+ type Raw = "vector" | "fts" | "hybrid";
10
+ }
@@ -0,0 +1,41 @@
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.MessageSearchRequestSearchMode = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.MessageSearchRequestSearchMode = core.serialization.enum_(["vector", "fts", "hybrid"]);
@@ -1,5 +1,6 @@
1
1
  export * from "./MessagesModifyRequest";
2
2
  export * from "./MessagesModifyResponse";
3
3
  export * from "./LettaStreamingResponse";
4
+ export * from "./MessageSearchRequestSearchMode";
4
5
  export * from "./LettaAsyncRequestMessagesItem";
5
6
  export * from "./MessagesPreviewRawPayloadRequest";
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./MessagesModifyRequest"), exports);
18
18
  __exportStar(require("./MessagesModifyResponse"), exports);
19
19
  __exportStar(require("./LettaStreamingResponse"), exports);
20
+ __exportStar(require("./MessageSearchRequestSearchMode"), exports);
20
21
  __exportStar(require("./LettaAsyncRequestMessagesItem"), exports);
21
22
  __exportStar(require("./MessagesPreviewRawPayloadRequest"), exports);
@@ -4,11 +4,11 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
8
7
  import { TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
9
8
  import { TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
10
9
  import { TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
11
10
  import { TemplatesGetTemplateSnapshotResponseAgentsItemAgentType } from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
11
+ import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
12
12
  export declare const TemplatesGetTemplateSnapshotResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItem.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItem>;
13
13
  export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
14
14
  interface Raw {
@@ -16,13 +16,13 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
16
16
  systemPrompt: string;
17
17
  toolIds?: string[] | null;
18
18
  sourceIds?: string[] | null;
19
- properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
20
19
  memoryVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.Raw | null;
21
20
  toolVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.Raw | null;
22
21
  tags?: string[] | null;
23
22
  identityIds?: string[] | null;
24
23
  toolRules?: TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.Raw[] | null;
25
24
  agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw;
25
+ properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
26
26
  entityId: string;
27
27
  name: string;
28
28
  }
@@ -38,23 +38,23 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TemplatesGetTemplateSnapshotResponseAgentsItem = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties");
42
41
  const TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables");
43
42
  const TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables");
44
43
  const TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem");
45
44
  const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType");
45
+ const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties");
46
46
  exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.object({
47
47
  model: core.serialization.string(),
48
48
  systemPrompt: core.serialization.string(),
49
49
  toolIds: core.serialization.list(core.serialization.string()).optional(),
50
50
  sourceIds: core.serialization.list(core.serialization.string()).optional(),
51
- properties: TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.optional(),
52
51
  memoryVariables: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1.TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.optional(),
53
52
  toolVariables: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.optional(),
54
53
  tags: core.serialization.list(core.serialization.string()).optional(),
55
54
  identityIds: core.serialization.list(core.serialization.string()).optional(),
56
55
  toolRules: core.serialization.list(TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem).optional(),
57
56
  agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
57
+ properties: TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.optional(),
58
58
  entityId: core.serialization.string(),
59
59
  name: core.serialization.string(),
60
60
  });
@@ -4,6 +4,8 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel } from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel";
8
+ import { TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort } from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort";
7
9
  export declare const TemplatesGetTemplateSnapshotResponseAgentsItemProperties: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemProperties>;
8
10
  export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
9
11
  interface Raw {
@@ -14,6 +16,8 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertie
14
16
  max_reasoning_tokens?: number | null;
15
17
  max_files_open?: number | null;
16
18
  message_buffer_autoclear?: boolean | null;
19
+ verbosity_level?: TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.Raw | null;
20
+ reasoning_effort?: TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.Raw | null;
17
21
  per_file_view_window_char_limit?: number | null;
18
22
  temperature?: number | null;
19
23
  }
@@ -38,6 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
+ const TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel");
42
+ const TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort");
41
43
  exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = core.serialization.object({
42
44
  enableReasoner: core.serialization.property("enable_reasoner", core.serialization.boolean().optional()),
43
45
  putInnerThoughtsInKwargs: core.serialization.property("put_inner_thoughts_in_kwargs", core.serialization.boolean().optional()),
@@ -46,6 +48,8 @@ exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = core.serializ
46
48
  maxReasoningTokens: core.serialization.property("max_reasoning_tokens", core.serialization.number().optional()),
47
49
  maxFilesOpen: core.serialization.property("max_files_open", core.serialization.number().optional()),
48
50
  messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
51
+ verbosityLevel: core.serialization.property("verbosity_level", TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel_1.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.optional()),
52
+ reasoningEffort: core.serialization.property("reasoning_effort", TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort_1.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.optional()),
49
53
  perFileViewWindowCharLimit: core.serialization.property("per_file_view_window_char_limit", core.serialization.number().optional()),
50
54
  temperature: core.serialization.number().optional(),
51
55
  });
@@ -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 TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort>;
8
+ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort {
9
+ type Raw = "minimal" | "low" | "medium" | "high";
10
+ }
@@ -0,0 +1,41 @@
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.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = core.serialization.enum_(["minimal", "low", "medium", "high"]);
@@ -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 TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel>;
8
+ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel {
9
+ type Raw = "low" | "medium" | "high";
10
+ }
@@ -0,0 +1,41 @@
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.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = core.serialization.enum_(["low", "medium", "high"]);
@@ -3,7 +3,6 @@ export * from "./TemplatesListResponseTemplatesItem";
3
3
  export * from "./TemplatesListResponse";
4
4
  export * from "./TemplatesSaveTemplateVersionResponse";
5
5
  export * from "./TemplatesDeleteTemplateResponse";
6
- export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
7
6
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem";
8
7
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
9
8
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem";
@@ -19,6 +18,9 @@ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeve
19
18
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate";
20
19
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
21
20
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
21
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel";
22
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort";
23
+ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
22
24
  export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
23
25
  export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
24
26
  export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
@@ -19,7 +19,6 @@ __exportStar(require("./TemplatesListResponseTemplatesItem"), exports);
19
19
  __exportStar(require("./TemplatesListResponse"), exports);
20
20
  __exportStar(require("./TemplatesSaveTemplateVersionResponse"), exports);
21
21
  __exportStar(require("./TemplatesDeleteTemplateResponse"), exports);
22
- __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
23
22
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem"), exports);
24
23
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables"), exports);
25
24
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem"), exports);
@@ -35,6 +34,9 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesI
35
34
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate"), exports);
36
35
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
37
36
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType"), exports);
37
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel"), exports);
38
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort"), exports);
39
+ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
38
40
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
39
41
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
40
42
  __exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
@@ -0,0 +1,15 @@
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 DeleteDeploymentResponse: core.serialization.ObjectSchema<serializers.DeleteDeploymentResponse.Raw, Letta.DeleteDeploymentResponse>;
8
+ export declare namespace DeleteDeploymentResponse {
9
+ interface Raw {
10
+ deleted_blocks?: string[] | null;
11
+ deleted_agents?: string[] | null;
12
+ deleted_groups?: string[] | null;
13
+ message: string;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.DeleteDeploymentResponse = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DeleteDeploymentResponse = core.serialization.object({
42
+ deletedBlocks: core.serialization.property("deleted_blocks", core.serialization.list(core.serialization.string()).optional()),
43
+ deletedAgents: core.serialization.property("deleted_agents", core.serialization.list(core.serialization.string()).optional()),
44
+ deletedGroups: core.serialization.property("deleted_groups", core.serialization.list(core.serialization.string()).optional()),
45
+ message: core.serialization.string(),
46
+ });
@@ -0,0 +1,15 @@
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 DeploymentEntity: core.serialization.ObjectSchema<serializers.DeploymentEntity.Raw, Letta.DeploymentEntity>;
8
+ export declare namespace DeploymentEntity {
9
+ interface Raw {
10
+ id: string;
11
+ type: string;
12
+ name?: string | null;
13
+ description?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.DeploymentEntity = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DeploymentEntity = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ type: core.serialization.string(),
44
+ name: core.serialization.string().optional(),
45
+ description: core.serialization.string().optional(),
46
+ });