@letta-ai/letta-client 0.1.163 → 0.1.164

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 (194) hide show
  1. package/api/resources/agents/client/Client.js +10 -10
  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 +3 -3
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  10. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  14. package/api/resources/batches/client/Client.js +4 -4
  15. package/api/resources/blocks/client/Client.js +6 -6
  16. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  17. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  18. package/api/resources/embeddingModels/client/Client.js +1 -1
  19. package/api/resources/folders/client/Client.d.ts +5 -5
  20. package/api/resources/folders/client/Client.js +16 -16
  21. package/api/resources/folders/client/requests/index.d.ts +0 -2
  22. package/api/resources/folders/resources/files/client/Client.js +3 -3
  23. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  24. package/api/resources/groups/client/Client.js +6 -6
  25. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  26. package/api/resources/health/client/Client.js +1 -1
  27. package/api/resources/identities/client/Client.js +7 -7
  28. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  29. package/api/resources/jobs/client/Client.js +5 -5
  30. package/api/resources/messages/client/Client.js +1 -1
  31. package/api/resources/models/client/Client.js +1 -1
  32. package/api/resources/projects/client/Client.js +1 -1
  33. package/api/resources/providers/client/Client.js +5 -5
  34. package/api/resources/runs/client/Client.js +4 -4
  35. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  36. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  37. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  38. package/api/resources/sources/client/Client.d.ts +2 -2
  39. package/api/resources/sources/client/Client.js +13 -13
  40. package/api/resources/sources/client/requests/index.d.ts +0 -2
  41. package/api/resources/sources/resources/files/client/Client.js +3 -3
  42. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  43. package/api/resources/steps/client/Client.js +2 -2
  44. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  45. package/api/resources/tags/client/Client.js +1 -1
  46. package/api/resources/telemetry/client/Client.js +1 -1
  47. package/api/resources/templates/client/Client.js +1 -1
  48. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  49. package/api/resources/tools/client/Client.d.ts +32 -2
  50. package/api/resources/tools/client/Client.js +165 -27
  51. package/api/resources/tools/client/requests/McpOauthCallbackRequest.d.ts +25 -0
  52. package/api/resources/tools/client/requests/index.d.ts +1 -0
  53. package/api/resources/tools/types/ConnectMcpServerRequest.d.ts +5 -0
  54. package/api/resources/tools/types/index.d.ts +1 -0
  55. package/api/resources/tools/types/index.js +1 -0
  56. package/api/resources/voice/client/Client.js +1 -1
  57. package/api/types/Folder.d.ts +1 -1
  58. package/{dist/api/resources/sources/client/requests → api/types}/SourceCreate.d.ts +2 -5
  59. package/{dist/api/resources/sources/client/requests → api/types}/SourceUpdate.d.ts +2 -3
  60. package/api/types/index.d.ts +2 -0
  61. package/api/types/index.js +2 -0
  62. package/dist/api/resources/agents/client/Client.js +10 -10
  63. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  64. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  65. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  66. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  67. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  68. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  69. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  70. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  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 +6 -6
  77. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  78. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  79. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  80. package/dist/api/resources/folders/client/Client.d.ts +5 -5
  81. package/dist/api/resources/folders/client/Client.js +16 -16
  82. package/dist/api/resources/folders/client/requests/index.d.ts +0 -2
  83. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  84. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  85. package/dist/api/resources/groups/client/Client.js +6 -6
  86. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  87. package/dist/api/resources/health/client/Client.js +1 -1
  88. package/dist/api/resources/identities/client/Client.js +7 -7
  89. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  90. package/dist/api/resources/jobs/client/Client.js +5 -5
  91. package/dist/api/resources/messages/client/Client.js +1 -1
  92. package/dist/api/resources/models/client/Client.js +1 -1
  93. package/dist/api/resources/projects/client/Client.js +1 -1
  94. package/dist/api/resources/providers/client/Client.js +5 -5
  95. package/dist/api/resources/runs/client/Client.js +4 -4
  96. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  97. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  98. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  99. package/dist/api/resources/sources/client/Client.d.ts +2 -2
  100. package/dist/api/resources/sources/client/Client.js +13 -13
  101. package/dist/api/resources/sources/client/requests/index.d.ts +0 -2
  102. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  103. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  104. package/dist/api/resources/steps/client/Client.js +2 -2
  105. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  106. package/dist/api/resources/tags/client/Client.js +1 -1
  107. package/dist/api/resources/telemetry/client/Client.js +1 -1
  108. package/dist/api/resources/templates/client/Client.js +1 -1
  109. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  110. package/dist/api/resources/tools/client/Client.d.ts +32 -2
  111. package/dist/api/resources/tools/client/Client.js +165 -27
  112. package/dist/api/resources/tools/client/requests/McpOauthCallbackRequest.d.ts +25 -0
  113. package/dist/api/resources/tools/client/requests/index.d.ts +1 -0
  114. package/dist/api/resources/tools/types/ConnectMcpServerRequest.d.ts +5 -0
  115. package/dist/api/resources/tools/types/index.d.ts +1 -0
  116. package/dist/api/resources/tools/types/index.js +1 -0
  117. package/dist/api/resources/voice/client/Client.js +1 -1
  118. package/dist/api/types/Folder.d.ts +1 -1
  119. package/{api/resources/sources/client/requests → dist/api/types}/SourceCreate.d.ts +2 -5
  120. package/{api/resources/sources/client/requests → dist/api/types}/SourceUpdate.d.ts +2 -3
  121. package/dist/api/types/index.d.ts +2 -0
  122. package/dist/api/types/index.js +2 -0
  123. package/dist/serialization/resources/folders/client/index.d.ts +0 -1
  124. package/dist/serialization/resources/folders/client/index.js +0 -4
  125. package/dist/serialization/resources/index.d.ts +0 -2
  126. package/dist/serialization/resources/index.js +0 -2
  127. package/dist/serialization/resources/sources/client/index.d.ts +0 -1
  128. package/dist/serialization/resources/sources/client/index.js +0 -4
  129. package/dist/serialization/resources/tools/client/index.d.ts +0 -1
  130. package/dist/serialization/resources/tools/client/index.js +1 -2
  131. package/dist/serialization/resources/tools/types/ConnectMcpServerRequest.d.ts +13 -0
  132. package/dist/serialization/resources/tools/{client/testMcpServer.js → types/ConnectMcpServerRequest.js} +5 -3
  133. package/dist/serialization/resources/tools/types/index.d.ts +1 -0
  134. package/dist/serialization/resources/tools/types/index.js +1 -0
  135. package/dist/serialization/{resources/sources/client/requests → types}/SourceCreate.d.ts +5 -5
  136. package/dist/serialization/{resources/sources/client/requests → types}/SourceCreate.js +2 -2
  137. package/{serialization/resources/sources/client/requests → dist/serialization/types}/SourceUpdate.d.ts +5 -5
  138. package/dist/serialization/{resources/sources/client/requests → types}/SourceUpdate.js +2 -2
  139. package/dist/serialization/types/index.d.ts +2 -0
  140. package/dist/serialization/types/index.js +2 -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 +145 -6
  145. package/serialization/resources/folders/client/index.d.ts +0 -1
  146. package/serialization/resources/folders/client/index.js +0 -4
  147. package/serialization/resources/index.d.ts +0 -2
  148. package/serialization/resources/index.js +0 -2
  149. package/serialization/resources/sources/client/index.d.ts +0 -1
  150. package/serialization/resources/sources/client/index.js +0 -4
  151. package/serialization/resources/tools/client/index.d.ts +0 -1
  152. package/serialization/resources/tools/client/index.js +1 -2
  153. package/serialization/resources/tools/types/ConnectMcpServerRequest.d.ts +13 -0
  154. package/serialization/resources/tools/{client/testMcpServer.js → types/ConnectMcpServerRequest.js} +5 -3
  155. package/serialization/resources/tools/types/index.d.ts +1 -0
  156. package/serialization/resources/tools/types/index.js +1 -0
  157. package/serialization/{resources/sources/client/requests → types}/SourceCreate.d.ts +5 -5
  158. package/serialization/{resources/sources/client/requests → types}/SourceCreate.js +2 -2
  159. package/{dist/serialization/resources/sources/client/requests → serialization/types}/SourceUpdate.d.ts +5 -5
  160. package/serialization/{resources/sources/client/requests → types}/SourceUpdate.js +2 -2
  161. package/serialization/types/index.d.ts +2 -0
  162. package/serialization/types/index.js +2 -0
  163. package/version.d.ts +1 -1
  164. package/version.js +1 -1
  165. package/api/resources/folders/client/requests/FolderCreate.d.ts +0 -26
  166. package/api/resources/folders/client/requests/FolderUpdate.d.ts +0 -20
  167. package/dist/api/resources/folders/client/requests/FolderCreate.d.ts +0 -26
  168. package/dist/api/resources/folders/client/requests/FolderUpdate.d.ts +0 -20
  169. package/dist/serialization/resources/folders/client/requests/FolderCreate.d.ts +0 -19
  170. package/dist/serialization/resources/folders/client/requests/FolderCreate.js +0 -50
  171. package/dist/serialization/resources/folders/client/requests/FolderUpdate.d.ts +0 -17
  172. package/dist/serialization/resources/folders/client/requests/FolderUpdate.js +0 -48
  173. package/dist/serialization/resources/folders/client/requests/index.d.ts +0 -2
  174. package/dist/serialization/resources/folders/client/requests/index.js +0 -7
  175. package/dist/serialization/resources/sources/client/requests/index.d.ts +0 -2
  176. package/dist/serialization/resources/sources/client/requests/index.js +0 -7
  177. package/dist/serialization/resources/tools/client/testMcpServer.d.ts +0 -11
  178. package/serialization/resources/folders/client/requests/FolderCreate.d.ts +0 -19
  179. package/serialization/resources/folders/client/requests/FolderCreate.js +0 -50
  180. package/serialization/resources/folders/client/requests/FolderUpdate.d.ts +0 -17
  181. package/serialization/resources/folders/client/requests/FolderUpdate.js +0 -48
  182. package/serialization/resources/folders/client/requests/index.d.ts +0 -2
  183. package/serialization/resources/folders/client/requests/index.js +0 -7
  184. package/serialization/resources/sources/client/requests/index.d.ts +0 -2
  185. package/serialization/resources/sources/client/requests/index.js +0 -7
  186. package/serialization/resources/tools/client/testMcpServer.d.ts +0 -11
  187. /package/api/resources/{folders/client/requests/FolderCreate.js → tools/client/requests/McpOauthCallbackRequest.js} +0 -0
  188. /package/api/resources/{folders/client/requests/FolderUpdate.js → tools/types/ConnectMcpServerRequest.js} +0 -0
  189. /package/api/{resources/sources/client/requests → types}/SourceCreate.js +0 -0
  190. /package/api/{resources/sources/client/requests → types}/SourceUpdate.js +0 -0
  191. /package/dist/api/resources/{folders/client/requests/FolderCreate.js → tools/client/requests/McpOauthCallbackRequest.js} +0 -0
  192. /package/dist/api/resources/{folders/client/requests/FolderUpdate.js → tools/types/ConnectMcpServerRequest.js} +0 -0
  193. /package/dist/api/{resources/sources/client/requests → types}/SourceCreate.js +0 -0
  194. /package/dist/api/{resources/sources/client/requests → types}/SourceUpdate.js +0 -0
@@ -1,50 +0,0 @@
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.FolderCreate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderCreate = core.serialization.object({
43
- name: core.serialization.string(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embedding: core.serialization.string().optional(),
48
- embeddingChunkSize: core.serialization.property("embedding_chunk_size", core.serialization.number().optional()),
49
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
50
- });
@@ -1,17 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderUpdate: core.serialization.Schema<serializers.FolderUpdate.Raw, Letta.FolderUpdate>;
9
- export declare namespace FolderUpdate {
10
- interface Raw {
11
- name?: string | null;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding_config?: EmbeddingConfig.Raw | null;
16
- }
17
- }
@@ -1,48 +0,0 @@
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.FolderUpdate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderUpdate = core.serialization.object({
43
- name: core.serialization.string().optional(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
48
- });
@@ -1,2 +0,0 @@
1
- export { FolderUpdate } from "./FolderUpdate";
2
- export { FolderCreate } from "./FolderCreate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FolderCreate = exports.FolderUpdate = void 0;
4
- var FolderUpdate_1 = require("./FolderUpdate");
5
- Object.defineProperty(exports, "FolderUpdate", { enumerable: true, get: function () { return FolderUpdate_1.FolderUpdate; } });
6
- var FolderCreate_1 = require("./FolderCreate");
7
- Object.defineProperty(exports, "FolderCreate", { enumerable: true, get: function () { return FolderCreate_1.FolderCreate; } });
@@ -1,2 +0,0 @@
1
- export { SourceUpdate } from "./SourceUpdate";
2
- export { SourceCreate } from "./SourceCreate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SourceCreate = exports.SourceUpdate = void 0;
4
- var SourceUpdate_1 = require("./SourceUpdate");
5
- Object.defineProperty(exports, "SourceUpdate", { enumerable: true, get: function () { return SourceUpdate_1.SourceUpdate; } });
6
- var SourceCreate_1 = require("./SourceCreate");
7
- Object.defineProperty(exports, "SourceCreate", { enumerable: true, get: function () { return SourceCreate_1.SourceCreate; } });
@@ -1,11 +0,0 @@
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 { McpTool } from "../../../types/McpTool";
8
- export declare const Response: core.serialization.Schema<serializers.tools.testMcpServer.Response.Raw, Letta.McpTool[]>;
9
- export declare namespace Response {
10
- type Raw = McpTool.Raw[];
11
- }
@@ -1,19 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderCreate: core.serialization.Schema<serializers.FolderCreate.Raw, Letta.FolderCreate>;
9
- export declare namespace FolderCreate {
10
- interface Raw {
11
- name: string;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding?: string | null;
16
- embedding_chunk_size?: number | null;
17
- embedding_config?: EmbeddingConfig.Raw | null;
18
- }
19
- }
@@ -1,50 +0,0 @@
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.FolderCreate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderCreate = core.serialization.object({
43
- name: core.serialization.string(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embedding: core.serialization.string().optional(),
48
- embeddingChunkSize: core.serialization.property("embedding_chunk_size", core.serialization.number().optional()),
49
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
50
- });
@@ -1,17 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderUpdate: core.serialization.Schema<serializers.FolderUpdate.Raw, Letta.FolderUpdate>;
9
- export declare namespace FolderUpdate {
10
- interface Raw {
11
- name?: string | null;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding_config?: EmbeddingConfig.Raw | null;
16
- }
17
- }
@@ -1,48 +0,0 @@
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.FolderUpdate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderUpdate = core.serialization.object({
43
- name: core.serialization.string().optional(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
48
- });
@@ -1,2 +0,0 @@
1
- export { FolderUpdate } from "./FolderUpdate";
2
- export { FolderCreate } from "./FolderCreate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FolderCreate = exports.FolderUpdate = void 0;
4
- var FolderUpdate_1 = require("./FolderUpdate");
5
- Object.defineProperty(exports, "FolderUpdate", { enumerable: true, get: function () { return FolderUpdate_1.FolderUpdate; } });
6
- var FolderCreate_1 = require("./FolderCreate");
7
- Object.defineProperty(exports, "FolderCreate", { enumerable: true, get: function () { return FolderCreate_1.FolderCreate; } });
@@ -1,2 +0,0 @@
1
- export { SourceUpdate } from "./SourceUpdate";
2
- export { SourceCreate } from "./SourceCreate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SourceCreate = exports.SourceUpdate = void 0;
4
- var SourceUpdate_1 = require("./SourceUpdate");
5
- Object.defineProperty(exports, "SourceUpdate", { enumerable: true, get: function () { return SourceUpdate_1.SourceUpdate; } });
6
- var SourceCreate_1 = require("./SourceCreate");
7
- Object.defineProperty(exports, "SourceCreate", { enumerable: true, get: function () { return SourceCreate_1.SourceCreate; } });
@@ -1,11 +0,0 @@
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 { McpTool } from "../../../types/McpTool";
8
- export declare const Response: core.serialization.Schema<serializers.tools.testMcpServer.Response.Raw, Letta.McpTool[]>;
9
- export declare namespace Response {
10
- type Raw = McpTool.Raw[];
11
- }