@letta-ai/letta-client 0.0.68654 → 0.0.68656
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/client/requests/CreateAgentRequest.d.ts +3 -1
- package/api/resources/agents/client/requests/UpdateAgent.d.ts +3 -1
- 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 +8 -5
- package/api/resources/folders/client/Client.js +21 -15
- 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 +3 -1
- package/api/resources/folders/resources/agents/client/Client.js +27 -6
- package/api/resources/folders/resources/agents/client/index.d.ts +1 -1
- package/api/resources/folders/resources/agents/client/index.js +15 -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 +1 -0
- package/api/resources/folders/resources/agents/index.js +1 -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 +4 -0
- package/api/resources/folders/resources/index.js +4 -0
- 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/api/types/AgentState.d.ts +3 -1
- package/api/types/InternalTemplateAgentCreate.d.ts +3 -1
- package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +3 -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/client/requests/CreateAgentRequest.d.ts +3 -1
- package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +3 -1
- 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 +8 -5
- package/dist/api/resources/folders/client/Client.js +21 -15
- 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 +3 -1
- package/dist/api/resources/folders/resources/agents/client/Client.js +27 -6
- package/dist/api/resources/folders/resources/agents/client/index.d.ts +1 -1
- package/dist/api/resources/folders/resources/agents/client/index.js +15 -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 +1 -0
- package/dist/api/resources/folders/resources/agents/index.js +1 -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 +4 -0
- package/dist/api/resources/folders/resources/index.js +4 -0
- 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/api/types/AgentState.d.ts +3 -1
- package/dist/api/types/InternalTemplateAgentCreate.d.ts +3 -1
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +3 -1
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +3 -0
- 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/index.d.ts +1 -1
- package/dist/serialization/resources/folders/index.js +1 -1
- package/dist/serialization/resources/folders/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/agents/index.js +1 -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 +3 -0
- package/dist/serialization/resources/folders/resources/index.js +6 -0
- 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/serialization/types/AgentState.d.ts +1 -0
- package/dist/serialization/types/AgentState.js +1 -0
- package/dist/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
- package/dist/serialization/types/InternalTemplateAgentCreate.js +1 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +67 -14
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.js +3 -0
- 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/index.d.ts +1 -1
- package/serialization/resources/folders/index.js +1 -1
- package/serialization/resources/folders/resources/agents/index.d.ts +1 -0
- package/serialization/resources/folders/resources/agents/index.js +1 -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 +3 -0
- package/serialization/resources/folders/resources/index.js +6 -0
- 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/serialization/types/AgentState.d.ts +1 -0
- package/serialization/types/AgentState.js +1 -0
- package/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
- package/serialization/types/InternalTemplateAgentCreate.js +1 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
- 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
|
@@ -55,8 +55,10 @@ export interface AgentState {
|
|
|
55
55
|
sources: Letta.Source[];
|
|
56
56
|
/** The tags associated with the agent. */
|
|
57
57
|
tags: string[];
|
|
58
|
-
/**
|
|
58
|
+
/** Deprecated: use `secrets` field instead. */
|
|
59
59
|
toolExecEnvironmentVariables?: Letta.AgentEnvironmentVariable[];
|
|
60
|
+
/** The environment variables for tool execution specific to this agent. */
|
|
61
|
+
secrets?: Letta.AgentEnvironmentVariable[];
|
|
60
62
|
/** The id of the project the agent belongs to. */
|
|
61
63
|
projectId?: string;
|
|
62
64
|
/** The id of the template the agent belongs to. */
|
|
@@ -66,8 +66,10 @@ export interface InternalTemplateAgentCreate {
|
|
|
66
66
|
template?: boolean;
|
|
67
67
|
/** Deprecated: Project should now be passed via the X-Project header instead of in the request body. If using the sdk, this can be done via the new x_project field below. */
|
|
68
68
|
project?: string;
|
|
69
|
-
/**
|
|
69
|
+
/** Deprecated: use `secrets` field instead. */
|
|
70
70
|
toolExecEnvironmentVariables?: Record<string, string | undefined>;
|
|
71
|
+
/** The environment variables for tool execution specific to this agent. */
|
|
72
|
+
secrets?: Record<string, string | undefined>;
|
|
71
73
|
/** The variables that should be set for the agent. */
|
|
72
74
|
memoryVariables?: Record<string, string | undefined>;
|
|
73
75
|
/** The id of the project the agent belongs to. */
|
|
@@ -66,8 +66,10 @@ export interface LettaSchemasAgentFileAgentSchema {
|
|
|
66
66
|
template?: boolean;
|
|
67
67
|
/** Deprecated: Project should now be passed via the X-Project header instead of in the request body. If using the sdk, this can be done via the new x_project field below. */
|
|
68
68
|
project?: string;
|
|
69
|
-
/**
|
|
69
|
+
/** Deprecated: use `secrets` field instead. */
|
|
70
70
|
toolExecEnvironmentVariables?: Record<string, string | undefined>;
|
|
71
|
+
/** The environment variables for tool execution specific to this agent. */
|
|
72
|
+
secrets?: Record<string, string | undefined>;
|
|
71
73
|
/** The variables that should be set for the agent. */
|
|
72
74
|
memoryVariables?: Record<string, string | undefined>;
|
|
73
75
|
/** The id of the project the agent belongs to. */
|
|
@@ -45,6 +45,7 @@ export declare namespace CreateAgentRequest {
|
|
|
45
45
|
template?: boolean | null;
|
|
46
46
|
project?: string | null;
|
|
47
47
|
tool_exec_environment_variables?: Record<string, string | null | undefined> | null;
|
|
48
|
+
secrets?: Record<string, string | null | undefined> | null;
|
|
48
49
|
memory_variables?: Record<string, string | null | undefined> | null;
|
|
49
50
|
project_id?: string | null;
|
|
50
51
|
template_id?: string | null;
|
|
@@ -77,6 +77,7 @@ exports.CreateAgentRequest = core.serialization.object({
|
|
|
77
77
|
template: core.serialization.boolean().optional(),
|
|
78
78
|
project: core.serialization.string().optional(),
|
|
79
79
|
toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
80
|
+
secrets: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
|
|
80
81
|
memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
81
82
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
82
83
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
@@ -24,6 +24,7 @@ export declare namespace UpdateAgent {
|
|
|
24
24
|
description?: string | null;
|
|
25
25
|
metadata?: Record<string, unknown> | null;
|
|
26
26
|
tool_exec_environment_variables?: Record<string, string | null | undefined> | null;
|
|
27
|
+
secrets?: Record<string, string | null | undefined> | null;
|
|
27
28
|
project_id?: string | null;
|
|
28
29
|
template_id?: string | null;
|
|
29
30
|
base_template_id?: string | null;
|
|
@@ -56,6 +56,9 @@ exports.UpdateAgent = core.serialization.object({
|
|
|
56
56
|
description: core.serialization.string().optional(),
|
|
57
57
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
58
58
|
toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
59
|
+
secrets: core.serialization
|
|
60
|
+
.record(core.serialization.string(), core.serialization.string().optional())
|
|
61
|
+
.optional(),
|
|
59
62
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
60
63
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
61
64
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./client"), exports);
|
|
19
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__exportStar(require("./client"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const AgentsListRequestOrder: core.serialization.Schema<serializers.blocks.AgentsListRequestOrder.Raw, Letta.blocks.AgentsListRequestOrder>;
|
|
8
|
+
export declare namespace AgentsListRequestOrder {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsListRequestOrder = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.AgentsListRequestOrder = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AgentsListRequestOrder";
|
|
@@ -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("./AgentsListRequestOrder"), exports);
|
|
@@ -32,6 +32,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
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
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.agents = void 0;
|
|
37
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
|
+
__exportStar(require("./agents/types"), exports);
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./client"), exports);
|
|
19
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__exportStar(require("./client"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const AgentsListRequestOrder: core.serialization.Schema<serializers.folders.AgentsListRequestOrder.Raw, Letta.folders.AgentsListRequestOrder>;
|
|
8
|
+
export declare namespace AgentsListRequestOrder {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsListRequestOrder = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.AgentsListRequestOrder = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AgentsListRequestOrder";
|
|
@@ -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("./AgentsListRequestOrder"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const FilesListRequestOrder: core.serialization.Schema<serializers.folders.FilesListRequestOrder.Raw, Letta.folders.FilesListRequestOrder>;
|
|
8
|
+
export declare namespace FilesListRequestOrder {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FilesListRequestOrder = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.FilesListRequestOrder = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./FilesListRequestOrder";
|
|
@@ -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("./FilesListRequestOrder"), exports);
|
|
@@ -32,8 +32,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
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
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.passages = exports.agents = exports.files = void 0;
|
|
37
40
|
exports.files = __importStar(require("./files"));
|
|
41
|
+
__exportStar(require("./files/types"), exports);
|
|
38
42
|
exports.agents = __importStar(require("./agents"));
|
|
43
|
+
__exportStar(require("./agents/types"), exports);
|
|
39
44
|
exports.passages = __importStar(require("./passages"));
|
|
45
|
+
__exportStar(require("./passages/types"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const PassagesListRequestOrder: core.serialization.Schema<serializers.folders.PassagesListRequestOrder.Raw, Letta.folders.PassagesListRequestOrder>;
|
|
8
|
+
export declare namespace PassagesListRequestOrder {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js
ADDED
|
@@ -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.PassagesListRequestOrder = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.PassagesListRequestOrder = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./PassagesListRequestOrder";
|
|
@@ -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("./PassagesListRequestOrder"), exports);
|
package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const MessagesListRequestOrder: core.serialization.Schema<serializers.groups.MessagesListRequestOrder.Raw, Letta.groups.MessagesListRequestOrder>;
|
|
8
|
+
export declare namespace MessagesListRequestOrder {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js
ADDED
|
@@ -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.MessagesListRequestOrder = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.MessagesListRequestOrder = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./MessagesListRequestOrder"), exports);
|
|
17
18
|
__exportStar(require("./LettaStreamingResponse"), exports);
|
|
18
19
|
__exportStar(require("./MessagesModifyRequest"), exports);
|
|
19
20
|
__exportStar(require("./MessagesModifyResponse"), exports);
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./client"), exports);
|
|
19
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__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"));
|