@letta-ai/letta-client 0.1.97 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +9 -0
- package/Client.js +39 -24
- package/api/resources/agents/client/Client.d.ts +13 -44
- package/api/resources/agents/client/Client.js +63 -228
- package/api/resources/agents/client/requests/index.d.ts +0 -3
- 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/groups/client/Client.d.ts +45 -0
- package/api/resources/agents/resources/groups/client/Client.js +141 -0
- package/api/resources/agents/{client/requests/ListAgentGroupsRequest.d.ts → resources/groups/client/requests/GroupsListRequest.d.ts} +1 -1
- package/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/index.d.ts +2 -0
- package/api/resources/agents/resources/index.js +3 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.d.ts +13 -0
- package/api/resources/agents/resources/messages/client/Client.js +77 -5
- package/{dist/api/resources/agents/client/requests/ResetMessagesRequest.d.ts → api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts} +1 -1
- package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/client/Client.d.ts +16 -0
- package/api/resources/agents/resources/passages/client/Client.js +73 -3
- package/api/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +1 -1
- package/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/{messages/resources/batches → batches}/client/Client.d.ts +9 -9
- package/api/resources/{messages/resources/batches → batches}/client/Client.js +16 -16
- package/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.d.ts +1 -1
- package/api/resources/blocks/client/Client.d.ts +3 -13
- package/api/resources/blocks/client/Client.js +10 -71
- package/api/resources/blocks/index.d.ts +1 -0
- package/api/resources/blocks/index.js +1 -0
- package/api/resources/blocks/resources/agents/client/Client.d.ts +45 -0
- package/api/resources/blocks/resources/agents/client/Client.js +135 -0
- package/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/client/index.js +2 -0
- package/api/resources/blocks/resources/index.d.ts +1 -0
- package/api/resources/blocks/resources/index.js +37 -0
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/embeddings/client/Client.d.ts +39 -0
- package/api/resources/embeddings/client/Client.js +117 -0
- package/api/resources/embeddings/client/index.d.ts +1 -0
- package/api/resources/embeddings/client/index.js +2 -0
- package/api/resources/groups/client/Client.d.ts +0 -12
- package/api/resources/groups/client/Client.js +5 -64
- package/api/resources/groups/resources/messages/client/Client.d.ts +12 -0
- package/api/resources/groups/resources/messages/client/Client.js +63 -4
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.d.ts +3 -15
- package/api/resources/identities/client/Client.js +11 -71
- package/api/resources/identities/index.d.ts +1 -0
- package/api/resources/identities/index.js +1 -0
- package/api/resources/identities/resources/index.d.ts +1 -0
- package/api/resources/identities/resources/index.js +37 -0
- package/api/resources/identities/resources/properties/client/Client.d.ts +47 -0
- package/api/resources/identities/resources/properties/client/Client.js +134 -0
- package/api/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/api/resources/identities/resources/properties/client/index.js +2 -0
- package/api/resources/identities/resources/properties/index.d.ts +1 -0
- package/api/resources/identities/resources/properties/index.js +17 -0
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +5 -1
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/messages/client/Client.d.ts +0 -3
- package/api/resources/messages/client/Client.js +1 -6
- package/api/resources/messages/index.d.ts +0 -1
- package/api/resources/messages/index.js +0 -1
- package/api/resources/models/client/Client.d.ts +2 -9
- package/api/resources/models/client/Client.js +4 -53
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.d.ts +21 -5
- package/api/resources/providers/client/Client.js +98 -10
- package/api/resources/providers/client/requests/{ListProvidersRequest.d.ts → ProvidersListRequest.d.ts} +1 -1
- package/api/resources/providers/client/requests/index.d.ts +1 -1
- package/api/resources/runs/client/Client.d.ts +18 -63
- package/api/resources/runs/client/Client.js +36 -231
- package/{dist/api/resources/runs/client/requests/ListActiveRunsRequest.d.ts → api/resources/runs/client/requests/RunsListActiveRequest.d.ts} +1 -1
- package/api/resources/runs/client/requests/index.d.ts +1 -3
- package/api/resources/runs/index.d.ts +1 -0
- package/api/resources/runs/index.js +1 -0
- package/api/resources/runs/resources/index.d.ts +5 -0
- package/api/resources/runs/resources/index.js +44 -0
- package/api/resources/runs/resources/messages/client/Client.d.ts +58 -0
- package/api/resources/runs/resources/messages/client/Client.js +166 -0
- package/{dist/api/resources/runs/client/requests/ListRunMessagesRequest.d.ts → api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts} +2 -2
- package/api/resources/runs/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/runs/resources/messages/client/requests/index.js +2 -0
- package/api/resources/runs/resources/messages/index.d.ts +1 -0
- package/api/resources/runs/resources/messages/index.js +17 -0
- package/api/resources/runs/resources/steps/client/Client.d.ts +55 -0
- package/api/resources/runs/resources/steps/client/Client.js +160 -0
- package/api/resources/runs/{client/requests/ListRunStepsRequest.d.ts → resources/steps/client/requests/StepsListRequest.d.ts} +1 -1
- package/api/resources/runs/resources/steps/client/requests/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/client/requests/index.js +2 -0
- package/api/resources/runs/resources/steps/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/index.js +17 -0
- package/api/resources/runs/resources/usage/client/Client.d.ts +44 -0
- package/api/resources/runs/resources/usage/client/Client.js +134 -0
- package/api/resources/runs/resources/usage/client/index.d.ts +1 -0
- package/api/resources/runs/resources/usage/client/index.js +2 -0
- package/api/resources/runs/resources/usage/index.d.ts +1 -0
- package/api/resources/runs/resources/usage/index.js +17 -0
- package/api/resources/sources/client/Client.d.ts +2 -2
- package/api/resources/sources/client/Client.js +9 -9
- 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.d.ts +9 -2
- package/api/resources/steps/client/Client.js +47 -4
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/tags/client/Client.d.ts +38 -0
- package/api/resources/tags/client/Client.js +110 -0
- package/api/resources/tags/client/index.d.ts +1 -0
- package/api/resources/tags/client/index.js +2 -0
- package/api/resources/tags/index.d.ts +1 -0
- package/api/resources/tags/index.js +17 -0
- package/api/resources/templates/client/Client.d.ts +3 -12
- package/api/resources/templates/client/Client.js +6 -56
- package/api/resources/templates/client/requests/index.d.ts +0 -1
- package/api/resources/templates/index.d.ts +1 -0
- package/api/resources/templates/index.js +1 -0
- package/api/resources/templates/resources/agents/client/Client.d.ts +44 -0
- package/api/resources/templates/resources/agents/client/Client.js +123 -0
- package/api/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/client/index.js +17 -0
- package/{dist/api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts → api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts} +1 -1
- package/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/client/requests/index.js +2 -0
- package/api/resources/templates/resources/agents/index.d.ts +2 -0
- package/api/resources/templates/resources/agents/index.js +18 -0
- package/api/resources/templates/{types/TemplatesCreateAgentsResponse.d.ts → resources/agents/types/AgentsCreateResponse.d.ts} +2 -2
- package/api/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/types/index.js +17 -0
- package/api/resources/templates/resources/index.d.ts +3 -0
- package/api/resources/{messages → templates}/resources/index.js +4 -3
- package/api/resources/templates/types/index.d.ts +0 -1
- package/api/resources/templates/types/index.js +0 -1
- package/api/resources/tools/client/Client.d.ts +2 -2
- package/api/resources/tools/client/Client.js +19 -19
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/Client.d.ts +9 -0
- package/dist/Client.js +39 -24
- package/dist/api/resources/agents/client/Client.d.ts +13 -44
- package/dist/api/resources/agents/client/Client.js +63 -228
- package/dist/api/resources/agents/client/requests/index.d.ts +0 -3
- 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/groups/client/Client.d.ts +45 -0
- package/dist/api/resources/agents/resources/groups/client/Client.js +141 -0
- package/dist/api/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/client/index.js +17 -0
- package/dist/api/resources/agents/{client/requests/ListAgentGroupsRequest.d.ts → resources/groups/client/requests/GroupsListRequest.d.ts} +1 -1
- package/dist/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/client/requests/index.js +2 -0
- package/dist/api/resources/agents/resources/groups/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/index.js +17 -0
- package/dist/api/resources/agents/resources/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/index.js +3 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +13 -0
- package/dist/api/resources/agents/resources/messages/client/Client.js +77 -5
- package/{api/resources/agents/client/requests/ResetMessagesRequest.d.ts → dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts} +1 -1
- package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/client/Client.d.ts +16 -0
- package/dist/api/resources/agents/resources/passages/client/Client.js +73 -3
- package/dist/api/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +1 -1
- package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/{messages/resources/batches → batches}/client/Client.d.ts +9 -9
- package/dist/api/resources/{messages/resources/batches → batches}/client/Client.js +16 -16
- package/dist/api/resources/batches/client/index.d.ts +1 -0
- package/dist/api/resources/batches/client/index.js +17 -0
- package/dist/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.d.ts +1 -1
- package/dist/api/resources/batches/client/requests/index.js +2 -0
- package/dist/api/resources/batches/index.d.ts +1 -0
- package/dist/api/resources/batches/index.js +17 -0
- package/dist/api/resources/blocks/client/Client.d.ts +3 -13
- package/dist/api/resources/blocks/client/Client.js +10 -71
- package/dist/api/resources/blocks/index.d.ts +1 -0
- package/dist/api/resources/blocks/index.js +1 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +45 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.js +135 -0
- package/dist/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/client/index.js +2 -0
- package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/index.js +17 -0
- package/dist/api/resources/blocks/resources/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/index.js +37 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/embeddings/client/Client.d.ts +39 -0
- package/dist/api/resources/embeddings/client/Client.js +117 -0
- package/dist/api/resources/embeddings/client/index.d.ts +1 -0
- package/dist/api/resources/embeddings/client/index.js +2 -0
- package/dist/api/resources/embeddings/index.d.ts +1 -0
- package/dist/api/resources/embeddings/index.js +17 -0
- package/dist/api/resources/groups/client/Client.d.ts +0 -12
- package/dist/api/resources/groups/client/Client.js +5 -64
- package/dist/api/resources/groups/resources/messages/client/Client.d.ts +12 -0
- package/dist/api/resources/groups/resources/messages/client/Client.js +63 -4
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.d.ts +3 -15
- package/dist/api/resources/identities/client/Client.js +11 -71
- package/dist/api/resources/identities/index.d.ts +1 -0
- package/dist/api/resources/identities/index.js +1 -0
- package/dist/api/resources/identities/resources/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/index.js +37 -0
- package/dist/api/resources/identities/resources/properties/client/Client.d.ts +47 -0
- package/dist/api/resources/identities/resources/properties/client/Client.js +134 -0
- package/dist/api/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/properties/client/index.js +2 -0
- package/dist/api/resources/identities/resources/properties/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/properties/index.js +17 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +5 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/messages/client/Client.d.ts +0 -3
- package/dist/api/resources/messages/client/Client.js +1 -6
- package/dist/api/resources/messages/index.d.ts +0 -1
- package/dist/api/resources/messages/index.js +0 -1
- package/dist/api/resources/models/client/Client.d.ts +2 -9
- package/dist/api/resources/models/client/Client.js +4 -53
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.d.ts +21 -5
- package/dist/api/resources/providers/client/Client.js +98 -10
- package/dist/api/resources/providers/client/requests/{ListProvidersRequest.d.ts → ProvidersListRequest.d.ts} +1 -1
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -1
- package/dist/api/resources/runs/client/Client.d.ts +18 -63
- package/dist/api/resources/runs/client/Client.js +36 -231
- package/{api/resources/runs/client/requests/ListActiveRunsRequest.d.ts → dist/api/resources/runs/client/requests/RunsListActiveRequest.d.ts} +1 -1
- package/dist/api/resources/runs/client/requests/index.d.ts +1 -3
- package/dist/api/resources/runs/index.d.ts +1 -0
- package/dist/api/resources/runs/index.js +1 -0
- package/dist/api/resources/runs/resources/index.d.ts +5 -0
- package/dist/api/resources/runs/resources/index.js +44 -0
- package/dist/api/resources/runs/resources/messages/client/Client.d.ts +58 -0
- package/dist/api/resources/runs/resources/messages/client/Client.js +166 -0
- package/dist/api/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/messages/client/index.js +17 -0
- package/{api/resources/runs/client/requests/ListRunMessagesRequest.d.ts → dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts} +2 -2
- package/dist/api/resources/runs/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/runs/resources/messages/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/messages/index.js +17 -0
- package/dist/api/resources/runs/resources/steps/client/Client.d.ts +55 -0
- package/dist/api/resources/runs/resources/steps/client/Client.js +160 -0
- package/dist/api/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/client/index.js +17 -0
- package/dist/api/resources/runs/{client/requests/ListRunStepsRequest.d.ts → resources/steps/client/requests/StepsListRequest.d.ts} +1 -1
- package/dist/api/resources/runs/resources/steps/client/requests/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/client/requests/index.js +2 -0
- package/dist/api/resources/runs/resources/steps/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/index.js +17 -0
- package/dist/api/resources/runs/resources/usage/client/Client.d.ts +44 -0
- package/dist/api/resources/runs/resources/usage/client/Client.js +134 -0
- package/dist/api/resources/runs/resources/usage/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/usage/client/index.js +2 -0
- package/dist/api/resources/runs/resources/usage/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/usage/index.js +17 -0
- package/dist/api/resources/sources/client/Client.d.ts +2 -2
- package/dist/api/resources/sources/client/Client.js +9 -9
- 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.d.ts +9 -2
- package/dist/api/resources/steps/client/Client.js +47 -4
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.d.ts +38 -0
- package/dist/api/resources/tags/client/Client.js +110 -0
- package/dist/api/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/tags/client/index.js +2 -0
- package/dist/api/resources/tags/index.d.ts +1 -0
- package/dist/api/resources/tags/index.js +17 -0
- package/dist/api/resources/templates/client/Client.d.ts +3 -12
- package/dist/api/resources/templates/client/Client.js +6 -56
- package/dist/api/resources/templates/client/requests/index.d.ts +0 -1
- package/dist/api/resources/templates/index.d.ts +1 -0
- package/dist/api/resources/templates/index.js +1 -0
- package/dist/api/resources/templates/resources/agents/client/Client.d.ts +44 -0
- package/dist/api/resources/templates/resources/agents/client/Client.js +123 -0
- package/dist/api/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/client/index.js +17 -0
- package/{api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts → dist/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts} +1 -1
- package/dist/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/templates/resources/agents/index.d.ts +2 -0
- package/dist/api/resources/templates/resources/agents/index.js +18 -0
- package/dist/api/resources/templates/{types/TemplatesCreateAgentsResponse.d.ts → resources/agents/types/AgentsCreateResponse.d.ts} +2 -2
- package/dist/api/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/types/index.js +17 -0
- package/dist/api/resources/templates/resources/index.d.ts +3 -0
- package/dist/{serialization/resources/messages → api/resources/templates}/resources/index.js +4 -3
- package/dist/api/resources/templates/types/index.d.ts +0 -1
- package/dist/api/resources/templates/types/index.js +0 -1
- package/dist/api/resources/tools/client/Client.d.ts +2 -2
- package/dist/api/resources/tools/client/Client.js +19 -19
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/agents/client/index.d.ts +0 -2
- package/dist/serialization/resources/agents/client/index.js +1 -3
- package/dist/serialization/resources/agents/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/agents/client/requests/index.js +1 -3
- package/dist/serialization/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/groups/client/index.js +37 -0
- package/{serialization/resources/messages/resources/batches → dist/serialization/resources/agents/resources/groups}/client/list.d.ts +3 -3
- package/{serialization/resources/agents/client/listAgentGroups.js → dist/serialization/resources/agents/resources/groups/client/list.js} +2 -2
- package/dist/serialization/resources/agents/resources/groups/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/groups/index.js +17 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/index.js +2 -1
- package/dist/serialization/resources/agents/resources/passages/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/client/index.js +2 -1
- package/dist/serialization/resources/agents/resources/passages/client/modify.d.ts +11 -0
- package/{serialization/resources/agents/client/modifyPassage.js → dist/serialization/resources/agents/resources/passages/client/modify.js} +2 -2
- package/dist/serialization/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +5 -5
- package/{serialization/resources/agents → dist/serialization/resources/agents/resources/passages}/client/requests/PassageUpdate.js +2 -2
- package/dist/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/client/requests/index.js +3 -1
- package/dist/serialization/resources/{agents/client/listAgentGroups.d.ts → batches/client/list.d.ts} +3 -3
- package/dist/serialization/resources/{agents/client/modifyPassage.js → batches/client/list.js} +2 -2
- package/dist/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +2 -2
- package/dist/serialization/resources/batches/index.d.ts +1 -0
- package/dist/serialization/resources/batches/index.js +17 -0
- package/dist/serialization/resources/blocks/client/index.d.ts +0 -1
- package/dist/serialization/resources/blocks/client/index.js +1 -2
- package/dist/serialization/resources/blocks/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/index.js +1 -0
- package/dist/serialization/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/blocks/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/blocks/{client/listAgentsForBlock.js → resources/agents/client/list.js} +2 -2
- package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/index.js +17 -0
- package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/index.js +37 -0
- package/dist/serialization/resources/embeddings/client/index.d.ts +1 -0
- package/dist/serialization/resources/embeddings/client/index.js +37 -0
- package/{serialization/resources/models/client/listEmbeddingModels.d.ts → dist/serialization/resources/embeddings/client/list.d.ts} +1 -1
- package/dist/serialization/resources/embeddings/index.d.ts +1 -0
- package/dist/serialization/resources/embeddings/index.js +17 -0
- package/dist/serialization/resources/identities/client/index.d.ts +0 -1
- package/dist/serialization/resources/identities/client/index.js +1 -2
- package/dist/serialization/resources/identities/index.d.ts +1 -0
- package/dist/serialization/resources/identities/index.js +1 -0
- package/dist/serialization/resources/identities/resources/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/index.js +37 -0
- package/dist/serialization/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/properties/client/index.js +37 -0
- package/dist/serialization/resources/identities/resources/properties/client/upsert.d.ts +11 -0
- package/dist/serialization/resources/identities/{client/upsertIdentityProperties.js → resources/properties/client/upsert.js} +2 -2
- package/dist/serialization/resources/identities/resources/properties/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/properties/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +3 -2
- package/dist/serialization/resources/index.js +4 -3
- package/dist/serialization/resources/models/client/index.d.ts +1 -2
- package/dist/serialization/resources/models/client/index.js +2 -3
- package/{serialization/resources/models/client/listLlms.d.ts → dist/serialization/resources/models/client/list.d.ts} +1 -1
- package/dist/serialization/resources/providers/client/index.d.ts +1 -1
- package/dist/serialization/resources/providers/client/index.js +2 -2
- package/{serialization/resources/providers/client/listProviders.d.ts → dist/serialization/resources/providers/client/list.d.ts} +1 -1
- package/dist/serialization/resources/runs/client/index.d.ts +1 -3
- package/dist/serialization/resources/runs/client/index.js +2 -4
- package/{serialization/resources/runs/client/listActiveRuns.d.ts → dist/serialization/resources/runs/client/listActive.d.ts} +1 -1
- package/dist/serialization/resources/runs/index.d.ts +1 -0
- package/dist/serialization/resources/runs/index.js +1 -0
- package/dist/serialization/resources/runs/resources/index.d.ts +2 -0
- package/dist/serialization/resources/runs/resources/index.js +38 -0
- package/dist/serialization/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/messages/client/index.js +37 -0
- package/dist/serialization/resources/runs/resources/messages/client/list.d.ts +11 -0
- package/dist/serialization/resources/runs/{client/listRunMessages.js → resources/messages/client/list.js} +2 -2
- package/dist/serialization/resources/runs/resources/messages/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/messages/index.js +17 -0
- package/dist/serialization/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/steps/client/index.js +37 -0
- package/dist/serialization/resources/{messages/resources/batches → runs/resources/steps}/client/list.d.ts +3 -3
- package/dist/serialization/resources/runs/{client/listRunSteps.js → resources/steps/client/list.js} +2 -2
- package/dist/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/steps/index.js +17 -0
- package/dist/serialization/resources/sources/client/index.d.ts +1 -1
- package/dist/serialization/resources/sources/client/index.js +2 -2
- package/dist/serialization/resources/sources/client/{getByName.d.ts → retrieveByName.d.ts} +1 -1
- package/dist/serialization/resources/templates/index.d.ts +1 -1
- package/dist/serialization/resources/templates/index.js +1 -1
- package/dist/serialization/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/templates/resources/agents/client/index.js +17 -0
- package/dist/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +16 -0
- package/{serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.js → dist/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.js} +3 -3
- package/dist/serialization/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/templates/resources/agents/client/requests/index.js +5 -0
- package/dist/serialization/resources/templates/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/templates/resources/agents/index.js +18 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
- package/{serialization/resources/messages/resources/batches/client/list.js → dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js} +5 -3
- package/dist/serialization/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/templates/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/templates/resources/index.d.ts +3 -0
- package/dist/{api/resources/messages → serialization/resources/templates}/resources/index.js +4 -3
- package/dist/serialization/resources/templates/types/index.d.ts +0 -1
- package/dist/serialization/resources/templates/types/index.js +0 -1
- package/dist/serialization/resources/tools/client/index.d.ts +1 -1
- package/dist/serialization/resources/tools/client/index.js +2 -2
- package/{serialization/resources/tools/client/addBaseTool.d.ts → dist/serialization/resources/tools/client/upsertBaseTools.d.ts} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +910 -628
- package/serialization/resources/agents/client/index.d.ts +0 -2
- package/serialization/resources/agents/client/index.js +1 -3
- package/serialization/resources/agents/client/requests/index.d.ts +0 -1
- package/serialization/resources/agents/client/requests/index.js +1 -3
- package/serialization/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/groups/client/index.js +37 -0
- package/serialization/resources/agents/resources/groups/client/list.d.ts +11 -0
- package/{dist/serialization/resources/agents/client/listAgentGroups.js → serialization/resources/agents/resources/groups/client/list.js} +2 -2
- package/serialization/resources/agents/resources/groups/index.d.ts +1 -0
- package/serialization/resources/agents/resources/groups/index.js +17 -0
- package/serialization/resources/agents/resources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/index.js +2 -1
- package/serialization/resources/agents/resources/passages/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/client/index.js +2 -1
- package/serialization/resources/agents/resources/passages/client/modify.d.ts +11 -0
- package/{dist/serialization/resources/messages/resources/batches/client/list.js → serialization/resources/agents/resources/passages/client/modify.js} +2 -2
- package/serialization/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +5 -5
- package/{dist/serialization/resources/agents → serialization/resources/agents/resources/passages}/client/requests/PassageUpdate.js +2 -2
- package/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/client/requests/index.js +3 -1
- package/{dist/serialization/resources/runs/client/listRunSteps.d.ts → serialization/resources/batches/client/list.d.ts} +3 -3
- package/serialization/resources/batches/client/list.js +42 -0
- package/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/serialization/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +2 -2
- package/serialization/resources/batches/index.d.ts +1 -0
- package/serialization/resources/batches/index.js +17 -0
- package/serialization/resources/blocks/client/index.d.ts +0 -1
- package/serialization/resources/blocks/client/index.js +1 -2
- package/serialization/resources/blocks/index.d.ts +1 -0
- package/serialization/resources/blocks/index.js +1 -0
- package/serialization/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/client/index.js +37 -0
- package/serialization/resources/blocks/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/blocks/{client/listAgentsForBlock.js → resources/agents/client/list.js} +2 -2
- package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/index.js +17 -0
- package/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/index.js +37 -0
- package/serialization/resources/embeddings/client/index.d.ts +1 -0
- package/serialization/resources/embeddings/client/index.js +37 -0
- package/{dist/serialization/resources/models/client/listEmbeddingModels.d.ts → serialization/resources/embeddings/client/list.d.ts} +1 -1
- package/serialization/resources/embeddings/index.d.ts +1 -0
- package/serialization/resources/embeddings/index.js +17 -0
- package/serialization/resources/identities/client/index.d.ts +0 -1
- package/serialization/resources/identities/client/index.js +1 -2
- package/serialization/resources/identities/index.d.ts +1 -0
- package/serialization/resources/identities/index.js +1 -0
- package/serialization/resources/identities/resources/index.d.ts +1 -0
- package/serialization/resources/identities/resources/index.js +37 -0
- package/serialization/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/serialization/resources/identities/resources/properties/client/index.js +37 -0
- package/serialization/resources/identities/resources/properties/client/upsert.d.ts +11 -0
- package/serialization/resources/identities/{client/upsertIdentityProperties.js → resources/properties/client/upsert.js} +2 -2
- package/serialization/resources/identities/resources/properties/index.d.ts +1 -0
- package/serialization/resources/identities/resources/properties/index.js +17 -0
- package/serialization/resources/index.d.ts +3 -2
- package/serialization/resources/index.js +4 -3
- package/serialization/resources/models/client/index.d.ts +1 -2
- package/serialization/resources/models/client/index.js +2 -3
- package/{dist/serialization/resources/models/client/listLlms.d.ts → serialization/resources/models/client/list.d.ts} +1 -1
- package/serialization/resources/providers/client/index.d.ts +1 -1
- package/serialization/resources/providers/client/index.js +2 -2
- package/{dist/serialization/resources/providers/client/listProviders.d.ts → serialization/resources/providers/client/list.d.ts} +1 -1
- package/serialization/resources/runs/client/index.d.ts +1 -3
- package/serialization/resources/runs/client/index.js +2 -4
- package/{dist/serialization/resources/runs/client/listActiveRuns.d.ts → serialization/resources/runs/client/listActive.d.ts} +1 -1
- package/serialization/resources/runs/index.d.ts +1 -0
- package/serialization/resources/runs/index.js +1 -0
- package/serialization/resources/runs/resources/index.d.ts +2 -0
- package/serialization/resources/runs/resources/index.js +38 -0
- package/serialization/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/serialization/resources/runs/resources/messages/client/index.js +37 -0
- package/serialization/resources/runs/resources/messages/client/list.d.ts +11 -0
- package/serialization/resources/runs/{client/listRunMessages.js → resources/messages/client/list.js} +2 -2
- package/serialization/resources/runs/resources/messages/index.d.ts +1 -0
- package/serialization/resources/runs/resources/messages/index.js +17 -0
- package/serialization/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/client/index.js +37 -0
- package/serialization/resources/runs/resources/steps/client/list.d.ts +11 -0
- package/serialization/resources/runs/{client/listRunSteps.js → resources/steps/client/list.js} +2 -2
- package/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/index.js +17 -0
- package/serialization/resources/sources/client/index.d.ts +1 -1
- package/serialization/resources/sources/client/index.js +2 -2
- package/serialization/resources/sources/client/{getByName.d.ts → retrieveByName.d.ts} +1 -1
- package/serialization/resources/templates/index.d.ts +1 -1
- package/serialization/resources/templates/index.js +1 -1
- package/serialization/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/templates/resources/agents/client/index.js +17 -0
- package/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +16 -0
- package/{dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.js → serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.js} +3 -3
- package/serialization/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/templates/resources/agents/client/requests/index.js +5 -0
- package/serialization/resources/templates/resources/agents/index.d.ts +2 -0
- package/serialization/resources/templates/resources/agents/index.js +18 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
- package/serialization/resources/templates/{types/TemplatesCreateAgentsResponse.js → resources/agents/types/AgentsCreateResponse.js} +4 -4
- package/serialization/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/templates/resources/agents/types/index.js +17 -0
- package/serialization/resources/templates/resources/index.d.ts +3 -0
- package/serialization/resources/templates/resources/index.js +42 -0
- package/serialization/resources/templates/types/index.d.ts +0 -1
- package/serialization/resources/templates/types/index.js +0 -1
- package/serialization/resources/tools/client/index.d.ts +1 -1
- package/serialization/resources/tools/client/index.js +2 -2
- package/{dist/serialization/resources/tools/client/addBaseTool.d.ts → serialization/resources/tools/client/upsertBaseTools.d.ts} +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/messages/resources/index.d.ts +0 -2
- package/dist/api/resources/messages/resources/index.d.ts +0 -2
- package/dist/serialization/resources/agents/client/modifyPassage.d.ts +0 -11
- package/dist/serialization/resources/blocks/client/listAgentsForBlock.d.ts +0 -11
- package/dist/serialization/resources/identities/client/upsertIdentityProperties.d.ts +0 -11
- package/dist/serialization/resources/messages/index.d.ts +0 -1
- package/dist/serialization/resources/messages/index.js +0 -17
- package/dist/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +0 -14
- package/dist/serialization/resources/messages/resources/index.d.ts +0 -2
- package/dist/serialization/resources/runs/client/listRunMessages.d.ts +0 -11
- package/dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +0 -16
- package/dist/serialization/resources/templates/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/templates/client/requests/index.js +0 -5
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponse.d.ts +0 -13
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponse.js +0 -44
- package/serialization/resources/agents/client/listAgentGroups.d.ts +0 -11
- package/serialization/resources/agents/client/modifyPassage.d.ts +0 -11
- package/serialization/resources/blocks/client/listAgentsForBlock.d.ts +0 -11
- package/serialization/resources/identities/client/upsertIdentityProperties.d.ts +0 -11
- package/serialization/resources/messages/index.d.ts +0 -1
- package/serialization/resources/messages/index.js +0 -17
- package/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +0 -14
- package/serialization/resources/messages/resources/index.d.ts +0 -2
- package/serialization/resources/messages/resources/index.js +0 -41
- package/serialization/resources/runs/client/listRunMessages.d.ts +0 -11
- package/serialization/resources/runs/client/listRunSteps.d.ts +0 -11
- package/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +0 -16
- package/serialization/resources/templates/client/requests/index.d.ts +0 -1
- package/serialization/resources/templates/client/requests/index.js +0 -5
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponse.d.ts +0 -13
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/index.d.ts +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/index.js +0 -0
- /package/api/resources/agents/{client/requests/ListAgentGroupsRequest.js → resources/groups/client/requests/GroupsListRequest.js} +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/requests/index.js +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/index.d.ts +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/index.js +0 -0
- /package/api/resources/agents/{client/requests/PassageUpdate.js → resources/messages/client/requests/MessagesResetRequest.js} +0 -0
- /package/{dist/api/resources/agents → api/resources/agents/resources/passages}/client/requests/PassageUpdate.js +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/client/index.d.ts +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/client/index.js +0 -0
- /package/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +0 -0
- /package/api/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/client/requests/index.js +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/index.d.ts +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/index.js +0 -0
- /package/{dist/serialization/resources/messages/resources/batches → api/resources/blocks/resources/agents}/index.d.ts +0 -0
- /package/{dist/serialization/resources/messages/resources/batches → api/resources/blocks/resources/agents}/index.js +0 -0
- /package/{serialization/resources/messages/resources/batches → api/resources/embeddings}/index.d.ts +0 -0
- /package/{serialization/resources/messages/resources/batches → api/resources/embeddings}/index.js +0 -0
- /package/api/resources/{agents/client/requests/ResetMessagesRequest.js → providers/client/requests/ProvidersListRequest.js} +0 -0
- /package/api/resources/{providers/client/requests/ListProvidersRequest.js → runs/client/requests/RunsListActiveRequest.js} +0 -0
- /package/{dist/serialization/resources/templates → api/resources/runs/resources/messages}/client/index.d.ts +0 -0
- /package/{dist/serialization/resources/templates → api/resources/runs/resources/messages}/client/index.js +0 -0
- /package/api/resources/runs/{client/requests/ListActiveRunsRequest.js → resources/messages/client/requests/MessagesListRequest.js} +0 -0
- /package/{serialization/resources/templates → api/resources/runs/resources/steps}/client/index.d.ts +0 -0
- /package/{serialization/resources/templates → api/resources/runs/resources/steps}/client/index.js +0 -0
- /package/api/resources/runs/{client/requests/ListRunMessagesRequest.js → resources/steps/client/requests/StepsListRequest.js} +0 -0
- /package/api/resources/{runs/client/requests/ListRunStepsRequest.js → templates/resources/agents/client/requests/AgentsCreateRequest.js} +0 -0
- /package/api/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/types/AgentsCreateResponse.js} +0 -0
- /package/{api/resources/templates/types/TemplatesCreateAgentsResponse.js → dist/api/resources/agents/resources/groups/client/requests/GroupsListRequest.js} +0 -0
- /package/dist/api/resources/agents/{client/requests/ListAgentGroupsRequest.js → resources/messages/client/requests/MessagesResetRequest.js} +0 -0
- /package/dist/api/resources/agents/{client/requests/ResetMessagesRequest.js → resources/passages/client/requests/PassageUpdate.js} +0 -0
- /package/dist/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +0 -0
- /package/dist/api/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/dist/api/resources/providers/client/requests/{ListProvidersRequest.js → ProvidersListRequest.js} +0 -0
- /package/dist/api/resources/runs/client/requests/{ListActiveRunsRequest.js → RunsListActiveRequest.js} +0 -0
- /package/dist/api/resources/runs/{client/requests/ListRunMessagesRequest.js → resources/messages/client/requests/MessagesListRequest.js} +0 -0
- /package/dist/api/resources/runs/{client/requests/ListRunStepsRequest.js → resources/steps/client/requests/StepsListRequest.js} +0 -0
- /package/dist/api/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +0 -0
- /package/dist/api/resources/templates/{types/TemplatesCreateAgentsResponse.js → resources/agents/types/AgentsCreateResponse.js} +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/index.js +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/index.js +0 -0
- /package/dist/serialization/resources/{models/client/listEmbeddingModels.js → embeddings/client/list.js} +0 -0
- /package/dist/serialization/resources/models/client/{listLlms.js → list.js} +0 -0
- /package/dist/serialization/resources/providers/client/{listProviders.js → list.js} +0 -0
- /package/dist/serialization/resources/runs/client/{listActiveRuns.js → listActive.js} +0 -0
- /package/dist/serialization/resources/sources/client/{getByName.js → retrieveByName.js} +0 -0
- /package/dist/serialization/resources/tools/client/{addBaseTool.js → upsertBaseTools.js} +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/index.d.ts +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/index.js +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/requests/index.js +0 -0
- /package/serialization/resources/{models/client/listEmbeddingModels.js → embeddings/client/list.js} +0 -0
- /package/serialization/resources/models/client/{listLlms.js → list.js} +0 -0
- /package/serialization/resources/providers/client/{listProviders.js → list.js} +0 -0
- /package/serialization/resources/runs/client/{listActiveRuns.js → listActive.js} +0 -0
- /package/serialization/resources/sources/client/{getByName.js → retrieveByName.js} +0 -0
- /package/serialization/resources/tools/client/{addBaseTool.js → upsertBaseTools.js} +0 -0
package/dist/Client.js
CHANGED
|
@@ -10,18 +10,21 @@ const Client_3 = require("./api/resources/agents/client/Client");
|
|
|
10
10
|
const Client_4 = require("./api/resources/groups/client/Client");
|
|
11
11
|
const Client_5 = require("./api/resources/identities/client/Client");
|
|
12
12
|
const Client_6 = require("./api/resources/models/client/Client");
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
15
|
-
const Client_9 = require("./api/resources/
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
18
|
-
const Client_12 = require("./api/resources/
|
|
19
|
-
const Client_13 = require("./api/resources/
|
|
20
|
-
const Client_14 = require("./api/resources/
|
|
21
|
-
const Client_15 = require("./api/resources/
|
|
22
|
-
const Client_16 = require("./api/resources/
|
|
23
|
-
const Client_17 = require("./api/resources/
|
|
24
|
-
const Client_18 = require("./api/resources/
|
|
13
|
+
const Client_7 = require("./api/resources/embeddings/client/Client");
|
|
14
|
+
const Client_8 = require("./api/resources/blocks/client/Client");
|
|
15
|
+
const Client_9 = require("./api/resources/jobs/client/Client");
|
|
16
|
+
const Client_10 = require("./api/resources/health/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/providers/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/runs/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/steps/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/tag/client/Client");
|
|
21
|
+
const Client_15 = require("./api/resources/batches/client/Client");
|
|
22
|
+
const Client_16 = require("./api/resources/messages/client/Client");
|
|
23
|
+
const Client_17 = require("./api/resources/voice/client/Client");
|
|
24
|
+
const Client_18 = require("./api/resources/templates/client/Client");
|
|
25
|
+
const Client_19 = require("./api/resources/clientSideAccessTokens/client/Client");
|
|
26
|
+
const Client_20 = require("./api/resources/projects/client/Client");
|
|
27
|
+
const Client_21 = require("./api/resources/tags/client/Client");
|
|
25
28
|
class LettaClient {
|
|
26
29
|
constructor(_options = {}) {
|
|
27
30
|
this._options = _options;
|
|
@@ -50,53 +53,65 @@ class LettaClient {
|
|
|
50
53
|
var _a;
|
|
51
54
|
return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_6.Models(this._options)));
|
|
52
55
|
}
|
|
56
|
+
get embeddings() {
|
|
57
|
+
var _a;
|
|
58
|
+
return ((_a = this._embeddings) !== null && _a !== void 0 ? _a : (this._embeddings = new Client_7.Embeddings(this._options)));
|
|
59
|
+
}
|
|
53
60
|
get blocks() {
|
|
54
61
|
var _a;
|
|
55
|
-
return ((_a = this._blocks) !== null && _a !== void 0 ? _a : (this._blocks = new
|
|
62
|
+
return ((_a = this._blocks) !== null && _a !== void 0 ? _a : (this._blocks = new Client_8.Blocks(this._options)));
|
|
56
63
|
}
|
|
57
64
|
get jobs() {
|
|
58
65
|
var _a;
|
|
59
|
-
return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new
|
|
66
|
+
return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_9.Jobs(this._options)));
|
|
60
67
|
}
|
|
61
68
|
get health() {
|
|
62
69
|
var _a;
|
|
63
|
-
return ((_a = this._health) !== null && _a !== void 0 ? _a : (this._health = new
|
|
70
|
+
return ((_a = this._health) !== null && _a !== void 0 ? _a : (this._health = new Client_10.Health(this._options)));
|
|
64
71
|
}
|
|
65
72
|
get providers() {
|
|
66
73
|
var _a;
|
|
67
|
-
return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new
|
|
74
|
+
return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_11.Providers(this._options)));
|
|
68
75
|
}
|
|
69
76
|
get runs() {
|
|
70
77
|
var _a;
|
|
71
|
-
return ((_a = this._runs) !== null && _a !== void 0 ? _a : (this._runs = new
|
|
78
|
+
return ((_a = this._runs) !== null && _a !== void 0 ? _a : (this._runs = new Client_12.Runs(this._options)));
|
|
72
79
|
}
|
|
73
80
|
get steps() {
|
|
74
81
|
var _a;
|
|
75
|
-
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new
|
|
82
|
+
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new Client_13.Steps(this._options)));
|
|
76
83
|
}
|
|
77
84
|
get tag() {
|
|
78
85
|
var _a;
|
|
79
|
-
return ((_a = this._tag) !== null && _a !== void 0 ? _a : (this._tag = new
|
|
86
|
+
return ((_a = this._tag) !== null && _a !== void 0 ? _a : (this._tag = new Client_14.Tag(this._options)));
|
|
87
|
+
}
|
|
88
|
+
get batches() {
|
|
89
|
+
var _a;
|
|
90
|
+
return ((_a = this._batches) !== null && _a !== void 0 ? _a : (this._batches = new Client_15.Batches(this._options)));
|
|
80
91
|
}
|
|
81
92
|
get messages() {
|
|
82
93
|
var _a;
|
|
83
|
-
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new
|
|
94
|
+
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_16.Messages(this._options)));
|
|
84
95
|
}
|
|
85
96
|
get voice() {
|
|
86
97
|
var _a;
|
|
87
|
-
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new
|
|
98
|
+
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_17.Voice(this._options)));
|
|
88
99
|
}
|
|
89
100
|
get templates() {
|
|
90
101
|
var _a;
|
|
91
|
-
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new
|
|
102
|
+
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_18.Templates(this._options)));
|
|
92
103
|
}
|
|
93
104
|
get clientSideAccessTokens() {
|
|
94
105
|
var _a;
|
|
95
|
-
return ((_a = this._clientSideAccessTokens) !== null && _a !== void 0 ? _a : (this._clientSideAccessTokens = new
|
|
106
|
+
return ((_a = this._clientSideAccessTokens) !== null && _a !== void 0 ? _a : (this._clientSideAccessTokens = new Client_19.ClientSideAccessTokens(this._options)));
|
|
96
107
|
}
|
|
97
108
|
get projects() {
|
|
98
109
|
var _a;
|
|
99
|
-
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new
|
|
110
|
+
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_20.Projects(this._options)));
|
|
111
|
+
}
|
|
112
|
+
get tags() {
|
|
113
|
+
var _a;
|
|
114
|
+
return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_21.Tags(this._options)));
|
|
100
115
|
}
|
|
101
116
|
}
|
|
102
117
|
exports.LettaClient = LettaClient;
|
|
@@ -13,6 +13,7 @@ import { CoreMemory } from "../resources/coreMemory/client/Client";
|
|
|
13
13
|
import { Blocks } from "../resources/blocks/client/Client";
|
|
14
14
|
import { Passages } from "../resources/passages/client/Client";
|
|
15
15
|
import { Messages } from "../resources/messages/client/Client";
|
|
16
|
+
import { Groups } from "../resources/groups/client/Client";
|
|
16
17
|
import { Templates } from "../resources/templates/client/Client";
|
|
17
18
|
import { MemoryVariables } from "../resources/memoryVariables/client/Client";
|
|
18
19
|
export declare namespace Agents {
|
|
@@ -43,6 +44,7 @@ export declare class Agents {
|
|
|
43
44
|
protected _blocks: Blocks | undefined;
|
|
44
45
|
protected _passages: Passages | undefined;
|
|
45
46
|
protected _messages: Messages | undefined;
|
|
47
|
+
protected _groups: Groups | undefined;
|
|
46
48
|
protected _templates: Templates | undefined;
|
|
47
49
|
protected _memoryVariables: MemoryVariables | undefined;
|
|
48
50
|
constructor(_options?: Agents.Options);
|
|
@@ -53,6 +55,7 @@ export declare class Agents {
|
|
|
53
55
|
get blocks(): Blocks;
|
|
54
56
|
get passages(): Passages;
|
|
55
57
|
get messages(): Messages;
|
|
58
|
+
get groups(): Groups;
|
|
56
59
|
get templates(): Templates;
|
|
57
60
|
get memoryVariables(): MemoryVariables;
|
|
58
61
|
/**
|
|
@@ -94,6 +97,14 @@ export declare class Agents {
|
|
|
94
97
|
* await client.agents.exportAgentSerialized("agent_id")
|
|
95
98
|
*/
|
|
96
99
|
exportAgentSerialized(agentId: string, requestOptions?: Agents.RequestOptions): Promise<string>;
|
|
100
|
+
/**
|
|
101
|
+
* @param {string} agentId
|
|
102
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* await client.agents.export("agent_id")
|
|
106
|
+
*/
|
|
107
|
+
export(agentId: string, requestOptions?: Agents.RequestOptions): Promise<void>;
|
|
97
108
|
/**
|
|
98
109
|
* Import a serialized agent file and recreate the agent in the system.
|
|
99
110
|
*
|
|
@@ -104,9 +115,9 @@ export declare class Agents {
|
|
|
104
115
|
* @throws {@link Letta.UnprocessableEntityError}
|
|
105
116
|
*
|
|
106
117
|
* @example
|
|
107
|
-
* await client.agents.
|
|
118
|
+
* await client.agents.import(fs.createReadStream("/path/to/your/file"), {})
|
|
108
119
|
*/
|
|
109
|
-
|
|
120
|
+
import(file: File | fs.ReadStream | Blob, request: Letta.BodyImportAgentSerialized, requestOptions?: Agents.RequestOptions): Promise<Letta.AgentState>;
|
|
110
121
|
/**
|
|
111
122
|
* Get the state of the agent.
|
|
112
123
|
*
|
|
@@ -144,48 +155,6 @@ export declare class Agents {
|
|
|
144
155
|
* await client.agents.modify("agent_id")
|
|
145
156
|
*/
|
|
146
157
|
modify(agentId: string, request?: Letta.UpdateAgent, requestOptions?: Agents.RequestOptions): Promise<Letta.AgentState>;
|
|
147
|
-
/**
|
|
148
|
-
* Modify a memory in the agent's archival memory store.
|
|
149
|
-
*
|
|
150
|
-
* @param {string} agentId
|
|
151
|
-
* @param {string} memoryId
|
|
152
|
-
* @param {Letta.PassageUpdate} request
|
|
153
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
154
|
-
*
|
|
155
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
156
|
-
*
|
|
157
|
-
* @example
|
|
158
|
-
* await client.agents.modifyPassage("agent_id", "memory_id", {
|
|
159
|
-
* id: "id"
|
|
160
|
-
* })
|
|
161
|
-
*/
|
|
162
|
-
modifyPassage(agentId: string, memoryId: string, request: Letta.PassageUpdate, requestOptions?: Agents.RequestOptions): Promise<Letta.Passage[]>;
|
|
163
|
-
/**
|
|
164
|
-
* Resets the messages for an agent
|
|
165
|
-
*
|
|
166
|
-
* @param {string} agentId
|
|
167
|
-
* @param {Letta.ResetMessagesRequest} request
|
|
168
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
169
|
-
*
|
|
170
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* await client.agents.resetMessages("agent_id")
|
|
174
|
-
*/
|
|
175
|
-
resetMessages(agentId: string, request?: Letta.ResetMessagesRequest, requestOptions?: Agents.RequestOptions): Promise<Letta.AgentState>;
|
|
176
|
-
/**
|
|
177
|
-
* Lists the groups for an agent
|
|
178
|
-
*
|
|
179
|
-
* @param {string} agentId
|
|
180
|
-
* @param {Letta.ListAgentGroupsRequest} request
|
|
181
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
182
|
-
*
|
|
183
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
184
|
-
*
|
|
185
|
-
* @example
|
|
186
|
-
* await client.agents.listAgentGroups("agent_id")
|
|
187
|
-
*/
|
|
188
|
-
listAgentGroups(agentId: string, request?: Letta.ListAgentGroupsRequest, requestOptions?: Agents.RequestOptions): Promise<Letta.Group[]>;
|
|
189
158
|
/**
|
|
190
159
|
* <Note>This endpoint is only available on Letta Cloud.</Note>
|
|
191
160
|
*
|
|
@@ -73,8 +73,9 @@ const Client_4 = require("../resources/coreMemory/client/Client");
|
|
|
73
73
|
const Client_5 = require("../resources/blocks/client/Client");
|
|
74
74
|
const Client_6 = require("../resources/passages/client/Client");
|
|
75
75
|
const Client_7 = require("../resources/messages/client/Client");
|
|
76
|
-
const Client_8 = require("../resources/
|
|
77
|
-
const Client_9 = require("../resources/
|
|
76
|
+
const Client_8 = require("../resources/groups/client/Client");
|
|
77
|
+
const Client_9 = require("../resources/templates/client/Client");
|
|
78
|
+
const Client_10 = require("../resources/memoryVariables/client/Client");
|
|
78
79
|
class Agents {
|
|
79
80
|
constructor(_options = {}) {
|
|
80
81
|
this._options = _options;
|
|
@@ -107,13 +108,17 @@ class Agents {
|
|
|
107
108
|
var _a;
|
|
108
109
|
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_7.Messages(this._options)));
|
|
109
110
|
}
|
|
111
|
+
get groups() {
|
|
112
|
+
var _a;
|
|
113
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_8.Groups(this._options)));
|
|
114
|
+
}
|
|
110
115
|
get templates() {
|
|
111
116
|
var _a;
|
|
112
|
-
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new
|
|
117
|
+
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_9.Templates(this._options)));
|
|
113
118
|
}
|
|
114
119
|
get memoryVariables() {
|
|
115
120
|
var _a;
|
|
116
|
-
return ((_a = this._memoryVariables) !== null && _a !== void 0 ? _a : (this._memoryVariables = new
|
|
121
|
+
return ((_a = this._memoryVariables) !== null && _a !== void 0 ? _a : (this._memoryVariables = new Client_10.MemoryVariables(this._options)));
|
|
117
122
|
}
|
|
118
123
|
/**
|
|
119
124
|
* List all agents associated with a given user.
|
|
@@ -194,7 +199,7 @@ class Agents {
|
|
|
194
199
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
195
200
|
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/"),
|
|
196
201
|
method: "GET",
|
|
197
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
202
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
198
203
|
contentType: "application/json",
|
|
199
204
|
queryParameters: _queryParams,
|
|
200
205
|
requestType: "json",
|
|
@@ -261,7 +266,7 @@ class Agents {
|
|
|
261
266
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
262
267
|
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/"),
|
|
263
268
|
method: "POST",
|
|
264
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
269
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "X-Project": project != null ? project : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
270
|
contentType: "application/json",
|
|
266
271
|
requestType: "json",
|
|
267
272
|
body: serializers.CreateAgentRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -327,7 +332,7 @@ class Agents {
|
|
|
327
332
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
328
333
|
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)}/export`),
|
|
329
334
|
method: "GET",
|
|
330
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
335
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
331
336
|
contentType: "application/json",
|
|
332
337
|
requestType: "json",
|
|
333
338
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -375,6 +380,50 @@ class Agents {
|
|
|
375
380
|
}
|
|
376
381
|
});
|
|
377
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* @param {string} agentId
|
|
385
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
386
|
+
*
|
|
387
|
+
* @example
|
|
388
|
+
* await client.agents.export("agent_id")
|
|
389
|
+
*/
|
|
390
|
+
export(agentId, requestOptions) {
|
|
391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
392
|
+
var _a, _b, _c;
|
|
393
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
394
|
+
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)}/export`),
|
|
395
|
+
method: "POST",
|
|
396
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
397
|
+
contentType: "application/json",
|
|
398
|
+
requestType: "json",
|
|
399
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
400
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
401
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
402
|
+
});
|
|
403
|
+
if (_response.ok) {
|
|
404
|
+
return;
|
|
405
|
+
}
|
|
406
|
+
if (_response.error.reason === "status-code") {
|
|
407
|
+
throw new errors.LettaError({
|
|
408
|
+
statusCode: _response.error.statusCode,
|
|
409
|
+
body: _response.error.body,
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
switch (_response.error.reason) {
|
|
413
|
+
case "non-json":
|
|
414
|
+
throw new errors.LettaError({
|
|
415
|
+
statusCode: _response.error.statusCode,
|
|
416
|
+
body: _response.error.rawBody,
|
|
417
|
+
});
|
|
418
|
+
case "timeout":
|
|
419
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/agents/{agent_id}/export.");
|
|
420
|
+
case "unknown":
|
|
421
|
+
throw new errors.LettaError({
|
|
422
|
+
message: _response.error.errorMessage,
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
}
|
|
378
427
|
/**
|
|
379
428
|
* Import a serialized agent file and recreate the agent in the system.
|
|
380
429
|
*
|
|
@@ -385,9 +434,9 @@ class Agents {
|
|
|
385
434
|
* @throws {@link Letta.UnprocessableEntityError}
|
|
386
435
|
*
|
|
387
436
|
* @example
|
|
388
|
-
* await client.agents.
|
|
437
|
+
* await client.agents.import(fs.createReadStream("/path/to/your/file"), {})
|
|
389
438
|
*/
|
|
390
|
-
|
|
439
|
+
import(file, request, requestOptions) {
|
|
391
440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
392
441
|
var _a, _b, _c;
|
|
393
442
|
const _queryParams = {};
|
|
@@ -409,7 +458,7 @@ class Agents {
|
|
|
409
458
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
410
459
|
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/import"),
|
|
411
460
|
method: "POST",
|
|
412
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
461
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
413
462
|
queryParameters: _queryParams,
|
|
414
463
|
requestType: "file",
|
|
415
464
|
duplex: _maybeEncodedRequest.duplex,
|
|
@@ -476,7 +525,7 @@ class Agents {
|
|
|
476
525
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
477
526
|
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)}`),
|
|
478
527
|
method: "GET",
|
|
479
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
528
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
480
529
|
contentType: "application/json",
|
|
481
530
|
requestType: "json",
|
|
482
531
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -541,7 +590,7 @@ class Agents {
|
|
|
541
590
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
542
591
|
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)}`),
|
|
543
592
|
method: "DELETE",
|
|
544
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
593
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
545
594
|
contentType: "application/json",
|
|
546
595
|
requestType: "json",
|
|
547
596
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -601,7 +650,7 @@ class Agents {
|
|
|
601
650
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
602
651
|
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)}`),
|
|
603
652
|
method: "PATCH",
|
|
604
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
653
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
605
654
|
contentType: "application/json",
|
|
606
655
|
requestType: "json",
|
|
607
656
|
body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -650,220 +699,6 @@ class Agents {
|
|
|
650
699
|
}
|
|
651
700
|
});
|
|
652
701
|
}
|
|
653
|
-
/**
|
|
654
|
-
* Modify a memory in the agent's archival memory store.
|
|
655
|
-
*
|
|
656
|
-
* @param {string} agentId
|
|
657
|
-
* @param {string} memoryId
|
|
658
|
-
* @param {Letta.PassageUpdate} request
|
|
659
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
660
|
-
*
|
|
661
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
662
|
-
*
|
|
663
|
-
* @example
|
|
664
|
-
* await client.agents.modifyPassage("agent_id", "memory_id", {
|
|
665
|
-
* id: "id"
|
|
666
|
-
* })
|
|
667
|
-
*/
|
|
668
|
-
modifyPassage(agentId, memoryId, request, requestOptions) {
|
|
669
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
670
|
-
var _a, _b, _c;
|
|
671
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
672
|
-
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)}`),
|
|
673
|
-
method: "PATCH",
|
|
674
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.97", "User-Agent": "@letta-ai/letta-client/0.1.97", "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),
|
|
675
|
-
contentType: "application/json",
|
|
676
|
-
requestType: "json",
|
|
677
|
-
body: serializers.PassageUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
678
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
679
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
680
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
681
|
-
});
|
|
682
|
-
if (_response.ok) {
|
|
683
|
-
return serializers.agents.modifyPassage.Response.parseOrThrow(_response.body, {
|
|
684
|
-
unrecognizedObjectKeys: "passthrough",
|
|
685
|
-
allowUnrecognizedUnionMembers: true,
|
|
686
|
-
allowUnrecognizedEnumValues: true,
|
|
687
|
-
skipValidation: true,
|
|
688
|
-
breadcrumbsPrefix: ["response"],
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
if (_response.error.reason === "status-code") {
|
|
692
|
-
switch (_response.error.statusCode) {
|
|
693
|
-
case 422:
|
|
694
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
695
|
-
unrecognizedObjectKeys: "passthrough",
|
|
696
|
-
allowUnrecognizedUnionMembers: true,
|
|
697
|
-
allowUnrecognizedEnumValues: true,
|
|
698
|
-
skipValidation: true,
|
|
699
|
-
breadcrumbsPrefix: ["response"],
|
|
700
|
-
}));
|
|
701
|
-
default:
|
|
702
|
-
throw new errors.LettaError({
|
|
703
|
-
statusCode: _response.error.statusCode,
|
|
704
|
-
body: _response.error.body,
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
switch (_response.error.reason) {
|
|
709
|
-
case "non-json":
|
|
710
|
-
throw new errors.LettaError({
|
|
711
|
-
statusCode: _response.error.statusCode,
|
|
712
|
-
body: _response.error.rawBody,
|
|
713
|
-
});
|
|
714
|
-
case "timeout":
|
|
715
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/agents/{agent_id}/archival-memory/{memory_id}.");
|
|
716
|
-
case "unknown":
|
|
717
|
-
throw new errors.LettaError({
|
|
718
|
-
message: _response.error.errorMessage,
|
|
719
|
-
});
|
|
720
|
-
}
|
|
721
|
-
});
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* Resets the messages for an agent
|
|
725
|
-
*
|
|
726
|
-
* @param {string} agentId
|
|
727
|
-
* @param {Letta.ResetMessagesRequest} request
|
|
728
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
729
|
-
*
|
|
730
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
731
|
-
*
|
|
732
|
-
* @example
|
|
733
|
-
* await client.agents.resetMessages("agent_id")
|
|
734
|
-
*/
|
|
735
|
-
resetMessages(agentId_1) {
|
|
736
|
-
return __awaiter(this, arguments, void 0, function* (agentId, request = {}, requestOptions) {
|
|
737
|
-
var _a, _b, _c;
|
|
738
|
-
const { addDefaultInitialMessages } = request;
|
|
739
|
-
const _queryParams = {};
|
|
740
|
-
if (addDefaultInitialMessages != null) {
|
|
741
|
-
_queryParams["add_default_initial_messages"] = addDefaultInitialMessages.toString();
|
|
742
|
-
}
|
|
743
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
744
|
-
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)}/reset-messages`),
|
|
745
|
-
method: "PATCH",
|
|
746
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.97", "User-Agent": "@letta-ai/letta-client/0.1.97", "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),
|
|
747
|
-
contentType: "application/json",
|
|
748
|
-
queryParameters: _queryParams,
|
|
749
|
-
requestType: "json",
|
|
750
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
751
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
752
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
753
|
-
});
|
|
754
|
-
if (_response.ok) {
|
|
755
|
-
return serializers.AgentState.parseOrThrow(_response.body, {
|
|
756
|
-
unrecognizedObjectKeys: "passthrough",
|
|
757
|
-
allowUnrecognizedUnionMembers: true,
|
|
758
|
-
allowUnrecognizedEnumValues: true,
|
|
759
|
-
skipValidation: true,
|
|
760
|
-
breadcrumbsPrefix: ["response"],
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
if (_response.error.reason === "status-code") {
|
|
764
|
-
switch (_response.error.statusCode) {
|
|
765
|
-
case 422:
|
|
766
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
767
|
-
unrecognizedObjectKeys: "passthrough",
|
|
768
|
-
allowUnrecognizedUnionMembers: true,
|
|
769
|
-
allowUnrecognizedEnumValues: true,
|
|
770
|
-
skipValidation: true,
|
|
771
|
-
breadcrumbsPrefix: ["response"],
|
|
772
|
-
}));
|
|
773
|
-
default:
|
|
774
|
-
throw new errors.LettaError({
|
|
775
|
-
statusCode: _response.error.statusCode,
|
|
776
|
-
body: _response.error.body,
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
switch (_response.error.reason) {
|
|
781
|
-
case "non-json":
|
|
782
|
-
throw new errors.LettaError({
|
|
783
|
-
statusCode: _response.error.statusCode,
|
|
784
|
-
body: _response.error.rawBody,
|
|
785
|
-
});
|
|
786
|
-
case "timeout":
|
|
787
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/agents/{agent_id}/reset-messages.");
|
|
788
|
-
case "unknown":
|
|
789
|
-
throw new errors.LettaError({
|
|
790
|
-
message: _response.error.errorMessage,
|
|
791
|
-
});
|
|
792
|
-
}
|
|
793
|
-
});
|
|
794
|
-
}
|
|
795
|
-
/**
|
|
796
|
-
* Lists the groups for an agent
|
|
797
|
-
*
|
|
798
|
-
* @param {string} agentId
|
|
799
|
-
* @param {Letta.ListAgentGroupsRequest} request
|
|
800
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
801
|
-
*
|
|
802
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
803
|
-
*
|
|
804
|
-
* @example
|
|
805
|
-
* await client.agents.listAgentGroups("agent_id")
|
|
806
|
-
*/
|
|
807
|
-
listAgentGroups(agentId_1) {
|
|
808
|
-
return __awaiter(this, arguments, void 0, function* (agentId, request = {}, requestOptions) {
|
|
809
|
-
var _a, _b, _c;
|
|
810
|
-
const { managerType } = request;
|
|
811
|
-
const _queryParams = {};
|
|
812
|
-
if (managerType != null) {
|
|
813
|
-
_queryParams["manager_type"] = managerType;
|
|
814
|
-
}
|
|
815
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
816
|
-
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)}/groups`),
|
|
817
|
-
method: "GET",
|
|
818
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.97", "User-Agent": "@letta-ai/letta-client/0.1.97", "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),
|
|
819
|
-
contentType: "application/json",
|
|
820
|
-
queryParameters: _queryParams,
|
|
821
|
-
requestType: "json",
|
|
822
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
823
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
824
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
825
|
-
});
|
|
826
|
-
if (_response.ok) {
|
|
827
|
-
return serializers.agents.listAgentGroups.Response.parseOrThrow(_response.body, {
|
|
828
|
-
unrecognizedObjectKeys: "passthrough",
|
|
829
|
-
allowUnrecognizedUnionMembers: true,
|
|
830
|
-
allowUnrecognizedEnumValues: true,
|
|
831
|
-
skipValidation: true,
|
|
832
|
-
breadcrumbsPrefix: ["response"],
|
|
833
|
-
});
|
|
834
|
-
}
|
|
835
|
-
if (_response.error.reason === "status-code") {
|
|
836
|
-
switch (_response.error.statusCode) {
|
|
837
|
-
case 422:
|
|
838
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
839
|
-
unrecognizedObjectKeys: "passthrough",
|
|
840
|
-
allowUnrecognizedUnionMembers: true,
|
|
841
|
-
allowUnrecognizedEnumValues: true,
|
|
842
|
-
skipValidation: true,
|
|
843
|
-
breadcrumbsPrefix: ["response"],
|
|
844
|
-
}));
|
|
845
|
-
default:
|
|
846
|
-
throw new errors.LettaError({
|
|
847
|
-
statusCode: _response.error.statusCode,
|
|
848
|
-
body: _response.error.body,
|
|
849
|
-
});
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
switch (_response.error.reason) {
|
|
853
|
-
case "non-json":
|
|
854
|
-
throw new errors.LettaError({
|
|
855
|
-
statusCode: _response.error.statusCode,
|
|
856
|
-
body: _response.error.rawBody,
|
|
857
|
-
});
|
|
858
|
-
case "timeout":
|
|
859
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/agents/{agent_id}/groups.");
|
|
860
|
-
case "unknown":
|
|
861
|
-
throw new errors.LettaError({
|
|
862
|
-
message: _response.error.errorMessage,
|
|
863
|
-
});
|
|
864
|
-
}
|
|
865
|
-
});
|
|
866
|
-
}
|
|
867
702
|
/**
|
|
868
703
|
* <Note>This endpoint is only available on Letta Cloud.</Note>
|
|
869
704
|
*
|
|
@@ -881,7 +716,7 @@ class Agents {
|
|
|
881
716
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
882
717
|
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/search"),
|
|
883
718
|
method: "POST",
|
|
884
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
719
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.99", "User-Agent": "@letta-ai/letta-client/0.1.99", "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),
|
|
885
720
|
contentType: "application/json",
|
|
886
721
|
requestType: "json",
|
|
887
722
|
body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -2,7 +2,4 @@ export { type AgentsListRequest } from "./AgentsListRequest";
|
|
|
2
2
|
export { type CreateAgentRequest } from "./CreateAgentRequest";
|
|
3
3
|
export { type BodyImportAgentSerialized } from "./BodyImportAgentSerialized";
|
|
4
4
|
export { type UpdateAgent } from "./UpdateAgent";
|
|
5
|
-
export { type PassageUpdate } from "./PassageUpdate";
|
|
6
|
-
export { type ResetMessagesRequest } from "./ResetMessagesRequest";
|
|
7
|
-
export { type ListAgentGroupsRequest } from "./ListAgentGroupsRequest";
|
|
8
5
|
export { type AgentsSearchRequest } from "./AgentsSearchRequest";
|