@letta-ai/letta-client 0.1.98 → 0.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +9 -0
- package/Client.js +39 -24
- package/api/resources/agents/client/Client.d.ts +13 -44
- package/api/resources/agents/client/Client.js +63 -228
- package/api/resources/agents/client/requests/index.d.ts +0 -3
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/groups/client/Client.d.ts +45 -0
- package/api/resources/agents/resources/groups/client/Client.js +141 -0
- package/api/resources/agents/{client/requests/ListAgentGroupsRequest.d.ts → resources/groups/client/requests/GroupsListRequest.d.ts} +1 -1
- package/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/index.d.ts +2 -0
- package/api/resources/agents/resources/index.js +3 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.d.ts +13 -0
- package/api/resources/agents/resources/messages/client/Client.js +77 -5
- package/{dist/api/resources/agents/client/requests/ResetMessagesRequest.d.ts → api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts} +1 -1
- package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/client/Client.d.ts +16 -0
- package/api/resources/agents/resources/passages/client/Client.js +73 -3
- package/api/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +1 -1
- package/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/{messages/resources/batches → batches}/client/Client.d.ts +9 -9
- package/api/resources/{messages/resources/batches → batches}/client/Client.js +16 -16
- package/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.d.ts +1 -1
- package/api/resources/blocks/client/Client.d.ts +3 -13
- package/api/resources/blocks/client/Client.js +10 -71
- package/api/resources/blocks/index.d.ts +1 -0
- package/api/resources/blocks/index.js +1 -0
- package/api/resources/blocks/resources/agents/client/Client.d.ts +45 -0
- package/api/resources/blocks/resources/agents/client/Client.js +135 -0
- package/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/client/index.js +2 -0
- package/api/resources/blocks/resources/index.d.ts +1 -0
- package/api/resources/blocks/resources/index.js +37 -0
- package/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -5
- package/api/resources/clientSideAccessTokens/client/Client.js +9 -9
- package/api/resources/clientSideAccessTokens/client/requests/{ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts → ClientSideAccessTokensCreateRequest.d.ts} +2 -2
- package/api/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +9 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
- package/{dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js → api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js} +2 -2
- package/{dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts → api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts} +2 -2
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +8 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +9 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js → ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js} +2 -2
- package/api/resources/clientSideAccessTokens/types/index.d.ts +6 -6
- package/api/resources/clientSideAccessTokens/types/index.js +6 -6
- package/api/resources/embeddings/client/Client.d.ts +39 -0
- package/api/resources/embeddings/client/Client.js +117 -0
- package/api/resources/embeddings/client/index.d.ts +1 -0
- package/api/resources/embeddings/client/index.js +2 -0
- package/api/resources/groups/client/Client.d.ts +0 -12
- package/api/resources/groups/client/Client.js +5 -64
- package/api/resources/groups/resources/messages/client/Client.d.ts +12 -0
- package/api/resources/groups/resources/messages/client/Client.js +63 -4
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.d.ts +3 -15
- package/api/resources/identities/client/Client.js +11 -71
- package/api/resources/identities/index.d.ts +1 -0
- package/api/resources/identities/index.js +1 -0
- package/api/resources/identities/resources/index.d.ts +1 -0
- package/api/resources/identities/resources/index.js +37 -0
- package/api/resources/identities/resources/properties/client/Client.d.ts +47 -0
- package/api/resources/identities/resources/properties/client/Client.js +134 -0
- package/api/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/api/resources/identities/resources/properties/client/index.js +2 -0
- package/api/resources/identities/resources/properties/index.d.ts +1 -0
- package/api/resources/identities/resources/properties/index.js +17 -0
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +5 -1
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/messages/client/Client.d.ts +0 -3
- package/api/resources/messages/client/Client.js +1 -6
- package/api/resources/messages/index.d.ts +0 -1
- package/api/resources/messages/index.js +0 -1
- package/api/resources/models/client/Client.d.ts +2 -9
- package/api/resources/models/client/Client.js +4 -53
- package/api/resources/projects/client/Client.d.ts +3 -3
- package/api/resources/projects/client/Client.js +5 -5
- package/{dist/api/resources/projects/client/requests/ProjectsListProjectsRequest.d.ts → api/resources/projects/client/requests/ProjectsListRequest.d.ts} +1 -1
- package/api/resources/projects/client/requests/index.d.ts +1 -1
- package/api/resources/projects/types/{ProjectsListProjectsResponse.d.ts → ProjectsListResponse.d.ts} +2 -2
- package/api/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +1 -1
- package/api/resources/projects/types/index.d.ts +2 -2
- package/api/resources/projects/types/index.js +2 -2
- package/api/resources/providers/client/Client.d.ts +21 -5
- package/api/resources/providers/client/Client.js +98 -10
- package/{dist/api/resources/providers/client/requests/ListProvidersRequest.d.ts → api/resources/providers/client/requests/ProvidersListRequest.d.ts} +1 -1
- package/api/resources/providers/client/requests/index.d.ts +1 -1
- package/api/resources/runs/client/Client.d.ts +18 -63
- package/api/resources/runs/client/Client.js +36 -231
- package/api/resources/runs/client/requests/{ListActiveRunsRequest.d.ts → RunsListActiveRequest.d.ts} +1 -1
- package/api/resources/runs/client/requests/index.d.ts +1 -3
- package/api/resources/runs/index.d.ts +1 -0
- package/api/resources/runs/index.js +1 -0
- package/api/resources/runs/resources/index.d.ts +5 -0
- package/api/resources/runs/resources/index.js +44 -0
- package/api/resources/runs/resources/messages/client/Client.d.ts +58 -0
- package/api/resources/runs/resources/messages/client/Client.js +166 -0
- package/{dist/api/resources/runs/client/requests/ListRunMessagesRequest.d.ts → api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts} +2 -2
- package/api/resources/runs/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/runs/resources/messages/client/requests/index.js +2 -0
- package/api/resources/runs/resources/messages/index.d.ts +1 -0
- package/api/resources/runs/resources/messages/index.js +17 -0
- package/api/resources/runs/resources/steps/client/Client.d.ts +55 -0
- package/api/resources/runs/resources/steps/client/Client.js +160 -0
- package/{dist/api/resources/runs/client/requests/ListRunStepsRequest.d.ts → api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts} +1 -1
- package/api/resources/runs/resources/steps/client/requests/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/client/requests/index.js +2 -0
- package/api/resources/runs/resources/steps/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/index.js +17 -0
- package/api/resources/runs/resources/usage/client/Client.d.ts +44 -0
- package/api/resources/runs/resources/usage/client/Client.js +134 -0
- package/api/resources/runs/resources/usage/client/index.d.ts +1 -0
- package/api/resources/runs/resources/usage/client/index.js +2 -0
- package/api/resources/runs/resources/usage/index.d.ts +1 -0
- package/api/resources/runs/resources/usage/index.js +17 -0
- package/api/resources/sources/client/Client.d.ts +2 -2
- package/api/resources/sources/client/Client.js +9 -9
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.d.ts +9 -2
- package/api/resources/steps/client/Client.js +47 -4
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/tags/client/Client.d.ts +38 -0
- package/api/resources/tags/client/Client.js +110 -0
- package/api/resources/tags/client/index.d.ts +1 -0
- package/api/resources/tags/client/index.js +2 -0
- package/api/resources/tags/index.d.ts +1 -0
- package/api/resources/tags/index.js +17 -0
- package/api/resources/templates/client/Client.d.ts +6 -15
- package/api/resources/templates/client/Client.js +10 -60
- package/api/resources/templates/client/requests/{TemplatesListTemplatesRequest.d.ts → TemplatesListRequest.d.ts} +1 -1
- package/api/resources/templates/client/requests/index.d.ts +1 -2
- package/api/resources/templates/index.d.ts +1 -0
- package/api/resources/templates/index.js +1 -0
- package/api/resources/templates/resources/agents/client/Client.d.ts +44 -0
- package/api/resources/templates/resources/agents/client/Client.js +123 -0
- package/api/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/client/index.js +17 -0
- package/{dist/api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts → api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts} +1 -1
- package/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/client/requests/index.js +2 -0
- package/api/resources/templates/resources/agents/index.d.ts +2 -0
- package/api/resources/templates/resources/agents/index.js +18 -0
- package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponse.d.ts → api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts} +2 -2
- package/api/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/types/index.js +17 -0
- package/api/resources/templates/resources/index.d.ts +3 -0
- package/api/resources/{messages → templates}/resources/index.js +4 -3
- package/{dist/api/resources/projects/types/ProjectsListProjectsResponse.d.ts → api/resources/templates/types/TemplatesListResponse.d.ts} +2 -2
- package/api/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.d.ts → TemplatesListResponseTemplatesItem.d.ts} +1 -1
- package/api/resources/templates/types/index.d.ts +2 -3
- package/api/resources/templates/types/index.js +2 -3
- package/api/resources/tools/client/Client.d.ts +2 -2
- package/api/resources/tools/client/Client.js +19 -19
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/Client.d.ts +9 -0
- package/dist/Client.js +39 -24
- package/dist/api/resources/agents/client/Client.d.ts +13 -44
- package/dist/api/resources/agents/client/Client.js +63 -228
- package/dist/api/resources/agents/client/requests/index.d.ts +0 -3
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/groups/client/Client.d.ts +45 -0
- package/dist/api/resources/agents/resources/groups/client/Client.js +141 -0
- package/dist/api/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/client/index.js +17 -0
- package/dist/api/resources/agents/{client/requests/ListAgentGroupsRequest.d.ts → resources/groups/client/requests/GroupsListRequest.d.ts} +1 -1
- package/dist/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/client/requests/index.js +2 -0
- package/dist/api/resources/agents/resources/groups/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/index.js +17 -0
- package/dist/api/resources/agents/resources/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/index.js +3 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +13 -0
- package/dist/api/resources/agents/resources/messages/client/Client.js +77 -5
- package/{api/resources/agents/client/requests/ResetMessagesRequest.d.ts → dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts} +1 -1
- package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/client/Client.d.ts +16 -0
- package/dist/api/resources/agents/resources/passages/client/Client.js +73 -3
- package/dist/api/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +1 -1
- package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/{messages/resources/batches → batches}/client/Client.d.ts +9 -9
- package/dist/api/resources/{messages/resources/batches → batches}/client/Client.js +16 -16
- package/dist/api/resources/batches/client/index.d.ts +1 -0
- package/dist/api/resources/batches/client/index.js +17 -0
- package/dist/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.d.ts +1 -1
- package/dist/api/resources/batches/client/requests/index.js +2 -0
- package/dist/api/resources/batches/index.d.ts +1 -0
- package/dist/api/resources/batches/index.js +17 -0
- package/dist/api/resources/blocks/client/Client.d.ts +3 -13
- package/dist/api/resources/blocks/client/Client.js +10 -71
- package/dist/api/resources/blocks/index.d.ts +1 -0
- package/dist/api/resources/blocks/index.js +1 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +45 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.js +135 -0
- package/dist/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/client/index.js +2 -0
- package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/index.js +17 -0
- package/dist/api/resources/blocks/resources/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/index.js +37 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -5
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +9 -9
- package/dist/api/resources/clientSideAccessTokens/client/requests/{ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts → ClientSideAccessTokensCreateRequest.d.ts} +2 -2
- package/dist/api/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +9 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
- package/{api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js → dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js} +2 -2
- package/{api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts → dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts} +2 -2
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +8 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +9 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js → ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js} +2 -2
- package/dist/api/resources/clientSideAccessTokens/types/index.d.ts +6 -6
- package/dist/api/resources/clientSideAccessTokens/types/index.js +6 -6
- package/dist/api/resources/embeddings/client/Client.d.ts +39 -0
- package/dist/api/resources/embeddings/client/Client.js +117 -0
- package/dist/api/resources/embeddings/client/index.d.ts +1 -0
- package/dist/api/resources/embeddings/client/index.js +2 -0
- package/dist/api/resources/embeddings/index.d.ts +1 -0
- package/dist/api/resources/embeddings/index.js +17 -0
- package/dist/api/resources/groups/client/Client.d.ts +0 -12
- package/dist/api/resources/groups/client/Client.js +5 -64
- package/dist/api/resources/groups/resources/messages/client/Client.d.ts +12 -0
- package/dist/api/resources/groups/resources/messages/client/Client.js +63 -4
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.d.ts +3 -15
- package/dist/api/resources/identities/client/Client.js +11 -71
- package/dist/api/resources/identities/index.d.ts +1 -0
- package/dist/api/resources/identities/index.js +1 -0
- package/dist/api/resources/identities/resources/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/index.js +37 -0
- package/dist/api/resources/identities/resources/properties/client/Client.d.ts +47 -0
- package/dist/api/resources/identities/resources/properties/client/Client.js +134 -0
- package/dist/api/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/properties/client/index.js +2 -0
- package/dist/api/resources/identities/resources/properties/index.d.ts +1 -0
- package/dist/api/resources/identities/resources/properties/index.js +17 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +5 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/messages/client/Client.d.ts +0 -3
- package/dist/api/resources/messages/client/Client.js +1 -6
- package/dist/api/resources/messages/index.d.ts +0 -1
- package/dist/api/resources/messages/index.js +0 -1
- package/dist/api/resources/models/client/Client.d.ts +2 -9
- package/dist/api/resources/models/client/Client.js +4 -53
- package/dist/api/resources/projects/client/Client.d.ts +3 -3
- package/dist/api/resources/projects/client/Client.js +5 -5
- package/{api/resources/projects/client/requests/ProjectsListProjectsRequest.d.ts → dist/api/resources/projects/client/requests/ProjectsListRequest.d.ts} +1 -1
- package/dist/api/resources/projects/client/requests/index.d.ts +1 -1
- package/{api/resources/templates/types/TemplatesListTemplatesResponse.d.ts → dist/api/resources/projects/types/ProjectsListResponse.d.ts} +2 -2
- package/dist/api/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +1 -1
- package/dist/api/resources/projects/types/index.d.ts +2 -2
- package/dist/api/resources/projects/types/index.js +2 -2
- package/dist/api/resources/providers/client/Client.d.ts +21 -5
- package/dist/api/resources/providers/client/Client.js +98 -10
- package/{api/resources/providers/client/requests/ListProvidersRequest.d.ts → dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts} +1 -1
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -1
- package/dist/api/resources/runs/client/Client.d.ts +18 -63
- package/dist/api/resources/runs/client/Client.js +36 -231
- package/dist/api/resources/runs/client/requests/{ListActiveRunsRequest.d.ts → RunsListActiveRequest.d.ts} +1 -1
- package/dist/api/resources/runs/client/requests/index.d.ts +1 -3
- package/dist/api/resources/runs/index.d.ts +1 -0
- package/dist/api/resources/runs/index.js +1 -0
- package/dist/api/resources/runs/resources/index.d.ts +5 -0
- package/dist/api/resources/runs/resources/index.js +44 -0
- package/dist/api/resources/runs/resources/messages/client/Client.d.ts +58 -0
- package/dist/api/resources/runs/resources/messages/client/Client.js +166 -0
- package/dist/api/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/messages/client/index.js +17 -0
- package/{api/resources/runs/client/requests/ListRunMessagesRequest.d.ts → dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts} +2 -2
- package/dist/api/resources/runs/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/runs/resources/messages/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/messages/index.js +17 -0
- package/dist/api/resources/runs/resources/steps/client/Client.d.ts +55 -0
- package/dist/api/resources/runs/resources/steps/client/Client.js +160 -0
- package/dist/api/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/client/index.js +17 -0
- package/{api/resources/runs/client/requests/ListRunStepsRequest.d.ts → dist/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts} +1 -1
- package/dist/api/resources/runs/resources/steps/client/requests/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/client/requests/index.js +2 -0
- package/dist/api/resources/runs/resources/steps/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/index.js +17 -0
- package/dist/api/resources/runs/resources/usage/client/Client.d.ts +44 -0
- package/dist/api/resources/runs/resources/usage/client/Client.js +134 -0
- package/dist/api/resources/runs/resources/usage/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/usage/client/index.js +2 -0
- package/dist/api/resources/runs/resources/usage/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/usage/index.js +17 -0
- package/dist/api/resources/sources/client/Client.d.ts +2 -2
- package/dist/api/resources/sources/client/Client.js +9 -9
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.d.ts +9 -2
- package/dist/api/resources/steps/client/Client.js +47 -4
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.d.ts +38 -0
- package/dist/api/resources/tags/client/Client.js +110 -0
- package/dist/api/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/tags/client/index.js +2 -0
- package/dist/api/resources/tags/index.d.ts +1 -0
- package/dist/api/resources/tags/index.js +17 -0
- package/dist/api/resources/templates/client/Client.d.ts +6 -15
- package/dist/api/resources/templates/client/Client.js +10 -60
- package/dist/api/resources/templates/client/requests/{TemplatesListTemplatesRequest.d.ts → TemplatesListRequest.d.ts} +1 -1
- package/dist/api/resources/templates/client/requests/index.d.ts +1 -2
- package/dist/api/resources/templates/index.d.ts +1 -0
- package/dist/api/resources/templates/index.js +1 -0
- package/dist/api/resources/templates/resources/agents/client/Client.d.ts +44 -0
- package/dist/api/resources/templates/resources/agents/client/Client.js +123 -0
- package/dist/api/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/client/index.js +17 -0
- package/{api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts → dist/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts} +1 -1
- package/dist/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/templates/resources/agents/index.d.ts +2 -0
- package/dist/api/resources/templates/resources/agents/index.js +18 -0
- package/{api/resources/templates/types/TemplatesCreateAgentsResponse.d.ts → dist/api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts} +2 -2
- package/dist/api/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/types/index.js +17 -0
- package/dist/api/resources/templates/resources/index.d.ts +3 -0
- package/dist/{serialization/resources/messages → api/resources/templates}/resources/index.js +4 -3
- package/dist/api/resources/templates/types/{TemplatesListTemplatesResponse.d.ts → TemplatesListResponse.d.ts} +2 -2
- package/dist/api/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.d.ts → TemplatesListResponseTemplatesItem.d.ts} +1 -1
- package/dist/api/resources/templates/types/index.d.ts +2 -3
- package/dist/api/resources/templates/types/index.js +2 -3
- package/dist/api/resources/tools/client/Client.d.ts +2 -2
- package/dist/api/resources/tools/client/Client.js +19 -19
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/agents/client/index.d.ts +0 -2
- package/dist/serialization/resources/agents/client/index.js +1 -3
- package/dist/serialization/resources/agents/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/agents/client/requests/index.js +1 -3
- package/dist/serialization/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/groups/client/index.js +37 -0
- package/{serialization/resources/messages/resources/batches → dist/serialization/resources/agents/resources/groups}/client/list.d.ts +3 -3
- package/{serialization/resources/agents/client/listAgentGroups.js → dist/serialization/resources/agents/resources/groups/client/list.js} +2 -2
- package/dist/serialization/resources/agents/resources/groups/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/groups/index.js +17 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/index.js +2 -1
- package/dist/serialization/resources/agents/resources/passages/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/client/index.js +2 -1
- package/dist/serialization/resources/agents/resources/passages/client/modify.d.ts +11 -0
- package/{serialization/resources/agents/client/modifyPassage.js → dist/serialization/resources/agents/resources/passages/client/modify.js} +2 -2
- package/dist/serialization/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +5 -5
- package/{serialization/resources/agents → dist/serialization/resources/agents/resources/passages}/client/requests/PassageUpdate.js +2 -2
- package/dist/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/client/requests/index.js +3 -1
- package/dist/serialization/resources/{agents/client/listAgentGroups.d.ts → batches/client/list.d.ts} +3 -3
- package/dist/serialization/resources/{agents/client/modifyPassage.js → batches/client/list.js} +2 -2
- package/dist/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +2 -2
- package/dist/serialization/resources/batches/index.d.ts +1 -0
- package/dist/serialization/resources/batches/index.js +17 -0
- package/dist/serialization/resources/blocks/client/index.d.ts +0 -1
- package/dist/serialization/resources/blocks/client/index.js +1 -2
- package/dist/serialization/resources/blocks/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/index.js +1 -0
- package/dist/serialization/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/blocks/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/blocks/{client/listAgentsForBlock.js → resources/agents/client/list.js} +2 -2
- package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/agents/index.js +17 -0
- package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/resources/index.js +37 -0
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +15 -0
- package/{serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js} +4 -4
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/index.js +3 -3
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +15 -0
- package/{serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js} +4 -4
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js +41 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts +16 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponse.js} +4 -4
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +14 -0
- package/dist/serialization/resources/{templates/types/TemplatesListTemplatesResponse.js → clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js} +5 -5
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +15 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → ClientSideAccessTokensCreateResponsePolicyDataItem.js} +4 -4
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +41 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/index.d.ts +6 -6
- package/dist/serialization/resources/clientSideAccessTokens/types/index.js +6 -6
- package/dist/serialization/resources/embeddings/client/index.d.ts +1 -0
- package/dist/serialization/resources/embeddings/client/index.js +37 -0
- package/{serialization/resources/models/client/listEmbeddingModels.d.ts → dist/serialization/resources/embeddings/client/list.d.ts} +1 -1
- package/dist/serialization/resources/embeddings/index.d.ts +1 -0
- package/dist/serialization/resources/embeddings/index.js +17 -0
- package/dist/serialization/resources/identities/client/index.d.ts +0 -1
- package/dist/serialization/resources/identities/client/index.js +1 -2
- package/dist/serialization/resources/identities/index.d.ts +1 -0
- package/dist/serialization/resources/identities/index.js +1 -0
- package/dist/serialization/resources/identities/resources/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/index.js +37 -0
- package/dist/serialization/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/properties/client/index.js +37 -0
- package/dist/serialization/resources/identities/resources/properties/client/upsert.d.ts +11 -0
- package/dist/serialization/resources/identities/{client/upsertIdentityProperties.js → resources/properties/client/upsert.js} +2 -2
- package/dist/serialization/resources/identities/resources/properties/index.d.ts +1 -0
- package/dist/serialization/resources/identities/resources/properties/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +3 -2
- package/dist/serialization/resources/index.js +4 -3
- package/dist/serialization/resources/models/client/index.d.ts +1 -2
- package/dist/serialization/resources/models/client/index.js +2 -3
- package/{serialization/resources/models/client/listLlms.d.ts → dist/serialization/resources/models/client/list.d.ts} +1 -1
- package/dist/serialization/resources/projects/types/ProjectsListResponse.d.ts +14 -0
- package/dist/serialization/resources/projects/types/{ProjectsListProjectsResponse.js → ProjectsListResponse.js} +4 -4
- package/dist/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +2 -2
- package/dist/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.js → ProjectsListResponseProjectsItem.js} +2 -2
- package/dist/serialization/resources/projects/types/index.d.ts +2 -2
- package/dist/serialization/resources/projects/types/index.js +2 -2
- package/dist/serialization/resources/providers/client/index.d.ts +1 -1
- package/dist/serialization/resources/providers/client/index.js +2 -2
- package/{serialization/resources/providers/client/listProviders.d.ts → dist/serialization/resources/providers/client/list.d.ts} +1 -1
- package/dist/serialization/resources/runs/client/index.d.ts +1 -3
- package/dist/serialization/resources/runs/client/index.js +2 -4
- package/{serialization/resources/runs/client/listActiveRuns.d.ts → dist/serialization/resources/runs/client/listActive.d.ts} +1 -1
- package/dist/serialization/resources/runs/index.d.ts +1 -0
- package/dist/serialization/resources/runs/index.js +1 -0
- package/dist/serialization/resources/runs/resources/index.d.ts +2 -0
- package/dist/serialization/resources/runs/resources/index.js +38 -0
- package/dist/serialization/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/messages/client/index.js +37 -0
- package/dist/serialization/resources/runs/resources/messages/client/list.d.ts +11 -0
- package/dist/serialization/resources/runs/{client/listRunMessages.js → resources/messages/client/list.js} +2 -2
- package/dist/serialization/resources/runs/resources/messages/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/messages/index.js +17 -0
- package/dist/serialization/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/steps/client/index.js +37 -0
- package/dist/serialization/resources/{messages/resources/batches → runs/resources/steps}/client/list.d.ts +3 -3
- package/dist/serialization/resources/runs/{client/listRunSteps.js → resources/steps/client/list.js} +2 -2
- package/dist/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/steps/index.js +17 -0
- package/dist/serialization/resources/sources/client/index.d.ts +1 -1
- package/dist/serialization/resources/sources/client/index.js +2 -2
- package/dist/serialization/resources/sources/client/{getByName.d.ts → retrieveByName.d.ts} +1 -1
- package/dist/serialization/resources/templates/index.d.ts +1 -1
- package/dist/serialization/resources/templates/index.js +1 -1
- package/dist/serialization/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/templates/resources/agents/client/index.js +17 -0
- package/dist/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +16 -0
- package/dist/serialization/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +3 -3
- package/dist/serialization/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/templates/resources/agents/client/requests/index.js +5 -0
- package/dist/serialization/resources/templates/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/templates/resources/agents/index.js +18 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
- package/{serialization/resources/messages/resources/batches/client/list.js → dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js} +5 -3
- package/dist/serialization/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/templates/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/templates/resources/index.d.ts +3 -0
- package/dist/{api/resources/messages → serialization/resources/templates}/resources/index.js +4 -3
- package/dist/serialization/resources/templates/types/TemplatesListResponse.d.ts +14 -0
- package/{serialization/resources/projects/types/ProjectsListProjectsResponse.js → dist/serialization/resources/templates/types/TemplatesListResponse.js} +4 -4
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +13 -0
- package/dist/serialization/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.js → TemplatesListResponseTemplatesItem.js} +2 -2
- package/dist/serialization/resources/templates/types/index.d.ts +2 -3
- package/dist/serialization/resources/templates/types/index.js +2 -3
- package/dist/serialization/resources/tools/client/index.d.ts +1 -1
- package/dist/serialization/resources/tools/client/index.js +2 -2
- package/{serialization/resources/tools/client/addBaseTool.d.ts → dist/serialization/resources/tools/client/upsertBaseTools.d.ts} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +921 -639
- package/serialization/resources/agents/client/index.d.ts +0 -2
- package/serialization/resources/agents/client/index.js +1 -3
- package/serialization/resources/agents/client/requests/index.d.ts +0 -1
- package/serialization/resources/agents/client/requests/index.js +1 -3
- package/serialization/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/groups/client/index.js +37 -0
- package/serialization/resources/agents/resources/groups/client/list.d.ts +11 -0
- package/{dist/serialization/resources/agents/client/listAgentGroups.js → serialization/resources/agents/resources/groups/client/list.js} +2 -2
- package/serialization/resources/agents/resources/groups/index.d.ts +1 -0
- package/serialization/resources/agents/resources/groups/index.js +17 -0
- package/serialization/resources/agents/resources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/index.js +2 -1
- package/serialization/resources/agents/resources/passages/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/client/index.js +2 -1
- package/serialization/resources/agents/resources/passages/client/modify.d.ts +11 -0
- package/{dist/serialization/resources/messages/resources/batches/client/list.js → serialization/resources/agents/resources/passages/client/modify.js} +2 -2
- package/serialization/resources/agents/{client → resources/passages/client}/requests/PassageUpdate.d.ts +5 -5
- package/{dist/serialization/resources/agents → serialization/resources/agents/resources/passages}/client/requests/PassageUpdate.js +2 -2
- package/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/client/requests/index.js +3 -1
- package/{dist/serialization/resources/runs/client/listRunSteps.d.ts → serialization/resources/batches/client/list.d.ts} +3 -3
- package/serialization/resources/batches/client/list.js +42 -0
- package/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/serialization/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +2 -2
- package/serialization/resources/batches/index.d.ts +1 -0
- package/serialization/resources/batches/index.js +17 -0
- package/serialization/resources/blocks/client/index.d.ts +0 -1
- package/serialization/resources/blocks/client/index.js +1 -2
- package/serialization/resources/blocks/index.d.ts +1 -0
- package/serialization/resources/blocks/index.js +1 -0
- package/serialization/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/client/index.js +37 -0
- package/serialization/resources/blocks/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/blocks/{client/listAgentsForBlock.js → resources/agents/client/list.js} +2 -2
- package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/agents/index.js +17 -0
- package/serialization/resources/blocks/resources/index.d.ts +1 -0
- package/serialization/resources/blocks/resources/index.js +37 -0
- package/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +15 -0
- package/{dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js} +4 -4
- package/serialization/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -1
- package/serialization/resources/clientSideAccessTokens/client/requests/index.js +3 -3
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +15 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js +46 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js +41 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts +16 -0
- package/serialization/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponse.js} +4 -4
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +14 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js +45 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +15 -0
- package/{dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js → serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.js} +4 -4
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +41 -0
- package/serialization/resources/clientSideAccessTokens/types/index.d.ts +6 -6
- package/serialization/resources/clientSideAccessTokens/types/index.js +6 -6
- package/serialization/resources/embeddings/client/index.d.ts +1 -0
- package/serialization/resources/embeddings/client/index.js +37 -0
- package/{dist/serialization/resources/models/client/listEmbeddingModels.d.ts → serialization/resources/embeddings/client/list.d.ts} +1 -1
- package/serialization/resources/embeddings/index.d.ts +1 -0
- package/serialization/resources/embeddings/index.js +17 -0
- package/serialization/resources/identities/client/index.d.ts +0 -1
- package/serialization/resources/identities/client/index.js +1 -2
- package/serialization/resources/identities/index.d.ts +1 -0
- package/serialization/resources/identities/index.js +1 -0
- package/serialization/resources/identities/resources/index.d.ts +1 -0
- package/serialization/resources/identities/resources/index.js +37 -0
- package/serialization/resources/identities/resources/properties/client/index.d.ts +1 -0
- package/serialization/resources/identities/resources/properties/client/index.js +37 -0
- package/serialization/resources/identities/resources/properties/client/upsert.d.ts +11 -0
- package/serialization/resources/identities/{client/upsertIdentityProperties.js → resources/properties/client/upsert.js} +2 -2
- package/serialization/resources/identities/resources/properties/index.d.ts +1 -0
- package/serialization/resources/identities/resources/properties/index.js +17 -0
- package/serialization/resources/index.d.ts +3 -2
- package/serialization/resources/index.js +4 -3
- package/serialization/resources/models/client/index.d.ts +1 -2
- package/serialization/resources/models/client/index.js +2 -3
- package/{dist/serialization/resources/models/client/listLlms.d.ts → serialization/resources/models/client/list.d.ts} +1 -1
- package/serialization/resources/projects/types/ProjectsListResponse.d.ts +14 -0
- package/serialization/resources/projects/types/ProjectsListResponse.js +45 -0
- package/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.d.ts → ProjectsListResponseProjectsItem.d.ts} +2 -2
- package/serialization/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.js → ProjectsListResponseProjectsItem.js} +2 -2
- package/serialization/resources/projects/types/index.d.ts +2 -2
- package/serialization/resources/projects/types/index.js +2 -2
- package/serialization/resources/providers/client/index.d.ts +1 -1
- package/serialization/resources/providers/client/index.js +2 -2
- package/{dist/serialization/resources/providers/client/listProviders.d.ts → serialization/resources/providers/client/list.d.ts} +1 -1
- package/serialization/resources/runs/client/index.d.ts +1 -3
- package/serialization/resources/runs/client/index.js +2 -4
- package/{dist/serialization/resources/runs/client/listActiveRuns.d.ts → serialization/resources/runs/client/listActive.d.ts} +1 -1
- package/serialization/resources/runs/index.d.ts +1 -0
- package/serialization/resources/runs/index.js +1 -0
- package/serialization/resources/runs/resources/index.d.ts +2 -0
- package/serialization/resources/runs/resources/index.js +38 -0
- package/serialization/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/serialization/resources/runs/resources/messages/client/index.js +37 -0
- package/serialization/resources/runs/resources/messages/client/list.d.ts +11 -0
- package/serialization/resources/runs/{client/listRunMessages.js → resources/messages/client/list.js} +2 -2
- package/serialization/resources/runs/resources/messages/index.d.ts +1 -0
- package/serialization/resources/runs/resources/messages/index.js +17 -0
- package/serialization/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/client/index.js +37 -0
- package/serialization/resources/runs/resources/steps/client/list.d.ts +11 -0
- package/serialization/resources/runs/{client/listRunSteps.js → resources/steps/client/list.js} +2 -2
- package/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/index.js +17 -0
- package/serialization/resources/sources/client/index.d.ts +1 -1
- package/serialization/resources/sources/client/index.js +2 -2
- package/serialization/resources/sources/client/{getByName.d.ts → retrieveByName.d.ts} +1 -1
- package/serialization/resources/templates/index.d.ts +1 -1
- package/serialization/resources/templates/index.js +1 -1
- package/serialization/resources/templates/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/templates/resources/agents/client/index.js +17 -0
- package/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +16 -0
- package/serialization/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +3 -3
- package/serialization/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/templates/resources/agents/client/requests/index.js +5 -0
- package/serialization/resources/templates/resources/agents/index.d.ts +2 -0
- package/serialization/resources/templates/resources/agents/index.js +18 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
- package/{dist/serialization/resources/templates/types/TemplatesCreateAgentsResponse.js → serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js} +4 -4
- package/serialization/resources/templates/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/templates/resources/agents/types/index.js +17 -0
- package/serialization/resources/templates/resources/index.d.ts +3 -0
- package/serialization/resources/templates/resources/index.js +42 -0
- package/serialization/resources/templates/types/TemplatesListResponse.d.ts +14 -0
- package/serialization/resources/templates/types/{TemplatesListTemplatesResponse.js → TemplatesListResponse.js} +4 -4
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +13 -0
- package/serialization/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.js → TemplatesListResponseTemplatesItem.js} +2 -2
- package/serialization/resources/templates/types/index.d.ts +2 -3
- package/serialization/resources/templates/types/index.js +2 -3
- package/serialization/resources/tools/client/index.d.ts +1 -1
- package/serialization/resources/tools/client/index.js +2 -2
- package/{dist/serialization/resources/tools/client/addBaseTool.d.ts → serialization/resources/tools/client/upsertBaseTools.d.ts} +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -9
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -8
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -9
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
- package/api/resources/messages/resources/index.d.ts +0 -2
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -9
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -8
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -9
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
- package/dist/api/resources/messages/resources/index.d.ts +0 -2
- package/dist/serialization/resources/agents/client/modifyPassage.d.ts +0 -11
- package/dist/serialization/resources/blocks/client/listAgentsForBlock.d.ts +0 -11
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts +0 -15
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -15
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js +0 -41
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts +0 -16
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -14
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js +0 -45
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -15
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js +0 -41
- package/dist/serialization/resources/identities/client/upsertIdentityProperties.d.ts +0 -11
- package/dist/serialization/resources/messages/index.d.ts +0 -1
- package/dist/serialization/resources/messages/index.js +0 -17
- package/dist/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +0 -14
- package/dist/serialization/resources/messages/resources/index.d.ts +0 -2
- package/dist/serialization/resources/projects/types/ProjectsListProjectsResponse.d.ts +0 -14
- package/dist/serialization/resources/runs/client/listRunMessages.d.ts +0 -11
- package/dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +0 -16
- package/dist/serialization/resources/templates/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/templates/client/requests/index.js +0 -5
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponse.d.ts +0 -13
- package/dist/serialization/resources/templates/types/TemplatesListTemplatesResponse.d.ts +0 -14
- package/dist/serialization/resources/templates/types/TemplatesListTemplatesResponseTemplatesItem.d.ts +0 -13
- package/serialization/resources/agents/client/listAgentGroups.d.ts +0 -11
- package/serialization/resources/agents/client/modifyPassage.d.ts +0 -11
- package/serialization/resources/blocks/client/listAgentsForBlock.d.ts +0 -11
- package/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.d.ts +0 -15
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.d.ts +0 -15
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.d.ts +0 -10
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemAccessItem.js +0 -41
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponse.d.ts +0 -16
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.d.ts +0 -14
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js +0 -45
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.d.ts +0 -15
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js +0 -46
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.d.ts +0 -10
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemAccessItem.js +0 -41
- package/serialization/resources/identities/client/upsertIdentityProperties.d.ts +0 -11
- package/serialization/resources/messages/index.d.ts +0 -1
- package/serialization/resources/messages/index.js +0 -17
- package/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +0 -14
- package/serialization/resources/messages/resources/index.d.ts +0 -2
- package/serialization/resources/messages/resources/index.js +0 -41
- package/serialization/resources/projects/types/ProjectsListProjectsResponse.d.ts +0 -14
- package/serialization/resources/runs/client/listRunMessages.d.ts +0 -11
- package/serialization/resources/runs/client/listRunSteps.d.ts +0 -11
- package/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +0 -16
- package/serialization/resources/templates/client/requests/index.d.ts +0 -1
- package/serialization/resources/templates/client/requests/index.js +0 -5
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponse.d.ts +0 -13
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponse.js +0 -44
- package/serialization/resources/templates/types/TemplatesListTemplatesResponse.d.ts +0 -14
- package/serialization/resources/templates/types/TemplatesListTemplatesResponseTemplatesItem.d.ts +0 -13
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/index.d.ts +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/index.js +0 -0
- /package/api/resources/agents/{client/requests/ListAgentGroupsRequest.js → resources/groups/client/requests/GroupsListRequest.js} +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/client/requests/index.js +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/index.d.ts +0 -0
- /package/api/resources/{messages/resources/batches → agents/resources/groups}/index.js +0 -0
- /package/api/resources/agents/{client/requests/PassageUpdate.js → resources/messages/client/requests/MessagesResetRequest.js} +0 -0
- /package/{dist/api/resources/agents → api/resources/agents/resources/passages}/client/requests/PassageUpdate.js +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/client/index.d.ts +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/client/index.js +0 -0
- /package/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +0 -0
- /package/api/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/client/requests/index.js +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/index.d.ts +0 -0
- /package/{dist/api/resources/messages → api}/resources/batches/index.js +0 -0
- /package/{dist/serialization/resources/messages/resources/batches → api/resources/blocks/resources/agents}/index.d.ts +0 -0
- /package/{dist/serialization/resources/messages/resources/batches → api/resources/blocks/resources/agents}/index.js +0 -0
- /package/api/resources/{agents/client/requests/ResetMessagesRequest.js → clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js} +0 -0
- /package/api/resources/clientSideAccessTokens/{client/requests/ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → types/ClientSideAccessTokensCreateRequestPolicyItem.js} +0 -0
- /package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → ClientSideAccessTokensCreateResponse.js} +0 -0
- /package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponsePolicy.js} +0 -0
- /package/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js → ClientSideAccessTokensCreateResponsePolicyDataItem.js} +0 -0
- /package/{serialization/resources/messages/resources/batches → api/resources/embeddings}/index.d.ts +0 -0
- /package/{serialization/resources/messages/resources/batches → api/resources/embeddings}/index.js +0 -0
- /package/api/resources/{clientSideAccessTokens/types/ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js → projects/client/requests/ProjectsListRequest.js} +0 -0
- /package/api/resources/projects/{client/requests/ProjectsListProjectsRequest.js → types/ProjectsListResponse.js} +0 -0
- /package/api/resources/projects/types/{ProjectsListProjectsResponse.js → ProjectsListResponseProjectsItem.js} +0 -0
- /package/api/resources/{projects/types/ProjectsListProjectsResponseProjectsItem.js → providers/client/requests/ProvidersListRequest.js} +0 -0
- /package/api/resources/{providers/client/requests/ListProvidersRequest.js → runs/client/requests/RunsListActiveRequest.js} +0 -0
- /package/{dist/serialization/resources/templates → api/resources/runs/resources/messages}/client/index.d.ts +0 -0
- /package/{dist/serialization/resources/templates → api/resources/runs/resources/messages}/client/index.js +0 -0
- /package/api/resources/runs/{client/requests/ListActiveRunsRequest.js → resources/messages/client/requests/MessagesListRequest.js} +0 -0
- /package/{serialization/resources/templates → api/resources/runs/resources/steps}/client/index.d.ts +0 -0
- /package/{serialization/resources/templates → api/resources/runs/resources/steps}/client/index.js +0 -0
- /package/api/resources/runs/{client/requests/ListRunMessagesRequest.js → resources/steps/client/requests/StepsListRequest.js} +0 -0
- /package/api/resources/{runs/client/requests/ListRunStepsRequest.js → templates/client/requests/TemplatesListRequest.js} +0 -0
- /package/api/resources/templates/{client/requests/TemplatesCreateAgentsRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +0 -0
- /package/api/resources/templates/{client/requests/TemplatesListTemplatesRequest.js → resources/agents/types/AgentsCreateResponse.js} +0 -0
- /package/api/resources/templates/types/{TemplatesCreateAgentsResponse.js → TemplatesListResponse.js} +0 -0
- /package/api/resources/templates/types/{TemplatesListTemplatesResponse.js → TemplatesListResponseTemplatesItem.js} +0 -0
- /package/{api/resources/templates/types/TemplatesListTemplatesResponseTemplatesItem.js → dist/api/resources/agents/resources/groups/client/requests/GroupsListRequest.js} +0 -0
- /package/dist/api/resources/agents/{client/requests/ListAgentGroupsRequest.js → resources/messages/client/requests/MessagesResetRequest.js} +0 -0
- /package/dist/api/resources/agents/{client/requests/ResetMessagesRequest.js → resources/passages/client/requests/PassageUpdate.js} +0 -0
- /package/dist/api/resources/{messages/resources/batches → batches}/client/requests/CreateBatch.js +0 -0
- /package/dist/api/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/dist/api/resources/clientSideAccessTokens/client/requests/{ClientSideAccessTokensCreateClientSideAccessTokenRequest.js → ClientSideAccessTokensCreateRequest.js} +0 -0
- /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItem.js → ClientSideAccessTokensCreateRequestPolicyItem.js} +0 -0
- /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponse.js → ClientSideAccessTokensCreateResponse.js} +0 -0
- /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.js → ClientSideAccessTokensCreateResponsePolicy.js} +0 -0
- /package/dist/api/resources/clientSideAccessTokens/types/{ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItem.js → ClientSideAccessTokensCreateResponsePolicyDataItem.js} +0 -0
- /package/dist/api/resources/projects/client/requests/{ProjectsListProjectsRequest.js → ProjectsListRequest.js} +0 -0
- /package/dist/api/resources/projects/types/{ProjectsListProjectsResponse.js → ProjectsListResponse.js} +0 -0
- /package/dist/api/resources/projects/types/{ProjectsListProjectsResponseProjectsItem.js → ProjectsListResponseProjectsItem.js} +0 -0
- /package/dist/api/resources/providers/client/requests/{ListProvidersRequest.js → ProvidersListRequest.js} +0 -0
- /package/dist/api/resources/runs/client/requests/{ListActiveRunsRequest.js → RunsListActiveRequest.js} +0 -0
- /package/dist/api/resources/runs/{client/requests/ListRunMessagesRequest.js → resources/messages/client/requests/MessagesListRequest.js} +0 -0
- /package/dist/api/resources/runs/{client/requests/ListRunStepsRequest.js → resources/steps/client/requests/StepsListRequest.js} +0 -0
- /package/dist/api/resources/templates/client/requests/{TemplatesCreateAgentsRequest.js → TemplatesListRequest.js} +0 -0
- /package/dist/api/resources/templates/{client/requests/TemplatesListTemplatesRequest.js → resources/agents/client/requests/AgentsCreateRequest.js} +0 -0
- /package/dist/api/resources/templates/{types/TemplatesCreateAgentsResponse.js → resources/agents/types/AgentsCreateResponse.js} +0 -0
- /package/dist/api/resources/templates/types/{TemplatesListTemplatesResponse.js → TemplatesListResponse.js} +0 -0
- /package/dist/api/resources/templates/types/{TemplatesListTemplatesResponseTemplatesItem.js → TemplatesListResponseTemplatesItem.js} +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/index.js +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/{messages/resources/batches → batches}/client/requests/index.js +0 -0
- /package/dist/serialization/resources/{models/client/listEmbeddingModels.js → embeddings/client/list.js} +0 -0
- /package/dist/serialization/resources/models/client/{listLlms.js → list.js} +0 -0
- /package/dist/serialization/resources/providers/client/{listProviders.js → list.js} +0 -0
- /package/dist/serialization/resources/runs/client/{listActiveRuns.js → listActive.js} +0 -0
- /package/dist/serialization/resources/sources/client/{getByName.js → retrieveByName.js} +0 -0
- /package/dist/serialization/resources/tools/client/{addBaseTool.js → upsertBaseTools.js} +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/index.d.ts +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/index.js +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/requests/index.d.ts +0 -0
- /package/serialization/resources/{messages/resources/batches → batches}/client/requests/index.js +0 -0
- /package/serialization/resources/{models/client/listEmbeddingModels.js → embeddings/client/list.js} +0 -0
- /package/serialization/resources/models/client/{listLlms.js → list.js} +0 -0
- /package/serialization/resources/providers/client/{listProviders.js → list.js} +0 -0
- /package/serialization/resources/runs/client/{listActiveRuns.js → listActive.js} +0 -0
- /package/serialization/resources/sources/client/{getByName.js → retrieveByName.js} +0 -0
- /package/serialization/resources/tools/client/{addBaseTool.js → upsertBaseTools.js} +0 -0
|
@@ -73,8 +73,9 @@ const Client_4 = require("../resources/coreMemory/client/Client");
|
|
|
73
73
|
const Client_5 = require("../resources/blocks/client/Client");
|
|
74
74
|
const Client_6 = require("../resources/passages/client/Client");
|
|
75
75
|
const Client_7 = require("../resources/messages/client/Client");
|
|
76
|
-
const Client_8 = require("../resources/
|
|
77
|
-
const Client_9 = require("../resources/
|
|
76
|
+
const Client_8 = require("../resources/groups/client/Client");
|
|
77
|
+
const Client_9 = require("../resources/templates/client/Client");
|
|
78
|
+
const Client_10 = require("../resources/memoryVariables/client/Client");
|
|
78
79
|
class Agents {
|
|
79
80
|
constructor(_options = {}) {
|
|
80
81
|
this._options = _options;
|
|
@@ -107,13 +108,17 @@ class Agents {
|
|
|
107
108
|
var _a;
|
|
108
109
|
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_7.Messages(this._options)));
|
|
109
110
|
}
|
|
111
|
+
get groups() {
|
|
112
|
+
var _a;
|
|
113
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_8.Groups(this._options)));
|
|
114
|
+
}
|
|
110
115
|
get templates() {
|
|
111
116
|
var _a;
|
|
112
|
-
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new
|
|
117
|
+
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_9.Templates(this._options)));
|
|
113
118
|
}
|
|
114
119
|
get memoryVariables() {
|
|
115
120
|
var _a;
|
|
116
|
-
return ((_a = this._memoryVariables) !== null && _a !== void 0 ? _a : (this._memoryVariables = new
|
|
121
|
+
return ((_a = this._memoryVariables) !== null && _a !== void 0 ? _a : (this._memoryVariables = new Client_10.MemoryVariables(this._options)));
|
|
117
122
|
}
|
|
118
123
|
/**
|
|
119
124
|
* List all agents associated with a given user.
|
|
@@ -194,7 +199,7 @@ class Agents {
|
|
|
194
199
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
195
200
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/agents/"),
|
|
196
201
|
method: "GET",
|
|
197
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
202
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
198
203
|
contentType: "application/json",
|
|
199
204
|
queryParameters: _queryParams,
|
|
200
205
|
requestType: "json",
|
|
@@ -261,7 +266,7 @@ class Agents {
|
|
|
261
266
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
262
267
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/agents/"),
|
|
263
268
|
method: "POST",
|
|
264
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
269
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "X-Project": project != null ? project : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
270
|
contentType: "application/json",
|
|
266
271
|
requestType: "json",
|
|
267
272
|
body: serializers.CreateAgentRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -327,7 +332,7 @@ class Agents {
|
|
|
327
332
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
328
333
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/export`),
|
|
329
334
|
method: "GET",
|
|
330
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
335
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
331
336
|
contentType: "application/json",
|
|
332
337
|
requestType: "json",
|
|
333
338
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -375,6 +380,50 @@ class Agents {
|
|
|
375
380
|
}
|
|
376
381
|
});
|
|
377
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* @param {string} agentId
|
|
385
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
386
|
+
*
|
|
387
|
+
* @example
|
|
388
|
+
* await client.agents.export("agent_id")
|
|
389
|
+
*/
|
|
390
|
+
export(agentId, requestOptions) {
|
|
391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
392
|
+
var _a, _b, _c;
|
|
393
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
394
|
+
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/export`),
|
|
395
|
+
method: "POST",
|
|
396
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
397
|
+
contentType: "application/json",
|
|
398
|
+
requestType: "json",
|
|
399
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
400
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
401
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
402
|
+
});
|
|
403
|
+
if (_response.ok) {
|
|
404
|
+
return;
|
|
405
|
+
}
|
|
406
|
+
if (_response.error.reason === "status-code") {
|
|
407
|
+
throw new errors.LettaError({
|
|
408
|
+
statusCode: _response.error.statusCode,
|
|
409
|
+
body: _response.error.body,
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
switch (_response.error.reason) {
|
|
413
|
+
case "non-json":
|
|
414
|
+
throw new errors.LettaError({
|
|
415
|
+
statusCode: _response.error.statusCode,
|
|
416
|
+
body: _response.error.rawBody,
|
|
417
|
+
});
|
|
418
|
+
case "timeout":
|
|
419
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/agents/{agent_id}/export.");
|
|
420
|
+
case "unknown":
|
|
421
|
+
throw new errors.LettaError({
|
|
422
|
+
message: _response.error.errorMessage,
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
}
|
|
378
427
|
/**
|
|
379
428
|
* Import a serialized agent file and recreate the agent in the system.
|
|
380
429
|
*
|
|
@@ -385,9 +434,9 @@ class Agents {
|
|
|
385
434
|
* @throws {@link Letta.UnprocessableEntityError}
|
|
386
435
|
*
|
|
387
436
|
* @example
|
|
388
|
-
* await client.agents.
|
|
437
|
+
* await client.agents.import(fs.createReadStream("/path/to/your/file"), {})
|
|
389
438
|
*/
|
|
390
|
-
|
|
439
|
+
import(file, request, requestOptions) {
|
|
391
440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
392
441
|
var _a, _b, _c;
|
|
393
442
|
const _queryParams = {};
|
|
@@ -409,7 +458,7 @@ class Agents {
|
|
|
409
458
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
410
459
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/agents/import"),
|
|
411
460
|
method: "POST",
|
|
412
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
461
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
413
462
|
queryParameters: _queryParams,
|
|
414
463
|
requestType: "file",
|
|
415
464
|
duplex: _maybeEncodedRequest.duplex,
|
|
@@ -476,7 +525,7 @@ class Agents {
|
|
|
476
525
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
477
526
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}`),
|
|
478
527
|
method: "GET",
|
|
479
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
528
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
480
529
|
contentType: "application/json",
|
|
481
530
|
requestType: "json",
|
|
482
531
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -541,7 +590,7 @@ class Agents {
|
|
|
541
590
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
542
591
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}`),
|
|
543
592
|
method: "DELETE",
|
|
544
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
593
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
545
594
|
contentType: "application/json",
|
|
546
595
|
requestType: "json",
|
|
547
596
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -601,7 +650,7 @@ class Agents {
|
|
|
601
650
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
602
651
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}`),
|
|
603
652
|
method: "PATCH",
|
|
604
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
653
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
605
654
|
contentType: "application/json",
|
|
606
655
|
requestType: "json",
|
|
607
656
|
body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -650,220 +699,6 @@ class Agents {
|
|
|
650
699
|
}
|
|
651
700
|
});
|
|
652
701
|
}
|
|
653
|
-
/**
|
|
654
|
-
* Modify a memory in the agent's archival memory store.
|
|
655
|
-
*
|
|
656
|
-
* @param {string} agentId
|
|
657
|
-
* @param {string} memoryId
|
|
658
|
-
* @param {Letta.PassageUpdate} request
|
|
659
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
660
|
-
*
|
|
661
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
662
|
-
*
|
|
663
|
-
* @example
|
|
664
|
-
* await client.agents.modifyPassage("agent_id", "memory_id", {
|
|
665
|
-
* id: "id"
|
|
666
|
-
* })
|
|
667
|
-
*/
|
|
668
|
-
modifyPassage(agentId, memoryId, request, requestOptions) {
|
|
669
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
670
|
-
var _a, _b, _c;
|
|
671
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
672
|
-
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/archival-memory/${encodeURIComponent(memoryId)}`),
|
|
673
|
-
method: "PATCH",
|
|
674
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
675
|
-
contentType: "application/json",
|
|
676
|
-
requestType: "json",
|
|
677
|
-
body: serializers.PassageUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
678
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
679
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
680
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
681
|
-
});
|
|
682
|
-
if (_response.ok) {
|
|
683
|
-
return serializers.agents.modifyPassage.Response.parseOrThrow(_response.body, {
|
|
684
|
-
unrecognizedObjectKeys: "passthrough",
|
|
685
|
-
allowUnrecognizedUnionMembers: true,
|
|
686
|
-
allowUnrecognizedEnumValues: true,
|
|
687
|
-
skipValidation: true,
|
|
688
|
-
breadcrumbsPrefix: ["response"],
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
if (_response.error.reason === "status-code") {
|
|
692
|
-
switch (_response.error.statusCode) {
|
|
693
|
-
case 422:
|
|
694
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
695
|
-
unrecognizedObjectKeys: "passthrough",
|
|
696
|
-
allowUnrecognizedUnionMembers: true,
|
|
697
|
-
allowUnrecognizedEnumValues: true,
|
|
698
|
-
skipValidation: true,
|
|
699
|
-
breadcrumbsPrefix: ["response"],
|
|
700
|
-
}));
|
|
701
|
-
default:
|
|
702
|
-
throw new errors.LettaError({
|
|
703
|
-
statusCode: _response.error.statusCode,
|
|
704
|
-
body: _response.error.body,
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
switch (_response.error.reason) {
|
|
709
|
-
case "non-json":
|
|
710
|
-
throw new errors.LettaError({
|
|
711
|
-
statusCode: _response.error.statusCode,
|
|
712
|
-
body: _response.error.rawBody,
|
|
713
|
-
});
|
|
714
|
-
case "timeout":
|
|
715
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/agents/{agent_id}/archival-memory/{memory_id}.");
|
|
716
|
-
case "unknown":
|
|
717
|
-
throw new errors.LettaError({
|
|
718
|
-
message: _response.error.errorMessage,
|
|
719
|
-
});
|
|
720
|
-
}
|
|
721
|
-
});
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* Resets the messages for an agent
|
|
725
|
-
*
|
|
726
|
-
* @param {string} agentId
|
|
727
|
-
* @param {Letta.ResetMessagesRequest} request
|
|
728
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
729
|
-
*
|
|
730
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
731
|
-
*
|
|
732
|
-
* @example
|
|
733
|
-
* await client.agents.resetMessages("agent_id")
|
|
734
|
-
*/
|
|
735
|
-
resetMessages(agentId_1) {
|
|
736
|
-
return __awaiter(this, arguments, void 0, function* (agentId, request = {}, requestOptions) {
|
|
737
|
-
var _a, _b, _c;
|
|
738
|
-
const { addDefaultInitialMessages } = request;
|
|
739
|
-
const _queryParams = {};
|
|
740
|
-
if (addDefaultInitialMessages != null) {
|
|
741
|
-
_queryParams["add_default_initial_messages"] = addDefaultInitialMessages.toString();
|
|
742
|
-
}
|
|
743
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
744
|
-
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/reset-messages`),
|
|
745
|
-
method: "PATCH",
|
|
746
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
747
|
-
contentType: "application/json",
|
|
748
|
-
queryParameters: _queryParams,
|
|
749
|
-
requestType: "json",
|
|
750
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
751
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
752
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
753
|
-
});
|
|
754
|
-
if (_response.ok) {
|
|
755
|
-
return serializers.AgentState.parseOrThrow(_response.body, {
|
|
756
|
-
unrecognizedObjectKeys: "passthrough",
|
|
757
|
-
allowUnrecognizedUnionMembers: true,
|
|
758
|
-
allowUnrecognizedEnumValues: true,
|
|
759
|
-
skipValidation: true,
|
|
760
|
-
breadcrumbsPrefix: ["response"],
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
if (_response.error.reason === "status-code") {
|
|
764
|
-
switch (_response.error.statusCode) {
|
|
765
|
-
case 422:
|
|
766
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
767
|
-
unrecognizedObjectKeys: "passthrough",
|
|
768
|
-
allowUnrecognizedUnionMembers: true,
|
|
769
|
-
allowUnrecognizedEnumValues: true,
|
|
770
|
-
skipValidation: true,
|
|
771
|
-
breadcrumbsPrefix: ["response"],
|
|
772
|
-
}));
|
|
773
|
-
default:
|
|
774
|
-
throw new errors.LettaError({
|
|
775
|
-
statusCode: _response.error.statusCode,
|
|
776
|
-
body: _response.error.body,
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
switch (_response.error.reason) {
|
|
781
|
-
case "non-json":
|
|
782
|
-
throw new errors.LettaError({
|
|
783
|
-
statusCode: _response.error.statusCode,
|
|
784
|
-
body: _response.error.rawBody,
|
|
785
|
-
});
|
|
786
|
-
case "timeout":
|
|
787
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/agents/{agent_id}/reset-messages.");
|
|
788
|
-
case "unknown":
|
|
789
|
-
throw new errors.LettaError({
|
|
790
|
-
message: _response.error.errorMessage,
|
|
791
|
-
});
|
|
792
|
-
}
|
|
793
|
-
});
|
|
794
|
-
}
|
|
795
|
-
/**
|
|
796
|
-
* Lists the groups for an agent
|
|
797
|
-
*
|
|
798
|
-
* @param {string} agentId
|
|
799
|
-
* @param {Letta.ListAgentGroupsRequest} request
|
|
800
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
801
|
-
*
|
|
802
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
803
|
-
*
|
|
804
|
-
* @example
|
|
805
|
-
* await client.agents.listAgentGroups("agent_id")
|
|
806
|
-
*/
|
|
807
|
-
listAgentGroups(agentId_1) {
|
|
808
|
-
return __awaiter(this, arguments, void 0, function* (agentId, request = {}, requestOptions) {
|
|
809
|
-
var _a, _b, _c;
|
|
810
|
-
const { managerType } = request;
|
|
811
|
-
const _queryParams = {};
|
|
812
|
-
if (managerType != null) {
|
|
813
|
-
_queryParams["manager_type"] = managerType;
|
|
814
|
-
}
|
|
815
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
816
|
-
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/groups`),
|
|
817
|
-
method: "GET",
|
|
818
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.98", "User-Agent": "@letta-ai/letta-client/0.1.98", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
819
|
-
contentType: "application/json",
|
|
820
|
-
queryParameters: _queryParams,
|
|
821
|
-
requestType: "json",
|
|
822
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
823
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
824
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
825
|
-
});
|
|
826
|
-
if (_response.ok) {
|
|
827
|
-
return serializers.agents.listAgentGroups.Response.parseOrThrow(_response.body, {
|
|
828
|
-
unrecognizedObjectKeys: "passthrough",
|
|
829
|
-
allowUnrecognizedUnionMembers: true,
|
|
830
|
-
allowUnrecognizedEnumValues: true,
|
|
831
|
-
skipValidation: true,
|
|
832
|
-
breadcrumbsPrefix: ["response"],
|
|
833
|
-
});
|
|
834
|
-
}
|
|
835
|
-
if (_response.error.reason === "status-code") {
|
|
836
|
-
switch (_response.error.statusCode) {
|
|
837
|
-
case 422:
|
|
838
|
-
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
839
|
-
unrecognizedObjectKeys: "passthrough",
|
|
840
|
-
allowUnrecognizedUnionMembers: true,
|
|
841
|
-
allowUnrecognizedEnumValues: true,
|
|
842
|
-
skipValidation: true,
|
|
843
|
-
breadcrumbsPrefix: ["response"],
|
|
844
|
-
}));
|
|
845
|
-
default:
|
|
846
|
-
throw new errors.LettaError({
|
|
847
|
-
statusCode: _response.error.statusCode,
|
|
848
|
-
body: _response.error.body,
|
|
849
|
-
});
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
switch (_response.error.reason) {
|
|
853
|
-
case "non-json":
|
|
854
|
-
throw new errors.LettaError({
|
|
855
|
-
statusCode: _response.error.statusCode,
|
|
856
|
-
body: _response.error.rawBody,
|
|
857
|
-
});
|
|
858
|
-
case "timeout":
|
|
859
|
-
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/agents/{agent_id}/groups.");
|
|
860
|
-
case "unknown":
|
|
861
|
-
throw new errors.LettaError({
|
|
862
|
-
message: _response.error.errorMessage,
|
|
863
|
-
});
|
|
864
|
-
}
|
|
865
|
-
});
|
|
866
|
-
}
|
|
867
702
|
/**
|
|
868
703
|
* <Note>This endpoint is only available on Letta Cloud.</Note>
|
|
869
704
|
*
|
|
@@ -881,7 +716,7 @@ class Agents {
|
|
|
881
716
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
882
717
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/agents/search"),
|
|
883
718
|
method: "POST",
|
|
884
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
719
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
885
720
|
contentType: "application/json",
|
|
886
721
|
requestType: "json",
|
|
887
722
|
body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -2,7 +2,4 @@ export { type AgentsListRequest } from "./AgentsListRequest";
|
|
|
2
2
|
export { type CreateAgentRequest } from "./CreateAgentRequest";
|
|
3
3
|
export { type BodyImportAgentSerialized } from "./BodyImportAgentSerialized";
|
|
4
4
|
export { type UpdateAgent } from "./UpdateAgent";
|
|
5
|
-
export { type PassageUpdate } from "./PassageUpdate";
|
|
6
|
-
export { type ResetMessagesRequest } from "./ResetMessagesRequest";
|
|
7
|
-
export { type ListAgentGroupsRequest } from "./ListAgentGroupsRequest";
|
|
8
5
|
export { type AgentsSearchRequest } from "./AgentsSearchRequest";
|
|
@@ -77,7 +77,7 @@ class Blocks {
|
|
|
77
77
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
78
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/core-memory/blocks/${encodeURIComponent(blockLabel)}`),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
80
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -144,7 +144,7 @@ class Blocks {
|
|
|
144
144
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
145
145
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/core-memory/blocks/${encodeURIComponent(blockLabel)}`),
|
|
146
146
|
method: "PATCH",
|
|
147
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
147
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -210,7 +210,7 @@ class Blocks {
|
|
|
210
210
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
211
211
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/core-memory/blocks`),
|
|
212
212
|
method: "GET",
|
|
213
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
213
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
|
|
214
214
|
contentType: "application/json",
|
|
215
215
|
requestType: "json",
|
|
216
216
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -276,7 +276,7 @@ class Blocks {
|
|
|
276
276
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
277
277
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/core-memory/blocks/attach/${encodeURIComponent(blockId)}`),
|
|
278
278
|
method: "PATCH",
|
|
279
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
279
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
|
|
280
280
|
contentType: "application/json",
|
|
281
281
|
requestType: "json",
|
|
282
282
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -342,7 +342,7 @@ class Blocks {
|
|
|
342
342
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
343
343
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/core-memory/blocks/detach/${encodeURIComponent(blockId)}`),
|
|
344
344
|
method: "PATCH",
|
|
345
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
345
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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,
|
|
@@ -76,7 +76,7 @@ class Context {
|
|
|
76
76
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
77
77
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/context`),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
79
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -77,7 +77,7 @@ class CoreMemory {
|
|
|
77
77
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
78
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/agents/${encodeURIComponent(agentId)}/core-memory`),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
80
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "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),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,45 @@
|
|
|
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 Groups {
|
|
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
|
+
fetcher?: core.FetchFunction;
|
|
14
|
+
}
|
|
15
|
+
interface RequestOptions {
|
|
16
|
+
/** The maximum time to wait for a response in seconds. */
|
|
17
|
+
timeoutInSeconds?: number;
|
|
18
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
19
|
+
maxRetries?: number;
|
|
20
|
+
/** A hook to abort the request. */
|
|
21
|
+
abortSignal?: AbortSignal;
|
|
22
|
+
/** Additional headers to include in the request. */
|
|
23
|
+
headers?: Record<string, string>;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export declare class Groups {
|
|
27
|
+
protected readonly _options: Groups.Options;
|
|
28
|
+
constructor(_options?: Groups.Options);
|
|
29
|
+
/**
|
|
30
|
+
* Lists the groups for an agent
|
|
31
|
+
*
|
|
32
|
+
* @param {string} agentId
|
|
33
|
+
* @param {Letta.agents.GroupsListRequest} request
|
|
34
|
+
* @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.agents.groups.list("agent_id")
|
|
40
|
+
*/
|
|
41
|
+
list(agentId: string, request?: Letta.agents.GroupsListRequest, requestOptions?: Groups.RequestOptions): Promise<Letta.Group[]>;
|
|
42
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
43
|
+
Authorization: string;
|
|
44
|
+
}>;
|
|
45
|
+
}
|