@letta-ai/letta-client 0.1.160 → 0.1.162
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.
- package/Client.d.ts +3 -0
- package/Client.js +43 -38
- package/api/resources/agents/client/Client.d.ts +6 -48
- package/api/resources/agents/client/Client.js +34 -231
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.d.ts +83 -0
- package/api/resources/agents/resources/files/client/Client.js +276 -0
- package/api/resources/agents/resources/files/client/index.d.ts +1 -0
- package/api/resources/agents/resources/files/client/index.js +2 -0
- package/api/resources/agents/resources/files/index.d.ts +1 -0
- package/api/resources/agents/resources/files/index.js +17 -0
- package/api/resources/agents/resources/folders/client/Client.d.ts +74 -0
- package/api/resources/agents/resources/folders/client/Client.js +272 -0
- package/api/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/client/index.js +2 -0
- package/api/resources/agents/resources/folders/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/index.js +17 -0
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/index.d.ts +2 -0
- package/api/resources/agents/resources/index.js +3 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.d.ts +157 -0
- package/api/resources/folders/client/Client.js +691 -0
- package/api/resources/folders/client/index.d.ts +1 -0
- package/api/resources/folders/client/index.js +17 -0
- package/api/resources/folders/client/requests/FolderCreate.d.ts +26 -0
- package/api/resources/folders/client/requests/FolderCreate.js +5 -0
- package/api/resources/folders/client/requests/FolderUpdate.d.ts +20 -0
- package/api/resources/folders/client/requests/FolderUpdate.js +5 -0
- package/api/resources/folders/client/requests/GetFoldersMetadataRequest.d.ts +10 -0
- package/api/resources/folders/client/requests/GetFoldersMetadataRequest.js +5 -0
- package/api/resources/folders/client/requests/index.d.ts +3 -0
- package/api/resources/folders/client/requests/index.js +2 -0
- package/api/resources/folders/index.d.ts +2 -0
- package/api/resources/folders/index.js +18 -0
- package/api/resources/folders/resources/files/client/Client.d.ts +78 -0
- package/api/resources/folders/resources/files/client/Client.js +289 -0
- package/api/resources/folders/resources/files/client/index.d.ts +1 -0
- package/api/resources/folders/resources/files/client/index.js +17 -0
- package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +14 -0
- package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.js +5 -0
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +21 -0
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.js +5 -0
- package/api/resources/folders/resources/files/client/requests/index.d.ts +2 -0
- package/api/resources/folders/resources/files/client/requests/index.js +2 -0
- package/api/resources/folders/resources/files/index.d.ts +1 -0
- package/api/resources/folders/resources/files/index.js +17 -0
- package/api/resources/folders/resources/index.d.ts +4 -0
- package/api/resources/folders/resources/index.js +43 -0
- package/api/resources/folders/resources/passages/client/Client.d.ts +49 -0
- package/api/resources/folders/resources/passages/client/Client.js +149 -0
- package/api/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/client/index.js +17 -0
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/api/resources/folders/resources/passages/client/requests/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/client/requests/index.js +2 -0
- package/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/index.js +17 -0
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +5 -5
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +19 -19
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/Folder.d.ts +37 -0
- package/api/types/Folder.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +43 -38
- package/dist/api/resources/agents/client/Client.d.ts +6 -48
- package/dist/api/resources/agents/client/Client.js +34 -231
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.d.ts +83 -0
- package/dist/api/resources/agents/resources/files/client/Client.js +276 -0
- package/dist/api/resources/agents/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/client/index.js +2 -0
- package/dist/api/resources/agents/resources/files/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/index.js +17 -0
- package/dist/api/resources/agents/resources/folders/client/Client.d.ts +74 -0
- package/dist/api/resources/agents/resources/folders/client/Client.js +272 -0
- package/dist/api/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/folders/client/index.js +2 -0
- package/dist/api/resources/agents/resources/folders/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/folders/index.js +17 -0
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/index.js +3 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.d.ts +157 -0
- package/dist/api/resources/folders/client/Client.js +691 -0
- package/dist/api/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/folders/client/index.js +17 -0
- package/dist/api/resources/folders/client/requests/FolderCreate.d.ts +26 -0
- package/dist/api/resources/folders/client/requests/FolderCreate.js +5 -0
- package/dist/api/resources/folders/client/requests/FolderUpdate.d.ts +20 -0
- package/dist/api/resources/folders/client/requests/FolderUpdate.js +5 -0
- package/dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.d.ts +10 -0
- package/dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js +5 -0
- package/dist/api/resources/folders/client/requests/index.d.ts +3 -0
- package/dist/api/resources/folders/client/requests/index.js +2 -0
- package/dist/api/resources/folders/index.d.ts +2 -0
- package/dist/api/resources/folders/index.js +18 -0
- package/dist/api/resources/folders/resources/files/client/Client.d.ts +78 -0
- package/dist/api/resources/folders/resources/files/client/Client.js +289 -0
- package/dist/api/resources/folders/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/client/index.js +17 -0
- package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +14 -0
- package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.js +5 -0
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +21 -0
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.js +5 -0
- package/dist/api/resources/folders/resources/files/client/requests/index.d.ts +2 -0
- package/dist/api/resources/folders/resources/files/client/requests/index.js +2 -0
- package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/index.js +17 -0
- package/dist/api/resources/folders/resources/index.d.ts +4 -0
- package/dist/api/resources/folders/resources/index.js +43 -0
- package/dist/api/resources/folders/resources/passages/client/Client.d.ts +49 -0
- package/dist/api/resources/folders/resources/passages/client/Client.js +149 -0
- package/dist/api/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/client/index.js +17 -0
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/dist/api/resources/folders/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/client/requests/index.js +2 -0
- package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/index.js +17 -0
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +5 -5
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +19 -19
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/Folder.d.ts +37 -0
- package/dist/api/types/Folder.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/agents/client/index.d.ts +0 -2
- package/dist/serialization/resources/agents/client/index.js +1 -3
- package/dist/serialization/resources/agents/resources/files/client/closeAll.d.ts +9 -0
- package/{serialization/resources/agents/client/closeAllOpenFiles.js → dist/serialization/resources/agents/resources/files/client/closeAll.js} +1 -1
- package/dist/serialization/resources/agents/resources/files/client/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/files/client/index.js +38 -0
- package/dist/serialization/resources/agents/resources/files/client/open.d.ts +9 -0
- package/{serialization/resources/agents/client/openFile.js → dist/serialization/resources/agents/resources/files/client/open.js} +1 -1
- package/dist/serialization/resources/agents/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/files/index.js +17 -0
- package/dist/serialization/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/folders/client/index.js +37 -0
- package/dist/serialization/resources/agents/resources/folders/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/folders/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/folders/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/folders/index.js +17 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/index.js +3 -1
- package/dist/serialization/resources/{agents/client/openFile.d.ts → folders/client/count.d.ts} +2 -2
- package/dist/serialization/resources/folders/client/count.js +41 -0
- package/dist/serialization/resources/{agents/client/closeAllOpenFiles.d.ts → folders/client/getAgentsForFolder.d.ts} +1 -1
- package/dist/serialization/resources/folders/client/index.d.ts +5 -0
- package/dist/serialization/resources/folders/client/index.js +44 -0
- package/dist/serialization/resources/folders/client/list.d.ts +11 -0
- package/dist/serialization/resources/folders/client/list.js +42 -0
- package/dist/serialization/resources/folders/client/requests/FolderCreate.d.ts +19 -0
- package/dist/serialization/resources/folders/client/requests/FolderCreate.js +50 -0
- package/dist/serialization/resources/folders/client/requests/FolderUpdate.d.ts +17 -0
- package/dist/serialization/resources/folders/client/requests/FolderUpdate.js +48 -0
- package/dist/serialization/resources/folders/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/folders/client/requests/index.js +7 -0
- package/dist/serialization/resources/folders/client/retrieveByName.d.ts +9 -0
- package/dist/serialization/resources/folders/client/retrieveByName.js +41 -0
- package/dist/serialization/resources/folders/index.d.ts +2 -0
- package/dist/serialization/resources/folders/index.js +18 -0
- package/dist/serialization/resources/folders/resources/files/client/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/client/index.js +37 -0
- package/dist/serialization/resources/folders/resources/files/client/list.d.ts +11 -0
- package/dist/serialization/resources/folders/resources/files/client/list.js +42 -0
- package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/index.js +17 -0
- package/dist/serialization/resources/folders/resources/index.d.ts +2 -0
- package/dist/serialization/resources/folders/resources/index.js +38 -0
- package/dist/serialization/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/client/index.js +37 -0
- package/dist/serialization/resources/folders/resources/passages/client/list.d.ts +11 -0
- package/dist/serialization/resources/folders/resources/passages/client/list.js +42 -0
- package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/Folder.d.ts +22 -0
- package/dist/serialization/types/Folder.js +53 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1931 -857
- package/serialization/resources/agents/client/index.d.ts +0 -2
- package/serialization/resources/agents/client/index.js +1 -3
- package/serialization/resources/agents/resources/files/client/closeAll.d.ts +9 -0
- package/serialization/resources/agents/resources/files/client/closeAll.js +41 -0
- package/serialization/resources/agents/resources/files/client/index.d.ts +2 -0
- package/serialization/resources/agents/resources/files/client/index.js +38 -0
- package/serialization/resources/agents/resources/files/client/open.d.ts +9 -0
- package/serialization/resources/agents/resources/files/client/open.js +41 -0
- package/serialization/resources/agents/resources/files/index.d.ts +1 -0
- package/serialization/resources/agents/resources/files/index.js +17 -0
- package/serialization/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/folders/client/index.js +37 -0
- package/serialization/resources/agents/resources/folders/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/folders/client/list.js +42 -0
- package/serialization/resources/agents/resources/folders/index.d.ts +1 -0
- package/serialization/resources/agents/resources/folders/index.js +17 -0
- package/serialization/resources/agents/resources/index.d.ts +2 -0
- package/serialization/resources/agents/resources/index.js +3 -1
- package/serialization/resources/{agents/client/openFile.d.ts → folders/client/count.d.ts} +2 -2
- package/serialization/resources/folders/client/count.js +41 -0
- package/serialization/resources/{agents/client/closeAllOpenFiles.d.ts → folders/client/getAgentsForFolder.d.ts} +1 -1
- package/serialization/resources/folders/client/index.d.ts +5 -0
- package/serialization/resources/folders/client/index.js +44 -0
- package/serialization/resources/folders/client/list.d.ts +11 -0
- package/serialization/resources/folders/client/list.js +42 -0
- package/serialization/resources/folders/client/requests/FolderCreate.d.ts +19 -0
- package/serialization/resources/folders/client/requests/FolderCreate.js +50 -0
- package/serialization/resources/folders/client/requests/FolderUpdate.d.ts +17 -0
- package/serialization/resources/folders/client/requests/FolderUpdate.js +48 -0
- package/serialization/resources/folders/client/requests/index.d.ts +2 -0
- package/serialization/resources/folders/client/requests/index.js +7 -0
- package/serialization/resources/folders/client/retrieveByName.d.ts +9 -0
- package/serialization/resources/folders/client/retrieveByName.js +41 -0
- package/serialization/resources/folders/index.d.ts +2 -0
- package/serialization/resources/folders/index.js +18 -0
- package/serialization/resources/folders/resources/files/client/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/client/index.js +37 -0
- package/serialization/resources/folders/resources/files/client/list.d.ts +11 -0
- package/serialization/resources/folders/resources/files/client/list.js +42 -0
- package/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/index.js +17 -0
- package/serialization/resources/folders/resources/index.d.ts +2 -0
- package/serialization/resources/folders/resources/index.js +38 -0
- package/serialization/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/client/index.js +37 -0
- package/serialization/resources/folders/resources/passages/client/list.d.ts +11 -0
- package/serialization/resources/folders/resources/passages/client/list.js +42 -0
- package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/Folder.d.ts +22 -0
- package/serialization/types/Folder.js +53 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/dist/serialization/resources/{agents/client/closeAllOpenFiles.js → folders/client/getAgentsForFolder.js} +0 -0
- /package/{dist/serialization/resources/agents/client/openFile.js → serialization/resources/folders/client/getAgentsForFolder.js} +0 -0
|
@@ -36,10 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.exportFile = exports.count = exports.list = void 0;
|
|
40
40
|
exports.list = __importStar(require("./list"));
|
|
41
41
|
exports.count = __importStar(require("./count"));
|
|
42
42
|
exports.exportFile = __importStar(require("./exportFile"));
|
|
43
|
-
exports.closeAllOpenFiles = __importStar(require("./closeAllOpenFiles"));
|
|
44
|
-
exports.openFile = __importStar(require("./openFile"));
|
|
45
43
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.agents.files.closeAll.Response.Raw, string[]>;
|
|
7
|
+
export declare namespace Response {
|
|
8
|
+
type Raw = string[];
|
|
9
|
+
}
|
|
@@ -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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.Response = core.serialization.list(core.serialization.string());
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.open = exports.closeAll = void 0;
|
|
37
|
+
exports.closeAll = __importStar(require("./closeAll"));
|
|
38
|
+
exports.open = __importStar(require("./open"));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.agents.files.open.Response.Raw, string[]>;
|
|
7
|
+
export declare namespace Response {
|
|
8
|
+
type Raw = string[];
|
|
9
|
+
}
|
|
@@ -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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.Response = core.serialization.list(core.serialization.string());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as list from "./list";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.list = void 0;
|
|
37
|
+
exports.list = __importStar(require("./list"));
|
|
@@ -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 { Source } from "../../../../../types/Source";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.agents.folders.list.Response.Raw, Letta.Source[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Source.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 Source_1 = require("../../../../../types/Source");
|
|
42
|
+
exports.Response = core.serialization.list(Source_1.Source);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -6,6 +6,8 @@ export * as memoryVariables from "./memoryVariables";
|
|
|
6
6
|
export * from "./memoryVariables/types";
|
|
7
7
|
export * as tools from "./tools";
|
|
8
8
|
export * as sources from "./sources";
|
|
9
|
+
export * as folders from "./folders";
|
|
10
|
+
export * as files from "./files";
|
|
9
11
|
export * as blocks from "./blocks";
|
|
10
12
|
export * as passages from "./passages";
|
|
11
13
|
export * as groups from "./groups";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.groups = exports.passages = exports.blocks = exports.sources = exports.tools = exports.memoryVariables = exports.templates = exports.messages = void 0;
|
|
39
|
+
exports.groups = exports.passages = exports.blocks = exports.files = exports.folders = exports.sources = exports.tools = exports.memoryVariables = exports.templates = exports.messages = void 0;
|
|
40
40
|
exports.messages = __importStar(require("./messages"));
|
|
41
41
|
__exportStar(require("./messages/types"), exports);
|
|
42
42
|
exports.templates = __importStar(require("./templates"));
|
|
@@ -45,6 +45,8 @@ exports.memoryVariables = __importStar(require("./memoryVariables"));
|
|
|
45
45
|
__exportStar(require("./memoryVariables/types"), exports);
|
|
46
46
|
exports.tools = __importStar(require("./tools"));
|
|
47
47
|
exports.sources = __importStar(require("./sources"));
|
|
48
|
+
exports.folders = __importStar(require("./folders"));
|
|
49
|
+
exports.files = __importStar(require("./files"));
|
|
48
50
|
exports.blocks = __importStar(require("./blocks"));
|
|
49
51
|
exports.passages = __importStar(require("./passages"));
|
|
50
52
|
exports.groups = __importStar(require("./groups"));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.folders.count.Response.Raw, number>;
|
|
7
7
|
export declare namespace Response {
|
|
8
|
-
type Raw =
|
|
8
|
+
type Raw = number;
|
|
9
9
|
}
|
|
@@ -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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.Response = core.serialization.number();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.folders.getAgentsForFolder.Response.Raw, string[]>;
|
|
7
7
|
export declare namespace Response {
|
|
8
8
|
type Raw = string[];
|
|
9
9
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.getAgentsForFolder = exports.list = exports.retrieveByName = exports.count = void 0;
|
|
40
|
+
exports.count = __importStar(require("./count"));
|
|
41
|
+
exports.retrieveByName = __importStar(require("./retrieveByName"));
|
|
42
|
+
exports.list = __importStar(require("./list"));
|
|
43
|
+
exports.getAgentsForFolder = __importStar(require("./getAgentsForFolder"));
|
|
44
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -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 { Folder } from "../../../types/Folder";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.folders.list.Response.Raw, Letta.Folder[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Folder.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 Folder_1 = require("../../../types/Folder");
|
|
42
|
+
exports.Response = core.serialization.list(Folder_1.Folder);
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
}
|
|
@@ -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.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
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
});
|