@letta-ai/letta-client 0.0.68653 → 0.0.68655
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/api/resources/agents/client/Client.d.ts +4 -7
- package/api/resources/agents/client/Client.js +13 -16
- 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.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +10 -10
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/index.d.ts +1 -1
- package/api/resources/blocks/index.js +1 -1
- package/api/resources/blocks/resources/agents/client/Client.js +20 -3
- package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
- package/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/index.js +1 -0
- package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/types/index.js +17 -0
- package/api/resources/blocks/resources/index.d.ts +1 -0
- package/api/resources/blocks/resources/index.js +1 -0
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/folders/client/Client.d.ts +11 -18
- package/api/resources/folders/client/Client.js +28 -93
- package/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
- package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
- package/api/resources/folders/client/requests/index.d.ts +1 -1
- package/api/resources/folders/index.d.ts +1 -1
- package/api/resources/folders/index.js +1 -1
- package/api/resources/folders/resources/agents/client/Client.d.ts +50 -0
- package/api/resources/folders/resources/agents/client/Client.js +166 -0
- package/api/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/api/resources/folders/resources/agents/client/index.js +17 -0
- package/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/folders/resources/agents/client/requests/index.js +2 -0
- package/api/resources/folders/resources/agents/index.d.ts +2 -0
- package/api/resources/folders/resources/agents/index.js +18 -0
- package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/api/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/api/resources/folders/resources/agents/types/index.js +17 -0
- package/api/resources/folders/resources/files/client/Client.js +17 -6
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
- package/api/resources/folders/resources/files/index.d.ts +1 -0
- package/api/resources/folders/resources/files/index.js +1 -0
- package/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
- package/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
- package/api/resources/folders/resources/files/types/index.d.ts +1 -0
- package/api/resources/folders/resources/files/types/index.js +17 -0
- package/api/resources/folders/resources/index.d.ts +5 -0
- package/api/resources/folders/resources/index.js +6 -1
- package/api/resources/folders/resources/passages/client/Client.js +14 -6
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
- package/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/index.js +1 -0
- package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
- package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
- package/api/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/types/index.js +17 -0
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +18 -10
- package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
- package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
- package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
- package/api/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/api/resources/groups/resources/messages/types/index.js +1 -0
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/index.d.ts +1 -1
- package/api/resources/identities/index.js +1 -1
- package/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
- package/api/resources/identities/resources/agents/client/Client.js +58 -11
- package/api/resources/identities/resources/agents/client/index.d.ts +1 -1
- package/api/resources/identities/resources/agents/client/index.js +15 -0
- package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/identities/resources/agents/client/requests/index.js +2 -0
- package/api/resources/identities/resources/agents/index.d.ts +1 -0
- package/api/resources/identities/resources/agents/index.js +1 -0
- package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/api/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/api/resources/identities/resources/agents/types/index.js +17 -0
- package/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
- package/api/resources/identities/resources/blocks/client/Client.js +58 -11
- package/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
- package/api/resources/identities/resources/blocks/client/index.js +15 -0
- package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
- package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
- package/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
- package/api/resources/identities/resources/blocks/index.d.ts +1 -0
- package/api/resources/identities/resources/blocks/index.js +1 -0
- package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
- package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
- package/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/api/resources/identities/resources/blocks/types/index.js +17 -0
- package/api/resources/identities/resources/index.d.ts +5 -1
- package/api/resources/identities/resources/index.js +9 -2
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +5 -5
- 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/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +5 -2
- package/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/api/resources/agents/client/Client.d.ts +4 -7
- package/dist/api/resources/agents/client/Client.js +13 -16
- 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.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/index.d.ts +1 -1
- package/dist/api/resources/blocks/index.js +1 -1
- package/dist/api/resources/blocks/resources/agents/client/Client.js +20 -3
- package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
- package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/index.js +1 -0
- package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/dist/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/types/index.js +17 -0
- package/dist/api/resources/blocks/resources/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/index.js +1 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/folders/client/Client.d.ts +11 -18
- package/dist/api/resources/folders/client/Client.js +28 -93
- package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
- package/dist/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
- package/dist/api/resources/folders/client/requests/RetrieveMetadataRequest.js +5 -0
- package/dist/api/resources/folders/client/requests/index.d.ts +1 -1
- package/dist/api/resources/folders/index.d.ts +1 -1
- package/dist/api/resources/folders/index.js +1 -1
- package/dist/api/resources/folders/resources/agents/client/Client.d.ts +50 -0
- package/dist/api/resources/folders/resources/agents/client/Client.js +166 -0
- package/dist/api/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/agents/client/index.js +17 -0
- package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/dist/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/folders/resources/agents/index.d.ts +2 -0
- package/dist/api/resources/folders/resources/agents/index.js +18 -0
- package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/dist/api/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/agents/types/index.js +17 -0
- package/dist/api/resources/folders/resources/files/client/Client.js +17 -6
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
- package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/index.js +1 -0
- package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
- package/dist/api/resources/folders/resources/files/types/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/types/index.js +17 -0
- package/dist/api/resources/folders/resources/index.d.ts +5 -0
- package/dist/api/resources/folders/resources/index.js +6 -1
- package/dist/api/resources/folders/resources/passages/client/Client.js +14 -6
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
- package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/index.js +1 -0
- package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
- package/dist/api/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/types/index.js +17 -0
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +18 -10
- package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
- package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
- package/dist/api/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/dist/api/resources/groups/resources/messages/types/index.js +1 -0
- 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/index.d.ts +1 -1
- package/dist/api/resources/identities/index.js +1 -1
- package/dist/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
- package/dist/api/resources/identities/resources/agents/client/Client.js +58 -11
- package/dist/api/resources/identities/resources/agents/client/index.d.ts +1 -1
- package/dist/api/resources/identities/resources/agents/client/index.js +15 -0
- package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/dist/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/identities/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/agents/index.js +1 -0
- package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/dist/api/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/agents/types/index.js +17 -0
- package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +58 -11
- package/dist/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
- package/dist/api/resources/identities/resources/blocks/client/index.js +15 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
- package/dist/api/resources/identities/resources/blocks/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/blocks/index.js +1 -0
- package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
- package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
- package/dist/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/blocks/types/index.js +17 -0
- package/dist/api/resources/identities/resources/index.d.ts +5 -1
- package/dist/api/resources/identities/resources/index.js +9 -2
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +5 -5
- 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/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +5 -2
- package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/blocks/index.d.ts +1 -1
- package/dist/serialization/resources/blocks/index.js +1 -1
- package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/index.js +1 -0
- package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/dist/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/index.js +4 -0
- package/dist/serialization/resources/folders/client/index.d.ts +0 -1
- package/dist/serialization/resources/folders/client/index.js +1 -2
- package/dist/serialization/resources/folders/index.d.ts +1 -1
- package/dist/serialization/resources/folders/index.js +1 -1
- package/dist/serialization/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/folders/{client/getAgentsForFolder.d.ts → resources/agents/client/list.d.ts} +3 -3
- package/dist/serialization/resources/folders/{client/getAgentsForFolder.js → resources/agents/client/list.js} +1 -1
- package/dist/serialization/resources/folders/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/folders/resources/agents/index.js +18 -0
- package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/dist/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/index.js +1 -0
- package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
- package/dist/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/types/index.js +17 -0
- package/dist/serialization/resources/folders/resources/index.d.ts +4 -0
- package/dist/serialization/resources/folders/resources/index.js +8 -1
- package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/index.js +1 -0
- package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
- package/dist/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/types/index.js +17 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
- package/dist/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/dist/serialization/resources/groups/resources/messages/types/index.js +1 -0
- package/dist/serialization/resources/identities/index.d.ts +1 -1
- package/dist/serialization/resources/identities/index.js +1 -1
- package/dist/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/identities/resources/agents/client/list.js +42 -0
- package/dist/serialization/resources/identities/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/identities/resources/agents/index.js +18 -0
- package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/dist/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/blocks/client/index.js +37 -0
- package/dist/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
- package/dist/serialization/resources/identities/resources/blocks/client/list.js +42 -0
- package/dist/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
- package/dist/serialization/resources/identities/resources/blocks/index.js +18 -0
- package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
- package/dist/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/blocks/types/index.js +17 -0
- package/dist/serialization/resources/identities/resources/index.d.ts +4 -0
- package/dist/serialization/resources/identities/resources/index.js +8 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +131 -76
- package/serialization/resources/blocks/index.d.ts +1 -1
- package/serialization/resources/blocks/index.js +1 -1
- package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/index.js +1 -0
- package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/types/index.js +17 -0
- package/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/index.js +4 -0
- package/serialization/resources/folders/client/index.d.ts +0 -1
- package/serialization/resources/folders/client/index.js +1 -2
- package/serialization/resources/folders/index.d.ts +1 -1
- package/serialization/resources/folders/index.js +1 -1
- package/serialization/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/folders/resources/agents/client/index.js +37 -0
- package/serialization/resources/folders/{client/getAgentsForFolder.d.ts → resources/agents/client/list.d.ts} +3 -3
- package/serialization/resources/folders/{client/getAgentsForFolder.js → resources/agents/client/list.js} +1 -1
- package/serialization/resources/folders/resources/agents/index.d.ts +2 -0
- package/serialization/resources/folders/resources/agents/index.js +18 -0
- package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/folders/resources/agents/types/index.js +17 -0
- package/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/index.js +1 -0
- package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
- package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
- package/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/types/index.js +17 -0
- package/serialization/resources/folders/resources/index.d.ts +4 -0
- package/serialization/resources/folders/resources/index.js +8 -1
- package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/index.js +1 -0
- package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
- package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
- package/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/types/index.js +17 -0
- package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
- package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
- package/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/serialization/resources/groups/resources/messages/types/index.js +1 -0
- package/serialization/resources/identities/index.d.ts +1 -1
- package/serialization/resources/identities/index.js +1 -1
- package/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/identities/resources/agents/client/index.js +37 -0
- package/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/identities/resources/agents/client/list.js +42 -0
- package/serialization/resources/identities/resources/agents/index.d.ts +2 -0
- package/serialization/resources/identities/resources/agents/index.js +18 -0
- package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/identities/resources/agents/types/index.js +17 -0
- package/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
- package/serialization/resources/identities/resources/blocks/client/index.js +37 -0
- package/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
- package/serialization/resources/identities/resources/blocks/client/list.js +42 -0
- package/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
- package/serialization/resources/identities/resources/blocks/index.js +18 -0
- package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
- package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
- package/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/serialization/resources/identities/resources/blocks/types/index.js +17 -0
- package/serialization/resources/identities/resources/index.d.ts +4 -0
- package/serialization/resources/identities/resources/index.js +8 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.js → RetrieveMetadataRequest.js} +0 -0
- /package/{dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js → api/resources/folders/resources/agents/client/requests/AgentsListRequest.js} +0 -0
|
@@ -118,7 +118,7 @@ class Templates {
|
|
|
118
118
|
method: "GET",
|
|
119
119
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
120
120
|
? yield core.Supplier.get(this._options.project)
|
|
121
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
121
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
122
122
|
contentType: "application/json",
|
|
123
123
|
queryParameters: _queryParams,
|
|
124
124
|
requestType: "json",
|
|
@@ -186,7 +186,7 @@ class Templates {
|
|
|
186
186
|
method: "POST",
|
|
187
187
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
188
188
|
? yield core.Supplier.get(this._options.project)
|
|
189
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
189
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
|
|
@@ -261,7 +261,7 @@ class Templates {
|
|
|
261
261
|
method: "DELETE",
|
|
262
262
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
263
263
|
? yield core.Supplier.get(this._options.project)
|
|
264
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
264
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -331,7 +331,7 @@ class Templates {
|
|
|
331
331
|
method: "GET",
|
|
332
332
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
333
333
|
? yield core.Supplier.get(this._options.project)
|
|
334
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
334
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
335
335
|
contentType: "application/json",
|
|
336
336
|
requestType: "json",
|
|
337
337
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -398,7 +398,7 @@ class Templates {
|
|
|
398
398
|
method: "POST",
|
|
399
399
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
400
400
|
? yield core.Supplier.get(this._options.project)
|
|
401
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
401
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
402
402
|
contentType: "application/json",
|
|
403
403
|
requestType: "json",
|
|
404
404
|
body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -473,7 +473,7 @@ class Templates {
|
|
|
473
473
|
method: "POST",
|
|
474
474
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
475
475
|
? yield core.Supplier.get(this._options.project)
|
|
476
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
476
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
477
477
|
contentType: "application/json",
|
|
478
478
|
requestType: "json",
|
|
479
479
|
body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -550,7 +550,7 @@ class Templates {
|
|
|
550
550
|
method: "PATCH",
|
|
551
551
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
552
552
|
? yield core.Supplier.get(this._options.project)
|
|
553
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
553
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
554
554
|
contentType: "application/json",
|
|
555
555
|
requestType: "json",
|
|
556
556
|
body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -634,7 +634,7 @@ class Templates {
|
|
|
634
634
|
method: "PATCH",
|
|
635
635
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
636
636
|
? yield core.Supplier.get(this._options.project)
|
|
637
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
637
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
638
638
|
contentType: "application/json",
|
|
639
639
|
requestType: "json",
|
|
640
640
|
body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
|
|
@@ -719,7 +719,7 @@ class Templates {
|
|
|
719
719
|
method: "GET",
|
|
720
720
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
721
721
|
? yield core.Supplier.get(this._options.project)
|
|
722
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
722
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
723
723
|
contentType: "application/json",
|
|
724
724
|
queryParameters: _queryParams,
|
|
725
725
|
requestType: "json",
|
|
@@ -83,7 +83,7 @@ class Agents {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.project)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
86
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -81,7 +81,7 @@ class Tools {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -157,7 +157,7 @@ class Tools {
|
|
|
157
157
|
method: "DELETE",
|
|
158
158
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
159
159
|
? yield core.Supplier.get(this._options.project)
|
|
160
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
160
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -225,7 +225,7 @@ class Tools {
|
|
|
225
225
|
method: "PATCH",
|
|
226
226
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
227
227
|
? yield core.Supplier.get(this._options.project)
|
|
228
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
228
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
229
229
|
contentType: "application/json",
|
|
230
230
|
requestType: "json",
|
|
231
231
|
body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -348,7 +348,7 @@ class Tools {
|
|
|
348
348
|
method: "GET",
|
|
349
349
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
350
350
|
? yield core.Supplier.get(this._options.project)
|
|
351
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
351
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
352
352
|
contentType: "application/json",
|
|
353
353
|
queryParameters: _queryParams,
|
|
354
354
|
requestType: "json",
|
|
@@ -485,7 +485,7 @@ class Tools {
|
|
|
485
485
|
method: "GET",
|
|
486
486
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
487
487
|
? yield core.Supplier.get(this._options.project)
|
|
488
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
488
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
489
489
|
contentType: "application/json",
|
|
490
490
|
queryParameters: _queryParams,
|
|
491
491
|
requestType: "json",
|
|
@@ -564,7 +564,7 @@ class Tools {
|
|
|
564
564
|
method: "POST",
|
|
565
565
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
566
566
|
? yield core.Supplier.get(this._options.project)
|
|
567
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
567
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
568
568
|
contentType: "application/json",
|
|
569
569
|
requestType: "json",
|
|
570
570
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -643,7 +643,7 @@ class Tools {
|
|
|
643
643
|
method: "PUT",
|
|
644
644
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
645
645
|
? yield core.Supplier.get(this._options.project)
|
|
646
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
646
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
647
647
|
contentType: "application/json",
|
|
648
648
|
requestType: "json",
|
|
649
649
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -719,7 +719,7 @@ class Tools {
|
|
|
719
719
|
method: "POST",
|
|
720
720
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
721
721
|
? yield core.Supplier.get(this._options.project)
|
|
722
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
722
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
723
723
|
contentType: "application/json",
|
|
724
724
|
requestType: "json",
|
|
725
725
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -800,7 +800,7 @@ class Tools {
|
|
|
800
800
|
method: "POST",
|
|
801
801
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
802
802
|
? yield core.Supplier.get(this._options.project)
|
|
803
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
803
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
804
804
|
contentType: "application/json",
|
|
805
805
|
requestType: "json",
|
|
806
806
|
body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -876,7 +876,7 @@ class Tools {
|
|
|
876
876
|
method: "GET",
|
|
877
877
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
878
878
|
? yield core.Supplier.get(this._options.project)
|
|
879
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
879
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
880
880
|
contentType: "application/json",
|
|
881
881
|
requestType: "json",
|
|
882
882
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -952,7 +952,7 @@ class Tools {
|
|
|
952
952
|
method: "GET",
|
|
953
953
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
954
954
|
? yield core.Supplier.get(this._options.project)
|
|
955
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
955
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
956
956
|
contentType: "application/json",
|
|
957
957
|
requestType: "json",
|
|
958
958
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1028,7 +1028,7 @@ class Tools {
|
|
|
1028
1028
|
method: "POST",
|
|
1029
1029
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1030
1030
|
? yield core.Supplier.get(this._options.project)
|
|
1031
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1031
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1032
1032
|
contentType: "application/json",
|
|
1033
1033
|
requestType: "json",
|
|
1034
1034
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1103,7 +1103,7 @@ class Tools {
|
|
|
1103
1103
|
method: "GET",
|
|
1104
1104
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1105
1105
|
? yield core.Supplier.get(this._options.project)
|
|
1106
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1106
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1107
1107
|
contentType: "application/json",
|
|
1108
1108
|
requestType: "json",
|
|
1109
1109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1183,7 +1183,7 @@ class Tools {
|
|
|
1183
1183
|
method: "PUT",
|
|
1184
1184
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1185
1185
|
? yield core.Supplier.get(this._options.project)
|
|
1186
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1186
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1187
1187
|
contentType: "application/json",
|
|
1188
1188
|
requestType: "json",
|
|
1189
1189
|
body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1260,7 +1260,7 @@ class Tools {
|
|
|
1260
1260
|
method: "GET",
|
|
1261
1261
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1262
1262
|
? yield core.Supplier.get(this._options.project)
|
|
1263
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1263
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1264
1264
|
contentType: "application/json",
|
|
1265
1265
|
requestType: "json",
|
|
1266
1266
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1337,7 +1337,7 @@ class Tools {
|
|
|
1337
1337
|
method: "POST",
|
|
1338
1338
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1339
1339
|
? yield core.Supplier.get(this._options.project)
|
|
1340
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1340
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1341
1341
|
contentType: "application/json",
|
|
1342
1342
|
requestType: "json",
|
|
1343
1343
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1413,7 +1413,7 @@ class Tools {
|
|
|
1413
1413
|
method: "DELETE",
|
|
1414
1414
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1415
1415
|
? yield core.Supplier.get(this._options.project)
|
|
1416
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1416
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1417
1417
|
contentType: "application/json",
|
|
1418
1418
|
requestType: "json",
|
|
1419
1419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1490,7 +1490,7 @@ class Tools {
|
|
|
1490
1490
|
method: "PATCH",
|
|
1491
1491
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1492
1492
|
? yield core.Supplier.get(this._options.project)
|
|
1493
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1493
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1494
1494
|
contentType: "application/json",
|
|
1495
1495
|
requestType: "json",
|
|
1496
1496
|
body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1572,7 +1572,7 @@ class Tools {
|
|
|
1572
1572
|
method: "POST",
|
|
1573
1573
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1574
1574
|
? yield core.Supplier.get(this._options.project)
|
|
1575
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1575
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1576
1576
|
contentType: "application/json",
|
|
1577
1577
|
requestType: "json",
|
|
1578
1578
|
body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1633,7 +1633,7 @@ class Tools {
|
|
|
1633
1633
|
method: "POST",
|
|
1634
1634
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1635
1635
|
? yield core.Supplier.get(this._options.project)
|
|
1636
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1636
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1637
1637
|
contentType: "application/json",
|
|
1638
1638
|
requestType: "json",
|
|
1639
1639
|
body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -82,7 +82,7 @@ class Voice {
|
|
|
82
82
|
method: "POST",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(request, {
|
|
@@ -69,10 +69,7 @@ export declare class Agents {
|
|
|
69
69
|
get templates(): Templates;
|
|
70
70
|
get memoryVariables(): MemoryVariables;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* This endpoint retrieves a list of all agents and their configurations
|
|
75
|
-
* associated with the specified user ID.
|
|
72
|
+
* Get a list of all agents.
|
|
76
73
|
*
|
|
77
74
|
* @param {Letta.AgentsListRequest} request
|
|
78
75
|
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -85,7 +82,7 @@ export declare class Agents {
|
|
|
85
82
|
list(request?: Letta.AgentsListRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.AgentState[]>;
|
|
86
83
|
private __list;
|
|
87
84
|
/**
|
|
88
|
-
* Create
|
|
85
|
+
* Create an agent.
|
|
89
86
|
*
|
|
90
87
|
* @param {Letta.CreateAgentRequest} request
|
|
91
88
|
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -98,7 +95,7 @@ export declare class Agents {
|
|
|
98
95
|
create(request?: Letta.CreateAgentRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.AgentState>;
|
|
99
96
|
private __create;
|
|
100
97
|
/**
|
|
101
|
-
* Get the
|
|
98
|
+
* Get the total number of agents.
|
|
102
99
|
*
|
|
103
100
|
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
101
|
*
|
|
@@ -170,7 +167,7 @@ export declare class Agents {
|
|
|
170
167
|
delete(agentId: string, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
171
168
|
private __delete;
|
|
172
169
|
/**
|
|
173
|
-
* Update an existing agent
|
|
170
|
+
* Update an existing agent.
|
|
174
171
|
*
|
|
175
172
|
* @param {string} agentId
|
|
176
173
|
* @param {Letta.UpdateAgent} request
|
|
@@ -120,10 +120,7 @@ class Agents {
|
|
|
120
120
|
return ((_a = this._memoryVariables) !== null && _a !== void 0 ? _a : (this._memoryVariables = new Client_12.MemoryVariables(this._options)));
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* This endpoint retrieves a list of all agents and their configurations
|
|
126
|
-
* associated with the specified user ID.
|
|
123
|
+
* Get a list of all agents.
|
|
127
124
|
*
|
|
128
125
|
* @param {Letta.AgentsListRequest} request
|
|
129
126
|
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -216,7 +213,7 @@ class Agents {
|
|
|
216
213
|
method: "GET",
|
|
217
214
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
218
215
|
? yield core.Supplier.get(this._options.project)
|
|
219
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
216
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
220
217
|
contentType: "application/json",
|
|
221
218
|
queryParameters: _queryParams,
|
|
222
219
|
requestType: "json",
|
|
@@ -272,7 +269,7 @@ class Agents {
|
|
|
272
269
|
});
|
|
273
270
|
}
|
|
274
271
|
/**
|
|
275
|
-
* Create
|
|
272
|
+
* Create an agent.
|
|
276
273
|
*
|
|
277
274
|
* @param {Letta.CreateAgentRequest} request
|
|
278
275
|
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -293,7 +290,7 @@ class Agents {
|
|
|
293
290
|
method: "POST",
|
|
294
291
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
295
292
|
? yield core.Supplier.get(this._options.project)
|
|
296
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
293
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
297
294
|
contentType: "application/json",
|
|
298
295
|
requestType: "json",
|
|
299
296
|
body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -349,7 +346,7 @@ class Agents {
|
|
|
349
346
|
});
|
|
350
347
|
}
|
|
351
348
|
/**
|
|
352
|
-
* Get the
|
|
349
|
+
* Get the total number of agents.
|
|
353
350
|
*
|
|
354
351
|
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
355
352
|
*
|
|
@@ -369,7 +366,7 @@ class Agents {
|
|
|
369
366
|
method: "GET",
|
|
370
367
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
371
368
|
? yield core.Supplier.get(this._options.project)
|
|
372
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
369
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
373
370
|
contentType: "application/json",
|
|
374
371
|
requestType: "json",
|
|
375
372
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -458,7 +455,7 @@ class Agents {
|
|
|
458
455
|
method: "GET",
|
|
459
456
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
460
457
|
? yield core.Supplier.get(this._options.project)
|
|
461
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
458
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
462
459
|
contentType: "application/json",
|
|
463
460
|
queryParameters: _queryParams,
|
|
464
461
|
requestType: "json",
|
|
@@ -558,7 +555,7 @@ class Agents {
|
|
|
558
555
|
method: "POST",
|
|
559
556
|
headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
560
557
|
? yield core.Supplier.get(this._options.project)
|
|
561
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
558
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
562
559
|
requestType: "file",
|
|
563
560
|
duplex: _maybeEncodedRequest.duplex,
|
|
564
561
|
body: _maybeEncodedRequest.body,
|
|
@@ -646,7 +643,7 @@ class Agents {
|
|
|
646
643
|
method: "GET",
|
|
647
644
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
648
645
|
? yield core.Supplier.get(this._options.project)
|
|
649
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
646
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
650
647
|
contentType: "application/json",
|
|
651
648
|
queryParameters: _queryParams,
|
|
652
649
|
requestType: "json",
|
|
@@ -723,7 +720,7 @@ class Agents {
|
|
|
723
720
|
method: "DELETE",
|
|
724
721
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
725
722
|
? yield core.Supplier.get(this._options.project)
|
|
726
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
723
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
727
724
|
contentType: "application/json",
|
|
728
725
|
requestType: "json",
|
|
729
726
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -769,7 +766,7 @@ class Agents {
|
|
|
769
766
|
});
|
|
770
767
|
}
|
|
771
768
|
/**
|
|
772
|
-
* Update an existing agent
|
|
769
|
+
* Update an existing agent.
|
|
773
770
|
*
|
|
774
771
|
* @param {string} agentId
|
|
775
772
|
* @param {Letta.UpdateAgent} request
|
|
@@ -791,7 +788,7 @@ class Agents {
|
|
|
791
788
|
method: "PATCH",
|
|
792
789
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
793
790
|
? yield core.Supplier.get(this._options.project)
|
|
794
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
791
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
795
792
|
contentType: "application/json",
|
|
796
793
|
requestType: "json",
|
|
797
794
|
body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -868,7 +865,7 @@ class Agents {
|
|
|
868
865
|
method: "POST",
|
|
869
866
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
870
867
|
? yield core.Supplier.get(this._options.project)
|
|
871
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
868
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
872
869
|
contentType: "application/json",
|
|
873
870
|
requestType: "json",
|
|
874
871
|
body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -82,7 +82,7 @@ class Blocks {
|
|
|
82
82
|
method: "GET",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -160,7 +160,7 @@ class Blocks {
|
|
|
160
160
|
method: "PATCH",
|
|
161
161
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
162
162
|
? yield core.Supplier.get(this._options.project)
|
|
163
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
163
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -237,7 +237,7 @@ class Blocks {
|
|
|
237
237
|
method: "GET",
|
|
238
238
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
239
239
|
? yield core.Supplier.get(this._options.project)
|
|
240
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
240
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
241
241
|
contentType: "application/json",
|
|
242
242
|
requestType: "json",
|
|
243
243
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -314,7 +314,7 @@ class Blocks {
|
|
|
314
314
|
method: "PATCH",
|
|
315
315
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
316
316
|
? yield core.Supplier.get(this._options.project)
|
|
317
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
317
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
requestType: "json",
|
|
320
320
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -391,7 +391,7 @@ class Blocks {
|
|
|
391
391
|
method: "PATCH",
|
|
392
392
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
393
393
|
? yield core.Supplier.get(this._options.project)
|
|
394
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
394
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
395
395
|
contentType: "application/json",
|
|
396
396
|
requestType: "json",
|
|
397
397
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -81,7 +81,7 @@ class Context {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -82,7 +82,7 @@ class CoreMemory {
|
|
|
82
82
|
method: "GET",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|