@letta-ai/letta-client 0.1.12 → 0.1.13
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 +129 -10
- package/api/resources/agents/client/Client.js +630 -26
- package/api/resources/agents/{resources/archivalMemory/client/requests/ArchivalMemoryListRequest.d.ts → client/requests/ListArchivalMemoryRequest.d.ts} +1 -1
- package/api/resources/agents/client/requests/index.d.ts +2 -0
- package/api/resources/agents/resources/archivalMemory/client/Client.d.ts +4 -21
- package/api/resources/agents/resources/archivalMemory/client/Client.js +22 -98
- package/api/resources/agents/resources/archivalMemory/client/index.d.ts +1 -1
- package/api/resources/agents/resources/archivalMemory/client/index.js +0 -15
- package/api/resources/agents/resources/context/client/Client.d.ts +2 -2
- package/api/resources/agents/resources/context/client/Client.js +3 -3
- package/api/resources/agents/resources/coreMemory/client/Client.d.ts +16 -46
- package/api/resources/agents/resources/coreMemory/client/Client.js +64 -199
- package/api/resources/agents/resources/index.d.ts +0 -1
- package/api/resources/agents/resources/index.js +0 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.d.ts +2 -2
- package/api/resources/agents/resources/memoryVariables/client/Client.js +4 -4
- package/api/resources/agents/resources/memoryVariables/types/{MemoryVariablesGetResponse.d.ts → MemoryVariablesListResponse.d.ts} +1 -1
- package/api/resources/agents/resources/memoryVariables/types/index.d.ts +1 -1
- package/api/resources/agents/resources/memoryVariables/types/index.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.d.ts +2 -2
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +1 -1
- package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -24
- package/api/resources/agents/resources/messages/types/MessagesListResponse.d.ts +1 -1
- package/api/resources/agents/resources/sources/client/Client.d.ts +28 -2
- package/api/resources/agents/resources/sources/client/Client.js +136 -4
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.d.ts +7 -7
- package/api/resources/agents/resources/tools/client/Client.js +13 -13
- package/api/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +1 -15
- package/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.d.ts +8 -0
- package/{dist/api/resources/agents/types/AgentsSearchRequestSearchItemOrderByDirection.js → api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.js} +2 -2
- package/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.d.ts +8 -0
- package/{dist/api/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.js → api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.js} +2 -2
- package/api/resources/agents/types/{AgentsSearchRequestSearchItemName.d.ts → AgentsSearchRequestSearchItemOne.d.ts} +3 -2
- package/api/resources/agents/types/{AgentsSearchRequestSearchItemNameOperator.d.ts → AgentsSearchRequestSearchItemOneOperator.d.ts} +2 -2
- package/api/resources/agents/types/{AgentsSearchRequestSearchItemNameOperator.js → AgentsSearchRequestSearchItemOneOperator.js} +2 -2
- package/{dist/api/resources/agents/types/AgentsSearchRequestSearchItemTags.d.ts → api/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts} +2 -1
- package/{dist/api/resources/agents/types/AgentsSearchRequestSearchItemVersion.d.ts → api/resources/agents/types/AgentsSearchRequestSearchItemZero.d.ts} +2 -1
- package/api/resources/agents/types/index.d.ts +7 -7
- package/api/resources/agents/types/index.js +7 -7
- package/api/resources/blocks/client/Client.d.ts +4 -34
- package/api/resources/blocks/client/Client.js +9 -141
- package/api/resources/blocks/client/requests/index.d.ts +0 -2
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.d.ts +2 -2
- package/api/resources/jobs/client/Client.js +6 -6
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.d.ts +2 -2
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.d.ts +7 -7
- package/api/resources/runs/client/Client.js +14 -14
- package/api/resources/runs/client/requests/{GetRunMessagesRequest.d.ts → ListRunMessagesRequest.d.ts} +1 -1
- package/api/resources/runs/client/requests/index.d.ts +1 -1
- package/api/resources/sources/client/Client.d.ts +4 -34
- package/api/resources/sources/client/Client.js +10 -154
- package/api/resources/sources/client/requests/index.d.ts +0 -2
- 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/tag/client/Client.js +1 -1
- package/api/resources/tools/client/Client.d.ts +9 -9
- package/api/resources/tools/client/Client.js +20 -20
- package/api/types/AgentState.d.ts +1 -1
- package/{dist/api/types/AssistantMessageOutput.d.ts → api/types/AssistantMessage.d.ts} +2 -1
- package/api/types/Block.d.ts +1 -1
- package/api/types/ChatCompletionMessageToolCall.d.ts +11 -0
- package/api/types/ContextWindowOverview.d.ts +2 -2
- package/api/types/{LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts → Function.d.ts} +4 -2
- package/{dist/api/types/FunctionSchema.d.ts → api/types/FunctionDefinition.d.ts} +4 -1
- package/api/types/FunctionTool.d.ts +10 -0
- package/api/types/LettaMessageUnion.d.ts +1 -21
- package/api/types/LettaUsageStatistics.d.ts +1 -0
- package/api/types/{LettaSchemasMessageMessage.d.ts → Message.d.ts} +3 -3
- package/api/types/ReasoningMessage.d.ts +1 -0
- package/api/types/Source.d.ts +1 -1
- package/api/types/{SystemMessageOutput.d.ts → SystemMessage.d.ts} +2 -1
- package/{dist/api/types/LettaSchemasToolTool.d.ts → api/types/Tool.d.ts} +1 -1
- package/{dist/api/types/LettaSchemasLettaMessageToolCall.d.ts → api/types/ToolCall.d.ts} +1 -1
- package/api/types/ToolCallMessage.d.ts +1 -0
- package/api/types/ToolCallMessageToolCall.d.ts +1 -1
- package/api/types/ToolReturnMessage.d.ts +1 -0
- package/api/types/ToolType.d.ts +2 -1
- package/api/types/ToolType.js +1 -0
- package/api/types/{UserMessageOutput.d.ts → UserMessage.d.ts} +2 -1
- package/api/types/index.d.ts +10 -41
- package/api/types/index.js +10 -41
- package/dist/api/resources/agents/client/Client.d.ts +129 -10
- package/dist/api/resources/agents/client/Client.js +630 -26
- package/dist/api/resources/agents/{resources/archivalMemory/client/requests/ArchivalMemoryListRequest.d.ts → client/requests/ListArchivalMemoryRequest.d.ts} +1 -1
- package/dist/api/resources/agents/client/requests/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.d.ts +4 -21
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +22 -98
- package/dist/api/resources/agents/resources/archivalMemory/client/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/archivalMemory/client/index.js +0 -15
- package/dist/api/resources/agents/resources/context/client/Client.d.ts +2 -2
- package/dist/api/resources/agents/resources/context/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/coreMemory/client/Client.d.ts +16 -46
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +64 -199
- package/dist/api/resources/agents/resources/index.d.ts +0 -1
- package/dist/api/resources/agents/resources/index.js +0 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.d.ts +2 -2
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/memoryVariables/types/{MemoryVariablesGetResponse.d.ts → MemoryVariablesListResponse.d.ts} +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/types/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/types/index.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +2 -2
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +1 -1
- package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -24
- package/dist/api/resources/agents/resources/messages/types/MessagesListResponse.d.ts +1 -1
- package/dist/api/resources/agents/resources/sources/client/Client.d.ts +28 -2
- package/dist/api/resources/agents/resources/sources/client/Client.js +136 -4
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.d.ts +7 -7
- package/dist/api/resources/agents/resources/tools/client/Client.js +13 -13
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +1 -15
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.d.ts +8 -0
- package/{api/resources/agents/types/AgentsSearchRequestSearchItemOrderByDirection.js → dist/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.js} +2 -2
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.d.ts +8 -0
- package/{api/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.js → dist/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.js} +2 -2
- package/dist/api/resources/agents/types/{AgentsSearchRequestSearchItemName.d.ts → AgentsSearchRequestSearchItemOne.d.ts} +3 -2
- package/dist/api/resources/agents/types/{AgentsSearchRequestSearchItemNameOperator.d.ts → AgentsSearchRequestSearchItemOneOperator.d.ts} +2 -2
- package/dist/api/resources/agents/types/{AgentsSearchRequestSearchItemNameOperator.js → AgentsSearchRequestSearchItemOneOperator.js} +2 -2
- package/{api/resources/agents/types/AgentsSearchRequestSearchItemTags.d.ts → dist/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts} +2 -1
- package/{api/resources/agents/types/AgentsSearchRequestSearchItemVersion.d.ts → dist/api/resources/agents/types/AgentsSearchRequestSearchItemZero.d.ts} +2 -1
- package/dist/api/resources/agents/types/index.d.ts +7 -7
- package/dist/api/resources/agents/types/index.js +7 -7
- package/dist/api/resources/blocks/client/Client.d.ts +4 -34
- package/dist/api/resources/blocks/client/Client.js +9 -141
- package/dist/api/resources/blocks/client/requests/index.d.ts +0 -2
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.d.ts +2 -2
- package/dist/api/resources/jobs/client/Client.js +6 -6
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.d.ts +2 -2
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.d.ts +7 -7
- package/dist/api/resources/runs/client/Client.js +14 -14
- package/dist/api/resources/runs/client/requests/{GetRunMessagesRequest.d.ts → ListRunMessagesRequest.d.ts} +1 -1
- package/dist/api/resources/runs/client/requests/index.d.ts +1 -1
- package/dist/api/resources/sources/client/Client.d.ts +4 -34
- package/dist/api/resources/sources/client/Client.js +10 -154
- package/dist/api/resources/sources/client/requests/index.d.ts +0 -2
- 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/tag/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.d.ts +9 -9
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/types/AgentState.d.ts +1 -1
- package/{api/types/AssistantMessageOutput.d.ts → dist/api/types/AssistantMessage.d.ts} +2 -1
- package/dist/api/types/Block.d.ts +1 -1
- package/dist/api/types/ChatCompletionMessageToolCall.d.ts +11 -0
- package/dist/api/types/ContextWindowOverview.d.ts +2 -2
- package/{api/types/FunctionCallOutput.d.ts → dist/api/types/Function.d.ts} +3 -1
- package/{api/types/FunctionSchema.d.ts → dist/api/types/FunctionDefinition.d.ts} +4 -1
- package/dist/api/types/FunctionTool.d.ts +10 -0
- package/dist/api/types/LettaMessageUnion.d.ts +1 -21
- package/dist/api/types/LettaUsageStatistics.d.ts +1 -0
- package/dist/api/types/{LettaSchemasMessageMessage.d.ts → Message.d.ts} +3 -3
- package/dist/api/types/ReasoningMessage.d.ts +1 -0
- package/dist/api/types/Source.d.ts +1 -1
- package/dist/api/types/{SystemMessageOutput.d.ts → SystemMessage.d.ts} +2 -1
- package/{api/types/LettaSchemasToolTool.d.ts → dist/api/types/Tool.d.ts} +1 -1
- package/{api/types/LettaSchemasLettaMessageToolCall.d.ts → dist/api/types/ToolCall.d.ts} +1 -1
- package/dist/api/types/ToolCallMessage.d.ts +1 -0
- package/dist/api/types/ToolCallMessageToolCall.d.ts +1 -1
- package/dist/api/types/ToolReturnMessage.d.ts +1 -0
- package/dist/api/types/ToolType.d.ts +2 -1
- package/dist/api/types/ToolType.js +1 -0
- package/dist/api/types/{UserMessageOutput.d.ts → UserMessage.d.ts} +2 -1
- package/dist/api/types/index.d.ts +10 -41
- package/dist/api/types/index.js +10 -41
- package/dist/serialization/resources/agents/client/createArchivalMemory.d.ts +11 -0
- package/dist/serialization/resources/agents/{resources/archivalMemory/client/list.js → client/createArchivalMemory.js} +2 -2
- package/dist/serialization/resources/agents/client/index.d.ts +3 -0
- package/dist/serialization/resources/agents/client/index.js +4 -1
- package/dist/serialization/resources/agents/client/listArchivalMemory.d.ts +11 -0
- package/dist/serialization/resources/agents/{resources/archivalMemory/client/create.js → client/listArchivalMemory.js} +2 -2
- package/dist/serialization/resources/agents/client/listCoreMemoryBlocks.d.ts +11 -0
- package/{serialization/resources/agents/resources/coreMemory/client/list.js → dist/serialization/resources/agents/client/listCoreMemoryBlocks.js} +2 -2
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -1
- package/dist/serialization/resources/agents/client/requests/CreateArchivalMemory.d.ts +12 -0
- package/{serialization/resources/agents/resources/archivalMemory → dist/serialization/resources/agents}/client/requests/CreateArchivalMemory.js +1 -1
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -1
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -1
- package/dist/serialization/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/client/requests/index.js +3 -1
- package/dist/serialization/resources/agents/resources/index.d.ts +0 -3
- package/dist/serialization/resources/agents/resources/index.js +1 -4
- package/{serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesGetResponse.d.ts → dist/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.d.ts} +2 -2
- package/{serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesGetResponse.js → dist/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js} +2 -2
- package/dist/serialization/resources/agents/resources/memoryVariables/types/index.d.ts +1 -1
- package/dist/serialization/resources/agents/resources/memoryVariables/types/index.js +1 -1
- package/dist/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +2 -2
- package/dist/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.js +2 -2
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -25
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +12 -17
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponse.d.ts +2 -2
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponse.js +2 -2
- package/dist/serialization/resources/agents/resources/sources/client/index.d.ts +1 -1
- package/dist/serialization/resources/agents/resources/sources/client/index.js +2 -2
- package/{serialization/resources/agents/resources/sources/client/get.d.ts → dist/serialization/resources/agents/resources/sources/client/list.d.ts} +1 -1
- package/dist/serialization/resources/agents/resources/tools/client/list.d.ts +3 -3
- package/dist/serialization/resources/agents/resources/tools/client/list.js +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +5 -17
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItem.js +10 -15
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.d.ts +16 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOrderBy.js → AgentsSearchRequestSearchItemDirection.js} +7 -6
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.d.ts +10 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemNameOperator.js → AgentsSearchRequestSearchItemDirectionDirection.js} +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.d.ts +10 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOrderByValue.js → AgentsSearchRequestSearchItemDirectionValue.js} +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOne.d.ts +15 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemName.js → AgentsSearchRequestSearchItemOne.js} +5 -4
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.d.ts +10 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOrderByDirection.js → AgentsSearchRequestSearchItemOneOperator.js} +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts +14 -0
- package/{serialization/resources/agents/types/AgentsSearchRequestSearchItemTags.js → dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.js} +3 -2
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemTags.d.ts → AgentsSearchRequestSearchItemZero.d.ts} +4 -4
- package/{serialization/resources/agents/types/AgentsSearchRequestSearchItemVersion.js → dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemZero.js} +3 -2
- package/dist/serialization/resources/agents/types/index.d.ts +7 -7
- package/dist/serialization/resources/agents/types/index.js +7 -7
- package/dist/serialization/resources/runs/client/index.d.ts +1 -1
- package/dist/serialization/resources/runs/client/index.js +2 -2
- package/dist/serialization/resources/runs/client/{getRunMessages.d.ts → listRunMessages.d.ts} +1 -1
- package/dist/serialization/resources/sources/client/requests/SourceCreate.d.ts +1 -1
- package/dist/serialization/resources/sources/client/requests/SourceCreate.js +1 -1
- package/dist/serialization/resources/sources/client/requests/SourceUpdate.d.ts +1 -1
- package/dist/serialization/resources/sources/client/requests/SourceUpdate.js +1 -1
- package/dist/serialization/resources/tools/client/addBaseTool.d.ts +3 -3
- package/dist/serialization/resources/tools/client/addBaseTool.js +2 -2
- package/dist/serialization/resources/tools/client/list.d.ts +3 -3
- package/dist/serialization/resources/tools/client/list.js +2 -2
- package/dist/serialization/types/AgentState.d.ts +3 -3
- package/dist/serialization/types/AgentState.js +3 -3
- package/{serialization/types/AssistantMessageOutput.d.ts → dist/serialization/types/AssistantMessage.d.ts} +3 -2
- package/dist/serialization/types/{AssistantMessageOutput.js → AssistantMessage.js} +3 -2
- package/dist/serialization/types/Block.d.ts +1 -1
- package/dist/serialization/types/Block.js +1 -1
- package/dist/serialization/types/BlockUpdate.d.ts +1 -1
- package/dist/serialization/types/BlockUpdate.js +1 -1
- package/dist/serialization/types/ChatCompletionMessageToolCall.d.ts +16 -0
- package/dist/serialization/types/{DeleteAssistantFileResponse.js → ChatCompletionMessageToolCall.js} +8 -5
- package/dist/serialization/types/ContextWindowOverview.d.ts +4 -4
- package/dist/serialization/types/ContextWindowOverview.js +4 -4
- package/dist/serialization/types/CreateBlock.d.ts +1 -1
- package/dist/serialization/types/CreateBlock.js +1 -1
- package/dist/serialization/types/{FunctionCallOutput.d.ts → Function.d.ts} +3 -2
- package/{serialization/types/FunctionCallOutput.js → dist/serialization/types/Function.js} +5 -3
- package/{serialization/types/FunctionSchema.d.ts → dist/serialization/types/FunctionDefinition.d.ts} +4 -2
- package/{serialization/types/FunctionSchema.js → dist/serialization/types/FunctionDefinition.js} +6 -3
- package/dist/serialization/types/FunctionTool.d.ts +15 -0
- package/dist/serialization/types/{ChatCompletionRequestStop.js → FunctionTool.js} +8 -5
- package/dist/serialization/types/Job.d.ts +1 -1
- package/dist/serialization/types/Job.js +1 -1
- package/dist/serialization/types/LettaMessageUnion.d.ts +4 -22
- package/dist/serialization/types/LettaMessageUnion.js +11 -16
- package/dist/serialization/types/LettaUsageStatistics.d.ts +1 -0
- package/dist/serialization/types/LettaUsageStatistics.js +1 -0
- package/{serialization/types/LettaSchemasMessageMessage.d.ts → dist/serialization/types/Message.d.ts} +4 -4
- package/{serialization/types/LettaSchemasMessageMessage.js → dist/serialization/types/Message.js} +4 -4
- package/dist/serialization/types/Passage.d.ts +1 -1
- package/dist/serialization/types/Passage.js +1 -1
- package/dist/serialization/types/ReasoningMessage.d.ts +1 -0
- package/dist/serialization/types/ReasoningMessage.js +1 -0
- package/dist/serialization/types/Run.d.ts +1 -1
- package/dist/serialization/types/Run.js +1 -1
- package/dist/serialization/types/Source.d.ts +1 -1
- package/dist/serialization/types/Source.js +1 -1
- package/{serialization/types/SystemMessageOutput.d.ts → dist/serialization/types/SystemMessage.d.ts} +3 -2
- package/dist/serialization/types/{UserMessageOutput.js → SystemMessage.js} +3 -2
- package/dist/serialization/types/{LettaSchemasToolTool.d.ts → Tool.d.ts} +2 -2
- package/dist/serialization/types/{LettaSchemasToolTool.js → Tool.js} +2 -2
- package/{serialization/types/FunctionCallOutput.d.ts → dist/serialization/types/ToolCall.d.ts} +4 -3
- package/{serialization/types/LettaSchemasLettaMessageToolCall.js → dist/serialization/types/ToolCall.js} +2 -2
- package/dist/serialization/types/ToolCallMessage.d.ts +1 -0
- package/dist/serialization/types/ToolCallMessage.js +1 -0
- package/dist/serialization/types/ToolCallMessageToolCall.d.ts +2 -2
- package/dist/serialization/types/ToolCallMessageToolCall.js +2 -2
- package/dist/serialization/types/ToolReturnMessage.d.ts +1 -0
- package/dist/serialization/types/ToolReturnMessage.js +1 -0
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +1 -0
- package/dist/serialization/types/{UserMessageOutput.d.ts → UserMessage.d.ts} +3 -2
- package/dist/serialization/types/{SystemMessageOutput.js → UserMessage.js} +3 -2
- package/dist/serialization/types/index.d.ts +10 -41
- package/dist/serialization/types/index.js +10 -41
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +887 -568
- package/serialization/resources/agents/client/createArchivalMemory.d.ts +11 -0
- package/serialization/resources/agents/{resources/archivalMemory/client/create.js → client/createArchivalMemory.js} +2 -2
- package/serialization/resources/agents/client/index.d.ts +3 -0
- package/serialization/resources/agents/client/index.js +4 -1
- package/serialization/resources/agents/client/listArchivalMemory.d.ts +11 -0
- package/serialization/resources/agents/{resources/archivalMemory/client/list.js → client/listArchivalMemory.js} +2 -2
- package/serialization/resources/agents/client/listCoreMemoryBlocks.d.ts +11 -0
- package/{dist/serialization/resources/agents/resources/coreMemory/client/list.js → serialization/resources/agents/client/listCoreMemoryBlocks.js} +2 -2
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -1
- package/serialization/resources/agents/client/requests/CreateArchivalMemory.d.ts +12 -0
- package/{dist/serialization/resources/agents/resources/archivalMemory → serialization/resources/agents}/client/requests/CreateArchivalMemory.js +1 -1
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -1
- package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -1
- package/serialization/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/agents/resources/index.d.ts +0 -3
- package/serialization/resources/agents/resources/index.js +1 -4
- package/{dist/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesGetResponse.d.ts → serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.d.ts} +2 -2
- package/{dist/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesGetResponse.js → serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js} +2 -2
- package/serialization/resources/agents/resources/memoryVariables/types/index.d.ts +1 -1
- package/serialization/resources/agents/resources/memoryVariables/types/index.js +1 -1
- package/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +2 -2
- package/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.js +2 -2
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -25
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +12 -17
- package/serialization/resources/agents/resources/messages/types/MessagesListResponse.d.ts +2 -2
- package/serialization/resources/agents/resources/messages/types/MessagesListResponse.js +2 -2
- package/serialization/resources/agents/resources/sources/client/index.d.ts +1 -1
- package/serialization/resources/agents/resources/sources/client/index.js +2 -2
- package/{dist/serialization/resources/agents/resources/sources/client/get.d.ts → serialization/resources/agents/resources/sources/client/list.d.ts} +1 -1
- package/serialization/resources/agents/resources/tools/client/list.d.ts +3 -3
- package/serialization/resources/agents/resources/tools/client/list.js +2 -2
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +5 -17
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItem.js +10 -15
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.d.ts +16 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.js +47 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.d.ts +10 -0
- package/serialization/resources/agents/types/{AgentsSearchRequestSearchItemNameOperator.js → AgentsSearchRequestSearchItemDirectionDirection.js} +2 -2
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.js +41 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOne.d.ts +15 -0
- package/serialization/resources/agents/types/{AgentsSearchRequestSearchItemName.js → AgentsSearchRequestSearchItemOne.js} +5 -4
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.d.ts +10 -0
- package/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOrderByDirection.js → AgentsSearchRequestSearchItemOneOperator.js} +2 -2
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts +14 -0
- package/{dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemTags.js → serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.js} +3 -2
- package/serialization/resources/agents/types/{AgentsSearchRequestSearchItemTags.d.ts → AgentsSearchRequestSearchItemZero.d.ts} +4 -4
- package/{dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemVersion.js → serialization/resources/agents/types/AgentsSearchRequestSearchItemZero.js} +3 -2
- package/serialization/resources/agents/types/index.d.ts +7 -7
- package/serialization/resources/agents/types/index.js +7 -7
- package/serialization/resources/runs/client/index.d.ts +1 -1
- package/serialization/resources/runs/client/index.js +2 -2
- package/serialization/resources/runs/client/{getRunMessages.d.ts → listRunMessages.d.ts} +1 -1
- package/serialization/resources/sources/client/requests/SourceCreate.d.ts +1 -1
- package/serialization/resources/sources/client/requests/SourceCreate.js +1 -1
- package/serialization/resources/sources/client/requests/SourceUpdate.d.ts +1 -1
- package/serialization/resources/sources/client/requests/SourceUpdate.js +1 -1
- package/serialization/resources/tools/client/addBaseTool.d.ts +3 -3
- package/serialization/resources/tools/client/addBaseTool.js +2 -2
- package/serialization/resources/tools/client/list.d.ts +3 -3
- package/serialization/resources/tools/client/list.js +2 -2
- package/serialization/types/AgentState.d.ts +3 -3
- package/serialization/types/AgentState.js +3 -3
- package/{dist/serialization/types/AssistantMessageOutput.d.ts → serialization/types/AssistantMessage.d.ts} +3 -2
- package/serialization/types/{AssistantMessageOutput.js → AssistantMessage.js} +3 -2
- package/serialization/types/Block.d.ts +1 -1
- package/serialization/types/Block.js +1 -1
- package/serialization/types/BlockUpdate.d.ts +1 -1
- package/serialization/types/BlockUpdate.js +1 -1
- package/serialization/types/ChatCompletionMessageToolCall.d.ts +16 -0
- package/{dist/serialization/types/DeleteAssistantResponse.js → serialization/types/ChatCompletionMessageToolCall.js} +8 -5
- package/serialization/types/ContextWindowOverview.d.ts +4 -4
- package/serialization/types/ContextWindowOverview.js +4 -4
- package/serialization/types/CreateBlock.d.ts +1 -1
- package/serialization/types/CreateBlock.js +1 -1
- package/serialization/types/{ToolCallFunctionOutput.d.ts → Function.d.ts} +4 -3
- package/{dist/serialization/types/FunctionCallOutput.js → serialization/types/Function.js} +5 -3
- package/{dist/serialization/types/FunctionSchema.d.ts → serialization/types/FunctionDefinition.d.ts} +4 -2
- package/{dist/serialization/types/FunctionSchema.js → serialization/types/FunctionDefinition.js} +6 -3
- package/serialization/types/FunctionTool.d.ts +15 -0
- package/{dist/serialization/types/CreateAssistantFileRequest.js → serialization/types/FunctionTool.js} +8 -4
- package/serialization/types/Job.d.ts +1 -1
- package/serialization/types/Job.js +1 -1
- package/serialization/types/LettaMessageUnion.d.ts +4 -22
- package/serialization/types/LettaMessageUnion.js +11 -16
- package/serialization/types/LettaUsageStatistics.d.ts +1 -0
- package/serialization/types/LettaUsageStatistics.js +1 -0
- package/{dist/serialization/types/LettaSchemasMessageMessage.d.ts → serialization/types/Message.d.ts} +4 -4
- package/{dist/serialization/types/LettaSchemasMessageMessage.js → serialization/types/Message.js} +4 -4
- package/serialization/types/Passage.d.ts +1 -1
- package/serialization/types/Passage.js +1 -1
- package/serialization/types/ReasoningMessage.d.ts +1 -0
- package/serialization/types/ReasoningMessage.js +1 -0
- package/serialization/types/Run.d.ts +1 -1
- package/serialization/types/Run.js +1 -1
- package/serialization/types/Source.d.ts +1 -1
- package/serialization/types/Source.js +1 -1
- package/serialization/types/{UserMessageOutput.d.ts → SystemMessage.d.ts} +3 -2
- package/serialization/types/{UserMessageOutput.js → SystemMessage.js} +3 -2
- package/serialization/types/{LettaSchemasToolTool.d.ts → Tool.d.ts} +2 -2
- package/serialization/types/{LettaSchemasToolTool.js → Tool.js} +2 -2
- package/{dist/serialization/types/ToolCallFunctionOutput.d.ts → serialization/types/ToolCall.d.ts} +3 -2
- package/{dist/serialization/types/LettaSchemasLettaMessageToolCall.js → serialization/types/ToolCall.js} +2 -2
- package/serialization/types/ToolCallMessage.d.ts +1 -0
- package/serialization/types/ToolCallMessage.js +1 -0
- package/serialization/types/ToolCallMessageToolCall.d.ts +2 -2
- package/serialization/types/ToolCallMessageToolCall.js +2 -2
- package/serialization/types/ToolReturnMessage.d.ts +1 -0
- package/serialization/types/ToolReturnMessage.js +1 -0
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +1 -0
- package/{dist/serialization/types/SystemMessageOutput.d.ts → serialization/types/UserMessage.d.ts} +3 -2
- package/serialization/types/{SystemMessageOutput.js → UserMessage.js} +3 -2
- package/serialization/types/index.d.ts +10 -41
- package/serialization/types/index.js +10 -41
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agents/resources/archivalMemory/client/requests/index.d.ts +0 -2
- package/api/resources/agents/resources/archivalMemory/client/requests/index.js +0 -2
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOrderBy.d.ts +0 -8
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOrderByDirection.d.ts +0 -8
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.d.ts +0 -8
- package/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.d.ts +0 -15
- package/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.d.ts +0 -15
- package/api/resources/sources/client/requests/SourcesAttachRequest.d.ts +0 -15
- package/api/resources/sources/client/requests/SourcesDetachRequest.d.ts +0 -15
- package/api/types/AssistantFile.d.ts +0 -12
- package/api/types/AssistantMessageInput.d.ts +0 -10
- package/api/types/ChatCompletionRequest.d.ts +0 -29
- package/api/types/ChatCompletionRequestFunctionCall.d.ts +0 -5
- package/api/types/ChatCompletionRequestMessagesItem.d.ts +0 -5
- package/api/types/ChatCompletionRequestStop.d.ts +0 -4
- package/api/types/ChatCompletionRequestToolChoice.d.ts +0 -5
- package/api/types/ChatCompletionResponse.d.ts +0 -16
- package/api/types/Choice.d.ts +0 -11
- package/api/types/CreateAssistantFileRequest.d.ts +0 -7
- package/api/types/CreateAssistantRequest.d.ts +0 -21
- package/api/types/DeleteAssistantFileResponse.d.ts +0 -10
- package/api/types/DeleteAssistantResponse.d.ts +0 -10
- package/api/types/FunctionCallInput.d.ts +0 -6
- package/api/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +0 -8
- package/api/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +0 -9
- package/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +0 -10
- package/api/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +0 -9
- package/api/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +0 -5
- package/api/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +0 -9
- package/api/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +0 -5
- package/api/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +0 -11
- package/api/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +0 -5
- package/api/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +0 -11
- package/api/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +0 -5
- package/api/types/LettaSchemasToolTool.js +0 -5
- package/api/types/LogProbToken.d.ts +0 -8
- package/api/types/LogProbToken.js +0 -5
- package/api/types/MessageContentLogProb.d.ts +0 -10
- package/api/types/MessageContentLogProb.js +0 -5
- package/api/types/OpenAiAssistant.d.ts +0 -27
- package/api/types/OpenAiAssistant.js +0 -5
- package/api/types/ResponseFormat.d.ts +0 -6
- package/api/types/ResponseFormat.js +0 -5
- package/api/types/SystemMessageInput.d.ts +0 -8
- package/api/types/SystemMessageInput.js +0 -5
- package/api/types/SystemMessageOutput.js +0 -5
- package/api/types/ToolCallFunctionOutput.d.ts +0 -9
- package/api/types/ToolCallFunctionOutput.js +0 -5
- package/api/types/ToolFunctionChoice.d.ts +0 -8
- package/api/types/ToolFunctionChoice.js +0 -5
- package/api/types/ToolInput.d.ts +0 -8
- package/api/types/ToolInput.js +0 -5
- package/api/types/ToolMessage.d.ts +0 -8
- package/api/types/ToolMessage.js +0 -5
- package/api/types/UserMessageInput.d.ts +0 -9
- package/api/types/UserMessageInput.js +0 -5
- package/api/types/UserMessageInputContent.d.ts +0 -4
- package/api/types/UserMessageInputContent.js +0 -5
- package/api/types/UserMessageOutput.js +0 -5
- package/dist/api/resources/agents/resources/archivalMemory/client/requests/ArchivalMemoryListRequest.js +0 -5
- package/dist/api/resources/agents/resources/archivalMemory/client/requests/index.d.ts +0 -2
- package/dist/api/resources/agents/resources/archivalMemory/client/requests/index.js +0 -2
- package/dist/api/resources/agents/resources/memoryVariables/types/MemoryVariablesGetResponse.js +0 -5
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemName.js +0 -5
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOrderBy.d.ts +0 -8
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOrderBy.js +0 -5
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOrderByDirection.d.ts +0 -8
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.d.ts +0 -8
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemTags.js +0 -5
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemVersion.js +0 -5
- package/dist/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.d.ts +0 -15
- package/dist/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.js +0 -5
- package/dist/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.d.ts +0 -15
- package/dist/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.js +0 -5
- package/dist/api/resources/runs/client/requests/GetRunMessagesRequest.js +0 -5
- package/dist/api/resources/sources/client/requests/SourcesAttachRequest.d.ts +0 -15
- package/dist/api/resources/sources/client/requests/SourcesAttachRequest.js +0 -5
- package/dist/api/resources/sources/client/requests/SourcesDetachRequest.d.ts +0 -15
- package/dist/api/resources/sources/client/requests/SourcesDetachRequest.js +0 -5
- package/dist/api/types/AssistantFile.d.ts +0 -12
- package/dist/api/types/AssistantFile.js +0 -5
- package/dist/api/types/AssistantMessageInput.d.ts +0 -10
- package/dist/api/types/AssistantMessageInput.js +0 -5
- package/dist/api/types/AssistantMessageOutput.js +0 -5
- package/dist/api/types/ChatCompletionRequest.d.ts +0 -29
- package/dist/api/types/ChatCompletionRequest.js +0 -5
- package/dist/api/types/ChatCompletionRequestFunctionCall.d.ts +0 -5
- package/dist/api/types/ChatCompletionRequestFunctionCall.js +0 -5
- package/dist/api/types/ChatCompletionRequestMessagesItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionRequestMessagesItem.js +0 -5
- package/dist/api/types/ChatCompletionRequestStop.d.ts +0 -4
- package/dist/api/types/ChatCompletionRequestStop.js +0 -5
- package/dist/api/types/ChatCompletionRequestToolChoice.d.ts +0 -5
- package/dist/api/types/ChatCompletionRequestToolChoice.js +0 -5
- package/dist/api/types/ChatCompletionResponse.d.ts +0 -16
- package/dist/api/types/ChatCompletionResponse.js +0 -5
- package/dist/api/types/Choice.d.ts +0 -11
- package/dist/api/types/Choice.js +0 -5
- package/dist/api/types/CreateAssistantFileRequest.d.ts +0 -7
- package/dist/api/types/CreateAssistantFileRequest.js +0 -5
- package/dist/api/types/CreateAssistantRequest.d.ts +0 -21
- package/dist/api/types/CreateAssistantRequest.js +0 -5
- package/dist/api/types/DeleteAssistantFileResponse.d.ts +0 -10
- package/dist/api/types/DeleteAssistantFileResponse.js +0 -5
- package/dist/api/types/DeleteAssistantResponse.d.ts +0 -10
- package/dist/api/types/DeleteAssistantResponse.js +0 -5
- package/dist/api/types/FunctionCallInput.d.ts +0 -6
- package/dist/api/types/FunctionCallInput.js +0 -5
- package/dist/api/types/FunctionCallOutput.d.ts +0 -7
- package/dist/api/types/FunctionCallOutput.js +0 -5
- package/dist/api/types/FunctionSchema.js +0 -5
- package/dist/api/types/LettaSchemasLettaMessageToolCall.js +0 -5
- package/dist/api/types/LettaSchemasMessageMessage.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +0 -8
- package/dist/api/types/LettaSchemasOpenaiChatCompletionRequestTool.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +0 -9
- package/dist/api/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +0 -7
- package/dist/api/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +0 -10
- package/dist/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +0 -9
- package/dist/api/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +0 -9
- package/dist/api/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +0 -11
- package/dist/api/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +0 -5
- package/dist/api/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +0 -11
- package/dist/api/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +0 -5
- package/dist/api/types/LettaSchemasToolTool.js +0 -5
- package/dist/api/types/LogProbToken.d.ts +0 -8
- package/dist/api/types/LogProbToken.js +0 -5
- package/dist/api/types/MessageContentLogProb.d.ts +0 -10
- package/dist/api/types/MessageContentLogProb.js +0 -5
- package/dist/api/types/OpenAiAssistant.d.ts +0 -27
- package/dist/api/types/OpenAiAssistant.js +0 -5
- package/dist/api/types/ResponseFormat.d.ts +0 -6
- package/dist/api/types/ResponseFormat.js +0 -5
- package/dist/api/types/SystemMessageInput.d.ts +0 -8
- package/dist/api/types/SystemMessageInput.js +0 -5
- package/dist/api/types/SystemMessageOutput.js +0 -5
- package/dist/api/types/ToolCallFunctionOutput.d.ts +0 -9
- package/dist/api/types/ToolCallFunctionOutput.js +0 -5
- package/dist/api/types/ToolFunctionChoice.d.ts +0 -8
- package/dist/api/types/ToolFunctionChoice.js +0 -5
- package/dist/api/types/ToolInput.d.ts +0 -8
- package/dist/api/types/ToolInput.js +0 -5
- package/dist/api/types/ToolMessage.d.ts +0 -8
- package/dist/api/types/ToolMessage.js +0 -5
- package/dist/api/types/UserMessageInput.d.ts +0 -9
- package/dist/api/types/UserMessageInput.js +0 -5
- package/dist/api/types/UserMessageInputContent.d.ts +0 -4
- package/dist/api/types/UserMessageInputContent.js +0 -5
- package/dist/api/types/UserMessageOutput.js +0 -5
- package/dist/serialization/resources/agents/resources/archivalMemory/client/create.d.ts +0 -11
- package/dist/serialization/resources/agents/resources/archivalMemory/client/index.d.ts +0 -3
- package/dist/serialization/resources/agents/resources/archivalMemory/client/index.js +0 -42
- package/dist/serialization/resources/agents/resources/archivalMemory/client/list.d.ts +0 -11
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.d.ts +0 -12
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/index.js +0 -5
- package/dist/serialization/resources/agents/resources/archivalMemory/index.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/archivalMemory/index.js +0 -17
- package/dist/serialization/resources/agents/resources/coreMemory/client/index.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/coreMemory/client/index.js +0 -37
- package/dist/serialization/resources/agents/resources/coreMemory/client/list.d.ts +0 -11
- package/dist/serialization/resources/agents/resources/coreMemory/index.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/coreMemory/index.js +0 -17
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemName.d.ts +0 -14
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemNameOperator.d.ts +0 -10
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderBy.d.ts +0 -15
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderByDirection.d.ts +0 -10
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.d.ts +0 -10
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemVersion.d.ts +0 -12
- package/dist/serialization/types/AssistantFile.d.ts +0 -15
- package/dist/serialization/types/AssistantFile.js +0 -46
- package/dist/serialization/types/AssistantMessageInput.d.ts +0 -16
- package/dist/serialization/types/AssistantMessageInput.js +0 -47
- package/dist/serialization/types/ChatCompletionRequest.d.ts +0 -38
- package/dist/serialization/types/ChatCompletionRequest.js +0 -69
- package/dist/serialization/types/ChatCompletionRequestFunctionCall.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionRequestFunctionCall.js +0 -46
- package/dist/serialization/types/ChatCompletionRequestMessagesItem.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionRequestMessagesItem.js +0 -45
- package/dist/serialization/types/ChatCompletionRequestStop.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionRequestToolChoice.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionRequestToolChoice.js +0 -47
- package/dist/serialization/types/ChatCompletionResponse.d.ts +0 -20
- package/dist/serialization/types/ChatCompletionResponse.js +0 -51
- package/dist/serialization/types/Choice.d.ts +0 -18
- package/dist/serialization/types/Choice.js +0 -51
- package/dist/serialization/types/CreateAssistantFileRequest.d.ts +0 -12
- package/dist/serialization/types/CreateAssistantRequest.d.ts +0 -19
- package/dist/serialization/types/CreateAssistantRequest.js +0 -50
- package/dist/serialization/types/DeleteAssistantFileResponse.d.ts +0 -14
- package/dist/serialization/types/DeleteAssistantResponse.d.ts +0 -14
- package/dist/serialization/types/FunctionCallInput.d.ts +0 -12
- package/dist/serialization/types/FunctionCallInput.js +0 -43
- package/dist/serialization/types/LettaSchemasLettaMessageToolCall.d.ts +0 -14
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +0 -14
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.js +0 -45
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +0 -15
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +0 -46
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +0 -13
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +0 -44
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +0 -17
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +0 -48
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +0 -15
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +0 -46
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +0 -13
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +0 -44
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +0 -15
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +0 -46
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +0 -15
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +0 -46
- package/dist/serialization/types/LogProbToken.d.ts +0 -14
- package/dist/serialization/types/LogProbToken.js +0 -45
- package/dist/serialization/types/MessageContentLogProb.d.ts +0 -16
- package/dist/serialization/types/MessageContentLogProb.js +0 -47
- package/dist/serialization/types/OpenAiAssistant.d.ts +0 -21
- package/dist/serialization/types/OpenAiAssistant.js +0 -52
- package/dist/serialization/types/ResponseFormat.d.ts +0 -12
- package/dist/serialization/types/ResponseFormat.js +0 -43
- package/dist/serialization/types/SystemMessageInput.d.ts +0 -14
- package/dist/serialization/types/SystemMessageInput.js +0 -45
- package/dist/serialization/types/ToolCallFunctionOutput.js +0 -44
- package/dist/serialization/types/ToolFunctionChoice.d.ts +0 -14
- package/dist/serialization/types/ToolFunctionChoice.js +0 -45
- package/dist/serialization/types/ToolInput.d.ts +0 -14
- package/dist/serialization/types/ToolInput.js +0 -45
- package/dist/serialization/types/ToolMessage.d.ts +0 -14
- package/dist/serialization/types/ToolMessage.js +0 -45
- package/dist/serialization/types/UserMessageInput.d.ts +0 -15
- package/dist/serialization/types/UserMessageInput.js +0 -46
- package/dist/serialization/types/UserMessageInputContent.d.ts +0 -10
- package/dist/serialization/types/UserMessageInputContent.js +0 -44
- package/serialization/resources/agents/resources/archivalMemory/client/create.d.ts +0 -11
- package/serialization/resources/agents/resources/archivalMemory/client/index.d.ts +0 -3
- package/serialization/resources/agents/resources/archivalMemory/client/index.js +0 -42
- package/serialization/resources/agents/resources/archivalMemory/client/list.d.ts +0 -11
- package/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.d.ts +0 -12
- package/serialization/resources/agents/resources/archivalMemory/client/requests/index.d.ts +0 -1
- package/serialization/resources/agents/resources/archivalMemory/client/requests/index.js +0 -5
- package/serialization/resources/agents/resources/archivalMemory/index.d.ts +0 -1
- package/serialization/resources/agents/resources/archivalMemory/index.js +0 -17
- package/serialization/resources/agents/resources/coreMemory/client/index.d.ts +0 -1
- package/serialization/resources/agents/resources/coreMemory/client/index.js +0 -37
- package/serialization/resources/agents/resources/coreMemory/client/list.d.ts +0 -11
- package/serialization/resources/agents/resources/coreMemory/index.d.ts +0 -1
- package/serialization/resources/agents/resources/coreMemory/index.js +0 -17
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemName.d.ts +0 -14
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemNameOperator.d.ts +0 -10
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderBy.d.ts +0 -15
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderBy.js +0 -46
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderByDirection.d.ts +0 -10
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.d.ts +0 -10
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOrderByValue.js +0 -41
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemVersion.d.ts +0 -12
- package/serialization/types/AssistantFile.d.ts +0 -15
- package/serialization/types/AssistantFile.js +0 -46
- package/serialization/types/AssistantMessageInput.d.ts +0 -16
- package/serialization/types/AssistantMessageInput.js +0 -47
- package/serialization/types/ChatCompletionRequest.d.ts +0 -38
- package/serialization/types/ChatCompletionRequest.js +0 -69
- package/serialization/types/ChatCompletionRequestFunctionCall.d.ts +0 -11
- package/serialization/types/ChatCompletionRequestFunctionCall.js +0 -46
- package/serialization/types/ChatCompletionRequestMessagesItem.d.ts +0 -14
- package/serialization/types/ChatCompletionRequestMessagesItem.js +0 -45
- package/serialization/types/ChatCompletionRequestStop.d.ts +0 -10
- package/serialization/types/ChatCompletionRequestStop.js +0 -44
- package/serialization/types/ChatCompletionRequestToolChoice.d.ts +0 -11
- package/serialization/types/ChatCompletionRequestToolChoice.js +0 -47
- package/serialization/types/ChatCompletionResponse.d.ts +0 -20
- package/serialization/types/ChatCompletionResponse.js +0 -51
- package/serialization/types/Choice.d.ts +0 -18
- package/serialization/types/Choice.js +0 -51
- package/serialization/types/CreateAssistantFileRequest.d.ts +0 -12
- package/serialization/types/CreateAssistantFileRequest.js +0 -43
- package/serialization/types/CreateAssistantRequest.d.ts +0 -19
- package/serialization/types/CreateAssistantRequest.js +0 -50
- package/serialization/types/DeleteAssistantFileResponse.d.ts +0 -14
- package/serialization/types/DeleteAssistantFileResponse.js +0 -45
- package/serialization/types/DeleteAssistantResponse.d.ts +0 -14
- package/serialization/types/DeleteAssistantResponse.js +0 -45
- package/serialization/types/FunctionCallInput.d.ts +0 -12
- package/serialization/types/FunctionCallInput.js +0 -43
- package/serialization/types/LettaSchemasLettaMessageToolCall.d.ts +0 -14
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +0 -14
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.js +0 -45
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +0 -15
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +0 -46
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +0 -13
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +0 -44
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +0 -17
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +0 -48
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +0 -15
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +0 -46
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +0 -13
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +0 -44
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +0 -15
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +0 -46
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +0 -15
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +0 -46
- package/serialization/types/LogProbToken.d.ts +0 -14
- package/serialization/types/LogProbToken.js +0 -45
- package/serialization/types/MessageContentLogProb.d.ts +0 -16
- package/serialization/types/MessageContentLogProb.js +0 -47
- package/serialization/types/OpenAiAssistant.d.ts +0 -21
- package/serialization/types/OpenAiAssistant.js +0 -52
- package/serialization/types/ResponseFormat.d.ts +0 -12
- package/serialization/types/ResponseFormat.js +0 -43
- package/serialization/types/SystemMessageInput.d.ts +0 -14
- package/serialization/types/SystemMessageInput.js +0 -45
- package/serialization/types/ToolCallFunctionOutput.js +0 -44
- package/serialization/types/ToolFunctionChoice.d.ts +0 -14
- package/serialization/types/ToolFunctionChoice.js +0 -45
- package/serialization/types/ToolInput.d.ts +0 -14
- package/serialization/types/ToolInput.js +0 -45
- package/serialization/types/ToolMessage.d.ts +0 -14
- package/serialization/types/ToolMessage.js +0 -45
- package/serialization/types/UserMessageInput.d.ts +0 -15
- package/serialization/types/UserMessageInput.js +0 -46
- package/serialization/types/UserMessageInputContent.d.ts +0 -10
- package/serialization/types/UserMessageInputContent.js +0 -44
- /package/api/resources/agents/{resources/archivalMemory/client → client}/requests/CreateArchivalMemory.d.ts +0 -0
- /package/api/resources/agents/{resources/archivalMemory/client → client}/requests/CreateArchivalMemory.js +0 -0
- /package/api/resources/agents/{resources/archivalMemory/client/requests/ArchivalMemoryListRequest.js → client/requests/ListArchivalMemoryRequest.js} +0 -0
- /package/api/resources/agents/resources/memoryVariables/types/{MemoryVariablesGetResponse.js → MemoryVariablesListResponse.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchRequestSearchItemName.js → AgentsSearchRequestSearchItemDirection.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchRequestSearchItemOrderBy.js → AgentsSearchRequestSearchItemOne.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchRequestSearchItemTags.js → AgentsSearchRequestSearchItemTwo.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchRequestSearchItemVersion.js → AgentsSearchRequestSearchItemZero.js} +0 -0
- /package/api/resources/{blocks/client/requests/LinkAgentMemoryBlockRequest.js → runs/client/requests/ListRunMessagesRequest.js} +0 -0
- /package/api/{resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.js → types/AssistantMessage.js} +0 -0
- /package/api/{resources/runs/client/requests/GetRunMessagesRequest.js → types/ChatCompletionMessageToolCall.js} +0 -0
- /package/api/{resources/sources/client/requests/SourcesAttachRequest.js → types/Function.js} +0 -0
- /package/api/{resources/sources/client/requests/SourcesDetachRequest.js → types/FunctionDefinition.js} +0 -0
- /package/api/types/{AssistantFile.js → FunctionTool.js} +0 -0
- /package/api/types/{AssistantMessageInput.js → Message.js} +0 -0
- /package/api/types/{AssistantMessageOutput.js → SystemMessage.js} +0 -0
- /package/api/types/{ChatCompletionRequest.js → Tool.js} +0 -0
- /package/api/types/{ChatCompletionRequestFunctionCall.js → ToolCall.js} +0 -0
- /package/api/types/{ChatCompletionRequestMessagesItem.js → UserMessage.js} +0 -0
- /package/dist/api/resources/agents/{resources/archivalMemory/client → client}/requests/CreateArchivalMemory.d.ts +0 -0
- /package/dist/api/resources/agents/{resources/archivalMemory/client → client}/requests/CreateArchivalMemory.js +0 -0
- /package/{api/types/ChatCompletionRequestStop.js → dist/api/resources/agents/client/requests/ListArchivalMemoryRequest.js} +0 -0
- /package/{api/types/ChatCompletionRequestToolChoice.js → dist/api/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js} +0 -0
- /package/{api/types/ChatCompletionResponse.js → dist/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.js} +0 -0
- /package/{api/types/Choice.js → dist/api/resources/agents/types/AgentsSearchRequestSearchItemOne.js} +0 -0
- /package/{api/types/CreateAssistantFileRequest.js → dist/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.js} +0 -0
- /package/{api/types/CreateAssistantRequest.js → dist/api/resources/agents/types/AgentsSearchRequestSearchItemZero.js} +0 -0
- /package/{api/types/DeleteAssistantFileResponse.js → dist/api/resources/runs/client/requests/ListRunMessagesRequest.js} +0 -0
- /package/{api/types/DeleteAssistantResponse.js → dist/api/types/AssistantMessage.js} +0 -0
- /package/{api/types/FunctionCallInput.js → dist/api/types/ChatCompletionMessageToolCall.js} +0 -0
- /package/{api/types/FunctionCallOutput.js → dist/api/types/Function.js} +0 -0
- /package/{api/types/FunctionSchema.js → dist/api/types/FunctionDefinition.js} +0 -0
- /package/{api/types/LettaSchemasLettaMessageToolCall.js → dist/api/types/FunctionTool.js} +0 -0
- /package/{api/types/LettaSchemasMessageMessage.js → dist/api/types/Message.js} +0 -0
- /package/{api/types/LettaSchemasOpenaiChatCompletionRequestTool.js → dist/api/types/SystemMessage.js} +0 -0
- /package/{api/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js → dist/api/types/Tool.js} +0 -0
- /package/{api/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js → dist/api/types/ToolCall.js} +0 -0
- /package/{api/types/LettaSchemasOpenaiChatCompletionResponseMessage.js → dist/api/types/UserMessage.js} +0 -0
- /package/dist/serialization/resources/agents/resources/sources/client/{get.js → list.js} +0 -0
- /package/dist/serialization/resources/runs/client/{getRunMessages.js → listRunMessages.js} +0 -0
- /package/serialization/resources/agents/resources/sources/client/{get.js → list.js} +0 -0
- /package/serialization/resources/runs/client/{getRunMessages.js → listRunMessages.js} +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { type AgentsListRequest } from "./AgentsListRequest";
|
|
2
2
|
export { type CreateAgentRequest } from "./CreateAgentRequest";
|
|
3
3
|
export { type UpdateAgent } from "./UpdateAgent";
|
|
4
|
+
export { type ListArchivalMemoryRequest } from "./ListArchivalMemoryRequest";
|
|
5
|
+
export { type CreateArchivalMemory } from "./CreateArchivalMemory";
|
|
4
6
|
export { type ResetMessagesRequest } from "./ResetMessagesRequest";
|
|
5
7
|
export { type AgentsSearchRequest } from "./AgentsSearchRequest";
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../../../environments";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
import * as Letta from "../../../../../index";
|
|
7
6
|
export declare namespace ArchivalMemory {
|
|
8
7
|
interface Options {
|
|
9
8
|
environment?: core.Supplier<environments.LettaEnvironment | string>;
|
|
@@ -27,46 +26,30 @@ export declare class ArchivalMemory {
|
|
|
27
26
|
protected readonly _options: ArchivalMemory.Options;
|
|
28
27
|
constructor(_options?: ArchivalMemory.Options);
|
|
29
28
|
/**
|
|
30
|
-
* Retrieve the memories in an agent's archival memory store (paginated query).
|
|
31
|
-
*
|
|
32
29
|
* @param {string} agentId
|
|
33
|
-
* @param {Letta.agents.ArchivalMemoryListRequest} request
|
|
34
30
|
* @param {ArchivalMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
31
|
*
|
|
36
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
37
|
-
*
|
|
38
32
|
* @example
|
|
39
33
|
* await client.agents.archivalMemory.list("agent_id")
|
|
40
34
|
*/
|
|
41
|
-
list(agentId: string,
|
|
35
|
+
list(agentId: string, requestOptions?: ArchivalMemory.RequestOptions): Promise<void>;
|
|
42
36
|
/**
|
|
43
|
-
* Insert a memory into an agent's archival memory store.
|
|
44
|
-
*
|
|
45
37
|
* @param {string} agentId
|
|
46
|
-
* @param {Letta.agents.CreateArchivalMemory} request
|
|
47
38
|
* @param {ArchivalMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
39
|
*
|
|
49
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
50
|
-
*
|
|
51
40
|
* @example
|
|
52
|
-
* await client.agents.archivalMemory.create("agent_id"
|
|
53
|
-
* text: "text"
|
|
54
|
-
* })
|
|
41
|
+
* await client.agents.archivalMemory.create("agent_id")
|
|
55
42
|
*/
|
|
56
|
-
create(agentId: string,
|
|
43
|
+
create(agentId: string, requestOptions?: ArchivalMemory.RequestOptions): Promise<void>;
|
|
57
44
|
/**
|
|
58
|
-
* Delete a memory from an agent's archival memory store.
|
|
59
|
-
*
|
|
60
45
|
* @param {string} agentId
|
|
61
46
|
* @param {string} memoryId
|
|
62
47
|
* @param {ArchivalMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
48
|
*
|
|
64
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
65
|
-
*
|
|
66
49
|
* @example
|
|
67
50
|
* await client.agents.archivalMemory.delete("agent_id", "memory_id")
|
|
68
51
|
*/
|
|
69
|
-
delete(agentId: string, memoryId: string, requestOptions?: ArchivalMemory.RequestOptions): Promise<
|
|
52
|
+
delete(agentId: string, memoryId: string, requestOptions?: ArchivalMemory.RequestOptions): Promise<void>;
|
|
70
53
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
71
54
|
Authorization: string;
|
|
72
55
|
}>;
|
|
@@ -51,76 +51,40 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.ArchivalMemory = void 0;
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const Letta = __importStar(require("../../../../../index"));
|
|
55
54
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
|
-
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
55
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
56
|
class ArchivalMemory {
|
|
59
57
|
constructor(_options = {}) {
|
|
60
58
|
this._options = _options;
|
|
61
59
|
}
|
|
62
60
|
/**
|
|
63
|
-
* Retrieve the memories in an agent's archival memory store (paginated query).
|
|
64
|
-
*
|
|
65
61
|
* @param {string} agentId
|
|
66
|
-
* @param {Letta.agents.ArchivalMemoryListRequest} request
|
|
67
62
|
* @param {ArchivalMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
63
|
*
|
|
69
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
70
|
-
*
|
|
71
64
|
* @example
|
|
72
65
|
* await client.agents.archivalMemory.list("agent_id")
|
|
73
66
|
*/
|
|
74
|
-
list(
|
|
75
|
-
return __awaiter(this,
|
|
67
|
+
list(agentId, requestOptions) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
69
|
var _a, _b, _c;
|
|
77
|
-
const { after, before, limit } = request;
|
|
78
|
-
const _queryParams = {};
|
|
79
|
-
if (after != null) {
|
|
80
|
-
_queryParams["after"] = after.toString();
|
|
81
|
-
}
|
|
82
|
-
if (before != null) {
|
|
83
|
-
_queryParams["before"] = before.toString();
|
|
84
|
-
}
|
|
85
|
-
if (limit != null) {
|
|
86
|
-
_queryParams["limit"] = limit.toString();
|
|
87
|
-
}
|
|
88
70
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
89
71
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/archival_memory`),
|
|
90
72
|
method: "GET",
|
|
91
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
73
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.13", "User-Agent": "@letta-ai/letta-client/0.1.13", "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),
|
|
92
74
|
contentType: "application/json",
|
|
93
|
-
queryParameters: _queryParams,
|
|
94
75
|
requestType: "json",
|
|
95
76
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
96
77
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
97
78
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
98
79
|
});
|
|
99
80
|
if (_response.ok) {
|
|
100
|
-
return
|
|
101
|
-
unrecognizedObjectKeys: "passthrough",
|
|
102
|
-
allowUnrecognizedUnionMembers: true,
|
|
103
|
-
allowUnrecognizedEnumValues: true,
|
|
104
|
-
skipValidation: true,
|
|
105
|
-
breadcrumbsPrefix: ["response"],
|
|
106
|
-
});
|
|
81
|
+
return;
|
|
107
82
|
}
|
|
108
83
|
if (_response.error.reason === "status-code") {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
allowUnrecognizedUnionMembers: true,
|
|
114
|
-
allowUnrecognizedEnumValues: true,
|
|
115
|
-
skipValidation: true,
|
|
116
|
-
breadcrumbsPrefix: ["response"],
|
|
117
|
-
}));
|
|
118
|
-
default:
|
|
119
|
-
throw new errors.LettaError({
|
|
120
|
-
statusCode: _response.error.statusCode,
|
|
121
|
-
body: _response.error.body,
|
|
122
|
-
});
|
|
123
|
-
}
|
|
84
|
+
throw new errors.LettaError({
|
|
85
|
+
statusCode: _response.error.statusCode,
|
|
86
|
+
body: _response.error.body,
|
|
87
|
+
});
|
|
124
88
|
}
|
|
125
89
|
switch (_response.error.reason) {
|
|
126
90
|
case "non-json":
|
|
@@ -138,58 +102,33 @@ class ArchivalMemory {
|
|
|
138
102
|
});
|
|
139
103
|
}
|
|
140
104
|
/**
|
|
141
|
-
* Insert a memory into an agent's archival memory store.
|
|
142
|
-
*
|
|
143
105
|
* @param {string} agentId
|
|
144
|
-
* @param {Letta.agents.CreateArchivalMemory} request
|
|
145
106
|
* @param {ArchivalMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
107
|
*
|
|
147
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
148
|
-
*
|
|
149
108
|
* @example
|
|
150
|
-
* await client.agents.archivalMemory.create("agent_id"
|
|
151
|
-
* text: "text"
|
|
152
|
-
* })
|
|
109
|
+
* await client.agents.archivalMemory.create("agent_id")
|
|
153
110
|
*/
|
|
154
|
-
create(agentId,
|
|
111
|
+
create(agentId, requestOptions) {
|
|
155
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
156
113
|
var _a, _b, _c;
|
|
157
114
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
158
115
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/archival_memory`),
|
|
159
116
|
method: "POST",
|
|
160
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
117
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.13", "User-Agent": "@letta-ai/letta-client/0.1.13", "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
118
|
contentType: "application/json",
|
|
162
119
|
requestType: "json",
|
|
163
|
-
body: serializers.agents.CreateArchivalMemory.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
164
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
165
121
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
166
122
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
167
123
|
});
|
|
168
124
|
if (_response.ok) {
|
|
169
|
-
return
|
|
170
|
-
unrecognizedObjectKeys: "passthrough",
|
|
171
|
-
allowUnrecognizedUnionMembers: true,
|
|
172
|
-
allowUnrecognizedEnumValues: true,
|
|
173
|
-
skipValidation: true,
|
|
174
|
-
breadcrumbsPrefix: ["response"],
|
|
175
|
-
});
|
|
125
|
+
return;
|
|
176
126
|
}
|
|
177
127
|
if (_response.error.reason === "status-code") {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
allowUnrecognizedUnionMembers: true,
|
|
183
|
-
allowUnrecognizedEnumValues: true,
|
|
184
|
-
skipValidation: true,
|
|
185
|
-
breadcrumbsPrefix: ["response"],
|
|
186
|
-
}));
|
|
187
|
-
default:
|
|
188
|
-
throw new errors.LettaError({
|
|
189
|
-
statusCode: _response.error.statusCode,
|
|
190
|
-
body: _response.error.body,
|
|
191
|
-
});
|
|
192
|
-
}
|
|
128
|
+
throw new errors.LettaError({
|
|
129
|
+
statusCode: _response.error.statusCode,
|
|
130
|
+
body: _response.error.body,
|
|
131
|
+
});
|
|
193
132
|
}
|
|
194
133
|
switch (_response.error.reason) {
|
|
195
134
|
case "non-json":
|
|
@@ -207,14 +146,10 @@ class ArchivalMemory {
|
|
|
207
146
|
});
|
|
208
147
|
}
|
|
209
148
|
/**
|
|
210
|
-
* Delete a memory from an agent's archival memory store.
|
|
211
|
-
*
|
|
212
149
|
* @param {string} agentId
|
|
213
150
|
* @param {string} memoryId
|
|
214
151
|
* @param {ArchivalMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
215
152
|
*
|
|
216
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
217
|
-
*
|
|
218
153
|
* @example
|
|
219
154
|
* await client.agents.archivalMemory.delete("agent_id", "memory_id")
|
|
220
155
|
*/
|
|
@@ -224,7 +159,7 @@ class ArchivalMemory {
|
|
|
224
159
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
225
160
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/archival_memory/${encodeURIComponent(memoryId)}`),
|
|
226
161
|
method: "DELETE",
|
|
227
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
162
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.13", "User-Agent": "@letta-ai/letta-client/0.1.13", "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),
|
|
228
163
|
contentType: "application/json",
|
|
229
164
|
requestType: "json",
|
|
230
165
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -232,24 +167,13 @@ class ArchivalMemory {
|
|
|
232
167
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
233
168
|
});
|
|
234
169
|
if (_response.ok) {
|
|
235
|
-
return
|
|
170
|
+
return;
|
|
236
171
|
}
|
|
237
172
|
if (_response.error.reason === "status-code") {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
allowUnrecognizedUnionMembers: true,
|
|
243
|
-
allowUnrecognizedEnumValues: true,
|
|
244
|
-
skipValidation: true,
|
|
245
|
-
breadcrumbsPrefix: ["response"],
|
|
246
|
-
}));
|
|
247
|
-
default:
|
|
248
|
-
throw new errors.LettaError({
|
|
249
|
-
statusCode: _response.error.statusCode,
|
|
250
|
-
body: _response.error.body,
|
|
251
|
-
});
|
|
252
|
-
}
|
|
173
|
+
throw new errors.LettaError({
|
|
174
|
+
statusCode: _response.error.statusCode,
|
|
175
|
+
body: _response.error.body,
|
|
176
|
+
});
|
|
253
177
|
}
|
|
254
178
|
switch (_response.error.reason) {
|
|
255
179
|
case "non-json":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,2 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -35,9 +35,9 @@ export declare class Context {
|
|
|
35
35
|
* @throws {@link Letta.UnprocessableEntityError}
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
|
-
* await client.agents.context.
|
|
38
|
+
* await client.agents.context.retrieve("agent_id")
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
retrieve(agentId: string, requestOptions?: Context.RequestOptions): Promise<Letta.ContextWindowOverview>;
|
|
41
41
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
42
42
|
Authorization: string;
|
|
43
43
|
}>;
|
|
@@ -68,15 +68,15 @@ class Context {
|
|
|
68
68
|
* @throws {@link Letta.UnprocessableEntityError}
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
|
-
* await client.agents.context.
|
|
71
|
+
* await client.agents.context.retrieve("agent_id")
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
retrieve(agentId, requestOptions) {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
75
|
var _a, _b, _c;
|
|
76
76
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
77
77
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/context`),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
79
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.13", "User-Agent": "@letta-ai/letta-client/0.1.13", "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),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../../../environments";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
import * as Letta from "../../../../../index";
|
|
7
6
|
export declare namespace CoreMemory {
|
|
8
7
|
interface Options {
|
|
9
8
|
environment?: core.Supplier<environments.LettaEnvironment | string>;
|
|
@@ -27,86 +26,57 @@ export declare class CoreMemory {
|
|
|
27
26
|
protected readonly _options: CoreMemory.Options;
|
|
28
27
|
constructor(_options?: CoreMemory.Options);
|
|
29
28
|
/**
|
|
30
|
-
* Retrieve the memory state of a specific agent.
|
|
31
|
-
* This endpoint fetches the current memory state of the agent identified by the user ID and agent ID.
|
|
32
|
-
*
|
|
33
29
|
* @param {string} agentId
|
|
34
30
|
* @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
31
|
*
|
|
36
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
37
|
-
*
|
|
38
32
|
* @example
|
|
39
|
-
* await client.agents.coreMemory.
|
|
33
|
+
* await client.agents.coreMemory.retrieve("agent_id")
|
|
40
34
|
*/
|
|
41
|
-
|
|
35
|
+
retrieve(agentId: string, requestOptions?: CoreMemory.RequestOptions): Promise<void>;
|
|
42
36
|
/**
|
|
43
|
-
* Retrieve a memory block from an agent.
|
|
44
|
-
*
|
|
45
37
|
* @param {string} agentId
|
|
46
|
-
* @param {string} blockLabel
|
|
47
38
|
* @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
39
|
*
|
|
49
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
50
|
-
*
|
|
51
40
|
* @example
|
|
52
|
-
* await client.agents.coreMemory.
|
|
41
|
+
* await client.agents.coreMemory.listBlocks("agent_id")
|
|
53
42
|
*/
|
|
54
|
-
|
|
43
|
+
listBlocks(agentId: string, requestOptions?: CoreMemory.RequestOptions): Promise<void>;
|
|
55
44
|
/**
|
|
56
|
-
* Removes a memory block from an agent by unlnking it. If the block is not linked to any other agent, it is deleted.
|
|
57
|
-
*
|
|
58
45
|
* @param {string} agentId
|
|
59
|
-
* @param {string}
|
|
46
|
+
* @param {string} blockId
|
|
60
47
|
* @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
48
|
*
|
|
62
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
63
|
-
*
|
|
64
49
|
* @example
|
|
65
|
-
* await client.agents.coreMemory.
|
|
50
|
+
* await client.agents.coreMemory.attachBlock("agent_id", "block_id")
|
|
66
51
|
*/
|
|
67
|
-
|
|
52
|
+
attachBlock(agentId: string, blockId: string, requestOptions?: CoreMemory.RequestOptions): Promise<void>;
|
|
68
53
|
/**
|
|
69
|
-
* Removes a memory block from an agent by unlnking it. If the block is not linked to any other agent, it is deleted.
|
|
70
|
-
*
|
|
71
54
|
* @param {string} agentId
|
|
72
|
-
* @param {string}
|
|
73
|
-
* @param {Letta.BlockUpdate} request
|
|
55
|
+
* @param {string} blockId
|
|
74
56
|
* @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
57
|
*
|
|
76
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
77
|
-
*
|
|
78
58
|
* @example
|
|
79
|
-
* await client.agents.coreMemory.
|
|
59
|
+
* await client.agents.coreMemory.detachBlock("agent_id", "block_id")
|
|
80
60
|
*/
|
|
81
|
-
|
|
61
|
+
detachBlock(agentId: string, blockId: string, requestOptions?: CoreMemory.RequestOptions): Promise<void>;
|
|
82
62
|
/**
|
|
83
|
-
* Retrieve the memory blocks of a specific agent.
|
|
84
|
-
*
|
|
85
63
|
* @param {string} agentId
|
|
64
|
+
* @param {string} blockLabel
|
|
86
65
|
* @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
66
|
*
|
|
88
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
89
|
-
*
|
|
90
67
|
* @example
|
|
91
|
-
* await client.agents.coreMemory.
|
|
68
|
+
* await client.agents.coreMemory.retrieveBlock("agent_id", "block_label")
|
|
92
69
|
*/
|
|
93
|
-
|
|
70
|
+
retrieveBlock(agentId: string, blockLabel: string, requestOptions?: CoreMemory.RequestOptions): Promise<void>;
|
|
94
71
|
/**
|
|
95
|
-
* Creates a memory block and links it to the agent.
|
|
96
|
-
*
|
|
97
72
|
* @param {string} agentId
|
|
98
|
-
* @param {
|
|
73
|
+
* @param {string} blockLabel
|
|
99
74
|
* @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
75
|
*
|
|
101
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
102
|
-
*
|
|
103
76
|
* @example
|
|
104
|
-
* await client.agents.coreMemory.
|
|
105
|
-
* value: "value",
|
|
106
|
-
* label: "label"
|
|
107
|
-
* })
|
|
77
|
+
* await client.agents.coreMemory.modifyBlock("agent_id", "block_label")
|
|
108
78
|
*/
|
|
109
|
-
|
|
79
|
+
modifyBlock(agentId: string, blockLabel: string, requestOptions?: CoreMemory.RequestOptions): Promise<void>;
|
|
110
80
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
111
81
|
Authorization: string;
|
|
112
82
|
}>;
|