@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
|
@@ -56,7 +56,8 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
56
56
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
57
57
|
const errors = __importStar(require("../../../../errors/index"));
|
|
58
58
|
const Client_1 = require("../resources/files/client/Client");
|
|
59
|
-
const Client_2 = require("../resources/
|
|
59
|
+
const Client_2 = require("../resources/agents/client/Client");
|
|
60
|
+
const Client_3 = require("../resources/passages/client/Client");
|
|
60
61
|
class Folders {
|
|
61
62
|
constructor(_options = {}) {
|
|
62
63
|
this._options = _options;
|
|
@@ -65,9 +66,13 @@ class Folders {
|
|
|
65
66
|
var _a;
|
|
66
67
|
return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_1.Files(this._options)));
|
|
67
68
|
}
|
|
69
|
+
get agents() {
|
|
70
|
+
var _a;
|
|
71
|
+
return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new Client_2.Agents(this._options)));
|
|
72
|
+
}
|
|
68
73
|
get passages() {
|
|
69
74
|
var _a;
|
|
70
|
-
return ((_a = this._passages) !== null && _a !== void 0 ? _a : (this._passages = new
|
|
75
|
+
return ((_a = this._passages) !== null && _a !== void 0 ? _a : (this._passages = new Client_3.Passages(this._options)));
|
|
71
76
|
}
|
|
72
77
|
/**
|
|
73
78
|
* Count all data folders created by a user.
|
|
@@ -90,7 +95,7 @@ class Folders {
|
|
|
90
95
|
method: "GET",
|
|
91
96
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
92
97
|
? 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.
|
|
98
|
+
: 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
99
|
contentType: "application/json",
|
|
95
100
|
requestType: "json",
|
|
96
101
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -166,7 +171,7 @@ class Folders {
|
|
|
166
171
|
method: "GET",
|
|
167
172
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
168
173
|
? 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.
|
|
174
|
+
: 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
175
|
contentType: "application/json",
|
|
171
176
|
requestType: "json",
|
|
172
177
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -242,7 +247,7 @@ class Folders {
|
|
|
242
247
|
method: "DELETE",
|
|
243
248
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
244
249
|
? 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.
|
|
250
|
+
: 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
251
|
contentType: "application/json",
|
|
247
252
|
requestType: "json",
|
|
248
253
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -310,7 +315,7 @@ class Folders {
|
|
|
310
315
|
method: "PATCH",
|
|
311
316
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
312
317
|
? 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.
|
|
318
|
+
: 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
319
|
contentType: "application/json",
|
|
315
320
|
requestType: "json",
|
|
316
321
|
body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -366,7 +371,10 @@ class Folders {
|
|
|
366
371
|
});
|
|
367
372
|
}
|
|
368
373
|
/**
|
|
369
|
-
*
|
|
374
|
+
* **Deprecated**: Please use the list endpoint `/GET v1/folders?name=` instead.
|
|
375
|
+
*
|
|
376
|
+
*
|
|
377
|
+
* Get a folder by name.
|
|
370
378
|
*
|
|
371
379
|
* @param {string} folderName
|
|
372
380
|
* @param {Folders.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -387,7 +395,7 @@ class Folders {
|
|
|
387
395
|
method: "GET",
|
|
388
396
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
389
397
|
? 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.
|
|
398
|
+
: 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
399
|
contentType: "application/json",
|
|
392
400
|
requestType: "json",
|
|
393
401
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -450,18 +458,18 @@ class Folders {
|
|
|
450
458
|
* - Total size of all files
|
|
451
459
|
* - Per-source breakdown with file details (file_name, file_size per file) if include_detailed_per_source_metadata is True
|
|
452
460
|
*
|
|
453
|
-
* @param {Letta.
|
|
461
|
+
* @param {Letta.RetrieveMetadataRequest} request
|
|
454
462
|
* @param {Folders.RequestOptions} requestOptions - Request-specific configuration.
|
|
455
463
|
*
|
|
456
464
|
* @throws {@link Letta.UnprocessableEntityError}
|
|
457
465
|
*
|
|
458
466
|
* @example
|
|
459
|
-
* await client.folders.
|
|
467
|
+
* await client.folders.retrieveMetadata()
|
|
460
468
|
*/
|
|
461
|
-
|
|
462
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
469
|
+
retrieveMetadata(request = {}, requestOptions) {
|
|
470
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieveMetadata(request, requestOptions));
|
|
463
471
|
}
|
|
464
|
-
|
|
472
|
+
__retrieveMetadata() {
|
|
465
473
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
466
474
|
var _a, _b, _c;
|
|
467
475
|
const { includeDetailedPerSourceMetadata } = request;
|
|
@@ -474,7 +482,7 @@ class Folders {
|
|
|
474
482
|
method: "GET",
|
|
475
483
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
476
484
|
? 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.
|
|
485
|
+
: 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
486
|
contentType: "application/json",
|
|
479
487
|
queryParameters: _queryParams,
|
|
480
488
|
requestType: "json",
|
|
@@ -546,7 +554,7 @@ class Folders {
|
|
|
546
554
|
__list() {
|
|
547
555
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
548
556
|
var _a, _b, _c;
|
|
549
|
-
const { before, after, limit, order, orderBy } = request;
|
|
557
|
+
const { before, after, limit, order, orderBy, name } = request;
|
|
550
558
|
const _queryParams = {};
|
|
551
559
|
if (before != null) {
|
|
552
560
|
_queryParams["before"] = before;
|
|
@@ -565,12 +573,15 @@ class Folders {
|
|
|
565
573
|
if (orderBy != null) {
|
|
566
574
|
_queryParams["order_by"] = orderBy;
|
|
567
575
|
}
|
|
576
|
+
if (name != null) {
|
|
577
|
+
_queryParams["name"] = name;
|
|
578
|
+
}
|
|
568
579
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
569
580
|
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/folders/"),
|
|
570
581
|
method: "GET",
|
|
571
582
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
572
583
|
? yield core.Supplier.get(this._options.project)
|
|
573
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
584
|
+
: 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),
|
|
574
585
|
contentType: "application/json",
|
|
575
586
|
queryParameters: _queryParams,
|
|
576
587
|
requestType: "json",
|
|
@@ -649,7 +660,7 @@ class Folders {
|
|
|
649
660
|
method: "POST",
|
|
650
661
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
651
662
|
? yield core.Supplier.get(this._options.project)
|
|
652
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
663
|
+
: 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),
|
|
653
664
|
contentType: "application/json",
|
|
654
665
|
requestType: "json",
|
|
655
666
|
body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -704,82 +715,6 @@ class Folders {
|
|
|
704
715
|
}
|
|
705
716
|
});
|
|
706
717
|
}
|
|
707
|
-
/**
|
|
708
|
-
* Get all agent IDs that have the specified folder attached.
|
|
709
|
-
*
|
|
710
|
-
* @param {string} folderId
|
|
711
|
-
* @param {Folders.RequestOptions} requestOptions - Request-specific configuration.
|
|
712
|
-
*
|
|
713
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
714
|
-
*
|
|
715
|
-
* @example
|
|
716
|
-
* await client.folders.getAgentsForFolder("folder_id")
|
|
717
|
-
*/
|
|
718
|
-
getAgentsForFolder(folderId, requestOptions) {
|
|
719
|
-
return core.HttpResponsePromise.fromPromise(this.__getAgentsForFolder(folderId, requestOptions));
|
|
720
|
-
}
|
|
721
|
-
__getAgentsForFolder(folderId, requestOptions) {
|
|
722
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
723
|
-
var _a, _b, _c;
|
|
724
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
725
|
-
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/folders/${encodeURIComponent(folderId)}/agents`),
|
|
726
|
-
method: "GET",
|
|
727
|
-
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
728
|
-
? yield core.Supplier.get(this._options.project)
|
|
729
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68653", "User-Agent": "@letta-ai/letta-client/0.0.68653", "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),
|
|
730
|
-
contentType: "application/json",
|
|
731
|
-
requestType: "json",
|
|
732
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
733
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
734
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
735
|
-
});
|
|
736
|
-
if (_response.ok) {
|
|
737
|
-
return {
|
|
738
|
-
data: serializers.folders.getAgentsForFolder.Response.parseOrThrow(_response.body, {
|
|
739
|
-
unrecognizedObjectKeys: "passthrough",
|
|
740
|
-
allowUnrecognizedUnionMembers: true,
|
|
741
|
-
allowUnrecognizedEnumValues: true,
|
|
742
|
-
skipValidation: true,
|
|
743
|
-
breadcrumbsPrefix: ["response"],
|
|
744
|
-
}),
|
|
745
|
-
rawResponse: _response.rawResponse,
|
|
746
|
-
};
|
|
747
|
-
}
|
|
748
|
-
if (_response.error.reason === "status-code") {
|
|
749
|
-
switch (_response.error.statusCode) {
|
|
750
|
-
case 422:
|
|
751
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
752
|
-
unrecognizedObjectKeys: "passthrough",
|
|
753
|
-
allowUnrecognizedUnionMembers: true,
|
|
754
|
-
allowUnrecognizedEnumValues: true,
|
|
755
|
-
skipValidation: true,
|
|
756
|
-
breadcrumbsPrefix: ["response"],
|
|
757
|
-
}), _response.rawResponse);
|
|
758
|
-
default:
|
|
759
|
-
throw new errors.LettaError({
|
|
760
|
-
statusCode: _response.error.statusCode,
|
|
761
|
-
body: _response.error.body,
|
|
762
|
-
rawResponse: _response.rawResponse,
|
|
763
|
-
});
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
switch (_response.error.reason) {
|
|
767
|
-
case "non-json":
|
|
768
|
-
throw new errors.LettaError({
|
|
769
|
-
statusCode: _response.error.statusCode,
|
|
770
|
-
body: _response.error.rawBody,
|
|
771
|
-
rawResponse: _response.rawResponse,
|
|
772
|
-
});
|
|
773
|
-
case "timeout":
|
|
774
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/folders/{folder_id}/agents.");
|
|
775
|
-
case "unknown":
|
|
776
|
-
throw new errors.LettaError({
|
|
777
|
-
message: _response.error.errorMessage,
|
|
778
|
-
rawResponse: _response.rawResponse,
|
|
779
|
-
});
|
|
780
|
-
}
|
|
781
|
-
});
|
|
782
|
-
}
|
|
783
718
|
_getCustomAuthorizationHeaders() {
|
|
784
719
|
return __awaiter(this, void 0, void 0, function* () {
|
|
785
720
|
const tokenValue = yield core.Supplier.get(this._options.token);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { type RetrieveMetadataRequest } from "./RetrieveMetadataRequest";
|
|
2
2
|
export { type FoldersListRequest } from "./FoldersListRequest";
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./client"), exports);
|
|
19
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as Letta from "../../../../../index";
|
|
7
|
+
export declare namespace Agents {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.LettaEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<string | undefined>;
|
|
13
|
+
/** Override the X-Project header */
|
|
14
|
+
project?: core.Supplier<string | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Override the X-Project header */
|
|
25
|
+
project?: string | undefined;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class Agents {
|
|
31
|
+
protected readonly _options: Agents.Options;
|
|
32
|
+
constructor(_options?: Agents.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Get all agent IDs that have the specified folder attached.
|
|
35
|
+
*
|
|
36
|
+
* @param {string} folderId
|
|
37
|
+
* @param {Letta.folders.AgentsListRequest} request
|
|
38
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.folders.agents.list("folder_id")
|
|
44
|
+
*/
|
|
45
|
+
list(folderId: string, request?: Letta.folders.AgentsListRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<string[]>;
|
|
46
|
+
private __list;
|
|
47
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
48
|
+
Authorization: string;
|
|
49
|
+
}>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.Agents = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const Letta = __importStar(require("../../../../../index"));
|
|
55
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
57
|
+
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
|
+
class Agents {
|
|
59
|
+
constructor(_options = {}) {
|
|
60
|
+
this._options = _options;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get all agent IDs that have the specified folder attached.
|
|
64
|
+
*
|
|
65
|
+
* @param {string} folderId
|
|
66
|
+
* @param {Letta.folders.AgentsListRequest} request
|
|
67
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.folders.agents.list("folder_id")
|
|
73
|
+
*/
|
|
74
|
+
list(folderId, request = {}, requestOptions) {
|
|
75
|
+
return core.HttpResponsePromise.fromPromise(this.__list(folderId, request, requestOptions));
|
|
76
|
+
}
|
|
77
|
+
__list(folderId_1) {
|
|
78
|
+
return __awaiter(this, arguments, void 0, function* (folderId, request = {}, requestOptions) {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
const { before, after, limit, order, orderBy } = request;
|
|
81
|
+
const _queryParams = {};
|
|
82
|
+
if (before != null) {
|
|
83
|
+
_queryParams["before"] = before;
|
|
84
|
+
}
|
|
85
|
+
if (after != null) {
|
|
86
|
+
_queryParams["after"] = after;
|
|
87
|
+
}
|
|
88
|
+
if (limit != null) {
|
|
89
|
+
_queryParams["limit"] = limit.toString();
|
|
90
|
+
}
|
|
91
|
+
if (order != null) {
|
|
92
|
+
_queryParams["order"] = serializers.folders.AgentsListRequestOrder.jsonOrThrow(order, {
|
|
93
|
+
unrecognizedObjectKeys: "strip",
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
if (orderBy != null) {
|
|
97
|
+
_queryParams["order_by"] = orderBy;
|
|
98
|
+
}
|
|
99
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
100
|
+
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/folders/${encodeURIComponent(folderId)}/agents`),
|
|
101
|
+
method: "GET",
|
|
102
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
103
|
+
? yield core.Supplier.get(this._options.project)
|
|
104
|
+
: 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),
|
|
105
|
+
contentType: "application/json",
|
|
106
|
+
queryParameters: _queryParams,
|
|
107
|
+
requestType: "json",
|
|
108
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
109
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
110
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
111
|
+
});
|
|
112
|
+
if (_response.ok) {
|
|
113
|
+
return {
|
|
114
|
+
data: serializers.folders.agents.list.Response.parseOrThrow(_response.body, {
|
|
115
|
+
unrecognizedObjectKeys: "passthrough",
|
|
116
|
+
allowUnrecognizedUnionMembers: true,
|
|
117
|
+
allowUnrecognizedEnumValues: true,
|
|
118
|
+
skipValidation: true,
|
|
119
|
+
breadcrumbsPrefix: ["response"],
|
|
120
|
+
}),
|
|
121
|
+
rawResponse: _response.rawResponse,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
if (_response.error.reason === "status-code") {
|
|
125
|
+
switch (_response.error.statusCode) {
|
|
126
|
+
case 422:
|
|
127
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
128
|
+
unrecognizedObjectKeys: "passthrough",
|
|
129
|
+
allowUnrecognizedUnionMembers: true,
|
|
130
|
+
allowUnrecognizedEnumValues: true,
|
|
131
|
+
skipValidation: true,
|
|
132
|
+
breadcrumbsPrefix: ["response"],
|
|
133
|
+
}), _response.rawResponse);
|
|
134
|
+
default:
|
|
135
|
+
throw new errors.LettaError({
|
|
136
|
+
statusCode: _response.error.statusCode,
|
|
137
|
+
body: _response.error.body,
|
|
138
|
+
rawResponse: _response.rawResponse,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
switch (_response.error.reason) {
|
|
143
|
+
case "non-json":
|
|
144
|
+
throw new errors.LettaError({
|
|
145
|
+
statusCode: _response.error.statusCode,
|
|
146
|
+
body: _response.error.rawBody,
|
|
147
|
+
rawResponse: _response.rawResponse,
|
|
148
|
+
});
|
|
149
|
+
case "timeout":
|
|
150
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/folders/{folder_id}/agents.");
|
|
151
|
+
case "unknown":
|
|
152
|
+
throw new errors.LettaError({
|
|
153
|
+
message: _response.error.errorMessage,
|
|
154
|
+
rawResponse: _response.rawResponse,
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
_getCustomAuthorizationHeaders() {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
const tokenValue = yield core.Supplier.get(this._options.token);
|
|
162
|
+
return { Authorization: `Bearer ${tokenValue}` };
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.Agents = Agents;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface AgentsListRequest {
|
|
10
|
+
/**
|
|
11
|
+
* Agent ID cursor for pagination. Returns agents that come before this agent ID in the specified sort order
|
|
12
|
+
*/
|
|
13
|
+
before?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Agent ID cursor for pagination. Returns agents that come after this agent ID in the specified sort order
|
|
16
|
+
*/
|
|
17
|
+
after?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Maximum number of agents to return
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sort order for agents by creation time. 'asc' for oldest first, 'desc' for newest first
|
|
24
|
+
*/
|
|
25
|
+
order?: Letta.folders.AgentsListRequestOrder;
|
|
26
|
+
/**
|
|
27
|
+
* Field to sort by
|
|
28
|
+
*/
|
|
29
|
+
orderBy?: "created_at";
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type AgentsListRequest } from "./AgentsListRequest";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sort order for agents by creation time. 'asc' for oldest first, 'desc' for newest first
|
|
6
|
+
*/
|
|
7
|
+
export type AgentsListRequestOrder = "asc" | "desc";
|
|
8
|
+
export declare const AgentsListRequestOrder: {
|
|
9
|
+
readonly Asc: "asc";
|
|
10
|
+
readonly Desc: "desc";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AgentsListRequestOrder = void 0;
|
|
7
|
+
exports.AgentsListRequestOrder = {
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
Desc: "desc",
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AgentsListRequestOrder";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AgentsListRequestOrder"), exports);
|