@letta-ai/letta-client 0.0.68653 → 0.0.68655
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.d.ts +4 -7
- package/api/resources/agents/client/Client.js +13 -16
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +10 -10
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +4 -4
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/index.d.ts +1 -1
- package/api/resources/blocks/index.js +1 -1
- package/api/resources/blocks/resources/agents/client/Client.js +20 -3
- package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
- package/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/index.js +1 -0
- package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/types/index.js +17 -0
- package/api/resources/blocks/resources/index.d.ts +1 -0
- package/api/resources/blocks/resources/index.js +1 -0
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/folders/client/Client.d.ts +11 -18
- package/api/resources/folders/client/Client.js +28 -93
- package/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
- package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
- package/api/resources/folders/client/requests/index.d.ts +1 -1
- package/api/resources/folders/index.d.ts +1 -1
- package/api/resources/folders/index.js +1 -1
- package/api/resources/folders/resources/agents/client/Client.d.ts +50 -0
- package/api/resources/folders/resources/agents/client/Client.js +166 -0
- package/api/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/api/resources/folders/resources/agents/client/index.js +17 -0
- package/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/folders/resources/agents/client/requests/index.js +2 -0
- package/api/resources/folders/resources/agents/index.d.ts +2 -0
- package/api/resources/folders/resources/agents/index.js +18 -0
- package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/api/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/api/resources/folders/resources/agents/types/index.js +17 -0
- package/api/resources/folders/resources/files/client/Client.js +17 -6
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
- package/api/resources/folders/resources/files/index.d.ts +1 -0
- package/api/resources/folders/resources/files/index.js +1 -0
- package/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
- package/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
- package/api/resources/folders/resources/files/types/index.d.ts +1 -0
- package/api/resources/folders/resources/files/types/index.js +17 -0
- package/api/resources/folders/resources/index.d.ts +5 -0
- package/api/resources/folders/resources/index.js +6 -1
- package/api/resources/folders/resources/passages/client/Client.js +14 -6
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
- package/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/index.js +1 -0
- package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
- package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
- package/api/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/types/index.js +17 -0
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +18 -10
- package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
- package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
- package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
- package/api/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/api/resources/groups/resources/messages/types/index.js +1 -0
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/index.d.ts +1 -1
- package/api/resources/identities/index.js +1 -1
- package/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
- package/api/resources/identities/resources/agents/client/Client.js +58 -11
- package/api/resources/identities/resources/agents/client/index.d.ts +1 -1
- package/api/resources/identities/resources/agents/client/index.js +15 -0
- package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/identities/resources/agents/client/requests/index.js +2 -0
- package/api/resources/identities/resources/agents/index.d.ts +1 -0
- package/api/resources/identities/resources/agents/index.js +1 -0
- package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/api/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/api/resources/identities/resources/agents/types/index.js +17 -0
- package/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
- package/api/resources/identities/resources/blocks/client/Client.js +58 -11
- package/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
- package/api/resources/identities/resources/blocks/client/index.js +15 -0
- package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
- package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
- package/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
- package/api/resources/identities/resources/blocks/index.d.ts +1 -0
- package/api/resources/identities/resources/blocks/index.js +1 -0
- package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
- package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
- package/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/api/resources/identities/resources/blocks/types/index.js +17 -0
- package/api/resources/identities/resources/index.d.ts +5 -1
- package/api/resources/identities/resources/index.js +9 -2
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +5 -5
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +5 -2
- package/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/api/resources/agents/client/Client.d.ts +4 -7
- package/dist/api/resources/agents/client/Client.js +13 -16
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/index.d.ts +1 -1
- package/dist/api/resources/blocks/index.js +1 -1
- package/dist/api/resources/blocks/resources/agents/client/Client.js +20 -3
- package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
- package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/index.js +1 -0
- package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/dist/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/types/index.js +17 -0
- package/dist/api/resources/blocks/resources/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/index.js +1 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/folders/client/Client.d.ts +11 -18
- package/dist/api/resources/folders/client/Client.js +28 -93
- package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
- package/dist/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
- package/dist/api/resources/folders/client/requests/RetrieveMetadataRequest.js +5 -0
- package/dist/api/resources/folders/client/requests/index.d.ts +1 -1
- package/dist/api/resources/folders/index.d.ts +1 -1
- package/dist/api/resources/folders/index.js +1 -1
- package/dist/api/resources/folders/resources/agents/client/Client.d.ts +50 -0
- package/dist/api/resources/folders/resources/agents/client/Client.js +166 -0
- package/dist/api/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/agents/client/index.js +17 -0
- package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/dist/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/folders/resources/agents/index.d.ts +2 -0
- package/dist/api/resources/folders/resources/agents/index.js +18 -0
- package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/dist/api/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/agents/types/index.js +17 -0
- package/dist/api/resources/folders/resources/files/client/Client.js +17 -6
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
- package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/index.js +1 -0
- package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
- package/dist/api/resources/folders/resources/files/types/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/types/index.js +17 -0
- package/dist/api/resources/folders/resources/index.d.ts +5 -0
- package/dist/api/resources/folders/resources/index.js +6 -1
- package/dist/api/resources/folders/resources/passages/client/Client.js +14 -6
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
- package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/index.js +1 -0
- package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
- package/dist/api/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/types/index.js +17 -0
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +18 -10
- package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
- package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
- package/dist/api/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/dist/api/resources/groups/resources/messages/types/index.js +1 -0
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/index.d.ts +1 -1
- package/dist/api/resources/identities/index.js +1 -1
- package/dist/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
- package/dist/api/resources/identities/resources/agents/client/Client.js +58 -11
- package/dist/api/resources/identities/resources/agents/client/index.d.ts +1 -1
- package/dist/api/resources/identities/resources/agents/client/index.js +15 -0
- package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
- package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/dist/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/identities/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/agents/index.js +1 -0
- package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
- package/dist/api/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/agents/types/index.js +17 -0
- package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +58 -11
- package/dist/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
- package/dist/api/resources/identities/resources/blocks/client/index.js +15 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
- package/dist/api/resources/identities/resources/blocks/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/blocks/index.js +1 -0
- package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
- package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
- package/dist/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/blocks/types/index.js +17 -0
- package/dist/api/resources/identities/resources/index.d.ts +5 -1
- package/dist/api/resources/identities/resources/index.js +9 -2
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +5 -5
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +5 -2
- package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/blocks/index.d.ts +1 -1
- package/dist/serialization/resources/blocks/index.js +1 -1
- package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/index.js +1 -0
- package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/dist/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/index.js +4 -0
- package/dist/serialization/resources/folders/client/index.d.ts +0 -1
- package/dist/serialization/resources/folders/client/index.js +1 -2
- package/dist/serialization/resources/folders/index.d.ts +1 -1
- package/dist/serialization/resources/folders/index.js +1 -1
- package/dist/serialization/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/folders/{client/getAgentsForFolder.d.ts → resources/agents/client/list.d.ts} +3 -3
- package/dist/serialization/resources/folders/{client/getAgentsForFolder.js → resources/agents/client/list.js} +1 -1
- package/dist/serialization/resources/folders/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/folders/resources/agents/index.js +18 -0
- package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/dist/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/index.js +1 -0
- package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
- package/dist/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/types/index.js +17 -0
- package/dist/serialization/resources/folders/resources/index.d.ts +4 -0
- package/dist/serialization/resources/folders/resources/index.js +8 -1
- package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/index.js +1 -0
- package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
- package/dist/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/types/index.js +17 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
- package/dist/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/dist/serialization/resources/groups/resources/messages/types/index.js +1 -0
- package/dist/serialization/resources/identities/index.d.ts +1 -1
- package/dist/serialization/resources/identities/index.js +1 -1
- package/dist/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/identities/resources/agents/client/list.js +42 -0
- package/dist/serialization/resources/identities/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/identities/resources/agents/index.js +18 -0
- package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/dist/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/blocks/client/index.js +37 -0
- package/dist/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
- package/dist/serialization/resources/identities/resources/blocks/client/list.js +42 -0
- package/dist/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
- package/dist/serialization/resources/identities/resources/blocks/index.js +18 -0
- package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
- package/dist/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/blocks/types/index.js +17 -0
- package/dist/serialization/resources/identities/resources/index.d.ts +4 -0
- package/dist/serialization/resources/identities/resources/index.js +8 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +131 -76
- package/serialization/resources/blocks/index.d.ts +1 -1
- package/serialization/resources/blocks/index.js +1 -1
- package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/index.js +1 -0
- package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/types/index.js +17 -0
- package/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/index.js +4 -0
- package/serialization/resources/folders/client/index.d.ts +0 -1
- package/serialization/resources/folders/client/index.js +1 -2
- package/serialization/resources/folders/index.d.ts +1 -1
- package/serialization/resources/folders/index.js +1 -1
- package/serialization/resources/folders/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/folders/resources/agents/client/index.js +37 -0
- package/serialization/resources/folders/{client/getAgentsForFolder.d.ts → resources/agents/client/list.d.ts} +3 -3
- package/serialization/resources/folders/{client/getAgentsForFolder.js → resources/agents/client/list.js} +1 -1
- package/serialization/resources/folders/resources/agents/index.d.ts +2 -0
- package/serialization/resources/folders/resources/agents/index.js +18 -0
- package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/folders/resources/agents/types/index.js +17 -0
- package/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/index.js +1 -0
- package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
- package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
- package/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/types/index.js +17 -0
- package/serialization/resources/folders/resources/index.d.ts +4 -0
- package/serialization/resources/folders/resources/index.js +8 -1
- package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/index.js +1 -0
- package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
- package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
- package/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/types/index.js +17 -0
- package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
- package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
- package/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
- package/serialization/resources/groups/resources/messages/types/index.js +1 -0
- package/serialization/resources/identities/index.d.ts +1 -1
- package/serialization/resources/identities/index.js +1 -1
- package/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/identities/resources/agents/client/index.js +37 -0
- package/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/identities/resources/agents/client/list.js +42 -0
- package/serialization/resources/identities/resources/agents/index.d.ts +2 -0
- package/serialization/resources/identities/resources/agents/index.js +18 -0
- package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
- package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
- package/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/identities/resources/agents/types/index.js +17 -0
- package/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
- package/serialization/resources/identities/resources/blocks/client/index.js +37 -0
- package/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
- package/serialization/resources/identities/resources/blocks/client/list.js +42 -0
- package/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
- package/serialization/resources/identities/resources/blocks/index.js +18 -0
- package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
- package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
- package/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
- package/serialization/resources/identities/resources/blocks/types/index.js +17 -0
- package/serialization/resources/identities/resources/index.d.ts +4 -0
- package/serialization/resources/identities/resources/index.js +8 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.js → RetrieveMetadataRequest.js} +0 -0
- /package/{dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js → api/resources/folders/resources/agents/client/requests/AgentsListRequest.js} +0 -0
|
@@ -32,8 +32,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.properties = __importStar(require("./properties"));
|
|
39
|
+
exports.properties = exports.blocks = exports.agents = void 0;
|
|
38
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
|
+
__exportStar(require("./agents/types"), exports);
|
|
39
42
|
exports.blocks = __importStar(require("./blocks"));
|
|
43
|
+
__exportStar(require("./blocks/types"), exports);
|
|
44
|
+
exports.properties = __importStar(require("./properties"));
|
|
45
|
+
__exportStar(require("./agents/client/requests"), exports);
|
|
46
|
+
__exportStar(require("./blocks/client/requests"), exports);
|
|
@@ -84,7 +84,7 @@ class Properties {
|
|
|
84
84
|
method: "PUT",
|
|
85
85
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
86
86
|
? yield core.Supplier.get(this._options.project)
|
|
87
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
87
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
|
|
@@ -99,7 +99,7 @@ class Jobs {
|
|
|
99
99
|
method: "GET",
|
|
100
100
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
101
101
|
? yield core.Supplier.get(this._options.project)
|
|
102
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
102
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
103
103
|
contentType: "application/json",
|
|
104
104
|
queryParameters: _queryParams,
|
|
105
105
|
requestType: "json",
|
|
@@ -193,7 +193,7 @@ class Jobs {
|
|
|
193
193
|
method: "GET",
|
|
194
194
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
195
195
|
? yield core.Supplier.get(this._options.project)
|
|
196
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
196
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
queryParameters: _queryParams,
|
|
199
199
|
requestType: "json",
|
|
@@ -270,7 +270,7 @@ class Jobs {
|
|
|
270
270
|
method: "GET",
|
|
271
271
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
272
272
|
? yield core.Supplier.get(this._options.project)
|
|
273
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
273
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
274
274
|
contentType: "application/json",
|
|
275
275
|
requestType: "json",
|
|
276
276
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -346,7 +346,7 @@ class Jobs {
|
|
|
346
346
|
method: "DELETE",
|
|
347
347
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
348
348
|
? yield core.Supplier.get(this._options.project)
|
|
349
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
349
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
requestType: "json",
|
|
352
352
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -425,7 +425,7 @@ class Jobs {
|
|
|
425
425
|
method: "PATCH",
|
|
426
426
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
427
427
|
? yield core.Supplier.get(this._options.project)
|
|
428
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
428
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
429
429
|
contentType: "application/json",
|
|
430
430
|
requestType: "json",
|
|
431
431
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -106,7 +106,7 @@ class Models {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.project)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -178,7 +178,7 @@ class Models {
|
|
|
178
178
|
method: "GET",
|
|
179
179
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
180
180
|
? yield core.Supplier.get(this._options.project)
|
|
181
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
181
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -80,7 +80,7 @@ class Embeddings {
|
|
|
80
80
|
method: "GET",
|
|
81
81
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
82
82
|
? yield core.Supplier.get(this._options.project)
|
|
83
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
83
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -89,7 +89,7 @@ class Projects {
|
|
|
89
89
|
method: "GET",
|
|
90
90
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
91
91
|
? yield core.Supplier.get(this._options.project)
|
|
92
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
92
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "json",
|
|
@@ -108,7 +108,7 @@ class Providers {
|
|
|
108
108
|
method: "GET",
|
|
109
109
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
110
110
|
? yield core.Supplier.get(this._options.project)
|
|
111
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
111
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
112
112
|
contentType: "application/json",
|
|
113
113
|
queryParameters: _queryParams,
|
|
114
114
|
requestType: "json",
|
|
@@ -189,7 +189,7 @@ class Providers {
|
|
|
189
189
|
method: "POST",
|
|
190
190
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
191
191
|
? yield core.Supplier.get(this._options.project)
|
|
192
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
192
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -266,7 +266,7 @@ class Providers {
|
|
|
266
266
|
method: "GET",
|
|
267
267
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
268
268
|
? yield core.Supplier.get(this._options.project)
|
|
269
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
269
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
requestType: "json",
|
|
272
272
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -342,7 +342,7 @@ class Providers {
|
|
|
342
342
|
method: "DELETE",
|
|
343
343
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
344
344
|
? yield core.Supplier.get(this._options.project)
|
|
345
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
345
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
346
346
|
contentType: "application/json",
|
|
347
347
|
requestType: "json",
|
|
348
348
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -412,7 +412,7 @@ class Providers {
|
|
|
412
412
|
method: "PATCH",
|
|
413
413
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
414
414
|
? yield core.Supplier.get(this._options.project)
|
|
415
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
415
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
416
416
|
contentType: "application/json",
|
|
417
417
|
requestType: "json",
|
|
418
418
|
body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -492,7 +492,7 @@ class Providers {
|
|
|
492
492
|
method: "POST",
|
|
493
493
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
494
494
|
? yield core.Supplier.get(this._options.project)
|
|
495
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
495
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
496
496
|
contentType: "application/json",
|
|
497
497
|
requestType: "json",
|
|
498
498
|
body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -121,7 +121,7 @@ class Runs {
|
|
|
121
121
|
method: "GET",
|
|
122
122
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
123
123
|
? yield core.Supplier.get(this._options.project)
|
|
124
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
124
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
125
125
|
contentType: "application/json",
|
|
126
126
|
queryParameters: _queryParams,
|
|
127
127
|
requestType: "json",
|
|
@@ -211,7 +211,7 @@ class Runs {
|
|
|
211
211
|
method: "GET",
|
|
212
212
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
213
213
|
? yield core.Supplier.get(this._options.project)
|
|
214
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
214
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
215
215
|
contentType: "application/json",
|
|
216
216
|
queryParameters: _queryParams,
|
|
217
217
|
requestType: "json",
|
|
@@ -288,7 +288,7 @@ class Runs {
|
|
|
288
288
|
method: "GET",
|
|
289
289
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
290
290
|
? yield core.Supplier.get(this._options.project)
|
|
291
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
291
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
292
292
|
contentType: "application/json",
|
|
293
293
|
requestType: "json",
|
|
294
294
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -364,7 +364,7 @@ class Runs {
|
|
|
364
364
|
method: "DELETE",
|
|
365
365
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
366
366
|
? yield core.Supplier.get(this._options.project)
|
|
367
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
367
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
368
368
|
contentType: "application/json",
|
|
369
369
|
requestType: "json",
|
|
370
370
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -429,7 +429,7 @@ class Runs {
|
|
|
429
429
|
method: "POST",
|
|
430
430
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
431
431
|
? yield core.Supplier.get(this._options.project)
|
|
432
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
432
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
433
433
|
contentType: "application/json",
|
|
434
434
|
requestType: "json",
|
|
435
435
|
body: serializers.RetrieveStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -98,7 +98,7 @@ class Messages {
|
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
100
100
|
? yield core.Supplier.get(this._options.project)
|
|
101
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
101
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -106,7 +106,7 @@ class Steps {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.project)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class Usage {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -90,7 +90,7 @@ class Sources {
|
|
|
90
90
|
method: "GET",
|
|
91
91
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
92
92
|
? yield core.Supplier.get(this._options.project)
|
|
93
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
93
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
requestType: "json",
|
|
96
96
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -166,7 +166,7 @@ class Sources {
|
|
|
166
166
|
method: "GET",
|
|
167
167
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
168
168
|
? yield core.Supplier.get(this._options.project)
|
|
169
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
169
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
requestType: "json",
|
|
172
172
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -242,7 +242,7 @@ class Sources {
|
|
|
242
242
|
method: "DELETE",
|
|
243
243
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
244
244
|
? yield core.Supplier.get(this._options.project)
|
|
245
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
245
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
requestType: "json",
|
|
248
248
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -310,7 +310,7 @@ class Sources {
|
|
|
310
310
|
method: "PATCH",
|
|
311
311
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
312
312
|
? yield core.Supplier.get(this._options.project)
|
|
313
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
313
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
314
314
|
contentType: "application/json",
|
|
315
315
|
requestType: "json",
|
|
316
316
|
body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -387,7 +387,7 @@ class Sources {
|
|
|
387
387
|
method: "GET",
|
|
388
388
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
389
389
|
? yield core.Supplier.get(this._options.project)
|
|
390
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
390
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
391
391
|
contentType: "application/json",
|
|
392
392
|
requestType: "json",
|
|
393
393
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -474,7 +474,7 @@ class Sources {
|
|
|
474
474
|
method: "GET",
|
|
475
475
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
476
476
|
? yield core.Supplier.get(this._options.project)
|
|
477
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
477
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
478
478
|
contentType: "application/json",
|
|
479
479
|
queryParameters: _queryParams,
|
|
480
480
|
requestType: "json",
|
|
@@ -550,7 +550,7 @@ class Sources {
|
|
|
550
550
|
method: "GET",
|
|
551
551
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
552
552
|
? yield core.Supplier.get(this._options.project)
|
|
553
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
553
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
554
554
|
contentType: "application/json",
|
|
555
555
|
requestType: "json",
|
|
556
556
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -628,7 +628,7 @@ class Sources {
|
|
|
628
628
|
method: "POST",
|
|
629
629
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
630
630
|
? yield core.Supplier.get(this._options.project)
|
|
631
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
631
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
632
632
|
contentType: "application/json",
|
|
633
633
|
requestType: "json",
|
|
634
634
|
body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -705,7 +705,7 @@ class Sources {
|
|
|
705
705
|
method: "GET",
|
|
706
706
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
707
707
|
? yield core.Supplier.get(this._options.project)
|
|
708
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
708
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
709
709
|
contentType: "application/json",
|
|
710
710
|
requestType: "json",
|
|
711
711
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -788,7 +788,7 @@ class Sources {
|
|
|
788
788
|
method: "GET",
|
|
789
789
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
790
790
|
? yield core.Supplier.get(this._options.project)
|
|
791
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
791
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
792
792
|
contentType: "application/json",
|
|
793
793
|
queryParameters: _queryParams,
|
|
794
794
|
requestType: "json",
|
|
@@ -93,7 +93,7 @@ class Files {
|
|
|
93
93
|
method: "POST",
|
|
94
94
|
headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
95
95
|
? yield core.Supplier.get(this._options.project)
|
|
96
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
96
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "file",
|
|
99
99
|
duplex: _maybeEncodedRequest.duplex,
|
|
@@ -186,7 +186,7 @@ class Files {
|
|
|
186
186
|
method: "GET",
|
|
187
187
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
188
188
|
? yield core.Supplier.get(this._options.project)
|
|
189
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
189
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
queryParameters: _queryParams,
|
|
192
192
|
requestType: "json",
|
|
@@ -264,7 +264,7 @@ class Files {
|
|
|
264
264
|
method: "DELETE",
|
|
265
265
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
266
266
|
? yield core.Supplier.get(this._options.project)
|
|
267
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
267
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
requestType: "json",
|
|
270
270
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -93,7 +93,7 @@ class Passages {
|
|
|
93
93
|
method: "GET",
|
|
94
94
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
95
95
|
? yield core.Supplier.get(this._options.project)
|
|
96
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
96
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Steps {
|
|
|
154
154
|
method: "GET",
|
|
155
155
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
156
156
|
? yield core.Supplier.get(this._options.project)
|
|
157
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
157
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -231,7 +231,7 @@ class Steps {
|
|
|
231
231
|
method: "GET",
|
|
232
232
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
233
233
|
? yield core.Supplier.get(this._options.project)
|
|
234
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
234
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
requestType: "json",
|
|
237
237
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -82,7 +82,7 @@ class Feedback {
|
|
|
82
82
|
method: "PATCH",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.steps.ModifyFeedbackRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -81,7 +81,7 @@ class Metrics {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -79,7 +79,7 @@ class Trace {
|
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
81
81
|
? yield core.Supplier.get(this._options.project)
|
|
82
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
82
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
requestType: "json",
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -76,7 +76,7 @@ class Tags {
|
|
|
76
76
|
__list() {
|
|
77
77
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
78
78
|
var _a, _b, _c;
|
|
79
|
-
const { before, after, limit, order, orderBy, queryText } = request;
|
|
79
|
+
const { before, after, limit, order, orderBy, queryText, name } = request;
|
|
80
80
|
const _queryParams = {};
|
|
81
81
|
if (before != null) {
|
|
82
82
|
_queryParams["before"] = before;
|
|
@@ -98,12 +98,15 @@ class Tags {
|
|
|
98
98
|
if (queryText != null) {
|
|
99
99
|
_queryParams["query_text"] = queryText;
|
|
100
100
|
}
|
|
101
|
+
if (name != null) {
|
|
102
|
+
_queryParams["name"] = name;
|
|
103
|
+
}
|
|
101
104
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
102
105
|
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/tags/"),
|
|
103
106
|
method: "GET",
|
|
104
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
105
108
|
? yield core.Supplier.get(this._options.project)
|
|
106
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
107
110
|
contentType: "application/json",
|
|
108
111
|
queryParameters: _queryParams,
|
|
109
112
|
requestType: "json",
|
|
@@ -28,7 +28,11 @@ export interface TagsListRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
orderBy?: "name";
|
|
30
30
|
/**
|
|
31
|
-
* Filter tags by text search
|
|
31
|
+
* Filter tags by text search. Deprecated, please use name field instead
|
|
32
32
|
*/
|
|
33
33
|
queryText?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Filter tags by name
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
34
38
|
}
|
|
@@ -83,7 +83,7 @@ class Telemetry {
|
|
|
83
83
|
method: "GET",
|
|
84
84
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.project)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
86
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68655", "User-Agent": "@letta-ai/letta-client/0.0.68655", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|