@letta-ai/letta-client 0.0.1 → 0.0.68636
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 +98 -0
- package/Client.js +122 -0
- package/README.md +166 -1
- package/api/errors/BadRequestError.d.ts +8 -0
- package/api/errors/BadRequestError.js +52 -0
- package/api/errors/ConflictError.d.ts +9 -0
- package/api/errors/ConflictError.js +52 -0
- package/api/errors/NotFoundError.d.ts +8 -0
- package/api/errors/NotFoundError.js +52 -0
- package/api/errors/PaymentRequiredError.d.ts +9 -0
- package/api/errors/PaymentRequiredError.js +52 -0
- package/api/errors/UnprocessableEntityError.d.ts +9 -0
- package/api/errors/UnprocessableEntityError.js +52 -0
- package/api/errors/index.d.ts +5 -0
- package/api/errors/index.js +21 -0
- package/api/index.d.ts +3 -0
- package/api/index.js +19 -0
- package/api/resources/agents/client/Client.d.ts +235 -0
- package/api/resources/agents/client/Client.js +1078 -0
- package/api/resources/agents/client/index.d.ts +1 -0
- package/api/resources/agents/client/index.js +17 -0
- package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
- package/api/resources/agents/client/requests/AgentsExportFileRequest.js +5 -0
- package/api/resources/agents/client/requests/AgentsListRequest.d.ts +69 -0
- package/api/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/api/resources/agents/client/requests/AgentsRetrieveRequest.d.ts +13 -0
- package/api/resources/agents/client/requests/AgentsRetrieveRequest.js +5 -0
- package/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +17 -0
- package/api/resources/agents/client/requests/AgentsSearchRequest.js +5 -0
- package/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +22 -0
- package/api/resources/agents/client/requests/BodyImportAgentSerialized.js +5 -0
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +96 -0
- package/api/resources/agents/client/requests/CreateAgentRequest.js +5 -0
- package/api/resources/agents/client/requests/ListAgentFilesRequest.d.ts +21 -0
- package/api/resources/agents/client/requests/ListAgentFilesRequest.js +5 -0
- package/api/resources/agents/client/requests/SummarizeAgentConversationRequest.d.ts +15 -0
- package/api/resources/agents/client/requests/SummarizeAgentConversationRequest.js +5 -0
- package/api/resources/agents/client/requests/UpdateAgent.d.ts +68 -0
- package/api/resources/agents/client/requests/UpdateAgent.js +5 -0
- package/api/resources/agents/client/requests/index.d.ts +9 -0
- package/api/resources/agents/client/requests/index.js +2 -0
- package/api/resources/agents/index.d.ts +3 -0
- package/api/resources/agents/index.js +19 -0
- package/api/resources/agents/resources/blocks/client/Client.d.ts +106 -0
- package/api/resources/agents/resources/blocks/client/Client.js +455 -0
- package/api/resources/agents/resources/blocks/client/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/client/index.js +2 -0
- package/api/resources/agents/resources/blocks/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/index.js +17 -0
- package/api/resources/agents/resources/context/client/Client.d.ts +49 -0
- package/api/resources/agents/resources/context/client/Client.js +145 -0
- package/api/resources/agents/resources/context/client/index.d.ts +1 -0
- package/api/resources/agents/resources/context/client/index.js +2 -0
- package/api/resources/agents/resources/context/index.d.ts +1 -0
- package/api/resources/agents/resources/context/index.js +17 -0
- package/api/resources/agents/resources/coreMemory/client/Client.d.ts +50 -0
- package/api/resources/agents/resources/coreMemory/client/Client.js +146 -0
- package/api/resources/agents/resources/coreMemory/client/index.d.ts +1 -0
- package/api/resources/agents/resources/coreMemory/client/index.js +2 -0
- package/api/resources/agents/resources/coreMemory/index.d.ts +1 -0
- package/api/resources/agents/resources/coreMemory/index.js +17 -0
- package/api/resources/agents/resources/files/client/Client.d.ts +95 -0
- package/api/resources/agents/resources/files/client/Client.js +352 -0
- package/api/resources/agents/resources/files/client/index.d.ts +1 -0
- package/api/resources/agents/resources/files/client/index.js +2 -0
- package/api/resources/agents/resources/files/index.d.ts +1 -0
- package/api/resources/agents/resources/files/index.js +17 -0
- package/api/resources/agents/resources/folders/client/Client.d.ts +77 -0
- package/api/resources/agents/resources/folders/client/Client.js +299 -0
- package/api/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/client/index.js +2 -0
- package/api/resources/agents/resources/folders/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/index.js +17 -0
- package/api/resources/agents/resources/groups/client/Client.d.ts +50 -0
- package/api/resources/agents/resources/groups/client/Client.js +152 -0
- package/api/resources/agents/resources/groups/client/index.d.ts +1 -0
- package/api/resources/agents/resources/groups/client/index.js +17 -0
- package/api/resources/agents/resources/groups/client/requests/GroupsListRequest.d.ts +13 -0
- package/api/resources/agents/resources/groups/client/requests/GroupsListRequest.js +5 -0
- package/api/resources/agents/resources/groups/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/groups/client/requests/index.js +2 -0
- package/api/resources/agents/resources/groups/index.d.ts +1 -0
- package/api/resources/agents/resources/groups/index.js +17 -0
- package/api/resources/agents/resources/index.d.ts +21 -0
- package/api/resources/agents/resources/index.js +60 -0
- package/api/resources/agents/resources/memoryVariables/client/Client.d.ts +51 -0
- package/api/resources/agents/resources/memoryVariables/client/Client.js +141 -0
- package/api/resources/agents/resources/memoryVariables/client/index.d.ts +1 -0
- package/api/resources/agents/resources/memoryVariables/client/index.js +2 -0
- package/api/resources/agents/resources/memoryVariables/index.d.ts +2 -0
- package/api/resources/agents/resources/memoryVariables/index.js +18 -0
- package/api/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.d.ts +6 -0
- package/api/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js +5 -0
- package/api/resources/agents/resources/memoryVariables/types/index.d.ts +1 -0
- package/api/resources/agents/resources/memoryVariables/types/index.js +17 -0
- package/api/resources/agents/resources/messages/client/Client.d.ts +194 -0
- package/api/resources/agents/resources/messages/client/Client.js +847 -0
- package/api/resources/agents/resources/messages/client/index.d.ts +1 -0
- package/api/resources/agents/resources/messages/client/index.js +17 -0
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +11 -0
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +5 -0
- package/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +34 -0
- package/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +5 -0
- package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +26 -0
- package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
- package/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +41 -0
- package/api/resources/agents/resources/messages/client/requests/MessagesListRequest.js +5 -0
- package/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts +13 -0
- package/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.js +5 -0
- package/api/resources/agents/resources/messages/client/requests/index.d.ts +5 -0
- package/api/resources/agents/resources/messages/client/requests/index.js +2 -0
- package/api/resources/agents/resources/messages/index.d.ts +2 -0
- package/api/resources/agents/resources/messages/index.js +18 -0
- package/api/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.d.ts +5 -0
- package/api/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.js +5 -0
- package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +5 -0
- package/api/resources/agents/resources/messages/types/LettaStreamingResponse.js +5 -0
- package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
- package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
- package/api/resources/agents/resources/messages/types/MessagesModifyRequest.d.ts +5 -0
- package/api/resources/agents/resources/messages/types/MessagesModifyRequest.js +5 -0
- package/api/resources/agents/resources/messages/types/MessagesModifyResponse.d.ts +5 -0
- package/api/resources/agents/resources/messages/types/MessagesModifyResponse.js +5 -0
- package/api/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.d.ts +5 -0
- package/api/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.js +5 -0
- package/api/resources/agents/resources/messages/types/index.d.ts +6 -0
- package/api/resources/agents/resources/messages/types/index.js +22 -0
- package/api/resources/agents/resources/passages/client/Client.d.ts +110 -0
- package/api/resources/agents/resources/passages/client/Client.js +472 -0
- package/api/resources/agents/resources/passages/client/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/client/index.js +17 -0
- package/api/resources/agents/resources/passages/client/requests/CreateArchivalMemory.d.ts +17 -0
- package/api/resources/agents/resources/passages/client/requests/CreateArchivalMemory.js +5 -0
- package/api/resources/agents/resources/passages/client/requests/PassagesListRequest.d.ts +29 -0
- package/api/resources/agents/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
- package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
- package/api/resources/agents/resources/passages/client/requests/index.d.ts +3 -0
- package/api/resources/agents/resources/passages/client/requests/index.js +2 -0
- package/api/resources/agents/resources/passages/index.d.ts +2 -0
- package/api/resources/agents/resources/passages/index.js +18 -0
- package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
- package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
- package/api/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/types/index.js +17 -0
- package/api/resources/agents/resources/sources/client/Client.d.ts +77 -0
- package/api/resources/agents/resources/sources/client/Client.js +299 -0
- package/api/resources/agents/resources/sources/client/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/client/index.js +2 -0
- package/api/resources/agents/resources/sources/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/index.js +17 -0
- package/api/resources/agents/resources/templates/client/Client.d.ts +79 -0
- package/api/resources/agents/resources/templates/client/Client.js +250 -0
- package/api/resources/agents/resources/templates/client/index.d.ts +1 -0
- package/api/resources/agents/resources/templates/client/index.js +17 -0
- package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +16 -0
- package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +5 -0
- package/api/resources/agents/resources/templates/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/templates/client/requests/index.js +2 -0
- package/api/resources/agents/resources/templates/index.d.ts +2 -0
- package/api/resources/agents/resources/templates/index.js +18 -0
- package/api/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts +6 -0
- package/api/resources/agents/resources/templates/types/TemplatesMigrateResponse.js +5 -0
- package/api/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/api/resources/agents/resources/templates/types/index.js +17 -0
- package/api/resources/agents/resources/tools/client/Client.d.ts +94 -0
- package/api/resources/agents/resources/tools/client/Client.js +383 -0
- package/api/resources/agents/resources/tools/client/index.d.ts +1 -0
- package/api/resources/agents/resources/tools/client/index.js +17 -0
- package/api/resources/agents/resources/tools/client/requests/ToolsModifyApprovalRequest.d.ts +12 -0
- package/api/resources/agents/resources/tools/client/requests/ToolsModifyApprovalRequest.js +5 -0
- package/api/resources/agents/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/tools/client/requests/index.js +2 -0
- package/api/resources/agents/resources/tools/index.d.ts +1 -0
- package/api/resources/agents/resources/tools/index.js +17 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItem.js +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemField.js +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOne.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOne.js +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.js +10 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemThree.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemThree.js +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.js +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemZero.d.ts +7 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemZero.js +5 -0
- package/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
- package/api/resources/agents/types/AgentsSearchResponse.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchResponse.js +5 -0
- package/api/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +5 -0
- package/api/resources/agents/types/CreateAgentRequestResponseFormat.js +5 -0
- package/api/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +5 -0
- package/api/resources/agents/types/CreateAgentRequestToolRulesItem.js +5 -0
- package/api/resources/agents/types/UpdateAgentResponseFormat.d.ts +5 -0
- package/api/resources/agents/types/UpdateAgentResponseFormat.js +5 -0
- package/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +5 -0
- package/api/resources/agents/types/UpdateAgentToolRulesItem.js +5 -0
- package/api/resources/agents/types/index.d.ts +13 -0
- package/api/resources/agents/types/index.js +29 -0
- package/api/resources/batches/client/Client.d.ts +99 -0
- package/api/resources/batches/client/Client.js +376 -0
- package/api/resources/batches/client/index.d.ts +1 -0
- package/api/resources/batches/client/index.js +17 -0
- package/api/resources/batches/client/requests/CreateBatch.d.ts +25 -0
- package/api/resources/batches/client/requests/CreateBatch.js +5 -0
- package/api/resources/batches/client/requests/index.d.ts +1 -0
- package/api/resources/batches/client/requests/index.js +2 -0
- package/api/resources/batches/index.d.ts +1 -0
- package/api/resources/batches/index.js +17 -0
- package/api/resources/blocks/client/Client.d.ts +110 -0
- package/api/resources/blocks/client/Client.js +574 -0
- package/api/resources/blocks/client/index.d.ts +1 -0
- package/api/resources/blocks/client/index.js +17 -0
- package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +69 -0
- package/api/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/api/resources/blocks/client/requests/index.d.ts +1 -0
- package/api/resources/blocks/client/requests/index.js +2 -0
- package/api/resources/blocks/index.d.ts +2 -0
- package/api/resources/blocks/index.js +18 -0
- package/api/resources/blocks/resources/agents/client/Client.d.ts +51 -0
- package/api/resources/blocks/resources/agents/client/Client.js +158 -0
- package/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/client/index.js +17 -0
- package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +13 -0
- package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/api/resources/blocks/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/client/requests/index.js +2 -0
- package/api/resources/blocks/resources/agents/index.d.ts +1 -0
- package/api/resources/blocks/resources/agents/index.js +17 -0
- package/api/resources/blocks/resources/index.d.ts +2 -0
- package/api/resources/blocks/resources/index.js +41 -0
- package/api/resources/clientSideAccessTokens/client/Client.d.ts +85 -0
- package/api/resources/clientSideAccessTokens/client/Client.js +296 -0
- package/api/resources/clientSideAccessTokens/client/index.d.ts +1 -0
- package/api/resources/clientSideAccessTokens/client/index.js +17 -0
- package/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +22 -0
- package/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js +5 -0
- package/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.d.ts +21 -0
- package/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.js +5 -0
- package/api/resources/clientSideAccessTokens/client/requests/index.d.ts +2 -0
- package/api/resources/clientSideAccessTokens/client/requests/index.js +2 -0
- package/api/resources/clientSideAccessTokens/index.d.ts +2 -0
- package/api/resources/clientSideAccessTokens/index.js +18 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +9 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js +12 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts +10 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +8 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +9 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +12 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.d.ts +8 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.d.ts +10 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.d.ts +8 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.d.ts +9 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.js +5 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.d.ts +10 -0
- package/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.js +12 -0
- package/api/resources/clientSideAccessTokens/types/index.d.ts +11 -0
- package/api/resources/clientSideAccessTokens/types/index.js +27 -0
- package/api/resources/embeddingModels/client/Client.d.ts +48 -0
- package/api/resources/embeddingModels/client/Client.js +144 -0
- package/api/resources/embeddingModels/client/index.d.ts +1 -0
- package/api/resources/embeddingModels/client/index.js +2 -0
- package/api/resources/embeddingModels/index.d.ts +1 -0
- package/api/resources/embeddingModels/index.js +17 -0
- package/api/resources/folders/client/Client.d.ts +166 -0
- package/api/resources/folders/client/Client.js +769 -0
- package/api/resources/folders/client/index.d.ts +1 -0
- package/api/resources/folders/client/index.js +17 -0
- package/api/resources/folders/client/requests/GetFoldersMetadataRequest.d.ts +10 -0
- package/api/resources/folders/client/requests/GetFoldersMetadataRequest.js +5 -0
- package/api/resources/folders/client/requests/index.d.ts +1 -0
- package/api/resources/folders/client/requests/index.js +2 -0
- package/api/resources/folders/index.d.ts +2 -0
- package/api/resources/folders/index.js +18 -0
- package/api/resources/folders/resources/files/client/Client.d.ts +81 -0
- package/api/resources/folders/resources/files/client/Client.js +316 -0
- package/api/resources/folders/resources/files/client/index.d.ts +1 -0
- package/api/resources/folders/resources/files/client/index.js +17 -0
- package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +18 -0
- package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.js +5 -0
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +21 -0
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.js +5 -0
- package/api/resources/folders/resources/files/client/requests/index.d.ts +2 -0
- package/api/resources/folders/resources/files/client/requests/index.js +2 -0
- package/api/resources/folders/resources/files/index.d.ts +1 -0
- package/api/resources/folders/resources/files/index.js +17 -0
- package/api/resources/folders/resources/index.d.ts +4 -0
- package/api/resources/folders/resources/index.js +43 -0
- package/api/resources/folders/resources/passages/client/Client.d.ts +50 -0
- package/api/resources/folders/resources/passages/client/Client.js +158 -0
- package/api/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/client/index.js +17 -0
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/api/resources/folders/resources/passages/client/requests/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/client/requests/index.js +2 -0
- package/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/api/resources/folders/resources/passages/index.js +17 -0
- package/api/resources/groups/client/Client.d.ts +120 -0
- package/api/resources/groups/client/Client.js +546 -0
- package/api/resources/groups/client/index.d.ts +1 -0
- package/api/resources/groups/client/index.js +17 -0
- package/api/resources/groups/client/requests/GroupCreate.d.ts +25 -0
- package/api/resources/groups/client/requests/GroupCreate.js +5 -0
- package/api/resources/groups/client/requests/GroupUpdate.d.ts +20 -0
- package/api/resources/groups/client/requests/GroupUpdate.js +5 -0
- package/api/resources/groups/client/requests/GroupsListRequest.d.ts +30 -0
- package/api/resources/groups/client/requests/GroupsListRequest.js +5 -0
- package/api/resources/groups/client/requests/index.d.ts +3 -0
- package/api/resources/groups/client/requests/index.js +2 -0
- package/api/resources/groups/index.d.ts +3 -0
- package/api/resources/groups/index.js +19 -0
- package/api/resources/groups/resources/index.d.ts +3 -0
- package/api/resources/groups/resources/index.js +42 -0
- package/api/resources/groups/resources/messages/client/Client.d.ts +110 -0
- package/api/resources/groups/resources/messages/client/Client.js +484 -0
- package/api/resources/groups/resources/messages/client/index.d.ts +1 -0
- package/api/resources/groups/resources/messages/client/index.js +17 -0
- package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +33 -0
- package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.js +5 -0
- package/api/resources/groups/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/groups/resources/messages/client/requests/index.js +2 -0
- package/api/resources/groups/resources/messages/index.d.ts +2 -0
- package/api/resources/groups/resources/messages/index.js +18 -0
- package/api/resources/groups/resources/messages/types/LettaStreamingResponse.d.ts +5 -0
- package/api/resources/groups/resources/messages/types/LettaStreamingResponse.js +5 -0
- package/api/resources/groups/resources/messages/types/MessagesModifyRequest.d.ts +5 -0
- package/api/resources/groups/resources/messages/types/MessagesModifyRequest.js +5 -0
- package/api/resources/groups/resources/messages/types/MessagesModifyResponse.d.ts +5 -0
- package/api/resources/groups/resources/messages/types/MessagesModifyResponse.js +5 -0
- package/api/resources/groups/resources/messages/types/index.d.ts +3 -0
- package/api/resources/groups/resources/messages/types/index.js +19 -0
- package/api/resources/groups/types/GroupCreateManagerConfig.d.ts +8 -0
- package/api/resources/groups/types/GroupCreateManagerConfig.js +5 -0
- package/api/resources/groups/types/GroupUpdateManagerConfig.d.ts +5 -0
- package/api/resources/groups/types/GroupUpdateManagerConfig.js +5 -0
- package/api/resources/groups/types/index.d.ts +2 -0
- package/api/resources/groups/types/index.js +18 -0
- package/api/resources/health/client/Client.d.ts +44 -0
- package/api/resources/health/client/Client.js +128 -0
- package/api/resources/health/client/index.d.ts +1 -0
- package/api/resources/health/client/index.js +2 -0
- package/api/resources/health/index.d.ts +1 -0
- package/api/resources/health/index.js +17 -0
- package/api/resources/identities/client/Client.d.ts +130 -0
- package/api/resources/identities/client/Client.js +626 -0
- package/api/resources/identities/client/index.d.ts +1 -0
- package/api/resources/identities/client/index.js +17 -0
- package/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +17 -0
- package/api/resources/identities/client/requests/IdentitiesListRequest.js +5 -0
- package/api/resources/identities/client/requests/IdentityCreate.d.ts +28 -0
- package/api/resources/identities/client/requests/IdentityCreate.js +5 -0
- package/api/resources/identities/client/requests/IdentityUpdate.d.ts +22 -0
- package/api/resources/identities/client/requests/IdentityUpdate.js +5 -0
- package/api/resources/identities/client/requests/IdentityUpsert.d.ts +28 -0
- package/api/resources/identities/client/requests/IdentityUpsert.js +5 -0
- package/api/resources/identities/client/requests/index.d.ts +4 -0
- package/api/resources/identities/client/requests/index.js +2 -0
- package/api/resources/identities/index.d.ts +2 -0
- package/api/resources/identities/index.js +18 -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 +52 -0
- package/api/resources/identities/resources/properties/client/Client.js +142 -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 +49 -0
- package/api/resources/index.js +88 -0
- package/api/resources/jobs/client/Client.d.ts +105 -0
- package/api/resources/jobs/client/Client.js +489 -0
- package/api/resources/jobs/client/index.d.ts +1 -0
- package/api/resources/jobs/client/index.js +17 -0
- package/api/resources/jobs/client/requests/JobsListActiveRequest.d.ts +29 -0
- package/api/resources/jobs/client/requests/JobsListActiveRequest.js +5 -0
- package/api/resources/jobs/client/requests/JobsListRequest.d.ts +29 -0
- package/api/resources/jobs/client/requests/JobsListRequest.js +5 -0
- package/api/resources/jobs/client/requests/index.d.ts +2 -0
- package/api/resources/jobs/client/requests/index.js +2 -0
- package/api/resources/jobs/index.d.ts +1 -0
- package/api/resources/jobs/index.js +17 -0
- package/api/resources/messages/client/Client.d.ts +57 -0
- package/api/resources/messages/client/Client.js +168 -0
- package/api/resources/messages/client/index.d.ts +1 -0
- package/api/resources/messages/client/index.js +17 -0
- package/api/resources/messages/client/requests/ListBatchMessagesRequest.d.ts +25 -0
- package/api/resources/messages/client/requests/ListBatchMessagesRequest.js +5 -0
- package/api/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/messages/client/requests/index.js +2 -0
- package/api/resources/messages/index.d.ts +1 -0
- package/api/resources/messages/index.js +17 -0
- package/api/resources/models/client/Client.d.ts +57 -0
- package/api/resources/models/client/Client.js +217 -0
- package/api/resources/models/client/index.d.ts +1 -0
- package/api/resources/models/client/index.js +17 -0
- package/api/resources/models/client/requests/ModelsListRequest.d.ts +13 -0
- package/api/resources/models/client/requests/ModelsListRequest.js +5 -0
- package/api/resources/models/client/requests/index.d.ts +1 -0
- package/api/resources/models/client/requests/index.js +2 -0
- package/api/resources/models/index.d.ts +1 -0
- package/api/resources/models/index.js +17 -0
- package/api/resources/projects/client/Client.d.ts +47 -0
- package/api/resources/projects/client/Client.js +143 -0
- package/api/resources/projects/client/index.d.ts +1 -0
- package/api/resources/projects/client/index.js +17 -0
- package/api/resources/projects/client/requests/ProjectsListRequest.d.ts +12 -0
- package/api/resources/projects/client/requests/ProjectsListRequest.js +5 -0
- package/api/resources/projects/client/requests/index.d.ts +1 -0
- package/api/resources/projects/client/requests/index.js +2 -0
- package/api/resources/projects/index.d.ts +2 -0
- package/api/resources/projects/index.js +18 -0
- package/api/resources/projects/types/ProjectsListResponse.d.ts +8 -0
- package/api/resources/projects/types/ProjectsListResponse.js +5 -0
- package/api/resources/projects/types/ProjectsListResponseProjectsItem.d.ts +8 -0
- package/api/resources/projects/types/ProjectsListResponseProjectsItem.js +5 -0
- package/api/resources/projects/types/index.d.ts +2 -0
- package/api/resources/projects/types/index.js +18 -0
- package/api/resources/providers/client/Client.d.ts +117 -0
- package/api/resources/providers/client/Client.js +510 -0
- package/api/resources/providers/client/index.d.ts +1 -0
- package/api/resources/providers/client/index.js +17 -0
- package/api/resources/providers/client/requests/ProviderCheck.d.ts +25 -0
- package/api/resources/providers/client/requests/ProviderCheck.js +5 -0
- package/api/resources/providers/client/requests/ProviderCreate.d.ts +28 -0
- package/api/resources/providers/client/requests/ProviderCreate.js +5 -0
- package/api/resources/providers/client/requests/ProviderUpdate.d.ts +21 -0
- package/api/resources/providers/client/requests/ProviderUpdate.js +5 -0
- package/api/resources/providers/client/requests/ProvidersListRequest.d.ts +14 -0
- package/api/resources/providers/client/requests/ProvidersListRequest.js +5 -0
- package/api/resources/providers/client/requests/index.d.ts +4 -0
- package/api/resources/providers/client/requests/index.js +2 -0
- package/api/resources/providers/index.d.ts +1 -0
- package/api/resources/providers/index.js +17 -0
- package/api/resources/runs/client/Client.d.ts +99 -0
- package/api/resources/runs/client/Client.js +505 -0
- package/api/resources/runs/client/index.d.ts +1 -0
- package/api/resources/runs/client/index.js +17 -0
- package/api/resources/runs/client/requests/RetrieveStreamRequest.d.ts +17 -0
- package/api/resources/runs/client/requests/RetrieveStreamRequest.js +5 -0
- package/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +17 -0
- package/api/resources/runs/client/requests/RunsListActiveRequest.js +5 -0
- package/api/resources/runs/client/requests/RunsListRequest.d.ts +33 -0
- package/api/resources/runs/client/requests/RunsListRequest.js +5 -0
- package/api/resources/runs/client/requests/index.d.ts +3 -0
- package/api/resources/runs/client/requests/index.js +2 -0
- package/api/resources/runs/index.d.ts +3 -0
- package/api/resources/runs/index.js +19 -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 +63 -0
- package/api/resources/runs/resources/messages/client/Client.js +177 -0
- package/api/resources/runs/resources/messages/client/index.d.ts +1 -0
- package/api/resources/runs/resources/messages/client/index.js +17 -0
- package/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts +30 -0
- package/api/resources/runs/resources/messages/client/requests/MessagesListRequest.js +5 -0
- 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 +60 -0
- package/api/resources/runs/resources/steps/client/Client.js +171 -0
- package/api/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/client/index.js +17 -0
- package/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts +25 -0
- package/api/resources/runs/resources/steps/client/requests/StepsListRequest.js +5 -0
- 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 +49 -0
- package/api/resources/runs/resources/usage/client/Client.js +145 -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/runs/types/LettaStreamingResponse.d.ts +5 -0
- package/api/resources/runs/types/LettaStreamingResponse.js +5 -0
- package/api/resources/runs/types/index.d.ts +1 -0
- package/api/resources/runs/types/index.js +17 -0
- package/api/resources/sources/client/Client.d.ts +181 -0
- package/api/resources/sources/client/Client.js +853 -0
- package/api/resources/sources/client/index.d.ts +1 -0
- package/api/resources/sources/client/index.js +17 -0
- package/api/resources/sources/client/requests/GetFileMetadataRequest.d.ts +13 -0
- package/api/resources/sources/client/requests/GetFileMetadataRequest.js +5 -0
- package/api/resources/sources/client/requests/GetSourcesMetadataRequest.d.ts +10 -0
- package/api/resources/sources/client/requests/GetSourcesMetadataRequest.js +5 -0
- package/api/resources/sources/client/requests/index.d.ts +2 -0
- package/api/resources/sources/client/requests/index.js +2 -0
- package/api/resources/sources/index.d.ts +2 -0
- package/api/resources/sources/index.js +18 -0
- package/api/resources/sources/resources/files/client/Client.d.ts +81 -0
- package/api/resources/sources/resources/files/client/Client.js +319 -0
- package/api/resources/sources/resources/files/client/index.d.ts +1 -0
- package/api/resources/sources/resources/files/client/index.js +17 -0
- package/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +18 -0
- package/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.js +5 -0
- package/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +25 -0
- package/api/resources/sources/resources/files/client/requests/FilesListRequest.js +5 -0
- package/api/resources/sources/resources/files/client/requests/index.d.ts +2 -0
- package/api/resources/sources/resources/files/client/requests/index.js +2 -0
- package/api/resources/sources/resources/files/index.d.ts +1 -0
- package/api/resources/sources/resources/files/index.js +17 -0
- package/api/resources/sources/resources/index.d.ts +4 -0
- package/api/resources/sources/resources/index.js +43 -0
- package/api/resources/sources/resources/passages/client/Client.d.ts +50 -0
- package/api/resources/sources/resources/passages/client/Client.js +158 -0
- package/api/resources/sources/resources/passages/client/index.d.ts +1 -0
- package/api/resources/sources/resources/passages/client/index.js +17 -0
- package/api/resources/sources/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
- package/api/resources/sources/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/api/resources/sources/resources/passages/client/requests/index.d.ts +1 -0
- package/api/resources/sources/resources/passages/client/requests/index.js +2 -0
- package/api/resources/sources/resources/passages/index.d.ts +1 -0
- package/api/resources/sources/resources/passages/index.js +17 -0
- package/api/resources/steps/client/Client.d.ts +79 -0
- package/api/resources/steps/client/Client.js +357 -0
- package/api/resources/steps/client/index.d.ts +1 -0
- package/api/resources/steps/client/index.js +17 -0
- package/api/resources/steps/client/requests/StepsListRequest.d.ts +62 -0
- package/api/resources/steps/client/requests/StepsListRequest.js +5 -0
- package/api/resources/steps/client/requests/index.d.ts +1 -0
- package/api/resources/steps/client/requests/index.js +2 -0
- package/api/resources/steps/index.d.ts +3 -0
- package/api/resources/steps/index.js +19 -0
- package/api/resources/steps/resources/feedback/client/Client.d.ts +50 -0
- package/api/resources/steps/resources/feedback/client/Client.js +154 -0
- package/api/resources/steps/resources/feedback/client/index.d.ts +1 -0
- package/api/resources/steps/resources/feedback/client/index.js +17 -0
- package/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.d.ts +11 -0
- package/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.js +5 -0
- package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
- package/api/resources/steps/resources/feedback/client/requests/index.js +2 -0
- package/api/resources/steps/resources/feedback/index.d.ts +1 -0
- package/api/resources/steps/resources/feedback/index.js +17 -0
- package/api/resources/steps/resources/index.d.ts +2 -0
- package/api/resources/steps/resources/index.js +41 -0
- package/api/resources/steps/types/StepsListRequestFeedback.d.ts +8 -0
- package/api/resources/steps/types/StepsListRequestFeedback.js +10 -0
- package/api/resources/steps/types/index.d.ts +1 -0
- package/api/resources/steps/types/index.js +17 -0
- package/api/resources/tags/client/Client.d.ts +49 -0
- package/api/resources/tags/client/Client.js +157 -0
- package/api/resources/tags/client/index.d.ts +1 -0
- package/api/resources/tags/client/index.js +17 -0
- package/api/resources/tags/client/requests/TagsListRequest.d.ts +12 -0
- package/api/resources/tags/client/requests/TagsListRequest.js +5 -0
- package/api/resources/tags/client/requests/index.d.ts +1 -0
- package/api/resources/tags/client/requests/index.js +2 -0
- package/api/resources/tags/index.d.ts +1 -0
- package/api/resources/tags/index.js +17 -0
- package/api/resources/telemetry/client/Client.d.ts +47 -0
- package/api/resources/telemetry/client/Client.js +143 -0
- package/api/resources/telemetry/client/index.d.ts +1 -0
- package/api/resources/telemetry/client/index.js +2 -0
- package/api/resources/telemetry/index.d.ts +1 -0
- package/api/resources/telemetry/index.js +17 -0
- package/api/resources/templates/client/Client.d.ts +174 -0
- package/api/resources/templates/client/Client.js +778 -0
- package/api/resources/templates/client/index.d.ts +1 -0
- package/api/resources/templates/client/index.js +17 -0
- package/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +9 -0
- package/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +5 -0
- package/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
- package/api/resources/templates/client/requests/TemplatesForkTemplateRequest.js +5 -0
- package/api/resources/templates/client/requests/TemplatesListRequest.d.ts +26 -0
- package/api/resources/templates/client/requests/TemplatesListRequest.js +5 -0
- package/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
- package/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js +5 -0
- package/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
- package/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +5 -0
- package/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
- package/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +5 -0
- package/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +11 -0
- package/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +5 -0
- package/api/resources/templates/client/requests/index.d.ts +7 -0
- package/api/resources/templates/client/requests/index.js +2 -0
- package/api/resources/templates/index.d.ts +3 -0
- package/api/resources/templates/index.js +19 -0
- package/api/resources/templates/resources/agents/client/Client.d.ts +51 -0
- package/api/resources/templates/resources/agents/client/Client.js +148 -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/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +22 -0
- package/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.js +5 -0
- package/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/templates/resources/agents/client/requests/index.js +2 -0
- package/api/resources/templates/resources/agents/index.d.ts +2 -0
- package/api/resources/templates/resources/agents/index.js +18 -0
- package/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItem.d.ts +13 -0
- package/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItem.js +5 -0
- package/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.d.ts +9 -0
- package/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.js +11 -0
- package/api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +7 -0
- package/api/resources/templates/resources/agents/types/AgentsCreateResponse.js +5 -0
- package/api/resources/templates/resources/agents/types/index.d.ts +3 -0
- package/api/resources/templates/resources/agents/types/index.js +19 -0
- package/api/resources/templates/resources/index.d.ts +3 -0
- package/api/resources/templates/resources/index.js +42 -0
- package/api/resources/templates/types/TemplatesCreateTemplateRequest.d.ts +14 -0
- package/api/resources/templates/types/TemplatesCreateTemplateRequest.js +5 -0
- package/api/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.d.ts +13 -0
- package/api/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.js +5 -0
- package/api/resources/templates/types/TemplatesCreateTemplateRequestAgentId.d.ts +13 -0
- package/api/resources/templates/types/TemplatesCreateTemplateRequestAgentId.js +5 -0
- package/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +17 -0
- package/api/resources/templates/types/TemplatesCreateTemplateResponse.js +5 -0
- package/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
- package/api/resources/templates/types/TemplatesDeleteTemplateResponse.js +5 -0
- package/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +17 -0
- package/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +19 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
- package/api/resources/templates/types/TemplatesListRequestSortBy.d.ts +8 -0
- package/api/resources/templates/types/TemplatesListRequestSortBy.js +10 -0
- package/api/resources/templates/types/TemplatesListResponse.d.ts +8 -0
- package/api/resources/templates/types/TemplatesListResponse.js +5 -0
- package/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +17 -0
- package/api/resources/templates/types/TemplatesListResponseTemplatesItem.js +5 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
- package/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
- package/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
- package/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +17 -0
- package/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
- package/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +6 -0
- package/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +5 -0
- package/api/resources/templates/types/index.d.ts +37 -0
- package/api/resources/templates/types/index.js +53 -0
- package/api/resources/tools/client/Client.d.ts +309 -0
- package/api/resources/tools/client/Client.js +1702 -0
- package/api/resources/tools/client/index.d.ts +1 -0
- package/api/resources/tools/client/index.js +17 -0
- package/api/resources/tools/client/requests/ListComposioAppsRequest.d.ts +10 -0
- package/api/resources/tools/client/requests/ListComposioAppsRequest.js +5 -0
- package/api/resources/tools/client/requests/ListMcpServersRequest.d.ts +10 -0
- package/api/resources/tools/client/requests/ListMcpServersRequest.js +5 -0
- package/api/resources/tools/client/requests/ToolRunFromSource.d.ts +33 -0
- package/api/resources/tools/client/requests/ToolRunFromSource.js +5 -0
- package/api/resources/tools/client/requests/ToolUpdate.d.ts +32 -0
- package/api/resources/tools/client/requests/ToolUpdate.js +5 -0
- package/api/resources/tools/client/requests/ToolsCountRequest.d.ts +38 -0
- package/api/resources/tools/client/requests/ToolsCountRequest.js +5 -0
- package/api/resources/tools/client/requests/ToolsListRequest.d.ts +36 -0
- package/api/resources/tools/client/requests/ToolsListRequest.js +5 -0
- package/api/resources/tools/client/requests/index.d.ts +6 -0
- package/api/resources/tools/client/requests/index.js +2 -0
- package/api/resources/tools/index.d.ts +2 -0
- package/api/resources/tools/index.js +18 -0
- package/api/resources/tools/types/AddMcpServerRequest.d.ts +5 -0
- package/api/resources/tools/types/AddMcpServerRequest.js +5 -0
- package/api/resources/tools/types/AddMcpServerResponseItem.d.ts +5 -0
- package/api/resources/tools/types/AddMcpServerResponseItem.js +5 -0
- package/api/resources/tools/types/ConnectMcpServerRequest.d.ts +5 -0
- package/api/resources/tools/types/ConnectMcpServerRequest.js +5 -0
- package/api/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +12 -0
- package/api/resources/tools/types/ConnectMcpServerResponseEvent.js +14 -0
- package/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +5 -0
- package/api/resources/tools/types/DeleteMcpServerResponseItem.js +5 -0
- package/api/resources/tools/types/ListMcpServersResponseValue.d.ts +5 -0
- package/api/resources/tools/types/ListMcpServersResponseValue.js +5 -0
- package/api/resources/tools/types/StreamingResponse.d.ts +9 -0
- package/api/resources/tools/types/StreamingResponse.js +5 -0
- package/api/resources/tools/types/TestMcpServerRequest.d.ts +5 -0
- package/api/resources/tools/types/TestMcpServerRequest.js +5 -0
- package/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
- package/api/resources/tools/types/UpdateMcpServerRequest.js +5 -0
- package/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
- package/api/resources/tools/types/UpdateMcpServerResponse.js +5 -0
- package/api/resources/tools/types/index.d.ts +10 -0
- package/api/resources/tools/types/index.js +26 -0
- package/api/resources/voice/client/Client.d.ts +52 -0
- package/api/resources/voice/client/Client.js +143 -0
- package/api/resources/voice/client/index.d.ts +1 -0
- package/api/resources/voice/client/index.js +17 -0
- package/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.d.ts +15 -0
- package/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.js +5 -0
- package/api/resources/voice/client/requests/index.d.ts +1 -0
- package/api/resources/voice/client/requests/index.js +2 -0
- package/api/resources/voice/index.d.ts +1 -0
- package/api/resources/voice/index.js +17 -0
- package/api/types/ActionModel.d.ts +21 -0
- package/api/types/ActionModel.js +5 -0
- package/api/types/ActionParametersModel.d.ts +13 -0
- package/api/types/ActionParametersModel.js +5 -0
- package/api/types/ActionResponseModel.d.ts +13 -0
- package/api/types/ActionResponseModel.js +5 -0
- package/api/types/AgentEnvironmentVariable.d.ts +23 -0
- package/api/types/AgentEnvironmentVariable.js +5 -0
- package/api/types/AgentFileAttachment.d.ts +28 -0
- package/api/types/AgentFileAttachment.js +5 -0
- package/api/types/AgentFileSchema.d.ts +27 -0
- package/api/types/AgentFileSchema.js +5 -0
- package/api/types/AgentState.d.ts +90 -0
- package/api/types/AgentState.js +5 -0
- package/api/types/AgentStateResponseFormat.d.ts +5 -0
- package/api/types/AgentStateResponseFormat.js +5 -0
- package/api/types/AgentStateToolRulesItem.d.ts +5 -0
- package/api/types/AgentStateToolRulesItem.js +5 -0
- package/api/types/AgentType.d.ts +17 -0
- package/api/types/AgentType.js +16 -0
- package/api/types/AppAuthScheme.d.ts +19 -0
- package/api/types/AppAuthScheme.js +5 -0
- package/api/types/AppAuthSchemeAuthMode.d.ts +16 -0
- package/api/types/AppAuthSchemeAuthMode.js +18 -0
- package/api/types/AppModel.d.ts +25 -0
- package/api/types/AppModel.js +5 -0
- package/api/types/ApprovalCreate.d.ts +16 -0
- package/api/types/ApprovalCreate.js +5 -0
- package/api/types/ApprovalRequestMessage.d.ts +27 -0
- package/api/types/ApprovalRequestMessage.js +5 -0
- package/api/types/ApprovalRequestMessageToolCall.d.ts +8 -0
- package/api/types/ApprovalRequestMessageToolCall.js +5 -0
- package/api/types/ApprovalResponseMessage.d.ts +32 -0
- package/api/types/ApprovalResponseMessage.js +5 -0
- package/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
- package/api/types/ArchivalMemorySearchResponse.js +5 -0
- package/api/types/ArchivalMemorySearchResult.d.ts +11 -0
- package/api/types/ArchivalMemorySearchResult.js +5 -0
- package/api/types/AssistantMessage.d.ts +27 -0
- package/api/types/AssistantMessage.js +5 -0
- package/api/types/AssistantMessageContent.d.ts +8 -0
- package/api/types/AssistantMessageContent.js +5 -0
- package/api/types/Audio.d.ts +6 -0
- package/api/types/Audio.js +5 -0
- package/api/types/AuthRequest.d.ts +7 -0
- package/api/types/AuthRequest.js +5 -0
- package/api/types/AuthResponse.d.ts +9 -0
- package/api/types/AuthResponse.js +5 -0
- package/api/types/AuthSchemeField.d.ts +16 -0
- package/api/types/AuthSchemeField.js +5 -0
- package/api/types/BadRequestErrorBody.d.ts +6 -0
- package/api/types/BadRequestErrorBody.js +5 -0
- package/api/types/Base64Image.d.ts +12 -0
- package/api/types/Base64Image.js +5 -0
- package/api/types/BaseToolRuleSchema.d.ts +7 -0
- package/api/types/BaseToolRuleSchema.js +5 -0
- package/api/types/BatchJob.d.ts +35 -0
- package/api/types/BatchJob.js +5 -0
- package/api/types/Block.d.ts +53 -0
- package/api/types/Block.js +5 -0
- package/api/types/BlockSchema.d.ts +37 -0
- package/api/types/BlockSchema.js +5 -0
- package/api/types/BlockUpdate.d.ts +36 -0
- package/api/types/BlockUpdate.js +5 -0
- package/api/types/BodyExportAgentSerialized.d.ts +8 -0
- package/api/types/BodyExportAgentSerialized.js +5 -0
- package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolChoiceParam.js +5 -0
- package/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParam.js +5 -0
- package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
- package/api/types/ChatCompletionAssistantMessageParam.d.ts +13 -0
- package/api/types/ChatCompletionAssistantMessageParam.js +5 -0
- package/api/types/ChatCompletionAssistantMessageParamContent.d.ts +5 -0
- package/api/types/ChatCompletionAssistantMessageParamContent.js +5 -0
- package/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +5 -0
- package/api/types/ChatCompletionAssistantMessageParamContentItem.js +5 -0
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +5 -0
- package/api/types/ChatCompletionAudioParam.d.ts +8 -0
- package/api/types/ChatCompletionAudioParam.js +5 -0
- package/api/types/ChatCompletionAudioParamFormat.d.ts +12 -0
- package/api/types/ChatCompletionAudioParamFormat.js +14 -0
- package/api/types/ChatCompletionAudioParamVoice.d.ts +4 -0
- package/api/types/ChatCompletionAudioParamVoice.js +5 -0
- package/api/types/ChatCompletionContentPartImageParam.d.ts +8 -0
- package/api/types/ChatCompletionContentPartImageParam.js +5 -0
- package/api/types/ChatCompletionContentPartInputAudioParam.d.ts +8 -0
- package/api/types/ChatCompletionContentPartInputAudioParam.js +5 -0
- package/api/types/ChatCompletionContentPartRefusalParam.d.ts +7 -0
- package/api/types/ChatCompletionContentPartRefusalParam.js +5 -0
- package/api/types/ChatCompletionContentPartTextParam.d.ts +7 -0
- package/api/types/ChatCompletionContentPartTextParam.js +5 -0
- package/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
- package/api/types/ChatCompletionCustomToolParam.js +5 -0
- package/api/types/ChatCompletionDeveloperMessageParam.d.ts +9 -0
- package/api/types/ChatCompletionDeveloperMessageParam.js +5 -0
- package/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +5 -0
- package/api/types/ChatCompletionDeveloperMessageParamContent.js +5 -0
- package/api/types/ChatCompletionFunctionCallOptionParam.d.ts +6 -0
- package/api/types/ChatCompletionFunctionCallOptionParam.js +5 -0
- package/api/types/ChatCompletionFunctionMessageParam.d.ts +8 -0
- package/api/types/ChatCompletionFunctionMessageParam.js +5 -0
- package/api/types/ChatCompletionFunctionToolParam.d.ts +8 -0
- package/api/types/ChatCompletionFunctionToolParam.js +5 -0
- package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
- package/api/types/ChatCompletionMessageCustomToolCallParam.js +5 -0
- package/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +11 -0
- package/api/types/ChatCompletionMessageFunctionToolCallInput.js +5 -0
- package/api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +11 -0
- package/api/types/ChatCompletionMessageFunctionToolCallOutput.js +5 -0
- package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
- package/api/types/ChatCompletionMessageFunctionToolCallParam.js +5 -0
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
- package/api/types/ChatCompletionNamedToolChoiceParam.d.ts +8 -0
- package/api/types/ChatCompletionNamedToolChoiceParam.js +5 -0
- package/api/types/ChatCompletionPredictionContentParam.d.ts +8 -0
- package/api/types/ChatCompletionPredictionContentParam.js +5 -0
- package/api/types/ChatCompletionPredictionContentParamContent.d.ts +5 -0
- package/api/types/ChatCompletionPredictionContentParamContent.js +5 -0
- package/api/types/ChatCompletionStreamOptionsParam.d.ts +7 -0
- package/api/types/ChatCompletionStreamOptionsParam.js +5 -0
- package/api/types/ChatCompletionSystemMessageParam.d.ts +9 -0
- package/api/types/ChatCompletionSystemMessageParam.js +5 -0
- package/api/types/ChatCompletionSystemMessageParamContent.d.ts +5 -0
- package/api/types/ChatCompletionSystemMessageParamContent.js +5 -0
- package/api/types/ChatCompletionToolMessageParam.d.ts +9 -0
- package/api/types/ChatCompletionToolMessageParam.js +5 -0
- package/api/types/ChatCompletionToolMessageParamContent.d.ts +5 -0
- package/api/types/ChatCompletionToolMessageParamContent.js +5 -0
- package/api/types/ChatCompletionUserMessageParam.d.ts +9 -0
- package/api/types/ChatCompletionUserMessageParam.js +5 -0
- package/api/types/ChatCompletionUserMessageParamContent.d.ts +5 -0
- package/api/types/ChatCompletionUserMessageParamContent.js +5 -0
- package/api/types/ChatCompletionUserMessageParamContentItem.d.ts +5 -0
- package/api/types/ChatCompletionUserMessageParamContentItem.js +5 -0
- package/api/types/ChildToolRule.d.ts +15 -0
- package/api/types/ChildToolRule.js +5 -0
- package/api/types/ChildToolRuleSchema.d.ts +8 -0
- package/api/types/ChildToolRuleSchema.js +5 -0
- package/api/types/CodeInput.d.ts +9 -0
- package/api/types/CodeInput.js +5 -0
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +40 -0
- package/api/types/CompletionCreateParamsNonStreaming.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +8 -0
- package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +10 -0
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +4 -0
- package/api/types/CompletionCreateParamsNonStreamingModel.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +10 -0
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +12 -0
- package/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +11 -0
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.js +13 -0
- package/api/types/CompletionCreateParamsNonStreamingStop.d.ts +4 -0
- package/api/types/CompletionCreateParamsNonStreamingStop.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
- package/api/types/CompletionCreateParamsStreaming.d.ts +40 -0
- package/api/types/CompletionCreateParamsStreaming.js +5 -0
- package/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingFunctionCall.js +5 -0
- package/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingMessagesItem.js +5 -0
- package/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +8 -0
- package/api/types/CompletionCreateParamsStreamingModalitiesItem.js +10 -0
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +4 -0
- package/api/types/CompletionCreateParamsStreamingModel.js +5 -0
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +10 -0
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +12 -0
- package/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingResponseFormat.js +5 -0
- package/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +11 -0
- package/api/types/CompletionCreateParamsStreamingServiceTier.js +13 -0
- package/api/types/CompletionCreateParamsStreamingStop.d.ts +4 -0
- package/api/types/CompletionCreateParamsStreamingStop.js +5 -0
- package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingToolChoice.js +5 -0
- package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
- package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
- package/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
- package/api/types/ComponentsSchemasTextContent.d.ts +5 -0
- package/api/types/ComponentsSchemasTextContent.js +5 -0
- package/api/types/ConditionalToolRule.d.ts +19 -0
- package/api/types/ConditionalToolRule.js +5 -0
- package/api/types/ConditionalToolRuleSchema.d.ts +10 -0
- package/api/types/ConditionalToolRuleSchema.js +5 -0
- package/api/types/ConflictErrorBody.d.ts +6 -0
- package/api/types/ConflictErrorBody.js +5 -0
- package/api/types/ContextWindowOverview.d.ts +43 -0
- package/api/types/ContextWindowOverview.js +5 -0
- package/api/types/ContinueToolRule.d.ts +13 -0
- package/api/types/ContinueToolRule.js +5 -0
- package/api/types/CoreMemoryBlockSchema.d.ts +14 -0
- package/api/types/CoreMemoryBlockSchema.js +5 -0
- package/api/types/CreateBlock.d.ts +35 -0
- package/api/types/CreateBlock.js +5 -0
- package/api/types/CustomFormatGrammar.d.ts +8 -0
- package/api/types/CustomFormatGrammar.js +5 -0
- package/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
- package/api/types/CustomFormatGrammarGrammar.js +5 -0
- package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
- package/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
- package/api/types/CustomFormatText.d.ts +6 -0
- package/api/types/CustomFormatText.js +5 -0
- package/api/types/DeleteDeploymentResponse.d.ts +12 -0
- package/api/types/DeleteDeploymentResponse.js +5 -0
- package/api/types/DeploymentEntity.d.ts +12 -0
- package/api/types/DeploymentEntity.js +5 -0
- package/api/types/DuplicateFileHandling.d.ts +13 -0
- package/api/types/DuplicateFileHandling.js +12 -0
- package/api/types/DynamicManager.d.ts +12 -0
- package/api/types/DynamicManager.js +5 -0
- package/api/types/DynamicManagerUpdate.d.ts +12 -0
- package/api/types/DynamicManagerUpdate.js +5 -0
- package/api/types/E2BSandboxConfig.d.ts +11 -0
- package/api/types/E2BSandboxConfig.js +5 -0
- package/api/types/EmbeddingConfig.d.ts +29 -0
- package/api/types/EmbeddingConfig.js +5 -0
- package/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +28 -0
- package/api/types/EmbeddingConfigEmbeddingEndpointType.js +27 -0
- package/api/types/FeedbackType.d.ts +8 -0
- package/api/types/FeedbackType.js +10 -0
- package/api/types/FileAgentSchema.d.ts +28 -0
- package/api/types/FileAgentSchema.js +5 -0
- package/api/types/FileBlock.d.ts +47 -0
- package/api/types/FileBlock.js +5 -0
- package/api/types/FileFile.d.ts +8 -0
- package/api/types/FileFile.js +5 -0
- package/api/types/FileMetadata.d.ts +41 -0
- package/api/types/FileMetadata.js +5 -0
- package/api/types/FileProcessingStatus.d.ts +11 -0
- package/api/types/FileProcessingStatus.js +13 -0
- package/api/types/FileSchema.d.ts +37 -0
- package/api/types/FileSchema.js +5 -0
- package/api/types/FileStats.d.ts +14 -0
- package/api/types/FileStats.js +5 -0
- package/api/types/File_.d.ts +8 -0
- package/api/types/File_.js +5 -0
- package/api/types/Folder.d.ts +37 -0
- package/api/types/Folder.js +5 -0
- package/api/types/FunctionCall.d.ts +7 -0
- package/api/types/FunctionCall.js +5 -0
- package/api/types/FunctionDefinitionInput.d.ts +9 -0
- package/api/types/FunctionDefinitionInput.js +5 -0
- package/api/types/FunctionDefinitionOutput.d.ts +11 -0
- package/api/types/FunctionDefinitionOutput.js +5 -0
- package/api/types/FunctionOutput.d.ts +9 -0
- package/api/types/FunctionOutput.js +5 -0
- package/api/types/FunctionTool.d.ts +10 -0
- package/api/types/FunctionTool.js +5 -0
- package/api/types/GenerateToolInput.d.ts +15 -0
- package/api/types/GenerateToolInput.js +5 -0
- package/api/types/GenerateToolOutput.d.ts +12 -0
- package/api/types/GenerateToolOutput.js +5 -0
- package/api/types/Group.d.ts +42 -0
- package/api/types/Group.js +5 -0
- package/api/types/GroupSchema.d.ts +23 -0
- package/api/types/GroupSchema.js +5 -0
- package/api/types/GroupSchemaManagerConfig.d.ts +8 -0
- package/api/types/GroupSchemaManagerConfig.js +5 -0
- package/api/types/Health.d.ts +10 -0
- package/api/types/Health.js +5 -0
- package/api/types/HiddenReasoningMessage.d.ts +30 -0
- package/api/types/HiddenReasoningMessage.js +5 -0
- package/api/types/HiddenReasoningMessageState.d.ts +8 -0
- package/api/types/HiddenReasoningMessageState.js +10 -0
- package/api/types/HttpValidationError.d.ts +7 -0
- package/api/types/HttpValidationError.js +5 -0
- package/api/types/Identity.d.ts +22 -0
- package/api/types/Identity.js +5 -0
- package/api/types/IdentityProperty.d.ts +15 -0
- package/api/types/IdentityProperty.js +5 -0
- package/api/types/IdentityPropertyType.d.ts +13 -0
- package/api/types/IdentityPropertyType.js +12 -0
- package/api/types/IdentityPropertyValue.d.ts +7 -0
- package/api/types/IdentityPropertyValue.js +5 -0
- package/api/types/IdentityType.d.ts +12 -0
- package/api/types/IdentityType.js +11 -0
- package/api/types/ImageContent.d.ts +9 -0
- package/api/types/ImageContent.js +5 -0
- package/api/types/ImageContentSource.d.ts +8 -0
- package/api/types/ImageContentSource.js +5 -0
- package/api/types/ImageUrl.d.ts +8 -0
- package/api/types/ImageUrl.js +5 -0
- package/api/types/ImageUrlDetail.d.ts +9 -0
- package/api/types/ImageUrlDetail.js +11 -0
- package/api/types/ImportedAgentsResponse.d.ts +10 -0
- package/api/types/ImportedAgentsResponse.js +5 -0
- package/api/types/InitToolRule.d.ts +13 -0
- package/api/types/InitToolRule.js +5 -0
- package/api/types/InputAudio.d.ts +8 -0
- package/api/types/InputAudio.js +5 -0
- package/api/types/InputAudioFormat.d.ts +8 -0
- package/api/types/InputAudioFormat.js +10 -0
- package/api/types/InternalTemplateAgentCreate.d.ts +99 -0
- package/api/types/InternalTemplateAgentCreate.js +5 -0
- package/api/types/InternalTemplateAgentCreateResponseFormat.d.ts +5 -0
- package/api/types/InternalTemplateAgentCreateResponseFormat.js +5 -0
- package/api/types/InternalTemplateAgentCreateToolRulesItem.d.ts +5 -0
- package/api/types/InternalTemplateAgentCreateToolRulesItem.js +5 -0
- package/api/types/InternalTemplateBlockCreate.d.ts +37 -0
- package/api/types/InternalTemplateBlockCreate.js +5 -0
- package/api/types/InternalTemplateGroupCreate.d.ts +27 -0
- package/api/types/InternalTemplateGroupCreate.js +5 -0
- package/api/types/InternalTemplateGroupCreateManagerConfig.d.ts +8 -0
- package/api/types/InternalTemplateGroupCreateManagerConfig.js +5 -0
- package/api/types/Job.d.ts +46 -0
- package/api/types/Job.js +5 -0
- package/api/types/JobStatus.d.ts +16 -0
- package/api/types/JobStatus.js +15 -0
- package/api/types/JobType.d.ts +9 -0
- package/api/types/JobType.js +11 -0
- package/api/types/JsonObjectResponseFormat.d.ts +9 -0
- package/api/types/JsonObjectResponseFormat.js +5 -0
- package/api/types/JsonSchema.d.ts +9 -0
- package/api/types/JsonSchema.js +5 -0
- package/api/types/JsonSchemaResponseFormat.d.ts +11 -0
- package/api/types/JsonSchemaResponseFormat.js +5 -0
- package/api/types/LettaBatchMessages.d.ts +7 -0
- package/api/types/LettaBatchMessages.js +5 -0
- package/api/types/LettaBatchRequest.d.ts +22 -0
- package/api/types/LettaBatchRequest.js +5 -0
- package/api/types/LettaBatchRequestMessagesItem.d.ts +5 -0
- package/api/types/LettaBatchRequestMessagesItem.js +5 -0
- package/api/types/LettaImage.d.ts +14 -0
- package/api/types/LettaImage.js +5 -0
- package/api/types/LettaMessageContentUnion.d.ts +5 -0
- package/api/types/LettaMessageContentUnion.js +5 -0
- package/api/types/LettaMessageUnion.d.ts +5 -0
- package/api/types/LettaMessageUnion.js +5 -0
- package/api/types/LettaPing.d.ts +10 -0
- package/api/types/LettaPing.js +5 -0
- package/api/types/LettaRequest.d.ts +20 -0
- package/api/types/LettaRequest.js +5 -0
- package/api/types/LettaRequestConfig.d.ts +14 -0
- package/api/types/LettaRequestConfig.js +5 -0
- package/api/types/LettaRequestMessagesItem.d.ts +5 -0
- package/api/types/LettaRequestMessagesItem.js +5 -0
- package/api/types/LettaResponse.d.ts +19 -0
- package/api/types/LettaResponse.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
- package/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +39 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
- package/api/types/LettaSchemasAgentFileToolSchema.d.ts +41 -0
- package/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts +25 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts +16 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts +18 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
- package/api/types/LettaStopReason.d.ts +13 -0
- package/api/types/LettaStopReason.js +5 -0
- package/api/types/LettaStreamingRequest.d.ts +26 -0
- package/api/types/LettaStreamingRequest.js +5 -0
- package/api/types/LettaStreamingRequestMessagesItem.d.ts +5 -0
- package/api/types/LettaStreamingRequestMessagesItem.js +5 -0
- package/api/types/LettaUsageStatistics.d.ts +28 -0
- package/api/types/LettaUsageStatistics.js +5 -0
- package/api/types/LettaUserMessageContentUnion.d.ts +5 -0
- package/api/types/LettaUserMessageContentUnion.js +5 -0
- package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
- package/api/types/ListDeploymentEntitiesResponse.js +5 -0
- package/api/types/LlmConfig.d.ts +45 -0
- package/api/types/LlmConfig.js +5 -0
- package/api/types/LlmConfigCompatibilityType.d.ts +8 -0
- package/api/types/LlmConfigCompatibilityType.js +10 -0
- package/api/types/LlmConfigModelEndpointType.d.ts +30 -0
- package/api/types/LlmConfigModelEndpointType.js +29 -0
- package/api/types/LlmConfigReasoningEffort.d.ts +10 -0
- package/api/types/LlmConfigReasoningEffort.js +12 -0
- package/api/types/LlmConfigVerbosity.d.ts +9 -0
- package/api/types/LlmConfigVerbosity.js +11 -0
- package/api/types/LocalSandboxConfig.d.ts +14 -0
- package/api/types/LocalSandboxConfig.js +5 -0
- package/api/types/ManagerType.d.ts +12 -0
- package/api/types/ManagerType.js +14 -0
- package/api/types/MaxCountPerStepToolRule.d.ts +15 -0
- package/api/types/MaxCountPerStepToolRule.js +5 -0
- package/api/types/MaxCountPerStepToolRuleSchema.d.ts +8 -0
- package/api/types/MaxCountPerStepToolRuleSchema.js +5 -0
- package/api/types/McpServerSchema.d.ts +15 -0
- package/api/types/McpServerSchema.js +5 -0
- package/api/types/McpServerType.d.ts +9 -0
- package/api/types/McpServerType.js +11 -0
- package/api/types/McpTool.d.ts +20 -0
- package/api/types/McpTool.js +5 -0
- package/api/types/McpToolExecuteRequest.d.ts +7 -0
- package/api/types/McpToolExecuteRequest.js +5 -0
- package/api/types/McpToolHealth.d.ts +12 -0
- package/api/types/McpToolHealth.js +5 -0
- package/api/types/Memory.d.ts +15 -0
- package/api/types/Memory.js +5 -0
- package/api/types/Message.d.ts +71 -0
- package/api/types/Message.js +5 -0
- package/api/types/MessageContentItem.d.ts +5 -0
- package/api/types/MessageContentItem.js +5 -0
- package/api/types/MessageCreate.d.ts +25 -0
- package/api/types/MessageCreate.js +5 -0
- package/api/types/MessageCreateContent.d.ts +8 -0
- package/api/types/MessageCreateContent.js +5 -0
- package/api/types/MessageCreateRole.d.ts +12 -0
- package/api/types/MessageCreateRole.js +11 -0
- package/api/types/MessageRole.d.ts +12 -0
- package/api/types/MessageRole.js +14 -0
- package/api/types/MessageSearchResult.d.ts +19 -0
- package/api/types/MessageSearchResult.js +5 -0
- package/api/types/MessageType.d.ts +15 -0
- package/api/types/MessageType.js +17 -0
- package/api/types/ModalSandboxConfig.d.ts +13 -0
- package/api/types/ModalSandboxConfig.js +5 -0
- package/api/types/ModalSandboxConfigLanguage.d.ts +8 -0
- package/api/types/ModalSandboxConfigLanguage.js +10 -0
- package/api/types/NotFoundErrorBody.d.ts +6 -0
- package/api/types/NotFoundErrorBody.js +5 -0
- package/api/types/NpmRequirement.d.ts +9 -0
- package/api/types/NpmRequirement.js +5 -0
- package/api/types/OmittedReasoningContent.d.ts +6 -0
- package/api/types/OmittedReasoningContent.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +9 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +7 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +6 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +5 -0
- package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +8 -0
- package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +5 -0
- package/api/types/Organization.d.ts +13 -0
- package/api/types/Organization.js +5 -0
- package/api/types/OrganizationCreate.d.ts +9 -0
- package/api/types/OrganizationCreate.js +5 -0
- package/api/types/OrganizationSourcesStats.d.ts +17 -0
- package/api/types/OrganizationSourcesStats.js +5 -0
- package/api/types/OrganizationUpdate.d.ts +9 -0
- package/api/types/OrganizationUpdate.js +5 -0
- package/api/types/PaginatedAgentFiles.d.ts +15 -0
- package/api/types/PaginatedAgentFiles.js +5 -0
- package/api/types/ParameterProperties.d.ts +7 -0
- package/api/types/ParameterProperties.js +5 -0
- package/api/types/ParametersSchema.d.ts +9 -0
- package/api/types/ParametersSchema.js +5 -0
- package/api/types/ParentToolRule.d.ts +15 -0
- package/api/types/ParentToolRule.js +5 -0
- package/api/types/Passage.d.ts +49 -0
- package/api/types/Passage.js +5 -0
- package/api/types/PaymentRequiredErrorBody.d.ts +7 -0
- package/api/types/PaymentRequiredErrorBody.js +5 -0
- package/api/types/PipRequirement.d.ts +9 -0
- package/api/types/PipRequirement.js +5 -0
- package/api/types/Provider.d.ts +26 -0
- package/api/types/Provider.js +5 -0
- package/api/types/ProviderCategory.d.ts +8 -0
- package/api/types/ProviderCategory.js +10 -0
- package/api/types/ProviderTrace.d.ts +32 -0
- package/api/types/ProviderTrace.js +5 -0
- package/api/types/ProviderType.d.ts +23 -0
- package/api/types/ProviderType.js +25 -0
- package/api/types/ReasoningContent.d.ts +12 -0
- package/api/types/ReasoningContent.js +5 -0
- package/api/types/ReasoningMessage.d.ts +31 -0
- package/api/types/ReasoningMessage.js +5 -0
- package/api/types/ReasoningMessageSource.d.ts +8 -0
- package/api/types/ReasoningMessageSource.js +10 -0
- package/api/types/RedactedReasoningContent.d.ts +8 -0
- package/api/types/RedactedReasoningContent.js +5 -0
- package/api/types/RequiredBeforeExitToolRule.d.ts +13 -0
- package/api/types/RequiredBeforeExitToolRule.js +5 -0
- package/api/types/RequiresApprovalToolRule.d.ts +13 -0
- package/api/types/RequiresApprovalToolRule.js +5 -0
- package/api/types/ResponseFormatJsonObject.d.ts +6 -0
- package/api/types/ResponseFormatJsonObject.js +5 -0
- package/api/types/ResponseFormatJsonSchema.d.ts +8 -0
- package/api/types/ResponseFormatJsonSchema.js +5 -0
- package/api/types/ResponseFormatText.d.ts +6 -0
- package/api/types/ResponseFormatText.js +5 -0
- package/api/types/RoundRobinManager.d.ts +8 -0
- package/api/types/RoundRobinManager.js +5 -0
- package/api/types/RoundRobinManagerUpdate.d.ts +8 -0
- package/api/types/RoundRobinManagerUpdate.js +5 -0
- package/api/types/Run.d.ts +48 -0
- package/api/types/Run.js +5 -0
- package/api/types/SandboxConfig.d.ts +20 -0
- package/api/types/SandboxConfig.js +5 -0
- package/api/types/SandboxConfigCreate.d.ts +8 -0
- package/api/types/SandboxConfigCreate.js +5 -0
- package/api/types/SandboxConfigCreateConfig.d.ts +8 -0
- package/api/types/SandboxConfigCreateConfig.js +5 -0
- package/api/types/SandboxConfigUpdate.d.ts +11 -0
- package/api/types/SandboxConfigUpdate.js +5 -0
- package/api/types/SandboxConfigUpdateConfig.d.ts +8 -0
- package/api/types/SandboxConfigUpdateConfig.js +5 -0
- package/api/types/SandboxEnvironmentVariable.d.ts +23 -0
- package/api/types/SandboxEnvironmentVariable.js +5 -0
- package/api/types/SandboxEnvironmentVariableCreate.d.ts +11 -0
- package/api/types/SandboxEnvironmentVariableCreate.js +5 -0
- package/api/types/SandboxEnvironmentVariableUpdate.d.ts +11 -0
- package/api/types/SandboxEnvironmentVariableUpdate.js +5 -0
- package/api/types/SandboxType.d.ts +9 -0
- package/api/types/SandboxType.js +11 -0
- package/api/types/SleeptimeManager.d.ts +10 -0
- package/api/types/SleeptimeManager.js +5 -0
- package/api/types/SleeptimeManagerUpdate.d.ts +10 -0
- package/api/types/SleeptimeManagerUpdate.js +5 -0
- package/api/types/Source.d.ts +39 -0
- package/api/types/Source.js +5 -0
- package/api/types/SourceCreate.d.ts +23 -0
- package/api/types/SourceCreate.js +5 -0
- package/api/types/SourceSchema.d.ts +25 -0
- package/api/types/SourceSchema.js +5 -0
- package/api/types/SourceStats.d.ts +19 -0
- package/api/types/SourceStats.js +5 -0
- package/api/types/SourceUpdate.d.ts +19 -0
- package/api/types/SourceUpdate.js +5 -0
- package/api/types/SseServerConfig.d.ts +27 -0
- package/api/types/SseServerConfig.js +5 -0
- package/api/types/StdioServerConfig.d.ts +15 -0
- package/api/types/StdioServerConfig.js +5 -0
- package/api/types/Step.d.ts +54 -0
- package/api/types/Step.js +5 -0
- package/api/types/StepFeedback.d.ts +8 -0
- package/api/types/StepFeedback.js +10 -0
- package/api/types/StepMetrics.d.ts +29 -0
- package/api/types/StepMetrics.js +5 -0
- package/api/types/StepStatus.d.ts +13 -0
- package/api/types/StepStatus.js +12 -0
- package/api/types/StopReasonType.d.ts +15 -0
- package/api/types/StopReasonType.js +17 -0
- package/api/types/StreamableHttpServerConfig.d.ts +27 -0
- package/api/types/StreamableHttpServerConfig.js +5 -0
- package/api/types/SupervisorManager.d.ts +8 -0
- package/api/types/SupervisorManager.js +5 -0
- package/api/types/SupervisorManagerUpdate.d.ts +8 -0
- package/api/types/SupervisorManagerUpdate.js +5 -0
- package/api/types/SystemMessage.d.ts +26 -0
- package/api/types/SystemMessage.js +5 -0
- package/api/types/TagSchema.d.ts +6 -0
- package/api/types/TagSchema.js +5 -0
- package/api/types/TerminalToolRule.d.ts +13 -0
- package/api/types/TerminalToolRule.js +5 -0
- package/api/types/TextContent.d.ts +8 -0
- package/api/types/TextContent.js +5 -0
- package/api/types/TextResponseFormat.d.ts +9 -0
- package/api/types/TextResponseFormat.js +5 -0
- package/api/types/Tool.d.ts +48 -0
- package/api/types/Tool.js +5 -0
- package/api/types/ToolAnnotations.d.ts +22 -0
- package/api/types/ToolAnnotations.js +5 -0
- package/api/types/ToolCall.d.ts +8 -0
- package/api/types/ToolCall.js +5 -0
- package/api/types/ToolCallContent.d.ts +12 -0
- package/api/types/ToolCallContent.js +5 -0
- package/api/types/ToolCallDelta.d.ts +8 -0
- package/api/types/ToolCallDelta.js +5 -0
- package/api/types/ToolCallMessage.d.ts +26 -0
- package/api/types/ToolCallMessage.js +5 -0
- package/api/types/ToolCallMessageToolCall.d.ts +5 -0
- package/api/types/ToolCallMessageToolCall.js +5 -0
- package/api/types/ToolCreate.d.ts +26 -0
- package/api/types/ToolCreate.js +5 -0
- package/api/types/ToolEnvVarSchema.d.ts +10 -0
- package/api/types/ToolEnvVarSchema.js +5 -0
- package/api/types/ToolJsonSchema.d.ts +11 -0
- package/api/types/ToolJsonSchema.js +5 -0
- package/api/types/ToolReturn.d.ts +12 -0
- package/api/types/ToolReturn.js +5 -0
- package/api/types/ToolReturnContent.d.ts +12 -0
- package/api/types/ToolReturnContent.js +5 -0
- package/api/types/ToolReturnMessage.d.ts +34 -0
- package/api/types/ToolReturnMessage.js +5 -0
- package/api/types/ToolReturnMessageStatus.d.ts +8 -0
- package/api/types/ToolReturnMessageStatus.js +10 -0
- package/api/types/ToolReturnStatus.d.ts +11 -0
- package/api/types/ToolReturnStatus.js +10 -0
- package/api/types/ToolType.d.ts +17 -0
- package/api/types/ToolType.js +19 -0
- package/api/types/UpdateAssistantMessage.d.ts +9 -0
- package/api/types/UpdateAssistantMessage.js +5 -0
- package/api/types/UpdateAssistantMessageContent.d.ts +8 -0
- package/api/types/UpdateAssistantMessageContent.js +5 -0
- package/api/types/UpdateReasoningMessage.d.ts +7 -0
- package/api/types/UpdateReasoningMessage.js +5 -0
- package/api/types/UpdateSsemcpServer.d.ts +14 -0
- package/api/types/UpdateSsemcpServer.js +5 -0
- package/api/types/UpdateStdioMcpServer.d.ts +11 -0
- package/api/types/UpdateStdioMcpServer.js +5 -0
- package/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
- package/api/types/UpdateStreamableHttpmcpServer.js +5 -0
- package/api/types/UpdateSystemMessage.d.ts +8 -0
- package/api/types/UpdateSystemMessage.js +5 -0
- package/api/types/UpdateUserMessage.d.ts +9 -0
- package/api/types/UpdateUserMessage.js +5 -0
- package/api/types/UpdateUserMessageContent.d.ts +8 -0
- package/api/types/UpdateUserMessageContent.js +5 -0
- package/api/types/UrlImage.d.ts +8 -0
- package/api/types/UrlImage.js +5 -0
- package/api/types/UsageStatistics.d.ts +11 -0
- package/api/types/UsageStatistics.js +5 -0
- package/api/types/UsageStatisticsCompletionTokenDetails.d.ts +6 -0
- package/api/types/UsageStatisticsCompletionTokenDetails.js +5 -0
- package/api/types/UsageStatisticsPromptTokenDetails.d.ts +6 -0
- package/api/types/UsageStatisticsPromptTokenDetails.js +5 -0
- package/api/types/User.d.ts +23 -0
- package/api/types/User.js +5 -0
- package/api/types/UserCreate.d.ts +7 -0
- package/api/types/UserCreate.js +5 -0
- package/api/types/UserMessage.d.ts +27 -0
- package/api/types/UserMessage.js +5 -0
- package/api/types/UserMessageContent.d.ts +8 -0
- package/api/types/UserMessageContent.js +5 -0
- package/api/types/UserUpdate.d.ts +9 -0
- package/api/types/UserUpdate.js +5 -0
- package/api/types/ValidationError.d.ts +9 -0
- package/api/types/ValidationError.js +5 -0
- package/api/types/ValidationErrorLocItem.d.ts +4 -0
- package/api/types/ValidationErrorLocItem.js +5 -0
- package/api/types/VectorDbProvider.d.ts +12 -0
- package/api/types/VectorDbProvider.js +11 -0
- package/api/types/VoiceSleeptimeManager.d.ts +12 -0
- package/api/types/VoiceSleeptimeManager.js +5 -0
- package/api/types/VoiceSleeptimeManagerUpdate.d.ts +12 -0
- package/api/types/VoiceSleeptimeManagerUpdate.js +5 -0
- package/api/types/WebSearchOptions.d.ts +8 -0
- package/api/types/WebSearchOptions.js +5 -0
- package/api/types/WebSearchOptionsSearchContextSize.d.ts +9 -0
- package/api/types/WebSearchOptionsSearchContextSize.js +11 -0
- package/api/types/WebSearchOptionsUserLocation.d.ts +8 -0
- package/api/types/WebSearchOptionsUserLocation.js +5 -0
- package/api/types/WebSearchOptionsUserLocationApproximate.d.ts +9 -0
- package/api/types/WebSearchOptionsUserLocationApproximate.js +5 -0
- package/api/types/index.d.ts +329 -0
- package/api/types/index.js +345 -0
- package/core/fetcher/APIResponse.d.ts +20 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +39 -0
- package/core/fetcher/Fetcher.js +107 -0
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +12 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +68 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +11 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +54 -0
- package/core/fetcher/index.d.ts +8 -0
- package/core/fetcher/index.js +15 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +40 -0
- package/core/fetcher/signals.d.ts +11 -0
- package/core/fetcher/signals.js +36 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/core/form-data-utils/FormDataWrapper.d.ts +63 -0
- package/core/form-data-utils/FormDataWrapper.js +227 -0
- package/core/form-data-utils/encodeAsFormParameter.d.ts +4 -0
- package/core/form-data-utils/encodeAsFormParameter.js +18 -0
- package/core/form-data-utils/index.d.ts +2 -0
- package/core/form-data-utils/index.js +20 -0
- package/core/index.d.ts +5 -0
- package/core/index.js +44 -0
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +9 -0
- package/core/runtime/runtime.js +103 -0
- package/core/schemas/Schema.d.ts +87 -0
- package/core/schemas/Schema.js +24 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +53 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +62 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +38 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +14 -0
- package/core/schemas/builders/index.js +30 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +24 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +11 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +54 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +28 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +261 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +15 -0
- package/core/schemas/builders/object/types.d.ts +31 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +53 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +93 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +21 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +145 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +9 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +43 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +39 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +9 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +129 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +15 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +6 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +13 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +27 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +17 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +6 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +27 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +15 -0
- package/core/streaming-fetcher/Stream.d.ts +47 -0
- package/core/streaming-fetcher/Stream.js +169 -0
- package/core/streaming-fetcher/index.d.ts +1 -0
- package/core/streaming-fetcher/index.js +5 -0
- package/dist/Client.d.ts +98 -0
- package/dist/Client.js +122 -0
- package/dist/api/errors/BadRequestError.d.ts +8 -0
- package/dist/api/errors/BadRequestError.js +52 -0
- package/dist/api/errors/ConflictError.d.ts +9 -0
- package/dist/api/errors/ConflictError.js +52 -0
- package/dist/api/errors/NotFoundError.d.ts +8 -0
- package/dist/api/errors/NotFoundError.js +52 -0
- package/dist/api/errors/PaymentRequiredError.d.ts +9 -0
- package/dist/api/errors/PaymentRequiredError.js +52 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +9 -0
- package/dist/api/errors/UnprocessableEntityError.js +52 -0
- package/dist/api/errors/index.d.ts +5 -0
- package/dist/api/errors/index.js +21 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +19 -0
- package/dist/api/resources/agents/client/Client.d.ts +235 -0
- package/dist/api/resources/agents/client/Client.js +1078 -0
- package/dist/api/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/agents/client/index.js +17 -0
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +69 -0
- package/dist/api/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/AgentsRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/AgentsRetrieveRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +17 -0
- package/dist/api/resources/agents/client/requests/AgentsSearchRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +22 -0
- package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.js +5 -0
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +96 -0
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/ListAgentFilesRequest.d.ts +21 -0
- package/dist/api/resources/agents/client/requests/ListAgentFilesRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/SummarizeAgentConversationRequest.d.ts +15 -0
- package/dist/api/resources/agents/client/requests/SummarizeAgentConversationRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +68 -0
- package/dist/api/resources/agents/client/requests/UpdateAgent.js +5 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +9 -0
- package/dist/api/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/agents/index.d.ts +3 -0
- package/dist/api/resources/agents/index.js +19 -0
- package/dist/api/resources/agents/resources/blocks/client/Client.d.ts +106 -0
- package/dist/api/resources/agents/resources/blocks/client/Client.js +455 -0
- package/dist/api/resources/agents/resources/blocks/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/blocks/client/index.js +2 -0
- package/dist/api/resources/agents/resources/blocks/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/blocks/index.js +17 -0
- package/dist/api/resources/agents/resources/context/client/Client.d.ts +49 -0
- package/dist/api/resources/agents/resources/context/client/Client.js +145 -0
- package/dist/api/resources/agents/resources/context/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/context/client/index.js +2 -0
- package/dist/api/resources/agents/resources/context/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/context/index.js +17 -0
- package/dist/api/resources/agents/resources/coreMemory/client/Client.d.ts +50 -0
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +146 -0
- package/dist/api/resources/agents/resources/coreMemory/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/coreMemory/client/index.js +2 -0
- package/dist/api/resources/agents/resources/coreMemory/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/coreMemory/index.js +17 -0
- package/dist/api/resources/agents/resources/files/client/Client.d.ts +95 -0
- package/dist/api/resources/agents/resources/files/client/Client.js +352 -0
- package/dist/api/resources/agents/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/client/index.js +2 -0
- package/dist/api/resources/agents/resources/files/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/index.js +17 -0
- package/dist/api/resources/agents/resources/folders/client/Client.d.ts +77 -0
- package/dist/api/resources/agents/resources/folders/client/Client.js +299 -0
- package/dist/api/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/folders/client/index.js +2 -0
- package/dist/api/resources/agents/resources/folders/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/folders/index.js +17 -0
- package/dist/api/resources/agents/resources/groups/client/Client.d.ts +50 -0
- package/dist/api/resources/agents/resources/groups/client/Client.js +152 -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/resources/groups/client/requests/GroupsListRequest.d.ts +13 -0
- package/dist/api/resources/agents/resources/groups/client/requests/GroupsListRequest.js +5 -0
- 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 +21 -0
- package/dist/api/resources/agents/resources/index.js +60 -0
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.d.ts +51 -0
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +141 -0
- package/dist/api/resources/agents/resources/memoryVariables/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/memoryVariables/client/index.js +2 -0
- package/dist/api/resources/agents/resources/memoryVariables/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/memoryVariables/index.js +18 -0
- package/dist/api/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.d.ts +6 -0
- package/dist/api/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js +5 -0
- package/dist/api/resources/agents/resources/memoryVariables/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/memoryVariables/types/index.js +17 -0
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +194 -0
- package/dist/api/resources/agents/resources/messages/client/Client.js +847 -0
- package/dist/api/resources/agents/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/messages/client/index.js +17 -0
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +11 -0
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +34 -0
- package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +26 -0
- package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +41 -0
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesListRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts +13 -0
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/agents/resources/messages/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/messages/index.js +18 -0
- package/dist/api/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.d.ts +5 -0
- package/dist/api/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.js +5 -0
- package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +5 -0
- package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.js +5 -0
- package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
- package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesModifyRequest.d.ts +5 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesModifyRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesModifyResponse.d.ts +5 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesModifyResponse.js +5 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.d.ts +5 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/types/index.d.ts +6 -0
- package/dist/api/resources/agents/resources/messages/types/index.js +22 -0
- package/dist/api/resources/agents/resources/passages/client/Client.d.ts +110 -0
- package/dist/api/resources/agents/resources/passages/client/Client.js +472 -0
- package/dist/api/resources/agents/resources/passages/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/client/index.js +17 -0
- package/dist/api/resources/agents/resources/passages/client/requests/CreateArchivalMemory.d.ts +17 -0
- package/dist/api/resources/agents/resources/passages/client/requests/CreateArchivalMemory.js +5 -0
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesListRequest.d.ts +29 -0
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
- package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +3 -0
- package/dist/api/resources/agents/resources/passages/client/requests/index.js +2 -0
- package/dist/api/resources/agents/resources/passages/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/passages/index.js +18 -0
- package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
- package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
- package/dist/api/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/types/index.js +17 -0
- package/dist/api/resources/agents/resources/sources/client/Client.d.ts +77 -0
- package/dist/api/resources/agents/resources/sources/client/Client.js +299 -0
- package/dist/api/resources/agents/resources/sources/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/sources/client/index.js +2 -0
- package/dist/api/resources/agents/resources/sources/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/sources/index.js +17 -0
- package/dist/api/resources/agents/resources/templates/client/Client.d.ts +79 -0
- package/dist/api/resources/agents/resources/templates/client/Client.js +250 -0
- package/dist/api/resources/agents/resources/templates/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/templates/client/index.js +17 -0
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +16 -0
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +5 -0
- package/dist/api/resources/agents/resources/templates/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/templates/client/requests/index.js +2 -0
- package/dist/api/resources/agents/resources/templates/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/templates/index.js +18 -0
- package/dist/api/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts +6 -0
- package/dist/api/resources/agents/resources/templates/types/TemplatesMigrateResponse.js +5 -0
- package/dist/api/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/templates/types/index.js +17 -0
- package/dist/api/resources/agents/resources/tools/client/Client.d.ts +94 -0
- package/dist/api/resources/agents/resources/tools/client/Client.js +383 -0
- package/dist/api/resources/agents/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/tools/client/index.js +17 -0
- package/dist/api/resources/agents/resources/tools/client/requests/ToolsModifyApprovalRequest.d.ts +12 -0
- package/dist/api/resources/agents/resources/tools/client/requests/ToolsModifyApprovalRequest.js +5 -0
- package/dist/api/resources/agents/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/agents/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/tools/index.js +17 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItem.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemField.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOne.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOne.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.js +10 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemThree.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemThree.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemZero.d.ts +7 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemZero.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
- package/dist/api/resources/agents/types/AgentsSearchResponse.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchResponse.js +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequestResponseFormat.js +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequestToolRulesItem.js +5 -0
- package/dist/api/resources/agents/types/UpdateAgentResponseFormat.d.ts +5 -0
- package/dist/api/resources/agents/types/UpdateAgentResponseFormat.js +5 -0
- package/dist/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +5 -0
- package/dist/api/resources/agents/types/UpdateAgentToolRulesItem.js +5 -0
- package/dist/api/resources/agents/types/index.d.ts +13 -0
- package/dist/api/resources/agents/types/index.js +29 -0
- package/dist/api/resources/batches/client/Client.d.ts +99 -0
- package/dist/api/resources/batches/client/Client.js +376 -0
- 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/batches/client/requests/CreateBatch.d.ts +25 -0
- package/dist/api/resources/batches/client/requests/CreateBatch.js +5 -0
- package/dist/api/resources/batches/client/requests/index.d.ts +1 -0
- 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 +110 -0
- package/dist/api/resources/blocks/client/Client.js +574 -0
- package/dist/api/resources/blocks/client/index.d.ts +1 -0
- package/dist/api/resources/blocks/client/index.js +17 -0
- package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +69 -0
- package/dist/api/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/dist/api/resources/blocks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/blocks/client/requests/index.js +2 -0
- package/dist/api/resources/blocks/index.d.ts +2 -0
- package/dist/api/resources/blocks/index.js +18 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +51 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.js +158 -0
- package/dist/api/resources/blocks/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/client/index.js +17 -0
- package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +13 -0
- package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.js +5 -0
- package/dist/api/resources/blocks/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/blocks/resources/agents/client/requests/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 +2 -0
- package/dist/api/resources/blocks/resources/index.js +41 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.d.ts +85 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +296 -0
- package/dist/api/resources/clientSideAccessTokens/client/index.d.ts +1 -0
- package/dist/api/resources/clientSideAccessTokens/client/index.js +17 -0
- package/dist/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +22 -0
- package/dist/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.d.ts +21 -0
- package/dist/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/client/requests/index.d.ts +2 -0
- package/dist/api/resources/clientSideAccessTokens/client/requests/index.js +2 -0
- package/dist/api/resources/clientSideAccessTokens/index.d.ts +2 -0
- package/dist/api/resources/clientSideAccessTokens/index.js +18 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +9 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.d.ts +10 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItemAccessItem.js +12 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.d.ts +10 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponse.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +8 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +9 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +12 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.d.ts +8 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.d.ts +10 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.d.ts +8 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.d.ts +9 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.js +5 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.d.ts +10 -0
- package/dist/api/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.js +12 -0
- package/dist/api/resources/clientSideAccessTokens/types/index.d.ts +11 -0
- package/dist/api/resources/clientSideAccessTokens/types/index.js +27 -0
- package/dist/api/resources/embeddingModels/client/Client.d.ts +48 -0
- package/dist/api/resources/embeddingModels/client/Client.js +144 -0
- package/dist/api/resources/embeddingModels/client/index.d.ts +1 -0
- package/dist/api/resources/embeddingModels/client/index.js +2 -0
- package/dist/api/resources/embeddingModels/index.d.ts +1 -0
- package/dist/api/resources/embeddingModels/index.js +17 -0
- package/dist/api/resources/folders/client/Client.d.ts +166 -0
- package/dist/api/resources/folders/client/Client.js +769 -0
- package/dist/api/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/folders/client/index.js +17 -0
- package/dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.d.ts +10 -0
- package/dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js +5 -0
- package/dist/api/resources/folders/client/requests/index.d.ts +1 -0
- package/dist/api/resources/folders/client/requests/index.js +2 -0
- package/dist/api/resources/folders/index.d.ts +2 -0
- package/dist/api/resources/folders/index.js +18 -0
- package/dist/api/resources/folders/resources/files/client/Client.d.ts +81 -0
- package/dist/api/resources/folders/resources/files/client/Client.js +316 -0
- package/dist/api/resources/folders/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/client/index.js +17 -0
- package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +18 -0
- package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.js +5 -0
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +21 -0
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.js +5 -0
- package/dist/api/resources/folders/resources/files/client/requests/index.d.ts +2 -0
- package/dist/api/resources/folders/resources/files/client/requests/index.js +2 -0
- package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/files/index.js +17 -0
- package/dist/api/resources/folders/resources/index.d.ts +4 -0
- package/dist/api/resources/folders/resources/index.js +43 -0
- package/dist/api/resources/folders/resources/passages/client/Client.d.ts +50 -0
- package/dist/api/resources/folders/resources/passages/client/Client.js +158 -0
- package/dist/api/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/client/index.js +17 -0
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/dist/api/resources/folders/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/client/requests/index.js +2 -0
- package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/api/resources/folders/resources/passages/index.js +17 -0
- package/dist/api/resources/groups/client/Client.d.ts +120 -0
- package/dist/api/resources/groups/client/Client.js +546 -0
- package/dist/api/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/groups/client/index.js +17 -0
- package/dist/api/resources/groups/client/requests/GroupCreate.d.ts +25 -0
- package/dist/api/resources/groups/client/requests/GroupCreate.js +5 -0
- package/dist/api/resources/groups/client/requests/GroupUpdate.d.ts +20 -0
- package/dist/api/resources/groups/client/requests/GroupUpdate.js +5 -0
- package/dist/api/resources/groups/client/requests/GroupsListRequest.d.ts +30 -0
- package/dist/api/resources/groups/client/requests/GroupsListRequest.js +5 -0
- package/dist/api/resources/groups/client/requests/index.d.ts +3 -0
- package/dist/api/resources/groups/client/requests/index.js +2 -0
- package/dist/api/resources/groups/index.d.ts +3 -0
- package/dist/api/resources/groups/index.js +19 -0
- package/dist/api/resources/groups/resources/index.d.ts +3 -0
- package/dist/api/resources/groups/resources/index.js +42 -0
- package/dist/api/resources/groups/resources/messages/client/Client.d.ts +110 -0
- package/dist/api/resources/groups/resources/messages/client/Client.js +484 -0
- package/dist/api/resources/groups/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/groups/resources/messages/client/index.js +17 -0
- package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +33 -0
- package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.js +5 -0
- package/dist/api/resources/groups/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/groups/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/groups/resources/messages/index.d.ts +2 -0
- package/dist/api/resources/groups/resources/messages/index.js +18 -0
- package/dist/api/resources/groups/resources/messages/types/LettaStreamingResponse.d.ts +5 -0
- package/dist/api/resources/groups/resources/messages/types/LettaStreamingResponse.js +5 -0
- package/dist/api/resources/groups/resources/messages/types/MessagesModifyRequest.d.ts +5 -0
- package/dist/api/resources/groups/resources/messages/types/MessagesModifyRequest.js +5 -0
- package/dist/api/resources/groups/resources/messages/types/MessagesModifyResponse.d.ts +5 -0
- package/dist/api/resources/groups/resources/messages/types/MessagesModifyResponse.js +5 -0
- package/dist/api/resources/groups/resources/messages/types/index.d.ts +3 -0
- package/dist/api/resources/groups/resources/messages/types/index.js +19 -0
- package/dist/api/resources/groups/types/GroupCreateManagerConfig.d.ts +8 -0
- package/dist/api/resources/groups/types/GroupCreateManagerConfig.js +5 -0
- package/dist/api/resources/groups/types/GroupUpdateManagerConfig.d.ts +5 -0
- package/dist/api/resources/groups/types/GroupUpdateManagerConfig.js +5 -0
- package/dist/api/resources/groups/types/index.d.ts +2 -0
- package/dist/api/resources/groups/types/index.js +18 -0
- package/dist/api/resources/health/client/Client.d.ts +44 -0
- package/dist/api/resources/health/client/Client.js +128 -0
- package/dist/api/resources/health/client/index.d.ts +1 -0
- package/dist/api/resources/health/client/index.js +2 -0
- package/dist/api/resources/health/index.d.ts +1 -0
- package/dist/api/resources/health/index.js +17 -0
- package/dist/api/resources/identities/client/Client.d.ts +130 -0
- package/dist/api/resources/identities/client/Client.js +626 -0
- package/dist/api/resources/identities/client/index.d.ts +1 -0
- package/dist/api/resources/identities/client/index.js +17 -0
- package/dist/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +17 -0
- package/dist/api/resources/identities/client/requests/IdentitiesListRequest.js +5 -0
- package/dist/api/resources/identities/client/requests/IdentityCreate.d.ts +28 -0
- package/dist/api/resources/identities/client/requests/IdentityCreate.js +5 -0
- package/dist/api/resources/identities/client/requests/IdentityUpdate.d.ts +22 -0
- package/dist/api/resources/identities/client/requests/IdentityUpdate.js +5 -0
- package/dist/api/resources/identities/client/requests/IdentityUpsert.d.ts +28 -0
- package/dist/api/resources/identities/client/requests/IdentityUpsert.js +5 -0
- package/dist/api/resources/identities/client/requests/index.d.ts +4 -0
- package/dist/api/resources/identities/client/requests/index.js +2 -0
- package/dist/api/resources/identities/index.d.ts +2 -0
- package/dist/api/resources/identities/index.js +18 -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 +52 -0
- package/dist/api/resources/identities/resources/properties/client/Client.js +142 -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 +49 -0
- package/dist/api/resources/index.js +88 -0
- package/dist/api/resources/jobs/client/Client.d.ts +105 -0
- package/dist/api/resources/jobs/client/Client.js +489 -0
- package/dist/api/resources/jobs/client/index.d.ts +1 -0
- package/dist/api/resources/jobs/client/index.js +17 -0
- package/dist/api/resources/jobs/client/requests/JobsListActiveRequest.d.ts +29 -0
- package/dist/api/resources/jobs/client/requests/JobsListActiveRequest.js +5 -0
- package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +29 -0
- package/dist/api/resources/jobs/client/requests/JobsListRequest.js +5 -0
- package/dist/api/resources/jobs/client/requests/index.d.ts +2 -0
- package/dist/api/resources/jobs/client/requests/index.js +2 -0
- package/dist/api/resources/jobs/index.d.ts +1 -0
- package/dist/api/resources/jobs/index.js +17 -0
- package/dist/api/resources/messages/client/Client.d.ts +57 -0
- package/dist/api/resources/messages/client/Client.js +168 -0
- package/dist/api/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/messages/client/index.js +17 -0
- package/dist/api/resources/messages/client/requests/ListBatchMessagesRequest.d.ts +25 -0
- package/dist/api/resources/messages/client/requests/ListBatchMessagesRequest.js +5 -0
- package/dist/api/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/messages/index.d.ts +1 -0
- package/dist/api/resources/messages/index.js +17 -0
- package/dist/api/resources/models/client/Client.d.ts +57 -0
- package/dist/api/resources/models/client/Client.js +217 -0
- package/dist/api/resources/models/client/index.d.ts +1 -0
- package/dist/api/resources/models/client/index.js +17 -0
- package/dist/api/resources/models/client/requests/ModelsListRequest.d.ts +13 -0
- package/dist/api/resources/models/client/requests/ModelsListRequest.js +5 -0
- package/dist/api/resources/models/client/requests/index.d.ts +1 -0
- package/dist/api/resources/models/client/requests/index.js +2 -0
- package/dist/api/resources/models/index.d.ts +1 -0
- package/dist/api/resources/models/index.js +17 -0
- package/dist/api/resources/projects/client/Client.d.ts +47 -0
- package/dist/api/resources/projects/client/Client.js +143 -0
- package/dist/api/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/projects/client/index.js +17 -0
- package/dist/api/resources/projects/client/requests/ProjectsListRequest.d.ts +12 -0
- package/dist/api/resources/projects/client/requests/ProjectsListRequest.js +5 -0
- package/dist/api/resources/projects/client/requests/index.d.ts +1 -0
- package/dist/api/resources/projects/client/requests/index.js +2 -0
- package/dist/api/resources/projects/index.d.ts +2 -0
- package/dist/api/resources/projects/index.js +18 -0
- package/dist/api/resources/projects/types/ProjectsListResponse.d.ts +8 -0
- package/dist/api/resources/projects/types/ProjectsListResponse.js +5 -0
- package/dist/api/resources/projects/types/ProjectsListResponseProjectsItem.d.ts +8 -0
- package/dist/api/resources/projects/types/ProjectsListResponseProjectsItem.js +5 -0
- package/dist/api/resources/projects/types/index.d.ts +2 -0
- package/dist/api/resources/projects/types/index.js +18 -0
- package/dist/api/resources/providers/client/Client.d.ts +117 -0
- package/dist/api/resources/providers/client/Client.js +510 -0
- package/dist/api/resources/providers/client/index.d.ts +1 -0
- package/dist/api/resources/providers/client/index.js +17 -0
- package/dist/api/resources/providers/client/requests/ProviderCheck.d.ts +25 -0
- package/dist/api/resources/providers/client/requests/ProviderCheck.js +5 -0
- package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +28 -0
- package/dist/api/resources/providers/client/requests/ProviderCreate.js +5 -0
- package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +21 -0
- package/dist/api/resources/providers/client/requests/ProviderUpdate.js +5 -0
- package/dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts +14 -0
- package/dist/api/resources/providers/client/requests/ProvidersListRequest.js +5 -0
- package/dist/api/resources/providers/client/requests/index.d.ts +4 -0
- package/dist/api/resources/providers/client/requests/index.js +2 -0
- package/dist/api/resources/providers/index.d.ts +1 -0
- package/dist/api/resources/providers/index.js +17 -0
- package/dist/api/resources/runs/client/Client.d.ts +99 -0
- package/dist/api/resources/runs/client/Client.js +505 -0
- package/dist/api/resources/runs/client/index.d.ts +1 -0
- package/dist/api/resources/runs/client/index.js +17 -0
- package/dist/api/resources/runs/client/requests/RetrieveStreamRequest.d.ts +17 -0
- package/dist/api/resources/runs/client/requests/RetrieveStreamRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +17 -0
- package/dist/api/resources/runs/client/requests/RunsListActiveRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +33 -0
- package/dist/api/resources/runs/client/requests/RunsListRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/index.d.ts +3 -0
- package/dist/api/resources/runs/client/requests/index.js +2 -0
- package/dist/api/resources/runs/index.d.ts +3 -0
- package/dist/api/resources/runs/index.js +19 -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 +63 -0
- package/dist/api/resources/runs/resources/messages/client/Client.js +177 -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/dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts +30 -0
- package/dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.js +5 -0
- 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 +60 -0
- package/dist/api/resources/runs/resources/steps/client/Client.js +171 -0
- package/dist/api/resources/runs/resources/steps/client/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/client/index.js +17 -0
- package/dist/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts +25 -0
- package/dist/api/resources/runs/resources/steps/client/requests/StepsListRequest.js +5 -0
- 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 +49 -0
- package/dist/api/resources/runs/resources/usage/client/Client.js +145 -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/runs/types/LettaStreamingResponse.d.ts +5 -0
- package/dist/api/resources/runs/types/LettaStreamingResponse.js +5 -0
- package/dist/api/resources/runs/types/index.d.ts +1 -0
- package/dist/api/resources/runs/types/index.js +17 -0
- package/dist/api/resources/sources/client/Client.d.ts +181 -0
- package/dist/api/resources/sources/client/Client.js +853 -0
- package/dist/api/resources/sources/client/index.d.ts +1 -0
- package/dist/api/resources/sources/client/index.js +17 -0
- package/dist/api/resources/sources/client/requests/GetFileMetadataRequest.d.ts +13 -0
- package/dist/api/resources/sources/client/requests/GetFileMetadataRequest.js +5 -0
- package/dist/api/resources/sources/client/requests/GetSourcesMetadataRequest.d.ts +10 -0
- package/dist/api/resources/sources/client/requests/GetSourcesMetadataRequest.js +5 -0
- package/dist/api/resources/sources/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sources/client/requests/index.js +2 -0
- package/dist/api/resources/sources/index.d.ts +2 -0
- package/dist/api/resources/sources/index.js +18 -0
- package/dist/api/resources/sources/resources/files/client/Client.d.ts +81 -0
- package/dist/api/resources/sources/resources/files/client/Client.js +319 -0
- package/dist/api/resources/sources/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/sources/resources/files/client/index.js +17 -0
- package/dist/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +18 -0
- package/dist/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.js +5 -0
- package/dist/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +25 -0
- package/dist/api/resources/sources/resources/files/client/requests/FilesListRequest.js +5 -0
- package/dist/api/resources/sources/resources/files/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sources/resources/files/client/requests/index.js +2 -0
- package/dist/api/resources/sources/resources/files/index.d.ts +1 -0
- package/dist/api/resources/sources/resources/files/index.js +17 -0
- package/dist/api/resources/sources/resources/index.d.ts +4 -0
- package/dist/api/resources/sources/resources/index.js +43 -0
- package/dist/api/resources/sources/resources/passages/client/Client.d.ts +50 -0
- package/dist/api/resources/sources/resources/passages/client/Client.js +158 -0
- package/dist/api/resources/sources/resources/passages/client/index.d.ts +1 -0
- package/dist/api/resources/sources/resources/passages/client/index.js +17 -0
- package/dist/api/resources/sources/resources/passages/client/requests/PassagesListRequest.d.ts +21 -0
- package/dist/api/resources/sources/resources/passages/client/requests/PassagesListRequest.js +5 -0
- package/dist/api/resources/sources/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sources/resources/passages/client/requests/index.js +2 -0
- package/dist/api/resources/sources/resources/passages/index.d.ts +1 -0
- package/dist/api/resources/sources/resources/passages/index.js +17 -0
- package/dist/api/resources/steps/client/Client.d.ts +79 -0
- package/dist/api/resources/steps/client/Client.js +357 -0
- package/dist/api/resources/steps/client/index.d.ts +1 -0
- package/dist/api/resources/steps/client/index.js +17 -0
- package/dist/api/resources/steps/client/requests/StepsListRequest.d.ts +62 -0
- package/dist/api/resources/steps/client/requests/StepsListRequest.js +5 -0
- package/dist/api/resources/steps/client/requests/index.d.ts +1 -0
- package/dist/api/resources/steps/client/requests/index.js +2 -0
- package/dist/api/resources/steps/index.d.ts +3 -0
- package/dist/api/resources/steps/index.js +19 -0
- package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +50 -0
- package/dist/api/resources/steps/resources/feedback/client/Client.js +154 -0
- package/dist/api/resources/steps/resources/feedback/client/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/feedback/client/index.js +17 -0
- package/dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.d.ts +11 -0
- package/dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.js +5 -0
- package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/feedback/client/requests/index.js +2 -0
- package/dist/api/resources/steps/resources/feedback/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/feedback/index.js +17 -0
- package/dist/api/resources/steps/resources/index.d.ts +2 -0
- package/dist/api/resources/steps/resources/index.js +41 -0
- package/dist/api/resources/steps/types/StepsListRequestFeedback.d.ts +8 -0
- package/dist/api/resources/steps/types/StepsListRequestFeedback.js +10 -0
- package/dist/api/resources/steps/types/index.d.ts +1 -0
- package/dist/api/resources/steps/types/index.js +17 -0
- package/dist/api/resources/tags/client/Client.d.ts +49 -0
- package/dist/api/resources/tags/client/Client.js +157 -0
- package/dist/api/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/tags/client/index.js +17 -0
- package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +12 -0
- package/dist/api/resources/tags/client/requests/TagsListRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/index.d.ts +1 -0
- package/dist/api/resources/tags/client/requests/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/telemetry/client/Client.d.ts +47 -0
- package/dist/api/resources/telemetry/client/Client.js +143 -0
- package/dist/api/resources/telemetry/client/index.d.ts +1 -0
- package/dist/api/resources/telemetry/client/index.js +2 -0
- package/dist/api/resources/telemetry/index.d.ts +1 -0
- package/dist/api/resources/telemetry/index.js +17 -0
- package/dist/api/resources/templates/client/Client.d.ts +174 -0
- package/dist/api/resources/templates/client/Client.js +778 -0
- package/dist/api/resources/templates/client/index.d.ts +1 -0
- package/dist/api/resources/templates/client/index.js +17 -0
- package/dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +9 -0
- package/dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
- package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesListRequest.d.ts +26 -0
- package/dist/api/resources/templates/client/requests/TemplatesListRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
- package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
- package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
- package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +11 -0
- package/dist/api/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/index.d.ts +7 -0
- package/dist/api/resources/templates/client/requests/index.js +2 -0
- package/dist/api/resources/templates/index.d.ts +3 -0
- package/dist/api/resources/templates/index.js +19 -0
- package/dist/api/resources/templates/resources/agents/client/Client.d.ts +51 -0
- package/dist/api/resources/templates/resources/agents/client/Client.js +148 -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/dist/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.d.ts +22 -0
- package/dist/api/resources/templates/resources/agents/client/requests/AgentsCreateRequest.js +5 -0
- package/dist/api/resources/templates/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/templates/resources/agents/client/requests/index.js +2 -0
- package/dist/api/resources/templates/resources/agents/index.d.ts +2 -0
- package/dist/api/resources/templates/resources/agents/index.js +18 -0
- package/dist/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItem.d.ts +13 -0
- package/dist/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItem.js +5 -0
- package/dist/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.d.ts +9 -0
- package/dist/api/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.js +11 -0
- package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +7 -0
- package/dist/api/resources/templates/resources/agents/types/AgentsCreateResponse.js +5 -0
- package/dist/api/resources/templates/resources/agents/types/index.d.ts +3 -0
- package/dist/api/resources/templates/resources/agents/types/index.js +19 -0
- package/dist/api/resources/templates/resources/index.d.ts +3 -0
- package/dist/api/resources/templates/resources/index.js +42 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateRequest.d.ts +14 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateRequest.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.d.ts +13 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateRequestAgentId.d.ts +13 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateRequestAgentId.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +17 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
- package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +17 -0
- package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +19 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
- package/dist/api/resources/templates/types/TemplatesListRequestSortBy.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesListRequestSortBy.js +10 -0
- package/dist/api/resources/templates/types/TemplatesListResponse.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesListResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +17 -0
- package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
- package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +17 -0
- package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +6 -0
- package/dist/api/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +5 -0
- package/dist/api/resources/templates/types/index.d.ts +37 -0
- package/dist/api/resources/templates/types/index.js +53 -0
- package/dist/api/resources/tools/client/Client.d.ts +309 -0
- package/dist/api/resources/tools/client/Client.js +1702 -0
- package/dist/api/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/tools/client/index.js +17 -0
- package/dist/api/resources/tools/client/requests/ListComposioAppsRequest.d.ts +10 -0
- package/dist/api/resources/tools/client/requests/ListComposioAppsRequest.js +5 -0
- package/dist/api/resources/tools/client/requests/ListMcpServersRequest.d.ts +10 -0
- package/dist/api/resources/tools/client/requests/ListMcpServersRequest.js +5 -0
- package/dist/api/resources/tools/client/requests/ToolRunFromSource.d.ts +33 -0
- package/dist/api/resources/tools/client/requests/ToolRunFromSource.js +5 -0
- package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +32 -0
- package/dist/api/resources/tools/client/requests/ToolUpdate.js +5 -0
- package/dist/api/resources/tools/client/requests/ToolsCountRequest.d.ts +38 -0
- package/dist/api/resources/tools/client/requests/ToolsCountRequest.js +5 -0
- package/dist/api/resources/tools/client/requests/ToolsListRequest.d.ts +36 -0
- package/dist/api/resources/tools/client/requests/ToolsListRequest.js +5 -0
- package/dist/api/resources/tools/client/requests/index.d.ts +6 -0
- package/dist/api/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/tools/index.d.ts +2 -0
- package/dist/api/resources/tools/index.js +18 -0
- package/dist/api/resources/tools/types/AddMcpServerRequest.d.ts +5 -0
- package/dist/api/resources/tools/types/AddMcpServerRequest.js +5 -0
- package/dist/api/resources/tools/types/AddMcpServerResponseItem.d.ts +5 -0
- package/dist/api/resources/tools/types/AddMcpServerResponseItem.js +5 -0
- package/dist/api/resources/tools/types/ConnectMcpServerRequest.d.ts +5 -0
- package/dist/api/resources/tools/types/ConnectMcpServerRequest.js +5 -0
- package/dist/api/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +12 -0
- package/dist/api/resources/tools/types/ConnectMcpServerResponseEvent.js +14 -0
- package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +5 -0
- package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.js +5 -0
- package/dist/api/resources/tools/types/ListMcpServersResponseValue.d.ts +5 -0
- package/dist/api/resources/tools/types/ListMcpServersResponseValue.js +5 -0
- package/dist/api/resources/tools/types/StreamingResponse.d.ts +9 -0
- package/dist/api/resources/tools/types/StreamingResponse.js +5 -0
- package/dist/api/resources/tools/types/TestMcpServerRequest.d.ts +5 -0
- package/dist/api/resources/tools/types/TestMcpServerRequest.js +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerRequest.js +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerResponse.js +5 -0
- package/dist/api/resources/tools/types/index.d.ts +10 -0
- package/dist/api/resources/tools/types/index.js +26 -0
- package/dist/api/resources/voice/client/Client.d.ts +52 -0
- package/dist/api/resources/voice/client/Client.js +143 -0
- package/dist/api/resources/voice/client/index.d.ts +1 -0
- package/dist/api/resources/voice/client/index.js +17 -0
- package/dist/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.d.ts +15 -0
- package/dist/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.js +5 -0
- package/dist/api/resources/voice/client/requests/index.d.ts +1 -0
- package/dist/api/resources/voice/client/requests/index.js +2 -0
- package/dist/api/resources/voice/index.d.ts +1 -0
- package/dist/api/resources/voice/index.js +17 -0
- package/dist/api/types/ActionModel.d.ts +21 -0
- package/dist/api/types/ActionModel.js +5 -0
- package/dist/api/types/ActionParametersModel.d.ts +13 -0
- package/dist/api/types/ActionParametersModel.js +5 -0
- package/dist/api/types/ActionResponseModel.d.ts +13 -0
- package/dist/api/types/ActionResponseModel.js +5 -0
- package/dist/api/types/AgentEnvironmentVariable.d.ts +23 -0
- package/dist/api/types/AgentEnvironmentVariable.js +5 -0
- package/dist/api/types/AgentFileAttachment.d.ts +28 -0
- package/dist/api/types/AgentFileAttachment.js +5 -0
- package/dist/api/types/AgentFileSchema.d.ts +27 -0
- package/dist/api/types/AgentFileSchema.js +5 -0
- package/dist/api/types/AgentState.d.ts +90 -0
- package/dist/api/types/AgentState.js +5 -0
- package/dist/api/types/AgentStateResponseFormat.d.ts +5 -0
- package/dist/api/types/AgentStateResponseFormat.js +5 -0
- package/dist/api/types/AgentStateToolRulesItem.d.ts +5 -0
- package/dist/api/types/AgentStateToolRulesItem.js +5 -0
- package/dist/api/types/AgentType.d.ts +17 -0
- package/dist/api/types/AgentType.js +16 -0
- package/dist/api/types/AppAuthScheme.d.ts +19 -0
- package/dist/api/types/AppAuthScheme.js +5 -0
- package/dist/api/types/AppAuthSchemeAuthMode.d.ts +16 -0
- package/dist/api/types/AppAuthSchemeAuthMode.js +18 -0
- package/dist/api/types/AppModel.d.ts +25 -0
- package/dist/api/types/AppModel.js +5 -0
- package/dist/api/types/ApprovalCreate.d.ts +16 -0
- package/dist/api/types/ApprovalCreate.js +5 -0
- package/dist/api/types/ApprovalRequestMessage.d.ts +27 -0
- package/dist/api/types/ApprovalRequestMessage.js +5 -0
- package/dist/api/types/ApprovalRequestMessageToolCall.d.ts +8 -0
- package/dist/api/types/ApprovalRequestMessageToolCall.js +5 -0
- package/dist/api/types/ApprovalResponseMessage.d.ts +32 -0
- package/dist/api/types/ApprovalResponseMessage.js +5 -0
- package/dist/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
- package/dist/api/types/ArchivalMemorySearchResponse.js +5 -0
- package/dist/api/types/ArchivalMemorySearchResult.d.ts +11 -0
- package/dist/api/types/ArchivalMemorySearchResult.js +5 -0
- package/dist/api/types/AssistantMessage.d.ts +27 -0
- package/dist/api/types/AssistantMessage.js +5 -0
- package/dist/api/types/AssistantMessageContent.d.ts +8 -0
- package/dist/api/types/AssistantMessageContent.js +5 -0
- package/dist/api/types/Audio.d.ts +6 -0
- package/dist/api/types/Audio.js +5 -0
- package/dist/api/types/AuthRequest.d.ts +7 -0
- package/dist/api/types/AuthRequest.js +5 -0
- package/dist/api/types/AuthResponse.d.ts +9 -0
- package/dist/api/types/AuthResponse.js +5 -0
- package/dist/api/types/AuthSchemeField.d.ts +16 -0
- package/dist/api/types/AuthSchemeField.js +5 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +6 -0
- package/dist/api/types/BadRequestErrorBody.js +5 -0
- package/dist/api/types/Base64Image.d.ts +12 -0
- package/dist/api/types/Base64Image.js +5 -0
- package/dist/api/types/BaseToolRuleSchema.d.ts +7 -0
- package/dist/api/types/BaseToolRuleSchema.js +5 -0
- package/dist/api/types/BatchJob.d.ts +35 -0
- package/dist/api/types/BatchJob.js +5 -0
- package/dist/api/types/Block.d.ts +53 -0
- package/dist/api/types/Block.js +5 -0
- package/dist/api/types/BlockSchema.d.ts +37 -0
- package/dist/api/types/BlockSchema.js +5 -0
- package/dist/api/types/BlockUpdate.d.ts +36 -0
- package/dist/api/types/BlockUpdate.js +5 -0
- package/dist/api/types/BodyExportAgentSerialized.d.ts +8 -0
- package/dist/api/types/BodyExportAgentSerialized.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolsParam.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
- package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +13 -0
- package/dist/api/types/ChatCompletionAssistantMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamContent.d.ts +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamContent.js +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.js +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +5 -0
- package/dist/api/types/ChatCompletionAudioParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAudioParam.js +5 -0
- package/dist/api/types/ChatCompletionAudioParamFormat.d.ts +12 -0
- package/dist/api/types/ChatCompletionAudioParamFormat.js +14 -0
- package/dist/api/types/ChatCompletionAudioParamVoice.d.ts +4 -0
- package/dist/api/types/ChatCompletionAudioParamVoice.js +5 -0
- package/dist/api/types/ChatCompletionContentPartImageParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionContentPartImageParam.js +5 -0
- package/dist/api/types/ChatCompletionContentPartInputAudioParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionContentPartInputAudioParam.js +5 -0
- package/dist/api/types/ChatCompletionContentPartRefusalParam.d.ts +7 -0
- package/dist/api/types/ChatCompletionContentPartRefusalParam.js +5 -0
- package/dist/api/types/ChatCompletionContentPartTextParam.d.ts +7 -0
- package/dist/api/types/ChatCompletionContentPartTextParam.js +5 -0
- package/dist/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionCustomToolParam.js +5 -0
- package/dist/api/types/ChatCompletionDeveloperMessageParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionDeveloperMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +5 -0
- package/dist/api/types/ChatCompletionDeveloperMessageParamContent.js +5 -0
- package/dist/api/types/ChatCompletionFunctionCallOptionParam.d.ts +6 -0
- package/dist/api/types/ChatCompletionFunctionCallOptionParam.js +5 -0
- package/dist/api/types/ChatCompletionFunctionMessageParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionFunctionMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionFunctionToolParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionFunctionToolParam.js +5 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +5 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +11 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.js +5 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +11 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallOutput.js +5 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +5 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceParam.js +5 -0
- package/dist/api/types/ChatCompletionPredictionContentParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionPredictionContentParam.js +5 -0
- package/dist/api/types/ChatCompletionPredictionContentParamContent.d.ts +5 -0
- package/dist/api/types/ChatCompletionPredictionContentParamContent.js +5 -0
- package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +7 -0
- package/dist/api/types/ChatCompletionStreamOptionsParam.js +5 -0
- package/dist/api/types/ChatCompletionSystemMessageParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionSystemMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionSystemMessageParamContent.d.ts +5 -0
- package/dist/api/types/ChatCompletionSystemMessageParamContent.js +5 -0
- package/dist/api/types/ChatCompletionToolMessageParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionToolMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionToolMessageParamContent.d.ts +5 -0
- package/dist/api/types/ChatCompletionToolMessageParamContent.js +5 -0
- package/dist/api/types/ChatCompletionUserMessageParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionUserMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionUserMessageParamContent.d.ts +5 -0
- package/dist/api/types/ChatCompletionUserMessageParamContent.js +5 -0
- package/dist/api/types/ChatCompletionUserMessageParamContentItem.d.ts +5 -0
- package/dist/api/types/ChatCompletionUserMessageParamContentItem.js +5 -0
- package/dist/api/types/ChildToolRule.d.ts +15 -0
- package/dist/api/types/ChildToolRule.js +5 -0
- package/dist/api/types/ChildToolRuleSchema.d.ts +8 -0
- package/dist/api/types/ChildToolRuleSchema.js +5 -0
- package/dist/api/types/CodeInput.d.ts +9 -0
- package/dist/api/types/CodeInput.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +40 -0
- package/dist/api/types/CompletionCreateParamsNonStreaming.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +8 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +10 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +4 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +10 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +12 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +11 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.js +13 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingStop.d.ts +4 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingStop.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +40 -0
- package/dist/api/types/CompletionCreateParamsStreaming.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +8 -0
- package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.js +10 -0
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +4 -0
- package/dist/api/types/CompletionCreateParamsStreamingModel.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +10 -0
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +12 -0
- package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +11 -0
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.js +13 -0
- package/dist/api/types/CompletionCreateParamsStreamingStop.d.ts +4 -0
- package/dist/api/types/CompletionCreateParamsStreamingStop.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
- package/dist/api/types/ComponentsSchemasTextContent.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasTextContent.js +5 -0
- package/dist/api/types/ConditionalToolRule.d.ts +19 -0
- package/dist/api/types/ConditionalToolRule.js +5 -0
- package/dist/api/types/ConditionalToolRuleSchema.d.ts +10 -0
- package/dist/api/types/ConditionalToolRuleSchema.js +5 -0
- package/dist/api/types/ConflictErrorBody.d.ts +6 -0
- package/dist/api/types/ConflictErrorBody.js +5 -0
- package/dist/api/types/ContextWindowOverview.d.ts +43 -0
- package/dist/api/types/ContextWindowOverview.js +5 -0
- package/dist/api/types/ContinueToolRule.d.ts +13 -0
- package/dist/api/types/ContinueToolRule.js +5 -0
- package/dist/api/types/CoreMemoryBlockSchema.d.ts +14 -0
- package/dist/api/types/CoreMemoryBlockSchema.js +5 -0
- package/dist/api/types/CreateBlock.d.ts +35 -0
- package/dist/api/types/CreateBlock.js +5 -0
- package/dist/api/types/CustomFormatGrammar.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammar.js +5 -0
- package/dist/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammarGrammar.js +5 -0
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
- package/dist/api/types/CustomFormatText.d.ts +6 -0
- package/dist/api/types/CustomFormatText.js +5 -0
- package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
- package/dist/api/types/DeleteDeploymentResponse.js +5 -0
- package/dist/api/types/DeploymentEntity.d.ts +12 -0
- package/dist/api/types/DeploymentEntity.js +5 -0
- package/dist/api/types/DuplicateFileHandling.d.ts +13 -0
- package/dist/api/types/DuplicateFileHandling.js +12 -0
- package/dist/api/types/DynamicManager.d.ts +12 -0
- package/dist/api/types/DynamicManager.js +5 -0
- package/dist/api/types/DynamicManagerUpdate.d.ts +12 -0
- package/dist/api/types/DynamicManagerUpdate.js +5 -0
- package/dist/api/types/E2BSandboxConfig.d.ts +11 -0
- package/dist/api/types/E2BSandboxConfig.js +5 -0
- package/dist/api/types/EmbeddingConfig.d.ts +29 -0
- package/dist/api/types/EmbeddingConfig.js +5 -0
- package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +28 -0
- package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.js +27 -0
- package/dist/api/types/FeedbackType.d.ts +8 -0
- package/dist/api/types/FeedbackType.js +10 -0
- package/dist/api/types/FileAgentSchema.d.ts +28 -0
- package/dist/api/types/FileAgentSchema.js +5 -0
- package/dist/api/types/FileBlock.d.ts +47 -0
- package/dist/api/types/FileBlock.js +5 -0
- package/dist/api/types/FileFile.d.ts +8 -0
- package/dist/api/types/FileFile.js +5 -0
- package/dist/api/types/FileMetadata.d.ts +41 -0
- package/dist/api/types/FileMetadata.js +5 -0
- package/dist/api/types/FileProcessingStatus.d.ts +11 -0
- package/dist/api/types/FileProcessingStatus.js +13 -0
- package/dist/api/types/FileSchema.d.ts +37 -0
- package/dist/api/types/FileSchema.js +5 -0
- package/dist/api/types/FileStats.d.ts +14 -0
- package/dist/api/types/FileStats.js +5 -0
- package/dist/api/types/File_.d.ts +8 -0
- package/dist/api/types/File_.js +5 -0
- package/dist/api/types/Folder.d.ts +37 -0
- package/dist/api/types/Folder.js +5 -0
- package/dist/api/types/FunctionCall.d.ts +7 -0
- package/dist/api/types/FunctionCall.js +5 -0
- package/dist/api/types/FunctionDefinitionInput.d.ts +9 -0
- package/dist/api/types/FunctionDefinitionInput.js +5 -0
- package/dist/api/types/FunctionDefinitionOutput.d.ts +11 -0
- package/dist/api/types/FunctionDefinitionOutput.js +5 -0
- package/dist/api/types/FunctionOutput.d.ts +9 -0
- package/dist/api/types/FunctionOutput.js +5 -0
- package/dist/api/types/FunctionTool.d.ts +10 -0
- package/dist/api/types/FunctionTool.js +5 -0
- package/dist/api/types/GenerateToolInput.d.ts +15 -0
- package/dist/api/types/GenerateToolInput.js +5 -0
- package/dist/api/types/GenerateToolOutput.d.ts +12 -0
- package/dist/api/types/GenerateToolOutput.js +5 -0
- package/dist/api/types/Group.d.ts +42 -0
- package/dist/api/types/Group.js +5 -0
- package/dist/api/types/GroupSchema.d.ts +23 -0
- package/dist/api/types/GroupSchema.js +5 -0
- package/dist/api/types/GroupSchemaManagerConfig.d.ts +8 -0
- package/dist/api/types/GroupSchemaManagerConfig.js +5 -0
- package/dist/api/types/Health.d.ts +10 -0
- package/dist/api/types/Health.js +5 -0
- package/dist/api/types/HiddenReasoningMessage.d.ts +30 -0
- package/dist/api/types/HiddenReasoningMessage.js +5 -0
- package/dist/api/types/HiddenReasoningMessageState.d.ts +8 -0
- package/dist/api/types/HiddenReasoningMessageState.js +10 -0
- package/dist/api/types/HttpValidationError.d.ts +7 -0
- package/dist/api/types/HttpValidationError.js +5 -0
- package/dist/api/types/Identity.d.ts +22 -0
- package/dist/api/types/Identity.js +5 -0
- package/dist/api/types/IdentityProperty.d.ts +15 -0
- package/dist/api/types/IdentityProperty.js +5 -0
- package/dist/api/types/IdentityPropertyType.d.ts +13 -0
- package/dist/api/types/IdentityPropertyType.js +12 -0
- package/dist/api/types/IdentityPropertyValue.d.ts +7 -0
- package/dist/api/types/IdentityPropertyValue.js +5 -0
- package/dist/api/types/IdentityType.d.ts +12 -0
- package/dist/api/types/IdentityType.js +11 -0
- package/dist/api/types/ImageContent.d.ts +9 -0
- package/dist/api/types/ImageContent.js +5 -0
- package/dist/api/types/ImageContentSource.d.ts +8 -0
- package/dist/api/types/ImageContentSource.js +5 -0
- package/dist/api/types/ImageUrl.d.ts +8 -0
- package/dist/api/types/ImageUrl.js +5 -0
- package/dist/api/types/ImageUrlDetail.d.ts +9 -0
- package/dist/api/types/ImageUrlDetail.js +11 -0
- package/dist/api/types/ImportedAgentsResponse.d.ts +10 -0
- package/dist/api/types/ImportedAgentsResponse.js +5 -0
- package/dist/api/types/InitToolRule.d.ts +13 -0
- package/dist/api/types/InitToolRule.js +5 -0
- package/dist/api/types/InputAudio.d.ts +8 -0
- package/dist/api/types/InputAudio.js +5 -0
- package/dist/api/types/InputAudioFormat.d.ts +8 -0
- package/dist/api/types/InputAudioFormat.js +10 -0
- package/dist/api/types/InternalTemplateAgentCreate.d.ts +99 -0
- package/dist/api/types/InternalTemplateAgentCreate.js +5 -0
- package/dist/api/types/InternalTemplateAgentCreateResponseFormat.d.ts +5 -0
- package/dist/api/types/InternalTemplateAgentCreateResponseFormat.js +5 -0
- package/dist/api/types/InternalTemplateAgentCreateToolRulesItem.d.ts +5 -0
- package/dist/api/types/InternalTemplateAgentCreateToolRulesItem.js +5 -0
- package/dist/api/types/InternalTemplateBlockCreate.d.ts +37 -0
- package/dist/api/types/InternalTemplateBlockCreate.js +5 -0
- package/dist/api/types/InternalTemplateGroupCreate.d.ts +27 -0
- package/dist/api/types/InternalTemplateGroupCreate.js +5 -0
- package/dist/api/types/InternalTemplateGroupCreateManagerConfig.d.ts +8 -0
- package/dist/api/types/InternalTemplateGroupCreateManagerConfig.js +5 -0
- package/dist/api/types/Job.d.ts +46 -0
- package/dist/api/types/Job.js +5 -0
- package/dist/api/types/JobStatus.d.ts +16 -0
- package/dist/api/types/JobStatus.js +15 -0
- package/dist/api/types/JobType.d.ts +9 -0
- package/dist/api/types/JobType.js +11 -0
- package/dist/api/types/JsonObjectResponseFormat.d.ts +9 -0
- package/dist/api/types/JsonObjectResponseFormat.js +5 -0
- package/dist/api/types/JsonSchema.d.ts +9 -0
- package/dist/api/types/JsonSchema.js +5 -0
- package/dist/api/types/JsonSchemaResponseFormat.d.ts +11 -0
- package/dist/api/types/JsonSchemaResponseFormat.js +5 -0
- package/dist/api/types/LettaBatchMessages.d.ts +7 -0
- package/dist/api/types/LettaBatchMessages.js +5 -0
- package/dist/api/types/LettaBatchRequest.d.ts +22 -0
- package/dist/api/types/LettaBatchRequest.js +5 -0
- package/dist/api/types/LettaBatchRequestMessagesItem.d.ts +5 -0
- package/dist/api/types/LettaBatchRequestMessagesItem.js +5 -0
- package/dist/api/types/LettaImage.d.ts +14 -0
- package/dist/api/types/LettaImage.js +5 -0
- package/dist/api/types/LettaMessageContentUnion.d.ts +5 -0
- package/dist/api/types/LettaMessageContentUnion.js +5 -0
- package/dist/api/types/LettaMessageUnion.d.ts +5 -0
- package/dist/api/types/LettaMessageUnion.js +5 -0
- package/dist/api/types/LettaPing.d.ts +10 -0
- package/dist/api/types/LettaPing.js +5 -0
- package/dist/api/types/LettaRequest.d.ts +20 -0
- package/dist/api/types/LettaRequest.js +5 -0
- package/dist/api/types/LettaRequestConfig.d.ts +14 -0
- package/dist/api/types/LettaRequestConfig.js +5 -0
- package/dist/api/types/LettaRequestMessagesItem.d.ts +5 -0
- package/dist/api/types/LettaRequestMessagesItem.js +5 -0
- package/dist/api/types/LettaResponse.d.ts +19 -0
- package/dist/api/types/LettaResponse.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +39 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +41 -0
- package/dist/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts +25 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts +16 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts +18 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
- package/dist/api/types/LettaStopReason.d.ts +13 -0
- package/dist/api/types/LettaStopReason.js +5 -0
- package/dist/api/types/LettaStreamingRequest.d.ts +26 -0
- package/dist/api/types/LettaStreamingRequest.js +5 -0
- package/dist/api/types/LettaStreamingRequestMessagesItem.d.ts +5 -0
- package/dist/api/types/LettaStreamingRequestMessagesItem.js +5 -0
- package/dist/api/types/LettaUsageStatistics.d.ts +28 -0
- package/dist/api/types/LettaUsageStatistics.js +5 -0
- package/dist/api/types/LettaUserMessageContentUnion.d.ts +5 -0
- package/dist/api/types/LettaUserMessageContentUnion.js +5 -0
- package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
- package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
- package/dist/api/types/LlmConfig.d.ts +45 -0
- package/dist/api/types/LlmConfig.js +5 -0
- package/dist/api/types/LlmConfigCompatibilityType.d.ts +8 -0
- package/dist/api/types/LlmConfigCompatibilityType.js +10 -0
- package/dist/api/types/LlmConfigModelEndpointType.d.ts +30 -0
- package/dist/api/types/LlmConfigModelEndpointType.js +29 -0
- package/dist/api/types/LlmConfigReasoningEffort.d.ts +10 -0
- package/dist/api/types/LlmConfigReasoningEffort.js +12 -0
- package/dist/api/types/LlmConfigVerbosity.d.ts +9 -0
- package/dist/api/types/LlmConfigVerbosity.js +11 -0
- package/dist/api/types/LocalSandboxConfig.d.ts +14 -0
- package/dist/api/types/LocalSandboxConfig.js +5 -0
- package/dist/api/types/ManagerType.d.ts +12 -0
- package/dist/api/types/ManagerType.js +14 -0
- package/dist/api/types/MaxCountPerStepToolRule.d.ts +15 -0
- package/dist/api/types/MaxCountPerStepToolRule.js +5 -0
- package/dist/api/types/MaxCountPerStepToolRuleSchema.d.ts +8 -0
- package/dist/api/types/MaxCountPerStepToolRuleSchema.js +5 -0
- package/dist/api/types/McpServerSchema.d.ts +15 -0
- package/dist/api/types/McpServerSchema.js +5 -0
- package/dist/api/types/McpServerType.d.ts +9 -0
- package/dist/api/types/McpServerType.js +11 -0
- package/dist/api/types/McpTool.d.ts +20 -0
- package/dist/api/types/McpTool.js +5 -0
- package/dist/api/types/McpToolExecuteRequest.d.ts +7 -0
- package/dist/api/types/McpToolExecuteRequest.js +5 -0
- package/dist/api/types/McpToolHealth.d.ts +12 -0
- package/dist/api/types/McpToolHealth.js +5 -0
- package/dist/api/types/Memory.d.ts +15 -0
- package/dist/api/types/Memory.js +5 -0
- package/dist/api/types/Message.d.ts +71 -0
- package/dist/api/types/Message.js +5 -0
- package/dist/api/types/MessageContentItem.d.ts +5 -0
- package/dist/api/types/MessageContentItem.js +5 -0
- package/dist/api/types/MessageCreate.d.ts +25 -0
- package/dist/api/types/MessageCreate.js +5 -0
- package/dist/api/types/MessageCreateContent.d.ts +8 -0
- package/dist/api/types/MessageCreateContent.js +5 -0
- package/dist/api/types/MessageCreateRole.d.ts +12 -0
- package/dist/api/types/MessageCreateRole.js +11 -0
- package/dist/api/types/MessageRole.d.ts +12 -0
- package/dist/api/types/MessageRole.js +14 -0
- package/dist/api/types/MessageSearchResult.d.ts +19 -0
- package/dist/api/types/MessageSearchResult.js +5 -0
- package/dist/api/types/MessageType.d.ts +15 -0
- package/dist/api/types/MessageType.js +17 -0
- package/dist/api/types/ModalSandboxConfig.d.ts +13 -0
- package/dist/api/types/ModalSandboxConfig.js +5 -0
- package/dist/api/types/ModalSandboxConfigLanguage.d.ts +8 -0
- package/dist/api/types/ModalSandboxConfigLanguage.js +10 -0
- package/dist/api/types/NotFoundErrorBody.d.ts +6 -0
- package/dist/api/types/NotFoundErrorBody.js +5 -0
- package/dist/api/types/NpmRequirement.d.ts +9 -0
- package/dist/api/types/NpmRequirement.js +5 -0
- package/dist/api/types/OmittedReasoningContent.d.ts +6 -0
- package/dist/api/types/OmittedReasoningContent.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +9 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +7 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +6 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +5 -0
- package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +8 -0
- package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +5 -0
- package/dist/api/types/Organization.d.ts +13 -0
- package/dist/api/types/Organization.js +5 -0
- package/dist/api/types/OrganizationCreate.d.ts +9 -0
- package/dist/api/types/OrganizationCreate.js +5 -0
- package/dist/api/types/OrganizationSourcesStats.d.ts +17 -0
- package/dist/api/types/OrganizationSourcesStats.js +5 -0
- package/dist/api/types/OrganizationUpdate.d.ts +9 -0
- package/dist/api/types/OrganizationUpdate.js +5 -0
- package/dist/api/types/PaginatedAgentFiles.d.ts +15 -0
- package/dist/api/types/PaginatedAgentFiles.js +5 -0
- package/dist/api/types/ParameterProperties.d.ts +7 -0
- package/dist/api/types/ParameterProperties.js +5 -0
- package/dist/api/types/ParametersSchema.d.ts +9 -0
- package/dist/api/types/ParametersSchema.js +5 -0
- package/dist/api/types/ParentToolRule.d.ts +15 -0
- package/dist/api/types/ParentToolRule.js +5 -0
- package/dist/api/types/Passage.d.ts +49 -0
- package/dist/api/types/Passage.js +5 -0
- package/dist/api/types/PaymentRequiredErrorBody.d.ts +7 -0
- package/dist/api/types/PaymentRequiredErrorBody.js +5 -0
- package/dist/api/types/PipRequirement.d.ts +9 -0
- package/dist/api/types/PipRequirement.js +5 -0
- package/dist/api/types/Provider.d.ts +26 -0
- package/dist/api/types/Provider.js +5 -0
- package/dist/api/types/ProviderCategory.d.ts +8 -0
- package/dist/api/types/ProviderCategory.js +10 -0
- package/dist/api/types/ProviderTrace.d.ts +32 -0
- package/dist/api/types/ProviderTrace.js +5 -0
- package/dist/api/types/ProviderType.d.ts +23 -0
- package/dist/api/types/ProviderType.js +25 -0
- package/dist/api/types/ReasoningContent.d.ts +12 -0
- package/dist/api/types/ReasoningContent.js +5 -0
- package/dist/api/types/ReasoningMessage.d.ts +31 -0
- package/dist/api/types/ReasoningMessage.js +5 -0
- package/dist/api/types/ReasoningMessageSource.d.ts +8 -0
- package/dist/api/types/ReasoningMessageSource.js +10 -0
- package/dist/api/types/RedactedReasoningContent.d.ts +8 -0
- package/dist/api/types/RedactedReasoningContent.js +5 -0
- package/dist/api/types/RequiredBeforeExitToolRule.d.ts +13 -0
- package/dist/api/types/RequiredBeforeExitToolRule.js +5 -0
- package/dist/api/types/RequiresApprovalToolRule.d.ts +13 -0
- package/dist/api/types/RequiresApprovalToolRule.js +5 -0
- package/dist/api/types/ResponseFormatJsonObject.d.ts +6 -0
- package/dist/api/types/ResponseFormatJsonObject.js +5 -0
- package/dist/api/types/ResponseFormatJsonSchema.d.ts +8 -0
- package/dist/api/types/ResponseFormatJsonSchema.js +5 -0
- package/dist/api/types/ResponseFormatText.d.ts +6 -0
- package/dist/api/types/ResponseFormatText.js +5 -0
- package/dist/api/types/RoundRobinManager.d.ts +8 -0
- package/dist/api/types/RoundRobinManager.js +5 -0
- package/dist/api/types/RoundRobinManagerUpdate.d.ts +8 -0
- package/dist/api/types/RoundRobinManagerUpdate.js +5 -0
- package/dist/api/types/Run.d.ts +48 -0
- package/dist/api/types/Run.js +5 -0
- package/dist/api/types/SandboxConfig.d.ts +20 -0
- package/dist/api/types/SandboxConfig.js +5 -0
- package/dist/api/types/SandboxConfigCreate.d.ts +8 -0
- package/dist/api/types/SandboxConfigCreate.js +5 -0
- package/dist/api/types/SandboxConfigCreateConfig.d.ts +8 -0
- package/dist/api/types/SandboxConfigCreateConfig.js +5 -0
- package/dist/api/types/SandboxConfigUpdate.d.ts +11 -0
- package/dist/api/types/SandboxConfigUpdate.js +5 -0
- package/dist/api/types/SandboxConfigUpdateConfig.d.ts +8 -0
- package/dist/api/types/SandboxConfigUpdateConfig.js +5 -0
- package/dist/api/types/SandboxEnvironmentVariable.d.ts +23 -0
- package/dist/api/types/SandboxEnvironmentVariable.js +5 -0
- package/dist/api/types/SandboxEnvironmentVariableCreate.d.ts +11 -0
- package/dist/api/types/SandboxEnvironmentVariableCreate.js +5 -0
- package/dist/api/types/SandboxEnvironmentVariableUpdate.d.ts +11 -0
- package/dist/api/types/SandboxEnvironmentVariableUpdate.js +5 -0
- package/dist/api/types/SandboxType.d.ts +9 -0
- package/dist/api/types/SandboxType.js +11 -0
- package/dist/api/types/SleeptimeManager.d.ts +10 -0
- package/dist/api/types/SleeptimeManager.js +5 -0
- package/dist/api/types/SleeptimeManagerUpdate.d.ts +10 -0
- package/dist/api/types/SleeptimeManagerUpdate.js +5 -0
- package/dist/api/types/Source.d.ts +39 -0
- package/dist/api/types/Source.js +5 -0
- package/dist/api/types/SourceCreate.d.ts +23 -0
- package/dist/api/types/SourceCreate.js +5 -0
- package/dist/api/types/SourceSchema.d.ts +25 -0
- package/dist/api/types/SourceSchema.js +5 -0
- package/dist/api/types/SourceStats.d.ts +19 -0
- package/dist/api/types/SourceStats.js +5 -0
- package/dist/api/types/SourceUpdate.d.ts +19 -0
- package/dist/api/types/SourceUpdate.js +5 -0
- package/dist/api/types/SseServerConfig.d.ts +27 -0
- package/dist/api/types/SseServerConfig.js +5 -0
- package/dist/api/types/StdioServerConfig.d.ts +15 -0
- package/dist/api/types/StdioServerConfig.js +5 -0
- package/dist/api/types/Step.d.ts +54 -0
- package/dist/api/types/Step.js +5 -0
- package/dist/api/types/StepFeedback.d.ts +8 -0
- package/dist/api/types/StepFeedback.js +10 -0
- package/dist/api/types/StepMetrics.d.ts +29 -0
- package/dist/api/types/StepMetrics.js +5 -0
- package/dist/api/types/StepStatus.d.ts +13 -0
- package/dist/api/types/StepStatus.js +12 -0
- package/dist/api/types/StopReasonType.d.ts +15 -0
- package/dist/api/types/StopReasonType.js +17 -0
- package/dist/api/types/StreamableHttpServerConfig.d.ts +27 -0
- package/dist/api/types/StreamableHttpServerConfig.js +5 -0
- package/dist/api/types/SupervisorManager.d.ts +8 -0
- package/dist/api/types/SupervisorManager.js +5 -0
- package/dist/api/types/SupervisorManagerUpdate.d.ts +8 -0
- package/dist/api/types/SupervisorManagerUpdate.js +5 -0
- package/dist/api/types/SystemMessage.d.ts +26 -0
- package/dist/api/types/SystemMessage.js +5 -0
- package/dist/api/types/TagSchema.d.ts +6 -0
- package/dist/api/types/TagSchema.js +5 -0
- package/dist/api/types/TerminalToolRule.d.ts +13 -0
- package/dist/api/types/TerminalToolRule.js +5 -0
- package/dist/api/types/TextContent.d.ts +8 -0
- package/dist/api/types/TextContent.js +5 -0
- package/dist/api/types/TextResponseFormat.d.ts +9 -0
- package/dist/api/types/TextResponseFormat.js +5 -0
- package/dist/api/types/Tool.d.ts +48 -0
- package/dist/api/types/Tool.js +5 -0
- package/dist/api/types/ToolAnnotations.d.ts +22 -0
- package/dist/api/types/ToolAnnotations.js +5 -0
- package/dist/api/types/ToolCall.d.ts +8 -0
- package/dist/api/types/ToolCall.js +5 -0
- package/dist/api/types/ToolCallContent.d.ts +12 -0
- package/dist/api/types/ToolCallContent.js +5 -0
- package/dist/api/types/ToolCallDelta.d.ts +8 -0
- package/dist/api/types/ToolCallDelta.js +5 -0
- package/dist/api/types/ToolCallMessage.d.ts +26 -0
- package/dist/api/types/ToolCallMessage.js +5 -0
- package/dist/api/types/ToolCallMessageToolCall.d.ts +5 -0
- package/dist/api/types/ToolCallMessageToolCall.js +5 -0
- package/dist/api/types/ToolCreate.d.ts +26 -0
- package/dist/api/types/ToolCreate.js +5 -0
- package/dist/api/types/ToolEnvVarSchema.d.ts +10 -0
- package/dist/api/types/ToolEnvVarSchema.js +5 -0
- package/dist/api/types/ToolJsonSchema.d.ts +11 -0
- package/dist/api/types/ToolJsonSchema.js +5 -0
- package/dist/api/types/ToolReturn.d.ts +12 -0
- package/dist/api/types/ToolReturn.js +5 -0
- package/dist/api/types/ToolReturnContent.d.ts +12 -0
- package/dist/api/types/ToolReturnContent.js +5 -0
- package/dist/api/types/ToolReturnMessage.d.ts +34 -0
- package/dist/api/types/ToolReturnMessage.js +5 -0
- package/dist/api/types/ToolReturnMessageStatus.d.ts +8 -0
- package/dist/api/types/ToolReturnMessageStatus.js +10 -0
- package/dist/api/types/ToolReturnStatus.d.ts +11 -0
- package/dist/api/types/ToolReturnStatus.js +10 -0
- package/dist/api/types/ToolType.d.ts +17 -0
- package/dist/api/types/ToolType.js +19 -0
- package/dist/api/types/UpdateAssistantMessage.d.ts +9 -0
- package/dist/api/types/UpdateAssistantMessage.js +5 -0
- package/dist/api/types/UpdateAssistantMessageContent.d.ts +8 -0
- package/dist/api/types/UpdateAssistantMessageContent.js +5 -0
- package/dist/api/types/UpdateReasoningMessage.d.ts +7 -0
- package/dist/api/types/UpdateReasoningMessage.js +5 -0
- package/dist/api/types/UpdateSsemcpServer.d.ts +14 -0
- package/dist/api/types/UpdateSsemcpServer.js +5 -0
- package/dist/api/types/UpdateStdioMcpServer.d.ts +11 -0
- package/dist/api/types/UpdateStdioMcpServer.js +5 -0
- package/dist/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
- package/dist/api/types/UpdateStreamableHttpmcpServer.js +5 -0
- package/dist/api/types/UpdateSystemMessage.d.ts +8 -0
- package/dist/api/types/UpdateSystemMessage.js +5 -0
- package/dist/api/types/UpdateUserMessage.d.ts +9 -0
- package/dist/api/types/UpdateUserMessage.js +5 -0
- package/dist/api/types/UpdateUserMessageContent.d.ts +8 -0
- package/dist/api/types/UpdateUserMessageContent.js +5 -0
- package/dist/api/types/UrlImage.d.ts +8 -0
- package/dist/api/types/UrlImage.js +5 -0
- package/dist/api/types/UsageStatistics.d.ts +11 -0
- package/dist/api/types/UsageStatistics.js +5 -0
- package/dist/api/types/UsageStatisticsCompletionTokenDetails.d.ts +6 -0
- package/dist/api/types/UsageStatisticsCompletionTokenDetails.js +5 -0
- package/dist/api/types/UsageStatisticsPromptTokenDetails.d.ts +6 -0
- package/dist/api/types/UsageStatisticsPromptTokenDetails.js +5 -0
- package/dist/api/types/User.d.ts +23 -0
- package/dist/api/types/User.js +5 -0
- package/dist/api/types/UserCreate.d.ts +7 -0
- package/dist/api/types/UserCreate.js +5 -0
- package/dist/api/types/UserMessage.d.ts +27 -0
- package/dist/api/types/UserMessage.js +5 -0
- package/dist/api/types/UserMessageContent.d.ts +8 -0
- package/dist/api/types/UserMessageContent.js +5 -0
- package/dist/api/types/UserUpdate.d.ts +9 -0
- package/dist/api/types/UserUpdate.js +5 -0
- package/dist/api/types/ValidationError.d.ts +9 -0
- package/dist/api/types/ValidationError.js +5 -0
- package/dist/api/types/ValidationErrorLocItem.d.ts +4 -0
- package/dist/api/types/ValidationErrorLocItem.js +5 -0
- package/dist/api/types/VectorDbProvider.d.ts +12 -0
- package/dist/api/types/VectorDbProvider.js +11 -0
- package/dist/api/types/VoiceSleeptimeManager.d.ts +12 -0
- package/dist/api/types/VoiceSleeptimeManager.js +5 -0
- package/dist/api/types/VoiceSleeptimeManagerUpdate.d.ts +12 -0
- package/dist/api/types/VoiceSleeptimeManagerUpdate.js +5 -0
- package/dist/api/types/WebSearchOptions.d.ts +8 -0
- package/dist/api/types/WebSearchOptions.js +5 -0
- package/dist/api/types/WebSearchOptionsSearchContextSize.d.ts +9 -0
- package/dist/api/types/WebSearchOptionsSearchContextSize.js +11 -0
- package/dist/api/types/WebSearchOptionsUserLocation.d.ts +8 -0
- package/dist/api/types/WebSearchOptionsUserLocation.js +5 -0
- package/dist/api/types/WebSearchOptionsUserLocationApproximate.d.ts +9 -0
- package/dist/api/types/WebSearchOptionsUserLocationApproximate.js +5 -0
- package/dist/api/types/index.d.ts +329 -0
- package/dist/api/types/index.js +345 -0
- package/dist/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +39 -0
- package/dist/core/fetcher/Fetcher.js +107 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +12 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +68 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +11 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +54 -0
- package/dist/core/fetcher/index.d.ts +8 -0
- package/dist/core/fetcher/index.js +15 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +40 -0
- package/dist/core/fetcher/signals.d.ts +11 -0
- package/dist/core/fetcher/signals.js +36 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +63 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +227 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +4 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +18 -0
- package/dist/core/form-data-utils/index.d.ts +2 -0
- package/dist/core/form-data-utils/index.js +20 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.js +44 -0
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +9 -0
- package/dist/core/runtime/runtime.js +103 -0
- package/dist/core/schemas/Schema.d.ts +87 -0
- package/dist/core/schemas/Schema.js +24 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +53 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +62 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +38 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +14 -0
- package/dist/core/schemas/builders/index.js +30 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +24 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +11 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +54 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +28 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +261 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +15 -0
- package/dist/core/schemas/builders/object/types.d.ts +31 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +53 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +93 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +21 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +145 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +9 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +43 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +39 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +9 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +129 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +15 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +6 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +13 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +27 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +17 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +6 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +27 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +15 -0
- package/dist/core/streaming-fetcher/Stream.d.ts +47 -0
- package/dist/core/streaming-fetcher/Stream.js +169 -0
- package/dist/core/streaming-fetcher/index.d.ts +1 -0
- package/dist/core/streaming-fetcher/index.js +5 -0
- package/dist/environments.d.ts +8 -0
- package/dist/environments.js +10 -0
- package/dist/errors/LettaError.d.ts +15 -0
- package/dist/errors/LettaError.js +30 -0
- package/dist/errors/LettaTimeoutError.d.ts +6 -0
- package/dist/errors/LettaTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +45 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/resources/agents/client/count.d.ts +9 -0
- package/dist/serialization/resources/agents/client/count.js +41 -0
- package/dist/serialization/resources/agents/client/exportFile.d.ts +9 -0
- package/dist/serialization/resources/agents/client/exportFile.js +41 -0
- package/dist/serialization/resources/agents/client/index.d.ts +4 -0
- package/dist/serialization/resources/agents/client/index.js +43 -0
- package/dist/serialization/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/client/list.js +42 -0
- package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +20 -0
- package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.js +51 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +61 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +92 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +44 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +75 -0
- package/dist/serialization/resources/agents/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/agents/client/requests/index.js +9 -0
- package/dist/serialization/resources/agents/index.d.ts +3 -0
- package/dist/serialization/resources/agents/index.js +19 -0
- package/dist/serialization/resources/agents/resources/blocks/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/blocks/client/index.js +37 -0
- package/dist/serialization/resources/agents/resources/blocks/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/blocks/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/blocks/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/blocks/index.js +17 -0
- package/dist/serialization/resources/agents/resources/files/client/closeAll.d.ts +9 -0
- package/dist/serialization/resources/agents/resources/files/client/closeAll.js +41 -0
- package/dist/serialization/resources/agents/resources/files/client/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/files/client/index.js +38 -0
- package/dist/serialization/resources/agents/resources/files/client/open.d.ts +9 -0
- package/dist/serialization/resources/agents/resources/files/client/open.js +41 -0
- package/dist/serialization/resources/agents/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/files/index.js +17 -0
- package/dist/serialization/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/folders/client/index.js +37 -0
- package/dist/serialization/resources/agents/resources/folders/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/folders/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/folders/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/folders/index.js +17 -0
- 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/dist/serialization/resources/agents/resources/groups/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/groups/client/list.js +42 -0
- 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 +17 -0
- package/dist/serialization/resources/agents/resources/index.js +56 -0
- package/dist/serialization/resources/agents/resources/memoryVariables/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/memoryVariables/index.js +17 -0
- package/dist/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js +43 -0
- package/dist/serialization/resources/agents/resources/memoryVariables/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/memoryVariables/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/messages/client/cancel.d.ts +9 -0
- package/dist/serialization/resources/agents/resources/messages/client/cancel.js +41 -0
- package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +5 -0
- package/dist/serialization/resources/agents/resources/messages/client/index.js +44 -0
- package/dist/serialization/resources/agents/resources/messages/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/messages/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/messages/client/previewRawPayload.d.ts +9 -0
- package/dist/serialization/resources/agents/resources/messages/client/previewRawPayload.js +41 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +43 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +21 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +52 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +21 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +52 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +9 -0
- package/dist/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/messages/client/search.js +42 -0
- package/dist/serialization/resources/agents/resources/messages/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/messages/index.js +18 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.js +43 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +22 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +66 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesModifyRequest.d.ts +14 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesModifyRequest.js +50 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesModifyResponse.d.ts +19 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesModifyResponse.js +60 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.js +43 -0
- package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +6 -0
- package/dist/serialization/resources/agents/resources/messages/types/index.js +22 -0
- package/dist/serialization/resources/agents/resources/passages/client/create.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/passages/client/create.js +42 -0
- package/dist/serialization/resources/agents/resources/passages/client/index.d.ts +3 -0
- package/dist/serialization/resources/agents/resources/passages/client/index.js +42 -0
- package/dist/serialization/resources/agents/resources/passages/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/passages/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/passages/client/requests/CreateArchivalMemory.d.ts +14 -0
- package/dist/serialization/resources/agents/resources/passages/client/requests/CreateArchivalMemory.js +45 -0
- 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 +5 -0
- package/dist/serialization/resources/agents/resources/passages/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/passages/index.js +18 -0
- package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
- package/dist/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/sources/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/sources/client/index.js +37 -0
- package/dist/serialization/resources/agents/resources/sources/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/sources/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/sources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/sources/index.js +17 -0
- package/dist/serialization/resources/agents/resources/templates/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/index.js +17 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +14 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +45 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/index.js +5 -0
- package/dist/serialization/resources/agents/resources/templates/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/templates/index.js +18 -0
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.js +43 -0
- package/dist/serialization/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/tools/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/tools/client/index.js +37 -0
- package/dist/serialization/resources/agents/resources/tools/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/tools/client/list.js +42 -0
- package/dist/serialization/resources/agents/resources/tools/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/tools/index.js +17 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +15 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItem.js +52 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +14 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.js +45 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOne.d.ts +15 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOne.js +46 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.js +41 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemThree.d.ts +14 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemThree.js +45 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts +14 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.js +45 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemZero.d.ts +13 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemZero.js +44 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponse.js +45 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +13 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestResponseFormat.js +44 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +19 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +60 -0
- package/dist/serialization/resources/agents/types/UpdateAgentResponseFormat.d.ts +13 -0
- package/dist/serialization/resources/agents/types/UpdateAgentResponseFormat.js +44 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +19 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +60 -0
- package/dist/serialization/resources/agents/types/index.d.ts +13 -0
- package/dist/serialization/resources/agents/types/index.js +29 -0
- package/dist/serialization/resources/batches/client/index.d.ts +2 -0
- package/dist/serialization/resources/batches/client/index.js +41 -0
- package/dist/serialization/resources/batches/client/list.d.ts +11 -0
- package/dist/serialization/resources/batches/client/list.js +42 -0
- package/dist/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/dist/serialization/resources/batches/client/requests/CreateBatch.js +45 -0
- package/dist/serialization/resources/batches/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/batches/client/requests/index.js +5 -0
- 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/count.d.ts +9 -0
- package/dist/serialization/resources/blocks/client/count.js +41 -0
- package/dist/serialization/resources/blocks/client/index.d.ts +2 -0
- package/dist/serialization/resources/blocks/client/index.js +38 -0
- package/dist/serialization/resources/blocks/client/list.d.ts +11 -0
- package/dist/serialization/resources/blocks/client/list.js +42 -0
- package/dist/serialization/resources/blocks/index.d.ts +2 -0
- package/dist/serialization/resources/blocks/index.js +18 -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/resources/agents/client/list.js +42 -0
- 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/index.d.ts +1 -0
- package/dist/serialization/resources/clientSideAccessTokens/client/index.js +17 -0
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +15 -0
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js +46 -0
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/clientSideAccessTokens/client/requests/index.js +5 -0
- package/dist/serialization/resources/clientSideAccessTokens/index.d.ts +2 -0
- package/dist/serialization/resources/clientSideAccessTokens/index.js +18 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.d.ts +15 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateRequestPolicyItem.js +46 -0
- 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/ClientSideAccessTokensCreateResponse.js +47 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.d.ts +14 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicy.js +45 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.d.ts +15 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.js +46 -0
- 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/ClientSideAccessTokensListClientSideAccessTokensResponse.d.ts +14 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.js +45 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.d.ts +16 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.js +47 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.d.ts +14 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.js +45 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.d.ts +15 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.js +46 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.d.ts +10 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.js +41 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/index.d.ts +11 -0
- package/dist/serialization/resources/clientSideAccessTokens/types/index.js +27 -0
- package/dist/serialization/resources/embeddingModels/client/index.d.ts +1 -0
- package/dist/serialization/resources/embeddingModels/client/index.js +37 -0
- package/dist/serialization/resources/embeddingModels/client/list.d.ts +11 -0
- package/dist/serialization/resources/embeddingModels/client/list.js +42 -0
- package/dist/serialization/resources/embeddingModels/index.d.ts +1 -0
- package/dist/serialization/resources/embeddingModels/index.js +17 -0
- package/dist/serialization/resources/folders/client/count.d.ts +9 -0
- package/dist/serialization/resources/folders/client/count.js +41 -0
- package/dist/serialization/resources/folders/client/getAgentsForFolder.d.ts +9 -0
- package/dist/serialization/resources/folders/client/getAgentsForFolder.js +41 -0
- package/dist/serialization/resources/folders/client/index.d.ts +4 -0
- package/dist/serialization/resources/folders/client/index.js +40 -0
- package/dist/serialization/resources/folders/client/list.d.ts +11 -0
- package/dist/serialization/resources/folders/client/list.js +42 -0
- package/dist/serialization/resources/folders/client/retrieveByName.d.ts +9 -0
- package/dist/serialization/resources/folders/client/retrieveByName.js +41 -0
- package/dist/serialization/resources/folders/index.d.ts +2 -0
- package/dist/serialization/resources/folders/index.js +18 -0
- package/dist/serialization/resources/folders/resources/files/client/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/client/index.js +37 -0
- package/dist/serialization/resources/folders/resources/files/client/list.d.ts +11 -0
- package/dist/serialization/resources/folders/resources/files/client/list.js +42 -0
- package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/files/index.js +17 -0
- package/dist/serialization/resources/folders/resources/index.d.ts +2 -0
- package/dist/serialization/resources/folders/resources/index.js +38 -0
- package/dist/serialization/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/client/index.js +37 -0
- package/dist/serialization/resources/folders/resources/passages/client/list.d.ts +11 -0
- package/dist/serialization/resources/folders/resources/passages/client/list.js +42 -0
- package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/folders/resources/passages/index.js +17 -0
- package/dist/serialization/resources/groups/client/count.d.ts +9 -0
- package/dist/serialization/resources/groups/client/count.js +41 -0
- package/dist/serialization/resources/groups/client/index.d.ts +3 -0
- package/dist/serialization/resources/groups/client/index.js +42 -0
- package/dist/serialization/resources/groups/client/list.d.ts +11 -0
- package/dist/serialization/resources/groups/client/list.js +42 -0
- package/dist/serialization/resources/groups/client/requests/GroupCreate.d.ts +18 -0
- package/dist/serialization/resources/groups/client/requests/GroupCreate.js +49 -0
- package/dist/serialization/resources/groups/client/requests/GroupUpdate.d.ts +17 -0
- package/dist/serialization/resources/groups/client/requests/GroupUpdate.js +48 -0
- package/dist/serialization/resources/groups/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/groups/client/requests/index.js +7 -0
- package/dist/serialization/resources/groups/index.d.ts +3 -0
- package/dist/serialization/resources/groups/index.js +19 -0
- package/dist/serialization/resources/groups/resources/index.d.ts +2 -0
- package/dist/serialization/resources/groups/resources/index.js +41 -0
- package/dist/serialization/resources/groups/resources/messages/client/index.d.ts +1 -0
- package/dist/serialization/resources/groups/resources/messages/client/index.js +37 -0
- package/dist/serialization/resources/groups/resources/messages/client/list.d.ts +11 -0
- package/dist/serialization/resources/groups/resources/messages/client/list.js +42 -0
- package/dist/serialization/resources/groups/resources/messages/index.d.ts +2 -0
- package/dist/serialization/resources/groups/resources/messages/index.js +18 -0
- package/dist/serialization/resources/groups/resources/messages/types/LettaStreamingResponse.d.ts +17 -0
- package/dist/serialization/resources/groups/resources/messages/types/LettaStreamingResponse.js +56 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesModifyRequest.d.ts +14 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesModifyRequest.js +50 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesModifyResponse.d.ts +19 -0
- package/dist/serialization/resources/groups/resources/messages/types/MessagesModifyResponse.js +60 -0
- package/dist/serialization/resources/groups/resources/messages/types/index.d.ts +3 -0
- package/dist/serialization/resources/groups/resources/messages/types/index.js +19 -0
- package/dist/serialization/resources/groups/types/GroupCreateManagerConfig.d.ts +15 -0
- package/dist/serialization/resources/groups/types/GroupCreateManagerConfig.js +52 -0
- package/dist/serialization/resources/groups/types/GroupUpdateManagerConfig.d.ts +15 -0
- package/dist/serialization/resources/groups/types/GroupUpdateManagerConfig.js +52 -0
- package/dist/serialization/resources/groups/types/index.d.ts +2 -0
- package/dist/serialization/resources/groups/types/index.js +18 -0
- package/dist/serialization/resources/identities/client/count.d.ts +9 -0
- package/dist/serialization/resources/identities/client/count.js +41 -0
- package/dist/serialization/resources/identities/client/index.d.ts +3 -0
- package/dist/serialization/resources/identities/client/index.js +42 -0
- package/dist/serialization/resources/identities/client/list.d.ts +11 -0
- package/dist/serialization/resources/identities/client/list.js +42 -0
- package/dist/serialization/resources/identities/client/requests/IdentityCreate.d.ts +20 -0
- package/dist/serialization/resources/identities/client/requests/IdentityCreate.js +51 -0
- package/dist/serialization/resources/identities/client/requests/IdentityUpdate.d.ts +19 -0
- package/dist/serialization/resources/identities/client/requests/IdentityUpdate.js +50 -0
- package/dist/serialization/resources/identities/client/requests/IdentityUpsert.d.ts +20 -0
- package/dist/serialization/resources/identities/client/requests/IdentityUpsert.js +51 -0
- package/dist/serialization/resources/identities/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/identities/client/requests/index.js +9 -0
- package/dist/serialization/resources/identities/index.d.ts +2 -0
- package/dist/serialization/resources/identities/index.js +18 -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/resources/properties/client/upsert.js +42 -0
- 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 +37 -0
- package/dist/serialization/resources/index.js +76 -0
- package/dist/serialization/resources/jobs/client/index.d.ts +2 -0
- package/dist/serialization/resources/jobs/client/index.js +38 -0
- package/dist/serialization/resources/jobs/client/list.d.ts +11 -0
- package/dist/serialization/resources/jobs/client/list.js +42 -0
- package/dist/serialization/resources/jobs/client/listActive.d.ts +11 -0
- package/dist/serialization/resources/jobs/client/listActive.js +42 -0
- package/dist/serialization/resources/jobs/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/index.js +17 -0
- package/dist/serialization/resources/models/client/index.d.ts +1 -0
- package/dist/serialization/resources/models/client/index.js +37 -0
- package/dist/serialization/resources/models/client/list.d.ts +11 -0
- package/dist/serialization/resources/models/client/list.js +42 -0
- package/dist/serialization/resources/models/index.d.ts +1 -0
- package/dist/serialization/resources/models/index.js +17 -0
- package/dist/serialization/resources/projects/index.d.ts +1 -0
- package/dist/serialization/resources/projects/index.js +17 -0
- package/dist/serialization/resources/projects/types/ProjectsListResponse.d.ts +14 -0
- package/dist/serialization/resources/projects/types/ProjectsListResponse.js +45 -0
- package/dist/serialization/resources/projects/types/ProjectsListResponseProjectsItem.d.ts +14 -0
- package/dist/serialization/resources/projects/types/ProjectsListResponseProjectsItem.js +45 -0
- package/dist/serialization/resources/projects/types/index.d.ts +2 -0
- package/dist/serialization/resources/projects/types/index.js +18 -0
- package/dist/serialization/resources/providers/client/index.d.ts +2 -0
- package/dist/serialization/resources/providers/client/index.js +41 -0
- package/dist/serialization/resources/providers/client/list.d.ts +11 -0
- package/dist/serialization/resources/providers/client/list.js +42 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCheck.js +49 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +19 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +50 -0
- package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +16 -0
- package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +47 -0
- package/dist/serialization/resources/providers/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/providers/client/requests/index.js +9 -0
- package/dist/serialization/resources/providers/index.d.ts +1 -0
- package/dist/serialization/resources/providers/index.js +17 -0
- package/dist/serialization/resources/runs/client/index.d.ts +3 -0
- package/dist/serialization/resources/runs/client/index.js +42 -0
- package/dist/serialization/resources/runs/client/list.d.ts +11 -0
- package/dist/serialization/resources/runs/client/list.js +42 -0
- package/dist/serialization/resources/runs/client/listActive.d.ts +11 -0
- package/dist/serialization/resources/runs/client/listActive.js +42 -0
- package/dist/serialization/resources/runs/client/requests/RetrieveStreamRequest.d.ts +15 -0
- package/dist/serialization/resources/runs/client/requests/RetrieveStreamRequest.js +46 -0
- package/dist/serialization/resources/runs/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/runs/client/requests/index.js +5 -0
- package/dist/serialization/resources/runs/index.d.ts +3 -0
- package/dist/serialization/resources/runs/index.js +19 -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/resources/messages/client/list.js +42 -0
- 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/runs/resources/steps/client/list.d.ts +11 -0
- package/dist/serialization/resources/runs/resources/steps/client/list.js +42 -0
- 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/runs/types/LettaStreamingResponse.d.ts +22 -0
- package/dist/serialization/resources/runs/types/LettaStreamingResponse.js +66 -0
- package/dist/serialization/resources/runs/types/index.d.ts +1 -0
- package/dist/serialization/resources/runs/types/index.js +17 -0
- package/dist/serialization/resources/sources/client/count.d.ts +9 -0
- package/dist/serialization/resources/sources/client/count.js +41 -0
- package/dist/serialization/resources/sources/client/getAgentsForSource.d.ts +9 -0
- package/dist/serialization/resources/sources/client/getAgentsForSource.js +41 -0
- package/dist/serialization/resources/sources/client/index.d.ts +4 -0
- package/dist/serialization/resources/sources/client/index.js +40 -0
- package/dist/serialization/resources/sources/client/list.d.ts +11 -0
- package/dist/serialization/resources/sources/client/list.js +42 -0
- package/dist/serialization/resources/sources/client/retrieveByName.d.ts +9 -0
- package/dist/serialization/resources/sources/client/retrieveByName.js +41 -0
- package/dist/serialization/resources/sources/index.d.ts +2 -0
- package/dist/serialization/resources/sources/index.js +18 -0
- package/dist/serialization/resources/sources/resources/files/client/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/files/client/index.js +37 -0
- package/dist/serialization/resources/sources/resources/files/client/list.d.ts +11 -0
- package/dist/serialization/resources/sources/resources/files/client/list.js +42 -0
- package/dist/serialization/resources/sources/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/files/index.js +17 -0
- package/dist/serialization/resources/sources/resources/index.d.ts +2 -0
- package/dist/serialization/resources/sources/resources/index.js +38 -0
- package/dist/serialization/resources/sources/resources/passages/client/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/passages/client/index.js +37 -0
- package/dist/serialization/resources/sources/resources/passages/client/list.d.ts +11 -0
- package/dist/serialization/resources/sources/resources/passages/client/list.js +42 -0
- package/dist/serialization/resources/sources/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/passages/index.js +17 -0
- package/dist/serialization/resources/steps/client/index.d.ts +1 -0
- package/dist/serialization/resources/steps/client/index.js +37 -0
- package/dist/serialization/resources/steps/client/list.d.ts +11 -0
- package/dist/serialization/resources/steps/client/list.js +42 -0
- package/dist/serialization/resources/steps/index.d.ts +2 -0
- package/dist/serialization/resources/steps/index.js +18 -0
- package/dist/serialization/resources/steps/types/StepsListRequestFeedback.d.ts +10 -0
- package/dist/serialization/resources/steps/types/StepsListRequestFeedback.js +41 -0
- package/dist/serialization/resources/steps/types/index.d.ts +1 -0
- package/dist/serialization/resources/steps/types/index.js +17 -0
- package/dist/serialization/resources/tags/client/index.d.ts +1 -0
- package/dist/serialization/resources/tags/client/index.js +37 -0
- package/dist/serialization/resources/tags/client/list.d.ts +9 -0
- package/dist/serialization/resources/tags/client/list.js +41 -0
- package/dist/serialization/resources/tags/index.d.ts +1 -0
- package/dist/serialization/resources/tags/index.js +17 -0
- package/dist/serialization/resources/telemetry/client/index.d.ts +1 -0
- package/dist/serialization/resources/telemetry/client/index.js +37 -0
- package/dist/serialization/resources/telemetry/client/retrieveProviderTrace.d.ts +11 -0
- package/dist/serialization/resources/telemetry/client/retrieveProviderTrace.js +8 -0
- package/dist/serialization/resources/telemetry/index.d.ts +1 -0
- package/dist/serialization/resources/telemetry/index.js +17 -0
- package/dist/serialization/resources/templates/client/index.d.ts +1 -0
- package/dist/serialization/resources/templates/client/index.js +17 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +41 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +43 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +12 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +43 -0
- package/dist/serialization/resources/templates/client/requests/index.d.ts +5 -0
- package/dist/serialization/resources/templates/client/requests/index.js +13 -0
- package/dist/serialization/resources/templates/index.d.ts +3 -0
- package/dist/serialization/resources/templates/index.js +19 -0
- 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 +18 -0
- package/dist/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.js +49 -0
- 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/AgentsCreateRequestInitialMessageSequenceItem.d.ts +19 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItem.js +50 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.d.ts +10 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.js +41 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
- package/dist/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js +44 -0
- package/dist/serialization/resources/templates/resources/agents/types/index.d.ts +3 -0
- package/dist/serialization/resources/templates/resources/agents/types/index.js +19 -0
- package/dist/serialization/resources/templates/resources/index.d.ts +3 -0
- package/dist/serialization/resources/templates/resources/index.js +42 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateRequest.d.ts +12 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateRequest.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentId.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentId.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +19 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +50 -0
- package/dist/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
- package/dist/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.js +43 -0
- package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +19 -0
- package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +50 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +29 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +60 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +24 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +55 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +19 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +60 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +49 -0
- package/dist/serialization/resources/templates/types/TemplatesListRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesListRequestSortBy.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponse.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponse.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +19 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +50 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
- package/dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js +43 -0
- package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +19 -0
- package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +50 -0
- package/dist/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +12 -0
- package/dist/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +43 -0
- package/dist/serialization/resources/templates/types/index.d.ts +37 -0
- package/dist/serialization/resources/templates/types/index.js +53 -0
- package/dist/serialization/resources/tools/client/addMcpServer.d.ts +11 -0
- package/dist/serialization/resources/tools/client/addMcpServer.js +42 -0
- package/dist/serialization/resources/tools/client/count.d.ts +9 -0
- package/dist/serialization/resources/tools/client/count.js +41 -0
- package/dist/serialization/resources/tools/client/deleteMcpServer.d.ts +11 -0
- package/dist/serialization/resources/tools/client/deleteMcpServer.js +42 -0
- package/dist/serialization/resources/tools/client/index.d.ts +10 -0
- package/dist/serialization/resources/tools/client/index.js +49 -0
- package/dist/serialization/resources/tools/client/list.d.ts +11 -0
- package/dist/serialization/resources/tools/client/list.js +42 -0
- package/dist/serialization/resources/tools/client/listComposioActionsByApp.d.ts +11 -0
- package/dist/serialization/resources/tools/client/listComposioActionsByApp.js +42 -0
- package/dist/serialization/resources/tools/client/listComposioApps.d.ts +11 -0
- package/dist/serialization/resources/tools/client/listComposioApps.js +42 -0
- package/dist/serialization/resources/tools/client/listMcpServers.d.ts +11 -0
- package/dist/serialization/resources/tools/client/listMcpServers.js +42 -0
- package/dist/serialization/resources/tools/client/listMcpToolsByServer.d.ts +11 -0
- package/dist/serialization/resources/tools/client/listMcpToolsByServer.js +42 -0
- package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +22 -0
- package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.js +53 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +24 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +55 -0
- package/dist/serialization/resources/tools/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/tools/client/requests/index.js +7 -0
- package/dist/serialization/resources/tools/client/upsertBaseTools.d.ts +11 -0
- package/dist/serialization/resources/tools/client/upsertBaseTools.js +42 -0
- package/dist/serialization/resources/tools/index.d.ts +2 -0
- package/dist/serialization/resources/tools/index.js +18 -0
- package/dist/serialization/resources/tools/types/AddMcpServerRequest.d.ts +13 -0
- package/dist/serialization/resources/tools/types/AddMcpServerRequest.js +44 -0
- package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +13 -0
- package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.js +44 -0
- package/dist/serialization/resources/tools/types/ConnectMcpServerRequest.d.ts +13 -0
- package/dist/serialization/resources/tools/types/ConnectMcpServerRequest.js +44 -0
- package/dist/serialization/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +10 -0
- package/dist/serialization/resources/tools/types/ConnectMcpServerResponseEvent.js +48 -0
- package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +13 -0
- package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +44 -0
- package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +13 -0
- package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.js +44 -0
- package/dist/serialization/resources/tools/types/StreamingResponse.d.ts +16 -0
- package/dist/serialization/resources/tools/types/StreamingResponse.js +47 -0
- package/dist/serialization/resources/tools/types/TestMcpServerRequest.d.ts +13 -0
- package/dist/serialization/resources/tools/types/TestMcpServerRequest.js +44 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +13 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.js +44 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
- package/dist/serialization/resources/tools/types/index.d.ts +10 -0
- package/dist/serialization/resources/tools/types/index.js +26 -0
- package/dist/serialization/resources/voice/client/createVoiceChatCompletions.d.ts +9 -0
- package/dist/serialization/resources/voice/client/createVoiceChatCompletions.js +41 -0
- package/dist/serialization/resources/voice/client/index.d.ts +1 -0
- package/dist/serialization/resources/voice/client/index.js +37 -0
- package/dist/serialization/resources/voice/index.d.ts +1 -0
- package/dist/serialization/resources/voice/index.js +17 -0
- package/dist/serialization/types/ActionModel.d.ts +25 -0
- package/dist/serialization/types/ActionModel.js +56 -0
- package/dist/serialization/types/ActionParametersModel.d.ts +16 -0
- package/dist/serialization/types/ActionParametersModel.js +47 -0
- package/dist/serialization/types/ActionResponseModel.d.ts +16 -0
- package/dist/serialization/types/ActionResponseModel.js +47 -0
- package/dist/serialization/types/AgentEnvironmentVariable.d.ts +20 -0
- package/dist/serialization/types/AgentEnvironmentVariable.js +51 -0
- package/dist/serialization/types/AgentFileAttachment.d.ts +21 -0
- package/dist/serialization/types/AgentFileAttachment.js +52 -0
- package/dist/serialization/types/AgentFileSchema.d.ts +27 -0
- package/dist/serialization/types/AgentFileSchema.js +58 -0
- package/dist/serialization/types/AgentState.d.ts +56 -0
- package/dist/serialization/types/AgentState.js +87 -0
- package/dist/serialization/types/AgentStateResponseFormat.d.ts +13 -0
- package/dist/serialization/types/AgentStateResponseFormat.js +44 -0
- package/dist/serialization/types/AgentStateToolRulesItem.d.ts +19 -0
- package/dist/serialization/types/AgentStateToolRulesItem.js +60 -0
- package/dist/serialization/types/AgentType.d.ts +10 -0
- package/dist/serialization/types/AgentType.js +50 -0
- package/dist/serialization/types/AppAuthScheme.d.ts +23 -0
- package/dist/serialization/types/AppAuthScheme.js +54 -0
- package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +10 -0
- package/dist/serialization/types/AppAuthSchemeAuthMode.js +52 -0
- package/dist/serialization/types/AppModel.d.ts +28 -0
- package/dist/serialization/types/AppModel.js +61 -0
- package/dist/serialization/types/ApprovalCreate.d.ts +15 -0
- package/dist/serialization/types/ApprovalCreate.js +46 -0
- package/dist/serialization/types/ApprovalRequestMessage.d.ts +23 -0
- package/dist/serialization/types/ApprovalRequestMessage.js +54 -0
- package/dist/serialization/types/ApprovalRequestMessageToolCall.d.ts +12 -0
- package/dist/serialization/types/ApprovalRequestMessageToolCall.js +43 -0
- package/dist/serialization/types/ApprovalResponseMessage.d.ts +24 -0
- package/dist/serialization/types/ApprovalResponseMessage.js +55 -0
- package/dist/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
- package/dist/serialization/types/ArchivalMemorySearchResponse.js +45 -0
- package/dist/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
- package/dist/serialization/types/ArchivalMemorySearchResult.js +45 -0
- package/dist/serialization/types/AssistantMessage.d.ts +23 -0
- package/dist/serialization/types/AssistantMessage.js +54 -0
- package/dist/serialization/types/AssistantMessageContent.d.ts +11 -0
- package/dist/serialization/types/AssistantMessageContent.js +45 -0
- package/dist/serialization/types/Audio.d.ts +12 -0
- package/dist/serialization/types/Audio.js +43 -0
- package/dist/serialization/types/AuthRequest.d.ts +12 -0
- package/dist/serialization/types/AuthRequest.js +43 -0
- package/dist/serialization/types/AuthResponse.d.ts +13 -0
- package/dist/serialization/types/AuthResponse.js +44 -0
- package/dist/serialization/types/AuthSchemeField.d.ts +19 -0
- package/dist/serialization/types/AuthSchemeField.js +50 -0
- package/dist/serialization/types/BadRequestErrorBody.d.ts +12 -0
- package/dist/serialization/types/BadRequestErrorBody.js +43 -0
- package/dist/serialization/types/Base64Image.d.ts +15 -0
- package/dist/serialization/types/Base64Image.js +46 -0
- package/dist/serialization/types/BaseToolRuleSchema.d.ts +13 -0
- package/dist/serialization/types/BaseToolRuleSchema.js +44 -0
- package/dist/serialization/types/BatchJob.d.ts +28 -0
- package/dist/serialization/types/BatchJob.js +59 -0
- package/dist/serialization/types/Block.d.ts +28 -0
- package/dist/serialization/types/Block.js +59 -0
- package/dist/serialization/types/BlockSchema.d.ts +26 -0
- package/dist/serialization/types/BlockSchema.js +57 -0
- package/dist/serialization/types/BlockUpdate.d.ts +25 -0
- package/dist/serialization/types/BlockUpdate.js +56 -0
- package/dist/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
- package/dist/serialization/types/BodyExportAgentSerialized.js +46 -0
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +22 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +53 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +12 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +46 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
- package/dist/serialization/types/ChatCompletionAudioParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionAudioParam.js +46 -0
- package/dist/serialization/types/ChatCompletionAudioParamFormat.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionAudioParamFormat.js +41 -0
- package/dist/serialization/types/ChatCompletionAudioParamVoice.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionAudioParamVoice.js +51 -0
- package/dist/serialization/types/ChatCompletionContentPartImageParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionContentPartImageParam.js +45 -0
- package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.js +45 -0
- package/dist/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +13 -0
- package/dist/serialization/types/ChatCompletionContentPartRefusalParam.js +44 -0
- package/dist/serialization/types/ChatCompletionContentPartTextParam.d.ts +13 -0
- package/dist/serialization/types/ChatCompletionContentPartTextParam.js +44 -0
- package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionCustomToolParam.js +45 -0
- package/dist/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionDeveloperMessageParam.js +46 -0
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +12 -0
- package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.js +43 -0
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.js +45 -0
- package/dist/serialization/types/ChatCompletionFunctionToolParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionFunctionToolParam.js +45 -0
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +16 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +48 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +16 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallOutput.js +48 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +46 -0
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
- package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.js +45 -0
- package/dist/serialization/types/ChatCompletionPredictionContentParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionPredictionContentParam.js +45 -0
- package/dist/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionPredictionContentParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +13 -0
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +44 -0
- package/dist/serialization/types/ChatCompletionSystemMessageParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionSystemMessageParam.js +46 -0
- package/dist/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionSystemMessageParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionToolMessageParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionToolMessageParam.js +46 -0
- package/dist/serialization/types/ChatCompletionToolMessageParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionToolMessageParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionUserMessageParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionUserMessageParam.js +46 -0
- package/dist/serialization/types/ChatCompletionUserMessageParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionUserMessageParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.js +50 -0
- package/dist/serialization/types/ChildToolRule.d.ts +15 -0
- package/dist/serialization/types/ChildToolRule.js +46 -0
- package/dist/serialization/types/ChildToolRuleSchema.d.ts +14 -0
- package/dist/serialization/types/ChildToolRuleSchema.js +45 -0
- package/dist/serialization/types/CodeInput.d.ts +13 -0
- package/dist/serialization/types/CodeInput.js +44 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +61 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +92 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +11 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +46 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +16 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +54 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +105 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +13 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +44 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.js +44 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +13 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +51 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +61 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +92 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +11 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +46 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +16 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +54 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +105 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +13 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +44 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingStop.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingStop.js +44 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +13 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +51 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
- package/dist/serialization/types/ComponentsSchemasTextContent.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasTextContent.js +8 -0
- package/dist/serialization/types/ConditionalToolRule.d.ts +17 -0
- package/dist/serialization/types/ConditionalToolRule.js +48 -0
- package/dist/serialization/types/ConditionalToolRuleSchema.d.ts +16 -0
- package/dist/serialization/types/ConditionalToolRuleSchema.js +47 -0
- package/dist/serialization/types/ConflictErrorBody.d.ts +12 -0
- package/dist/serialization/types/ConflictErrorBody.js +43 -0
- package/dist/serialization/types/ContextWindowOverview.d.ts +30 -0
- package/dist/serialization/types/ContextWindowOverview.js +61 -0
- package/dist/serialization/types/ContinueToolRule.d.ts +14 -0
- package/dist/serialization/types/ContinueToolRule.js +45 -0
- package/dist/serialization/types/CoreMemoryBlockSchema.d.ts +20 -0
- package/dist/serialization/types/CoreMemoryBlockSchema.js +51 -0
- package/dist/serialization/types/CreateBlock.d.ts +25 -0
- package/dist/serialization/types/CreateBlock.js +56 -0
- package/dist/serialization/types/CustomFormatGrammar.d.ts +14 -0
- package/dist/serialization/types/CustomFormatGrammar.js +45 -0
- package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
- package/dist/serialization/types/CustomFormatGrammarGrammar.js +45 -0
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
- package/dist/serialization/types/CustomFormatText.d.ts +12 -0
- package/dist/serialization/types/CustomFormatText.js +43 -0
- package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
- package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
- package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
- package/dist/serialization/types/DeploymentEntity.js +46 -0
- package/dist/serialization/types/DuplicateFileHandling.d.ts +10 -0
- package/dist/serialization/types/DuplicateFileHandling.js +41 -0
- package/dist/serialization/types/DynamicManager.d.ts +15 -0
- package/dist/serialization/types/DynamicManager.js +46 -0
- package/dist/serialization/types/DynamicManagerUpdate.d.ts +15 -0
- package/dist/serialization/types/DynamicManagerUpdate.js +46 -0
- package/dist/serialization/types/E2BSandboxConfig.d.ts +14 -0
- package/dist/serialization/types/E2BSandboxConfig.js +45 -0
- package/dist/serialization/types/EmbeddingConfig.d.ts +22 -0
- package/dist/serialization/types/EmbeddingConfig.js +53 -0
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +10 -0
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +61 -0
- package/dist/serialization/types/FeedbackType.d.ts +10 -0
- package/dist/serialization/types/FeedbackType.js +41 -0
- package/dist/serialization/types/FileAgentSchema.d.ts +21 -0
- package/dist/serialization/types/FileAgentSchema.js +52 -0
- package/dist/serialization/types/FileBlock.d.ts +32 -0
- package/dist/serialization/types/FileBlock.js +63 -0
- package/dist/serialization/types/FileFile.d.ts +14 -0
- package/dist/serialization/types/FileFile.js +45 -0
- package/dist/serialization/types/FileMetadata.d.ts +28 -0
- package/dist/serialization/types/FileMetadata.js +59 -0
- package/dist/serialization/types/FileProcessingStatus.d.ts +10 -0
- package/dist/serialization/types/FileProcessingStatus.js +41 -0
- package/dist/serialization/types/FileSchema.d.ts +26 -0
- package/dist/serialization/types/FileSchema.js +57 -0
- package/dist/serialization/types/FileStats.d.ts +14 -0
- package/dist/serialization/types/FileStats.js +45 -0
- package/dist/serialization/types/File_.d.ts +14 -0
- package/dist/serialization/types/File_.js +45 -0
- package/dist/serialization/types/Folder.d.ts +22 -0
- package/dist/serialization/types/Folder.js +53 -0
- package/dist/serialization/types/FunctionCall.d.ts +13 -0
- package/dist/serialization/types/FunctionCall.js +44 -0
- package/dist/serialization/types/FunctionDefinitionInput.d.ts +15 -0
- package/dist/serialization/types/FunctionDefinitionInput.js +46 -0
- package/dist/serialization/types/FunctionDefinitionOutput.d.ts +16 -0
- package/dist/serialization/types/FunctionDefinitionOutput.js +48 -0
- package/dist/serialization/types/FunctionOutput.d.ts +14 -0
- package/dist/serialization/types/FunctionOutput.js +46 -0
- package/dist/serialization/types/FunctionTool.d.ts +15 -0
- package/dist/serialization/types/FunctionTool.js +47 -0
- package/dist/serialization/types/GenerateToolInput.d.ts +16 -0
- package/dist/serialization/types/GenerateToolInput.js +47 -0
- package/dist/serialization/types/GenerateToolOutput.d.ts +15 -0
- package/dist/serialization/types/GenerateToolOutput.js +46 -0
- package/dist/serialization/types/Group.d.ts +30 -0
- package/dist/serialization/types/Group.js +61 -0
- package/dist/serialization/types/GroupSchema.d.ts +19 -0
- package/dist/serialization/types/GroupSchema.js +50 -0
- package/dist/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
- package/dist/serialization/types/GroupSchemaManagerConfig.js +52 -0
- package/dist/serialization/types/Health.d.ts +13 -0
- package/dist/serialization/types/Health.js +44 -0
- package/dist/serialization/types/HiddenReasoningMessage.d.ts +24 -0
- package/dist/serialization/types/HiddenReasoningMessage.js +55 -0
- package/dist/serialization/types/HiddenReasoningMessageState.d.ts +10 -0
- package/dist/serialization/types/HiddenReasoningMessageState.js +41 -0
- package/dist/serialization/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/types/HttpValidationError.js +44 -0
- package/dist/serialization/types/Identity.d.ts +21 -0
- package/dist/serialization/types/Identity.js +52 -0
- package/dist/serialization/types/IdentityProperty.d.ts +16 -0
- package/dist/serialization/types/IdentityProperty.js +47 -0
- package/dist/serialization/types/IdentityPropertyType.d.ts +10 -0
- package/dist/serialization/types/IdentityPropertyType.js +41 -0
- package/dist/serialization/types/IdentityPropertyValue.d.ts +10 -0
- package/dist/serialization/types/IdentityPropertyValue.js +47 -0
- package/dist/serialization/types/IdentityType.d.ts +10 -0
- package/dist/serialization/types/IdentityType.js +41 -0
- package/dist/serialization/types/ImageContent.d.ts +14 -0
- package/dist/serialization/types/ImageContent.js +45 -0
- package/dist/serialization/types/ImageContentSource.d.ts +13 -0
- package/dist/serialization/types/ImageContentSource.js +44 -0
- package/dist/serialization/types/ImageUrl.d.ts +14 -0
- package/dist/serialization/types/ImageUrl.js +45 -0
- package/dist/serialization/types/ImageUrlDetail.d.ts +10 -0
- package/dist/serialization/types/ImageUrlDetail.js +41 -0
- package/dist/serialization/types/ImportedAgentsResponse.d.ts +12 -0
- package/dist/serialization/types/ImportedAgentsResponse.js +43 -0
- package/dist/serialization/types/InitToolRule.d.ts +14 -0
- package/dist/serialization/types/InitToolRule.js +45 -0
- package/dist/serialization/types/InputAudio.d.ts +14 -0
- package/dist/serialization/types/InputAudio.js +45 -0
- package/dist/serialization/types/InputAudioFormat.d.ts +10 -0
- package/dist/serialization/types/InputAudioFormat.js +41 -0
- package/dist/serialization/types/InternalTemplateAgentCreate.d.ts +63 -0
- package/dist/serialization/types/InternalTemplateAgentCreate.js +94 -0
- package/dist/serialization/types/InternalTemplateAgentCreateResponseFormat.d.ts +13 -0
- package/dist/serialization/types/InternalTemplateAgentCreateResponseFormat.js +44 -0
- package/dist/serialization/types/InternalTemplateAgentCreateToolRulesItem.d.ts +19 -0
- package/dist/serialization/types/InternalTemplateAgentCreateToolRulesItem.js +60 -0
- package/dist/serialization/types/InternalTemplateBlockCreate.d.ts +26 -0
- package/dist/serialization/types/InternalTemplateBlockCreate.js +57 -0
- package/dist/serialization/types/InternalTemplateGroupCreate.d.ts +21 -0
- package/dist/serialization/types/InternalTemplateGroupCreate.js +52 -0
- package/dist/serialization/types/InternalTemplateGroupCreateManagerConfig.d.ts +15 -0
- package/dist/serialization/types/InternalTemplateGroupCreateManagerConfig.js +52 -0
- package/dist/serialization/types/Job.d.ts +28 -0
- package/dist/serialization/types/Job.js +59 -0
- package/dist/serialization/types/JobStatus.d.ts +10 -0
- package/dist/serialization/types/JobStatus.js +41 -0
- package/dist/serialization/types/JobType.d.ts +10 -0
- package/dist/serialization/types/JobType.js +45 -0
- package/dist/serialization/types/JsonObjectResponseFormat.d.ts +12 -0
- package/dist/serialization/types/JsonObjectResponseFormat.js +43 -0
- package/dist/serialization/types/JsonSchema.d.ts +15 -0
- package/dist/serialization/types/JsonSchema.js +46 -0
- package/dist/serialization/types/JsonSchemaResponseFormat.d.ts +13 -0
- package/dist/serialization/types/JsonSchemaResponseFormat.js +44 -0
- package/dist/serialization/types/LettaBatchMessages.d.ts +13 -0
- package/dist/serialization/types/LettaBatchMessages.js +44 -0
- package/dist/serialization/types/LettaBatchRequest.d.ts +21 -0
- package/dist/serialization/types/LettaBatchRequest.js +52 -0
- package/dist/serialization/types/LettaBatchRequestMessagesItem.d.ts +12 -0
- package/dist/serialization/types/LettaBatchRequestMessagesItem.js +43 -0
- package/dist/serialization/types/LettaImage.d.ts +16 -0
- package/dist/serialization/types/LettaImage.js +47 -0
- package/dist/serialization/types/LettaMessageContentUnion.d.ts +16 -0
- package/dist/serialization/types/LettaMessageContentUnion.js +54 -0
- package/dist/serialization/types/LettaMessageUnion.d.ts +19 -0
- package/dist/serialization/types/LettaMessageUnion.js +60 -0
- package/dist/serialization/types/LettaPing.d.ts +12 -0
- package/dist/serialization/types/LettaPing.js +43 -0
- package/dist/serialization/types/LettaRequest.d.ts +20 -0
- package/dist/serialization/types/LettaRequest.js +51 -0
- package/dist/serialization/types/LettaRequestConfig.d.ts +16 -0
- package/dist/serialization/types/LettaRequestConfig.js +47 -0
- package/dist/serialization/types/LettaRequestMessagesItem.d.ts +12 -0
- package/dist/serialization/types/LettaRequestMessagesItem.js +43 -0
- package/dist/serialization/types/LettaResponse.d.ts +17 -0
- package/dist/serialization/types/LettaResponse.js +48 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +19 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +60 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +30 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +61 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
- package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +30 -0
- package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +61 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts +38 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +69 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +14 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +50 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts +22 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +53 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts +24 -0
- package/dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +55 -0
- package/dist/serialization/types/LettaStopReason.d.ts +14 -0
- package/dist/serialization/types/LettaStopReason.js +45 -0
- package/dist/serialization/types/LettaStreamingRequest.d.ts +23 -0
- package/dist/serialization/types/LettaStreamingRequest.js +54 -0
- package/dist/serialization/types/LettaStreamingRequestMessagesItem.d.ts +12 -0
- package/dist/serialization/types/LettaStreamingRequestMessagesItem.js +43 -0
- package/dist/serialization/types/LettaUsageStatistics.d.ts +19 -0
- package/dist/serialization/types/LettaUsageStatistics.js +50 -0
- package/dist/serialization/types/LettaUserMessageContentUnion.d.ts +12 -0
- package/dist/serialization/types/LettaUserMessageContentUnion.js +43 -0
- package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
- package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
- package/dist/serialization/types/LlmConfig.d.ts +34 -0
- package/dist/serialization/types/LlmConfig.js +65 -0
- package/dist/serialization/types/LlmConfigCompatibilityType.d.ts +10 -0
- package/dist/serialization/types/LlmConfigCompatibilityType.js +41 -0
- package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +10 -0
- package/dist/serialization/types/LlmConfigModelEndpointType.js +63 -0
- package/dist/serialization/types/LlmConfigReasoningEffort.d.ts +10 -0
- package/dist/serialization/types/LlmConfigReasoningEffort.js +41 -0
- package/dist/serialization/types/LlmConfigVerbosity.d.ts +10 -0
- package/dist/serialization/types/LlmConfigVerbosity.js +41 -0
- package/dist/serialization/types/LocalSandboxConfig.d.ts +16 -0
- package/dist/serialization/types/LocalSandboxConfig.js +47 -0
- package/dist/serialization/types/ManagerType.d.ts +10 -0
- package/dist/serialization/types/ManagerType.js +41 -0
- package/dist/serialization/types/MaxCountPerStepToolRule.d.ts +15 -0
- package/dist/serialization/types/MaxCountPerStepToolRule.js +46 -0
- package/dist/serialization/types/MaxCountPerStepToolRuleSchema.d.ts +14 -0
- package/dist/serialization/types/MaxCountPerStepToolRuleSchema.js +45 -0
- package/dist/serialization/types/McpServerSchema.d.ts +17 -0
- package/dist/serialization/types/McpServerSchema.js +48 -0
- package/dist/serialization/types/McpServerType.d.ts +10 -0
- package/dist/serialization/types/McpServerType.js +41 -0
- package/dist/serialization/types/McpTool.d.ts +22 -0
- package/dist/serialization/types/McpTool.js +54 -0
- package/dist/serialization/types/McpToolExecuteRequest.d.ts +12 -0
- package/dist/serialization/types/McpToolExecuteRequest.js +43 -0
- package/dist/serialization/types/McpToolHealth.d.ts +13 -0
- package/dist/serialization/types/McpToolHealth.js +44 -0
- package/dist/serialization/types/Memory.d.ts +16 -0
- package/dist/serialization/types/Memory.js +47 -0
- package/dist/serialization/types/Message.d.ts +37 -0
- package/dist/serialization/types/Message.js +68 -0
- package/dist/serialization/types/MessageContentItem.d.ts +17 -0
- package/dist/serialization/types/MessageContentItem.js +56 -0
- package/dist/serialization/types/MessageCreate.d.ts +21 -0
- package/dist/serialization/types/MessageCreate.js +52 -0
- package/dist/serialization/types/MessageCreateContent.d.ts +11 -0
- package/dist/serialization/types/MessageCreateContent.js +45 -0
- package/dist/serialization/types/MessageCreateRole.d.ts +10 -0
- package/dist/serialization/types/MessageCreateRole.js +41 -0
- package/dist/serialization/types/MessageRole.d.ts +10 -0
- package/dist/serialization/types/MessageRole.js +41 -0
- package/dist/serialization/types/MessageSearchResult.d.ts +17 -0
- package/dist/serialization/types/MessageSearchResult.js +48 -0
- package/dist/serialization/types/MessageType.d.ts +10 -0
- package/dist/serialization/types/MessageType.js +51 -0
- package/dist/serialization/types/ModalSandboxConfig.d.ts +16 -0
- package/dist/serialization/types/ModalSandboxConfig.js +47 -0
- package/dist/serialization/types/ModalSandboxConfigLanguage.d.ts +10 -0
- package/dist/serialization/types/ModalSandboxConfigLanguage.js +41 -0
- package/dist/serialization/types/NotFoundErrorBody.d.ts +12 -0
- package/dist/serialization/types/NotFoundErrorBody.js +43 -0
- package/dist/serialization/types/NpmRequirement.d.ts +13 -0
- package/dist/serialization/types/NpmRequirement.js +44 -0
- package/dist/serialization/types/OmittedReasoningContent.d.ts +12 -0
- package/dist/serialization/types/OmittedReasoningContent.js +43 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +14 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +46 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +44 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +43 -0
- package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +14 -0
- package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +45 -0
- package/dist/serialization/types/Organization.d.ts +15 -0
- package/dist/serialization/types/Organization.js +46 -0
- package/dist/serialization/types/OrganizationCreate.d.ts +13 -0
- package/dist/serialization/types/OrganizationCreate.js +44 -0
- package/dist/serialization/types/OrganizationSourcesStats.d.ts +16 -0
- package/dist/serialization/types/OrganizationSourcesStats.js +47 -0
- package/dist/serialization/types/OrganizationUpdate.d.ts +13 -0
- package/dist/serialization/types/OrganizationUpdate.js +44 -0
- package/dist/serialization/types/PaginatedAgentFiles.d.ts +15 -0
- package/dist/serialization/types/PaginatedAgentFiles.js +46 -0
- package/dist/serialization/types/ParameterProperties.d.ts +13 -0
- package/dist/serialization/types/ParameterProperties.js +44 -0
- package/dist/serialization/types/ParametersSchema.d.ts +15 -0
- package/dist/serialization/types/ParametersSchema.js +46 -0
- package/dist/serialization/types/ParentToolRule.d.ts +15 -0
- package/dist/serialization/types/ParentToolRule.js +46 -0
- package/dist/serialization/types/Passage.d.ts +27 -0
- package/dist/serialization/types/Passage.js +58 -0
- package/dist/serialization/types/PaymentRequiredErrorBody.d.ts +13 -0
- package/dist/serialization/types/PaymentRequiredErrorBody.js +44 -0
- package/dist/serialization/types/PipRequirement.d.ts +13 -0
- package/dist/serialization/types/PipRequirement.js +44 -0
- package/dist/serialization/types/Provider.d.ts +23 -0
- package/dist/serialization/types/Provider.js +54 -0
- package/dist/serialization/types/ProviderCategory.d.ts +10 -0
- package/dist/serialization/types/ProviderCategory.js +41 -0
- package/dist/serialization/types/ProviderTrace.d.ts +19 -0
- package/dist/serialization/types/ProviderTrace.js +50 -0
- package/dist/serialization/types/ProviderType.d.ts +10 -0
- package/dist/serialization/types/ProviderType.js +59 -0
- package/dist/serialization/types/ReasoningContent.d.ts +15 -0
- package/dist/serialization/types/ReasoningContent.js +46 -0
- package/dist/serialization/types/ReasoningMessage.d.ts +25 -0
- package/dist/serialization/types/ReasoningMessage.js +56 -0
- package/dist/serialization/types/ReasoningMessageSource.d.ts +10 -0
- package/dist/serialization/types/ReasoningMessageSource.js +41 -0
- package/dist/serialization/types/RedactedReasoningContent.d.ts +13 -0
- package/dist/serialization/types/RedactedReasoningContent.js +44 -0
- package/dist/serialization/types/RequiredBeforeExitToolRule.d.ts +14 -0
- package/dist/serialization/types/RequiredBeforeExitToolRule.js +45 -0
- package/dist/serialization/types/RequiresApprovalToolRule.d.ts +14 -0
- package/dist/serialization/types/RequiresApprovalToolRule.js +45 -0
- package/dist/serialization/types/ResponseFormatJsonObject.d.ts +12 -0
- package/dist/serialization/types/ResponseFormatJsonObject.js +43 -0
- package/dist/serialization/types/ResponseFormatJsonSchema.d.ts +14 -0
- package/dist/serialization/types/ResponseFormatJsonSchema.js +45 -0
- package/dist/serialization/types/ResponseFormatText.d.ts +12 -0
- package/dist/serialization/types/ResponseFormatText.js +43 -0
- package/dist/serialization/types/RoundRobinManager.d.ts +13 -0
- package/dist/serialization/types/RoundRobinManager.js +44 -0
- package/dist/serialization/types/RoundRobinManagerUpdate.d.ts +13 -0
- package/dist/serialization/types/RoundRobinManagerUpdate.js +44 -0
- package/dist/serialization/types/Run.d.ts +30 -0
- package/dist/serialization/types/Run.js +61 -0
- package/dist/serialization/types/SandboxConfig.d.ts +19 -0
- package/dist/serialization/types/SandboxConfig.js +50 -0
- package/dist/serialization/types/SandboxConfigCreate.d.ts +13 -0
- package/dist/serialization/types/SandboxConfigCreate.js +44 -0
- package/dist/serialization/types/SandboxConfigCreateConfig.d.ts +13 -0
- package/dist/serialization/types/SandboxConfigCreateConfig.js +44 -0
- package/dist/serialization/types/SandboxConfigUpdate.d.ts +13 -0
- package/dist/serialization/types/SandboxConfigUpdate.js +44 -0
- package/dist/serialization/types/SandboxConfigUpdateConfig.d.ts +13 -0
- package/dist/serialization/types/SandboxConfigUpdateConfig.js +44 -0
- package/dist/serialization/types/SandboxEnvironmentVariable.d.ts +20 -0
- package/dist/serialization/types/SandboxEnvironmentVariable.js +51 -0
- package/dist/serialization/types/SandboxEnvironmentVariableCreate.d.ts +14 -0
- package/dist/serialization/types/SandboxEnvironmentVariableCreate.js +45 -0
- package/dist/serialization/types/SandboxEnvironmentVariableUpdate.d.ts +14 -0
- package/dist/serialization/types/SandboxEnvironmentVariableUpdate.js +45 -0
- package/dist/serialization/types/SandboxType.d.ts +10 -0
- package/dist/serialization/types/SandboxType.js +41 -0
- package/dist/serialization/types/SleeptimeManager.d.ts +14 -0
- package/dist/serialization/types/SleeptimeManager.js +45 -0
- package/dist/serialization/types/SleeptimeManagerUpdate.d.ts +14 -0
- package/dist/serialization/types/SleeptimeManagerUpdate.js +45 -0
- package/dist/serialization/types/Source.d.ts +24 -0
- package/dist/serialization/types/Source.js +55 -0
- package/dist/serialization/types/SourceCreate.d.ts +19 -0
- package/dist/serialization/types/SourceCreate.js +50 -0
- package/dist/serialization/types/SourceSchema.d.ts +20 -0
- package/dist/serialization/types/SourceSchema.js +51 -0
- package/dist/serialization/types/SourceStats.d.ts +17 -0
- package/dist/serialization/types/SourceStats.js +48 -0
- package/dist/serialization/types/SourceUpdate.d.ts +17 -0
- package/dist/serialization/types/SourceUpdate.js +48 -0
- package/dist/serialization/types/SseServerConfig.d.ts +18 -0
- package/dist/serialization/types/SseServerConfig.js +49 -0
- package/dist/serialization/types/StdioServerConfig.d.ts +17 -0
- package/dist/serialization/types/StdioServerConfig.js +48 -0
- package/dist/serialization/types/Step.d.ts +39 -0
- package/dist/serialization/types/Step.js +70 -0
- package/dist/serialization/types/StepFeedback.d.ts +10 -0
- package/dist/serialization/types/StepFeedback.js +41 -0
- package/dist/serialization/types/StepMetrics.d.ts +23 -0
- package/dist/serialization/types/StepMetrics.js +54 -0
- package/dist/serialization/types/StepStatus.d.ts +10 -0
- package/dist/serialization/types/StepStatus.js +41 -0
- package/dist/serialization/types/StopReasonType.d.ts +10 -0
- package/dist/serialization/types/StopReasonType.js +51 -0
- package/dist/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
- package/dist/serialization/types/StreamableHttpServerConfig.js +49 -0
- package/dist/serialization/types/SupervisorManager.d.ts +13 -0
- package/dist/serialization/types/SupervisorManager.js +44 -0
- package/dist/serialization/types/SupervisorManagerUpdate.d.ts +13 -0
- package/dist/serialization/types/SupervisorManagerUpdate.js +44 -0
- package/dist/serialization/types/SystemMessage.d.ts +22 -0
- package/dist/serialization/types/SystemMessage.js +53 -0
- package/dist/serialization/types/TagSchema.d.ts +12 -0
- package/dist/serialization/types/TagSchema.js +43 -0
- package/dist/serialization/types/TerminalToolRule.d.ts +14 -0
- package/dist/serialization/types/TerminalToolRule.js +45 -0
- package/dist/serialization/types/TextContent.d.ts +13 -0
- package/dist/serialization/types/TextContent.js +44 -0
- package/dist/serialization/types/TextResponseFormat.d.ts +12 -0
- package/dist/serialization/types/TextResponseFormat.js +43 -0
- package/dist/serialization/types/Tool.d.ts +30 -0
- package/dist/serialization/types/Tool.js +61 -0
- package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
- package/dist/serialization/types/ToolAnnotations.js +49 -0
- package/dist/serialization/types/ToolCall.d.ts +14 -0
- package/dist/serialization/types/ToolCall.js +45 -0
- package/dist/serialization/types/ToolCallContent.d.ts +15 -0
- package/dist/serialization/types/ToolCallContent.js +46 -0
- package/dist/serialization/types/ToolCallDelta.d.ts +14 -0
- package/dist/serialization/types/ToolCallDelta.js +45 -0
- package/dist/serialization/types/ToolCallMessage.d.ts +23 -0
- package/dist/serialization/types/ToolCallMessage.js +54 -0
- package/dist/serialization/types/ToolCallMessageToolCall.d.ts +12 -0
- package/dist/serialization/types/ToolCallMessageToolCall.js +43 -0
- package/dist/serialization/types/ToolCreate.d.ts +23 -0
- package/dist/serialization/types/ToolCreate.js +54 -0
- package/dist/serialization/types/ToolEnvVarSchema.d.ts +16 -0
- package/dist/serialization/types/ToolEnvVarSchema.js +47 -0
- package/dist/serialization/types/ToolJsonSchema.d.ts +17 -0
- package/dist/serialization/types/ToolJsonSchema.js +48 -0
- package/dist/serialization/types/ToolReturn.d.ts +15 -0
- package/dist/serialization/types/ToolReturn.js +46 -0
- package/dist/serialization/types/ToolReturnContent.d.ts +15 -0
- package/dist/serialization/types/ToolReturnContent.js +46 -0
- package/dist/serialization/types/ToolReturnMessage.d.ts +27 -0
- package/dist/serialization/types/ToolReturnMessage.js +58 -0
- package/dist/serialization/types/ToolReturnMessageStatus.d.ts +10 -0
- package/dist/serialization/types/ToolReturnMessageStatus.js +41 -0
- package/dist/serialization/types/ToolReturnStatus.d.ts +10 -0
- package/dist/serialization/types/ToolReturnStatus.js +41 -0
- package/dist/serialization/types/ToolType.d.ts +10 -0
- package/dist/serialization/types/ToolType.js +53 -0
- package/dist/serialization/types/UpdateAssistantMessage.d.ts +14 -0
- package/dist/serialization/types/UpdateAssistantMessage.js +45 -0
- package/dist/serialization/types/UpdateAssistantMessageContent.d.ts +11 -0
- package/dist/serialization/types/UpdateAssistantMessageContent.js +45 -0
- package/dist/serialization/types/UpdateReasoningMessage.d.ts +13 -0
- package/dist/serialization/types/UpdateReasoningMessage.js +44 -0
- package/dist/serialization/types/UpdateSsemcpServer.d.ts +14 -0
- package/dist/serialization/types/UpdateSsemcpServer.js +45 -0
- package/dist/serialization/types/UpdateStdioMcpServer.d.ts +13 -0
- package/dist/serialization/types/UpdateStdioMcpServer.js +44 -0
- package/dist/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
- package/dist/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
- package/dist/serialization/types/UpdateSystemMessage.d.ts +13 -0
- package/dist/serialization/types/UpdateSystemMessage.js +44 -0
- package/dist/serialization/types/UpdateUserMessage.d.ts +14 -0
- package/dist/serialization/types/UpdateUserMessage.js +45 -0
- package/dist/serialization/types/UpdateUserMessageContent.d.ts +11 -0
- package/dist/serialization/types/UpdateUserMessageContent.js +45 -0
- package/dist/serialization/types/UrlImage.d.ts +13 -0
- package/dist/serialization/types/UrlImage.js +44 -0
- package/dist/serialization/types/UsageStatistics.d.ts +18 -0
- package/dist/serialization/types/UsageStatistics.js +49 -0
- package/dist/serialization/types/UsageStatisticsCompletionTokenDetails.d.ts +12 -0
- package/dist/serialization/types/UsageStatisticsCompletionTokenDetails.js +43 -0
- package/dist/serialization/types/UsageStatisticsPromptTokenDetails.d.ts +12 -0
- package/dist/serialization/types/UsageStatisticsPromptTokenDetails.js +43 -0
- package/dist/serialization/types/User.d.ts +16 -0
- package/dist/serialization/types/User.js +47 -0
- package/dist/serialization/types/UserCreate.d.ts +12 -0
- package/dist/serialization/types/UserCreate.js +43 -0
- package/dist/serialization/types/UserMessage.d.ts +23 -0
- package/dist/serialization/types/UserMessage.js +54 -0
- package/dist/serialization/types/UserMessageContent.d.ts +11 -0
- package/dist/serialization/types/UserMessageContent.js +45 -0
- package/dist/serialization/types/UserUpdate.d.ts +13 -0
- package/dist/serialization/types/UserUpdate.js +44 -0
- package/dist/serialization/types/ValidationError.d.ts +15 -0
- package/dist/serialization/types/ValidationError.js +46 -0
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/types/ValidationErrorLocItem.js +41 -0
- package/dist/serialization/types/VectorDbProvider.d.ts +10 -0
- package/dist/serialization/types/VectorDbProvider.js +41 -0
- package/dist/serialization/types/VoiceSleeptimeManager.d.ts +15 -0
- package/dist/serialization/types/VoiceSleeptimeManager.js +46 -0
- package/dist/serialization/types/VoiceSleeptimeManagerUpdate.d.ts +15 -0
- package/dist/serialization/types/VoiceSleeptimeManagerUpdate.js +46 -0
- package/dist/serialization/types/WebSearchOptions.d.ts +15 -0
- package/dist/serialization/types/WebSearchOptions.js +46 -0
- package/dist/serialization/types/WebSearchOptionsSearchContextSize.d.ts +10 -0
- package/dist/serialization/types/WebSearchOptionsSearchContextSize.js +41 -0
- package/dist/serialization/types/WebSearchOptionsUserLocation.d.ts +14 -0
- package/dist/serialization/types/WebSearchOptionsUserLocation.js +45 -0
- package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +15 -0
- package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.js +46 -0
- package/dist/serialization/types/index.d.ts +329 -0
- package/dist/serialization/types/index.js +345 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/environments.d.ts +8 -0
- package/environments.js +10 -0
- package/errors/LettaError.d.ts +15 -0
- package/errors/LettaError.js +30 -0
- package/errors/LettaTimeoutError.d.ts +6 -0
- package/errors/LettaTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +5 -0
- package/index.js +45 -0
- package/jest.config.mjs +8 -0
- package/package.json +42 -10
- package/reference.md +11594 -0
- package/scripts/rename-to-esm-files.js +115 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/resources/agents/client/count.d.ts +9 -0
- package/serialization/resources/agents/client/count.js +41 -0
- package/serialization/resources/agents/client/exportFile.d.ts +9 -0
- package/serialization/resources/agents/client/exportFile.js +41 -0
- package/serialization/resources/agents/client/index.d.ts +4 -0
- package/serialization/resources/agents/client/index.js +43 -0
- package/serialization/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/agents/client/list.js +42 -0
- package/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +20 -0
- package/serialization/resources/agents/client/requests/AgentsSearchRequest.js +51 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +61 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +92 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +44 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.js +75 -0
- package/serialization/resources/agents/client/requests/index.d.ts +3 -0
- package/serialization/resources/agents/client/requests/index.js +9 -0
- package/serialization/resources/agents/index.d.ts +3 -0
- package/serialization/resources/agents/index.js +19 -0
- package/serialization/resources/agents/resources/blocks/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/blocks/client/index.js +37 -0
- package/serialization/resources/agents/resources/blocks/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/blocks/client/list.js +42 -0
- package/serialization/resources/agents/resources/blocks/index.d.ts +1 -0
- package/serialization/resources/agents/resources/blocks/index.js +17 -0
- package/serialization/resources/agents/resources/files/client/closeAll.d.ts +9 -0
- package/serialization/resources/agents/resources/files/client/closeAll.js +41 -0
- package/serialization/resources/agents/resources/files/client/index.d.ts +2 -0
- package/serialization/resources/agents/resources/files/client/index.js +38 -0
- package/serialization/resources/agents/resources/files/client/open.d.ts +9 -0
- package/serialization/resources/agents/resources/files/client/open.js +41 -0
- package/serialization/resources/agents/resources/files/index.d.ts +1 -0
- package/serialization/resources/agents/resources/files/index.js +17 -0
- package/serialization/resources/agents/resources/folders/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/folders/client/index.js +37 -0
- package/serialization/resources/agents/resources/folders/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/folders/client/list.js +42 -0
- package/serialization/resources/agents/resources/folders/index.d.ts +1 -0
- package/serialization/resources/agents/resources/folders/index.js +17 -0
- 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/serialization/resources/agents/resources/groups/client/list.js +42 -0
- 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 +17 -0
- package/serialization/resources/agents/resources/index.js +56 -0
- package/serialization/resources/agents/resources/memoryVariables/index.d.ts +1 -0
- package/serialization/resources/agents/resources/memoryVariables/index.js +17 -0
- package/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.d.ts +12 -0
- package/serialization/resources/agents/resources/memoryVariables/types/MemoryVariablesListResponse.js +43 -0
- package/serialization/resources/agents/resources/memoryVariables/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/memoryVariables/types/index.js +17 -0
- package/serialization/resources/agents/resources/messages/client/cancel.d.ts +9 -0
- package/serialization/resources/agents/resources/messages/client/cancel.js +41 -0
- package/serialization/resources/agents/resources/messages/client/index.d.ts +5 -0
- package/serialization/resources/agents/resources/messages/client/index.js +44 -0
- package/serialization/resources/agents/resources/messages/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/messages/client/list.js +42 -0
- package/serialization/resources/agents/resources/messages/client/previewRawPayload.d.ts +9 -0
- package/serialization/resources/agents/resources/messages/client/previewRawPayload.js +41 -0
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +12 -0
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +43 -0
- package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +21 -0
- package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +52 -0
- package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +21 -0
- package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +52 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +3 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.js +9 -0
- package/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
- package/serialization/resources/agents/resources/messages/client/search.js +42 -0
- package/serialization/resources/agents/resources/messages/index.d.ts +2 -0
- package/serialization/resources/agents/resources/messages/index.js +18 -0
- package/serialization/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.d.ts +12 -0
- package/serialization/resources/agents/resources/messages/types/LettaAsyncRequestMessagesItem.js +43 -0
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +22 -0
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +66 -0
- package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
- package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
- package/serialization/resources/agents/resources/messages/types/MessagesModifyRequest.d.ts +14 -0
- package/serialization/resources/agents/resources/messages/types/MessagesModifyRequest.js +50 -0
- package/serialization/resources/agents/resources/messages/types/MessagesModifyResponse.d.ts +19 -0
- package/serialization/resources/agents/resources/messages/types/MessagesModifyResponse.js +60 -0
- package/serialization/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.d.ts +12 -0
- package/serialization/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.js +43 -0
- package/serialization/resources/agents/resources/messages/types/index.d.ts +6 -0
- package/serialization/resources/agents/resources/messages/types/index.js +22 -0
- package/serialization/resources/agents/resources/passages/client/create.d.ts +11 -0
- package/serialization/resources/agents/resources/passages/client/create.js +42 -0
- package/serialization/resources/agents/resources/passages/client/index.d.ts +3 -0
- package/serialization/resources/agents/resources/passages/client/index.js +42 -0
- package/serialization/resources/agents/resources/passages/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/passages/client/list.js +42 -0
- package/serialization/resources/agents/resources/passages/client/requests/CreateArchivalMemory.d.ts +14 -0
- package/serialization/resources/agents/resources/passages/client/requests/CreateArchivalMemory.js +45 -0
- package/serialization/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/client/requests/index.js +5 -0
- package/serialization/resources/agents/resources/passages/index.d.ts +2 -0
- package/serialization/resources/agents/resources/passages/index.js +18 -0
- package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
- package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
- package/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/types/index.js +17 -0
- package/serialization/resources/agents/resources/sources/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/sources/client/index.js +37 -0
- package/serialization/resources/agents/resources/sources/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/sources/client/list.js +42 -0
- package/serialization/resources/agents/resources/sources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/sources/index.js +17 -0
- package/serialization/resources/agents/resources/templates/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/client/index.js +17 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +14 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +45 -0
- package/serialization/resources/agents/resources/templates/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/index.js +5 -0
- package/serialization/resources/agents/resources/templates/index.d.ts +2 -0
- package/serialization/resources/agents/resources/templates/index.js +18 -0
- package/serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts +12 -0
- package/serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.js +43 -0
- package/serialization/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/types/index.js +17 -0
- package/serialization/resources/agents/resources/tools/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/tools/client/index.js +37 -0
- package/serialization/resources/agents/resources/tools/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/tools/client/list.js +42 -0
- package/serialization/resources/agents/resources/tools/index.d.ts +1 -0
- package/serialization/resources/agents/resources/tools/index.js +17 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +15 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItem.js +52 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +14 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.js +45 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOne.d.ts +15 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOne.js +46 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.js +41 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemThree.d.ts +14 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemThree.js +45 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.d.ts +14 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.js +45 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemZero.d.ts +13 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemZero.js +44 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
- package/serialization/resources/agents/types/AgentsSearchResponse.d.ts +14 -0
- package/serialization/resources/agents/types/AgentsSearchResponse.js +45 -0
- package/serialization/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +13 -0
- package/serialization/resources/agents/types/CreateAgentRequestResponseFormat.js +44 -0
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +19 -0
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +60 -0
- package/serialization/resources/agents/types/UpdateAgentResponseFormat.d.ts +13 -0
- package/serialization/resources/agents/types/UpdateAgentResponseFormat.js +44 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +19 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +60 -0
- package/serialization/resources/agents/types/index.d.ts +13 -0
- package/serialization/resources/agents/types/index.js +29 -0
- package/serialization/resources/batches/client/index.d.ts +2 -0
- package/serialization/resources/batches/client/index.js +41 -0
- package/serialization/resources/batches/client/list.d.ts +11 -0
- package/serialization/resources/batches/client/list.js +42 -0
- package/serialization/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/serialization/resources/batches/client/requests/CreateBatch.js +45 -0
- package/serialization/resources/batches/client/requests/index.d.ts +1 -0
- package/serialization/resources/batches/client/requests/index.js +5 -0
- package/serialization/resources/batches/index.d.ts +1 -0
- package/serialization/resources/batches/index.js +17 -0
- package/serialization/resources/blocks/client/count.d.ts +9 -0
- package/serialization/resources/blocks/client/count.js +41 -0
- package/serialization/resources/blocks/client/index.d.ts +2 -0
- package/serialization/resources/blocks/client/index.js +38 -0
- package/serialization/resources/blocks/client/list.d.ts +11 -0
- package/serialization/resources/blocks/client/list.js +42 -0
- package/serialization/resources/blocks/index.d.ts +2 -0
- package/serialization/resources/blocks/index.js +18 -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/resources/agents/client/list.js +42 -0
- 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/index.d.ts +1 -0
- package/serialization/resources/clientSideAccessTokens/client/index.js +17 -0
- package/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.d.ts +15 -0
- package/serialization/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensCreateRequest.js +46 -0
- package/serialization/resources/clientSideAccessTokens/client/requests/index.d.ts +1 -0
- package/serialization/resources/clientSideAccessTokens/client/requests/index.js +5 -0
- package/serialization/resources/clientSideAccessTokens/index.d.ts +2 -0
- package/serialization/resources/clientSideAccessTokens/index.js +18 -0
- 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/ClientSideAccessTokensCreateResponse.js +47 -0
- 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/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItem.js +46 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.d.ts +10 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensCreateResponsePolicyDataItemAccessItem.js +41 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.d.ts +14 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponse.js +45 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.d.ts +16 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItem.js +47 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.d.ts +14 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicy.js +45 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.d.ts +15 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem.js +46 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.d.ts +10 -0
- package/serialization/resources/clientSideAccessTokens/types/ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem.js +41 -0
- package/serialization/resources/clientSideAccessTokens/types/index.d.ts +11 -0
- package/serialization/resources/clientSideAccessTokens/types/index.js +27 -0
- package/serialization/resources/embeddingModels/client/index.d.ts +1 -0
- package/serialization/resources/embeddingModels/client/index.js +37 -0
- package/serialization/resources/embeddingModels/client/list.d.ts +11 -0
- package/serialization/resources/embeddingModels/client/list.js +42 -0
- package/serialization/resources/embeddingModels/index.d.ts +1 -0
- package/serialization/resources/embeddingModels/index.js +17 -0
- package/serialization/resources/folders/client/count.d.ts +9 -0
- package/serialization/resources/folders/client/count.js +41 -0
- package/serialization/resources/folders/client/getAgentsForFolder.d.ts +9 -0
- package/serialization/resources/folders/client/getAgentsForFolder.js +41 -0
- package/serialization/resources/folders/client/index.d.ts +4 -0
- package/serialization/resources/folders/client/index.js +40 -0
- package/serialization/resources/folders/client/list.d.ts +11 -0
- package/serialization/resources/folders/client/list.js +42 -0
- package/serialization/resources/folders/client/retrieveByName.d.ts +9 -0
- package/serialization/resources/folders/client/retrieveByName.js +41 -0
- package/serialization/resources/folders/index.d.ts +2 -0
- package/serialization/resources/folders/index.js +18 -0
- package/serialization/resources/folders/resources/files/client/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/client/index.js +37 -0
- package/serialization/resources/folders/resources/files/client/list.d.ts +11 -0
- package/serialization/resources/folders/resources/files/client/list.js +42 -0
- package/serialization/resources/folders/resources/files/index.d.ts +1 -0
- package/serialization/resources/folders/resources/files/index.js +17 -0
- package/serialization/resources/folders/resources/index.d.ts +2 -0
- package/serialization/resources/folders/resources/index.js +38 -0
- package/serialization/resources/folders/resources/passages/client/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/client/index.js +37 -0
- package/serialization/resources/folders/resources/passages/client/list.d.ts +11 -0
- package/serialization/resources/folders/resources/passages/client/list.js +42 -0
- package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
- package/serialization/resources/folders/resources/passages/index.js +17 -0
- package/serialization/resources/groups/client/count.d.ts +9 -0
- package/serialization/resources/groups/client/count.js +41 -0
- package/serialization/resources/groups/client/index.d.ts +3 -0
- package/serialization/resources/groups/client/index.js +42 -0
- package/serialization/resources/groups/client/list.d.ts +11 -0
- package/serialization/resources/groups/client/list.js +42 -0
- package/serialization/resources/groups/client/requests/GroupCreate.d.ts +18 -0
- package/serialization/resources/groups/client/requests/GroupCreate.js +49 -0
- package/serialization/resources/groups/client/requests/GroupUpdate.d.ts +17 -0
- package/serialization/resources/groups/client/requests/GroupUpdate.js +48 -0
- package/serialization/resources/groups/client/requests/index.d.ts +2 -0
- package/serialization/resources/groups/client/requests/index.js +7 -0
- package/serialization/resources/groups/index.d.ts +3 -0
- package/serialization/resources/groups/index.js +19 -0
- package/serialization/resources/groups/resources/index.d.ts +2 -0
- package/serialization/resources/groups/resources/index.js +41 -0
- package/serialization/resources/groups/resources/messages/client/index.d.ts +1 -0
- package/serialization/resources/groups/resources/messages/client/index.js +37 -0
- package/serialization/resources/groups/resources/messages/client/list.d.ts +11 -0
- package/serialization/resources/groups/resources/messages/client/list.js +42 -0
- package/serialization/resources/groups/resources/messages/index.d.ts +2 -0
- package/serialization/resources/groups/resources/messages/index.js +18 -0
- package/serialization/resources/groups/resources/messages/types/LettaStreamingResponse.d.ts +17 -0
- package/serialization/resources/groups/resources/messages/types/LettaStreamingResponse.js +56 -0
- package/serialization/resources/groups/resources/messages/types/MessagesModifyRequest.d.ts +14 -0
- package/serialization/resources/groups/resources/messages/types/MessagesModifyRequest.js +50 -0
- package/serialization/resources/groups/resources/messages/types/MessagesModifyResponse.d.ts +19 -0
- package/serialization/resources/groups/resources/messages/types/MessagesModifyResponse.js +60 -0
- package/serialization/resources/groups/resources/messages/types/index.d.ts +3 -0
- package/serialization/resources/groups/resources/messages/types/index.js +19 -0
- package/serialization/resources/groups/types/GroupCreateManagerConfig.d.ts +15 -0
- package/serialization/resources/groups/types/GroupCreateManagerConfig.js +52 -0
- package/serialization/resources/groups/types/GroupUpdateManagerConfig.d.ts +15 -0
- package/serialization/resources/groups/types/GroupUpdateManagerConfig.js +52 -0
- package/serialization/resources/groups/types/index.d.ts +2 -0
- package/serialization/resources/groups/types/index.js +18 -0
- package/serialization/resources/identities/client/count.d.ts +9 -0
- package/serialization/resources/identities/client/count.js +41 -0
- package/serialization/resources/identities/client/index.d.ts +3 -0
- package/serialization/resources/identities/client/index.js +42 -0
- package/serialization/resources/identities/client/list.d.ts +11 -0
- package/serialization/resources/identities/client/list.js +42 -0
- package/serialization/resources/identities/client/requests/IdentityCreate.d.ts +20 -0
- package/serialization/resources/identities/client/requests/IdentityCreate.js +51 -0
- package/serialization/resources/identities/client/requests/IdentityUpdate.d.ts +19 -0
- package/serialization/resources/identities/client/requests/IdentityUpdate.js +50 -0
- package/serialization/resources/identities/client/requests/IdentityUpsert.d.ts +20 -0
- package/serialization/resources/identities/client/requests/IdentityUpsert.js +51 -0
- package/serialization/resources/identities/client/requests/index.d.ts +3 -0
- package/serialization/resources/identities/client/requests/index.js +9 -0
- package/serialization/resources/identities/index.d.ts +2 -0
- package/serialization/resources/identities/index.js +18 -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/resources/properties/client/upsert.js +42 -0
- 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 +37 -0
- package/serialization/resources/index.js +76 -0
- package/serialization/resources/jobs/client/index.d.ts +2 -0
- package/serialization/resources/jobs/client/index.js +38 -0
- package/serialization/resources/jobs/client/list.d.ts +11 -0
- package/serialization/resources/jobs/client/list.js +42 -0
- package/serialization/resources/jobs/client/listActive.d.ts +11 -0
- package/serialization/resources/jobs/client/listActive.js +42 -0
- package/serialization/resources/jobs/index.d.ts +1 -0
- package/serialization/resources/jobs/index.js +17 -0
- package/serialization/resources/models/client/index.d.ts +1 -0
- package/serialization/resources/models/client/index.js +37 -0
- package/serialization/resources/models/client/list.d.ts +11 -0
- package/serialization/resources/models/client/list.js +42 -0
- package/serialization/resources/models/index.d.ts +1 -0
- package/serialization/resources/models/index.js +17 -0
- package/serialization/resources/projects/index.d.ts +1 -0
- package/serialization/resources/projects/index.js +17 -0
- package/serialization/resources/projects/types/ProjectsListResponse.d.ts +14 -0
- package/serialization/resources/projects/types/ProjectsListResponse.js +45 -0
- package/serialization/resources/projects/types/ProjectsListResponseProjectsItem.d.ts +14 -0
- package/serialization/resources/projects/types/ProjectsListResponseProjectsItem.js +45 -0
- package/serialization/resources/projects/types/index.d.ts +2 -0
- package/serialization/resources/projects/types/index.js +18 -0
- package/serialization/resources/providers/client/index.d.ts +2 -0
- package/serialization/resources/providers/client/index.js +41 -0
- package/serialization/resources/providers/client/list.d.ts +11 -0
- package/serialization/resources/providers/client/list.js +42 -0
- package/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
- package/serialization/resources/providers/client/requests/ProviderCheck.js +49 -0
- package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +19 -0
- package/serialization/resources/providers/client/requests/ProviderCreate.js +50 -0
- package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +16 -0
- package/serialization/resources/providers/client/requests/ProviderUpdate.js +47 -0
- package/serialization/resources/providers/client/requests/index.d.ts +3 -0
- package/serialization/resources/providers/client/requests/index.js +9 -0
- package/serialization/resources/providers/index.d.ts +1 -0
- package/serialization/resources/providers/index.js +17 -0
- package/serialization/resources/runs/client/index.d.ts +3 -0
- package/serialization/resources/runs/client/index.js +42 -0
- package/serialization/resources/runs/client/list.d.ts +11 -0
- package/serialization/resources/runs/client/list.js +42 -0
- package/serialization/resources/runs/client/listActive.d.ts +11 -0
- package/serialization/resources/runs/client/listActive.js +42 -0
- package/serialization/resources/runs/client/requests/RetrieveStreamRequest.d.ts +15 -0
- package/serialization/resources/runs/client/requests/RetrieveStreamRequest.js +46 -0
- package/serialization/resources/runs/client/requests/index.d.ts +1 -0
- package/serialization/resources/runs/client/requests/index.js +5 -0
- package/serialization/resources/runs/index.d.ts +3 -0
- package/serialization/resources/runs/index.js +19 -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/resources/messages/client/list.js +42 -0
- 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/resources/steps/client/list.js +42 -0
- package/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/index.js +17 -0
- package/serialization/resources/runs/types/LettaStreamingResponse.d.ts +22 -0
- package/serialization/resources/runs/types/LettaStreamingResponse.js +66 -0
- package/serialization/resources/runs/types/index.d.ts +1 -0
- package/serialization/resources/runs/types/index.js +17 -0
- package/serialization/resources/sources/client/count.d.ts +9 -0
- package/serialization/resources/sources/client/count.js +41 -0
- package/serialization/resources/sources/client/getAgentsForSource.d.ts +9 -0
- package/serialization/resources/sources/client/getAgentsForSource.js +41 -0
- package/serialization/resources/sources/client/index.d.ts +4 -0
- package/serialization/resources/sources/client/index.js +40 -0
- package/serialization/resources/sources/client/list.d.ts +11 -0
- package/serialization/resources/sources/client/list.js +42 -0
- package/serialization/resources/sources/client/retrieveByName.d.ts +9 -0
- package/serialization/resources/sources/client/retrieveByName.js +41 -0
- package/serialization/resources/sources/index.d.ts +2 -0
- package/serialization/resources/sources/index.js +18 -0
- package/serialization/resources/sources/resources/files/client/index.d.ts +1 -0
- package/serialization/resources/sources/resources/files/client/index.js +37 -0
- package/serialization/resources/sources/resources/files/client/list.d.ts +11 -0
- package/serialization/resources/sources/resources/files/client/list.js +42 -0
- package/serialization/resources/sources/resources/files/index.d.ts +1 -0
- package/serialization/resources/sources/resources/files/index.js +17 -0
- package/serialization/resources/sources/resources/index.d.ts +2 -0
- package/serialization/resources/sources/resources/index.js +38 -0
- package/serialization/resources/sources/resources/passages/client/index.d.ts +1 -0
- package/serialization/resources/sources/resources/passages/client/index.js +37 -0
- package/serialization/resources/sources/resources/passages/client/list.d.ts +11 -0
- package/serialization/resources/sources/resources/passages/client/list.js +42 -0
- package/serialization/resources/sources/resources/passages/index.d.ts +1 -0
- package/serialization/resources/sources/resources/passages/index.js +17 -0
- package/serialization/resources/steps/client/index.d.ts +1 -0
- package/serialization/resources/steps/client/index.js +37 -0
- package/serialization/resources/steps/client/list.d.ts +11 -0
- package/serialization/resources/steps/client/list.js +42 -0
- package/serialization/resources/steps/index.d.ts +2 -0
- package/serialization/resources/steps/index.js +18 -0
- package/serialization/resources/steps/types/StepsListRequestFeedback.d.ts +10 -0
- package/serialization/resources/steps/types/StepsListRequestFeedback.js +41 -0
- package/serialization/resources/steps/types/index.d.ts +1 -0
- package/serialization/resources/steps/types/index.js +17 -0
- package/serialization/resources/tags/client/index.d.ts +1 -0
- package/serialization/resources/tags/client/index.js +37 -0
- package/serialization/resources/tags/client/list.d.ts +9 -0
- package/serialization/resources/tags/client/list.js +41 -0
- package/serialization/resources/tags/index.d.ts +1 -0
- package/serialization/resources/tags/index.js +17 -0
- package/serialization/resources/telemetry/client/index.d.ts +1 -0
- package/serialization/resources/telemetry/client/index.js +37 -0
- package/serialization/resources/telemetry/client/retrieveProviderTrace.d.ts +11 -0
- package/serialization/resources/telemetry/client/retrieveProviderTrace.js +8 -0
- package/serialization/resources/telemetry/index.d.ts +1 -0
- package/serialization/resources/telemetry/index.js +17 -0
- package/serialization/resources/templates/client/index.d.ts +1 -0
- package/serialization/resources/templates/client/index.js +17 -0
- package/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
- package/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +41 -0
- package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
- package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
- package/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
- package/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +43 -0
- package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
- package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
- package/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.d.ts +12 -0
- package/serialization/resources/templates/client/requests/TemplatesUpdateTemplateDescriptionRequest.js +43 -0
- package/serialization/resources/templates/client/requests/index.d.ts +5 -0
- package/serialization/resources/templates/client/requests/index.js +13 -0
- package/serialization/resources/templates/index.d.ts +3 -0
- package/serialization/resources/templates/index.js +19 -0
- 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 +18 -0
- package/serialization/resources/templates/resources/agents/client/requests/AgentsCreateRequest.js +49 -0
- 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/AgentsCreateRequestInitialMessageSequenceItem.d.ts +19 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItem.js +50 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.d.ts +10 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateRequestInitialMessageSequenceItemRole.js +41 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.d.ts +13 -0
- package/serialization/resources/templates/resources/agents/types/AgentsCreateResponse.js +44 -0
- package/serialization/resources/templates/resources/agents/types/index.d.ts +3 -0
- package/serialization/resources/templates/resources/agents/types/index.js +19 -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/TemplatesCreateTemplateRequest.d.ts +12 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateRequest.js +46 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentFile.js +45 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentId.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateRequestAgentId.js +45 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +19 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +50 -0
- package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
- package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.js +43 -0
- package/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +19 -0
- package/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +50 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +29 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +60 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +24 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +55 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +19 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +60 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +49 -0
- package/serialization/resources/templates/types/TemplatesListRequestSortBy.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesListRequestSortBy.js +41 -0
- package/serialization/resources/templates/types/TemplatesListResponse.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesListResponse.js +45 -0
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +19 -0
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +50 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +46 -0
- package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
- package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js +43 -0
- package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +19 -0
- package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +50 -0
- package/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.d.ts +12 -0
- package/serialization/resources/templates/types/TemplatesUpdateTemplateDescriptionResponse.js +43 -0
- package/serialization/resources/templates/types/index.d.ts +37 -0
- package/serialization/resources/templates/types/index.js +53 -0
- package/serialization/resources/tools/client/addMcpServer.d.ts +11 -0
- package/serialization/resources/tools/client/addMcpServer.js +42 -0
- package/serialization/resources/tools/client/count.d.ts +9 -0
- package/serialization/resources/tools/client/count.js +41 -0
- package/serialization/resources/tools/client/deleteMcpServer.d.ts +11 -0
- package/serialization/resources/tools/client/deleteMcpServer.js +42 -0
- package/serialization/resources/tools/client/index.d.ts +10 -0
- package/serialization/resources/tools/client/index.js +49 -0
- package/serialization/resources/tools/client/list.d.ts +11 -0
- package/serialization/resources/tools/client/list.js +42 -0
- package/serialization/resources/tools/client/listComposioActionsByApp.d.ts +11 -0
- package/serialization/resources/tools/client/listComposioActionsByApp.js +42 -0
- package/serialization/resources/tools/client/listComposioApps.d.ts +11 -0
- package/serialization/resources/tools/client/listComposioApps.js +42 -0
- package/serialization/resources/tools/client/listMcpServers.d.ts +11 -0
- package/serialization/resources/tools/client/listMcpServers.js +42 -0
- package/serialization/resources/tools/client/listMcpToolsByServer.d.ts +11 -0
- package/serialization/resources/tools/client/listMcpToolsByServer.js +42 -0
- package/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +22 -0
- package/serialization/resources/tools/client/requests/ToolRunFromSource.js +53 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +24 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.js +55 -0
- package/serialization/resources/tools/client/requests/index.d.ts +2 -0
- package/serialization/resources/tools/client/requests/index.js +7 -0
- package/serialization/resources/tools/client/upsertBaseTools.d.ts +11 -0
- package/serialization/resources/tools/client/upsertBaseTools.js +42 -0
- package/serialization/resources/tools/index.d.ts +2 -0
- package/serialization/resources/tools/index.js +18 -0
- package/serialization/resources/tools/types/AddMcpServerRequest.d.ts +13 -0
- package/serialization/resources/tools/types/AddMcpServerRequest.js +44 -0
- package/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +13 -0
- package/serialization/resources/tools/types/AddMcpServerResponseItem.js +44 -0
- package/serialization/resources/tools/types/ConnectMcpServerRequest.d.ts +13 -0
- package/serialization/resources/tools/types/ConnectMcpServerRequest.js +44 -0
- package/serialization/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +10 -0
- package/serialization/resources/tools/types/ConnectMcpServerResponseEvent.js +48 -0
- package/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +13 -0
- package/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +44 -0
- package/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +13 -0
- package/serialization/resources/tools/types/ListMcpServersResponseValue.js +44 -0
- package/serialization/resources/tools/types/StreamingResponse.d.ts +16 -0
- package/serialization/resources/tools/types/StreamingResponse.js +47 -0
- package/serialization/resources/tools/types/TestMcpServerRequest.d.ts +13 -0
- package/serialization/resources/tools/types/TestMcpServerRequest.js +44 -0
- package/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +13 -0
- package/serialization/resources/tools/types/UpdateMcpServerRequest.js +44 -0
- package/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
- package/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
- package/serialization/resources/tools/types/index.d.ts +10 -0
- package/serialization/resources/tools/types/index.js +26 -0
- package/serialization/resources/voice/client/createVoiceChatCompletions.d.ts +9 -0
- package/serialization/resources/voice/client/createVoiceChatCompletions.js +41 -0
- package/serialization/resources/voice/client/index.d.ts +1 -0
- package/serialization/resources/voice/client/index.js +37 -0
- package/serialization/resources/voice/index.d.ts +1 -0
- package/serialization/resources/voice/index.js +17 -0
- package/serialization/types/ActionModel.d.ts +25 -0
- package/serialization/types/ActionModel.js +56 -0
- package/serialization/types/ActionParametersModel.d.ts +16 -0
- package/serialization/types/ActionParametersModel.js +47 -0
- package/serialization/types/ActionResponseModel.d.ts +16 -0
- package/serialization/types/ActionResponseModel.js +47 -0
- package/serialization/types/AgentEnvironmentVariable.d.ts +20 -0
- package/serialization/types/AgentEnvironmentVariable.js +51 -0
- package/serialization/types/AgentFileAttachment.d.ts +21 -0
- package/serialization/types/AgentFileAttachment.js +52 -0
- package/serialization/types/AgentFileSchema.d.ts +27 -0
- package/serialization/types/AgentFileSchema.js +58 -0
- package/serialization/types/AgentState.d.ts +56 -0
- package/serialization/types/AgentState.js +87 -0
- package/serialization/types/AgentStateResponseFormat.d.ts +13 -0
- package/serialization/types/AgentStateResponseFormat.js +44 -0
- package/serialization/types/AgentStateToolRulesItem.d.ts +19 -0
- package/serialization/types/AgentStateToolRulesItem.js +60 -0
- package/serialization/types/AgentType.d.ts +10 -0
- package/serialization/types/AgentType.js +50 -0
- package/serialization/types/AppAuthScheme.d.ts +23 -0
- package/serialization/types/AppAuthScheme.js +54 -0
- package/serialization/types/AppAuthSchemeAuthMode.d.ts +10 -0
- package/serialization/types/AppAuthSchemeAuthMode.js +52 -0
- package/serialization/types/AppModel.d.ts +28 -0
- package/serialization/types/AppModel.js +61 -0
- package/serialization/types/ApprovalCreate.d.ts +15 -0
- package/serialization/types/ApprovalCreate.js +46 -0
- package/serialization/types/ApprovalRequestMessage.d.ts +23 -0
- package/serialization/types/ApprovalRequestMessage.js +54 -0
- package/serialization/types/ApprovalRequestMessageToolCall.d.ts +12 -0
- package/serialization/types/ApprovalRequestMessageToolCall.js +43 -0
- package/serialization/types/ApprovalResponseMessage.d.ts +24 -0
- package/serialization/types/ApprovalResponseMessage.js +55 -0
- package/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
- package/serialization/types/ArchivalMemorySearchResponse.js +45 -0
- package/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
- package/serialization/types/ArchivalMemorySearchResult.js +45 -0
- package/serialization/types/AssistantMessage.d.ts +23 -0
- package/serialization/types/AssistantMessage.js +54 -0
- package/serialization/types/AssistantMessageContent.d.ts +11 -0
- package/serialization/types/AssistantMessageContent.js +45 -0
- package/serialization/types/Audio.d.ts +12 -0
- package/serialization/types/Audio.js +43 -0
- package/serialization/types/AuthRequest.d.ts +12 -0
- package/serialization/types/AuthRequest.js +43 -0
- package/serialization/types/AuthResponse.d.ts +13 -0
- package/serialization/types/AuthResponse.js +44 -0
- package/serialization/types/AuthSchemeField.d.ts +19 -0
- package/serialization/types/AuthSchemeField.js +50 -0
- package/serialization/types/BadRequestErrorBody.d.ts +12 -0
- package/serialization/types/BadRequestErrorBody.js +43 -0
- package/serialization/types/Base64Image.d.ts +15 -0
- package/serialization/types/Base64Image.js +46 -0
- package/serialization/types/BaseToolRuleSchema.d.ts +13 -0
- package/serialization/types/BaseToolRuleSchema.js +44 -0
- package/serialization/types/BatchJob.d.ts +28 -0
- package/serialization/types/BatchJob.js +59 -0
- package/serialization/types/Block.d.ts +28 -0
- package/serialization/types/Block.js +59 -0
- package/serialization/types/BlockSchema.d.ts +26 -0
- package/serialization/types/BlockSchema.js +57 -0
- package/serialization/types/BlockUpdate.d.ts +25 -0
- package/serialization/types/BlockUpdate.js +56 -0
- package/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
- package/serialization/types/BodyExportAgentSerialized.js +46 -0
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
- package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
- package/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
- package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
- package/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
- package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +22 -0
- package/serialization/types/ChatCompletionAssistantMessageParam.js +53 -0
- package/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionAssistantMessageParamContent.js +45 -0
- package/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +12 -0
- package/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +46 -0
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
- package/serialization/types/ChatCompletionAudioParam.d.ts +15 -0
- package/serialization/types/ChatCompletionAudioParam.js +46 -0
- package/serialization/types/ChatCompletionAudioParamFormat.d.ts +10 -0
- package/serialization/types/ChatCompletionAudioParamFormat.js +41 -0
- package/serialization/types/ChatCompletionAudioParamVoice.d.ts +10 -0
- package/serialization/types/ChatCompletionAudioParamVoice.js +51 -0
- package/serialization/types/ChatCompletionContentPartImageParam.d.ts +14 -0
- package/serialization/types/ChatCompletionContentPartImageParam.js +45 -0
- package/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +14 -0
- package/serialization/types/ChatCompletionContentPartInputAudioParam.js +45 -0
- package/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +13 -0
- package/serialization/types/ChatCompletionContentPartRefusalParam.js +44 -0
- package/serialization/types/ChatCompletionContentPartTextParam.d.ts +13 -0
- package/serialization/types/ChatCompletionContentPartTextParam.js +44 -0
- package/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
- package/serialization/types/ChatCompletionCustomToolParam.js +45 -0
- package/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +15 -0
- package/serialization/types/ChatCompletionDeveloperMessageParam.js +46 -0
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.js +45 -0
- package/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +12 -0
- package/serialization/types/ChatCompletionFunctionCallOptionParam.js +43 -0
- package/serialization/types/ChatCompletionFunctionMessageParam.d.ts +14 -0
- package/serialization/types/ChatCompletionFunctionMessageParam.js +45 -0
- package/serialization/types/ChatCompletionFunctionToolParam.d.ts +14 -0
- package/serialization/types/ChatCompletionFunctionToolParam.js +45 -0
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +16 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +48 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +16 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallOutput.js +48 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +46 -0
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
- package/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +14 -0
- package/serialization/types/ChatCompletionNamedToolChoiceParam.js +45 -0
- package/serialization/types/ChatCompletionPredictionContentParam.d.ts +14 -0
- package/serialization/types/ChatCompletionPredictionContentParam.js +45 -0
- package/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionPredictionContentParamContent.js +45 -0
- package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +13 -0
- package/serialization/types/ChatCompletionStreamOptionsParam.js +44 -0
- package/serialization/types/ChatCompletionSystemMessageParam.d.ts +15 -0
- package/serialization/types/ChatCompletionSystemMessageParam.js +46 -0
- package/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionSystemMessageParamContent.js +45 -0
- package/serialization/types/ChatCompletionToolMessageParam.d.ts +15 -0
- package/serialization/types/ChatCompletionToolMessageParam.js +46 -0
- package/serialization/types/ChatCompletionToolMessageParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionToolMessageParamContent.js +45 -0
- package/serialization/types/ChatCompletionUserMessageParam.d.ts +15 -0
- package/serialization/types/ChatCompletionUserMessageParam.js +46 -0
- package/serialization/types/ChatCompletionUserMessageParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionUserMessageParamContent.js +45 -0
- package/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +14 -0
- package/serialization/types/ChatCompletionUserMessageParamContentItem.js +50 -0
- package/serialization/types/ChildToolRule.d.ts +15 -0
- package/serialization/types/ChildToolRule.js +46 -0
- package/serialization/types/ChildToolRuleSchema.d.ts +14 -0
- package/serialization/types/ChildToolRuleSchema.js +45 -0
- package/serialization/types/CodeInput.d.ts +13 -0
- package/serialization/types/CodeInput.js +44 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +61 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.js +92 -0
- package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +11 -0
- package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +46 -0
- package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +16 -0
- package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +54 -0
- package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +41 -0
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +105 -0
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +41 -0
- package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +13 -0
- package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +44 -0
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +41 -0
- package/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingStop.js +44 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +13 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +51 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +61 -0
- package/serialization/types/CompletionCreateParamsStreaming.js +92 -0
- package/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +11 -0
- package/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +46 -0
- package/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +16 -0
- package/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +54 -0
- package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +41 -0
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingModel.js +105 -0
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +41 -0
- package/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +13 -0
- package/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +44 -0
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.js +41 -0
- package/serialization/types/CompletionCreateParamsStreamingStop.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingStop.js +44 -0
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +13 -0
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +51 -0
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
- package/serialization/types/ComponentsSchemasTextContent.d.ts +11 -0
- package/serialization/types/ComponentsSchemasTextContent.js +8 -0
- package/serialization/types/ConditionalToolRule.d.ts +17 -0
- package/serialization/types/ConditionalToolRule.js +48 -0
- package/serialization/types/ConditionalToolRuleSchema.d.ts +16 -0
- package/serialization/types/ConditionalToolRuleSchema.js +47 -0
- package/serialization/types/ConflictErrorBody.d.ts +12 -0
- package/serialization/types/ConflictErrorBody.js +43 -0
- package/serialization/types/ContextWindowOverview.d.ts +30 -0
- package/serialization/types/ContextWindowOverview.js +61 -0
- package/serialization/types/ContinueToolRule.d.ts +14 -0
- package/serialization/types/ContinueToolRule.js +45 -0
- package/serialization/types/CoreMemoryBlockSchema.d.ts +20 -0
- package/serialization/types/CoreMemoryBlockSchema.js +51 -0
- package/serialization/types/CreateBlock.d.ts +25 -0
- package/serialization/types/CreateBlock.js +56 -0
- package/serialization/types/CustomFormatGrammar.d.ts +14 -0
- package/serialization/types/CustomFormatGrammar.js +45 -0
- package/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
- package/serialization/types/CustomFormatGrammarGrammar.js +45 -0
- package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
- package/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
- package/serialization/types/CustomFormatText.d.ts +12 -0
- package/serialization/types/CustomFormatText.js +43 -0
- package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
- package/serialization/types/DeleteDeploymentResponse.js +46 -0
- package/serialization/types/DeploymentEntity.d.ts +15 -0
- package/serialization/types/DeploymentEntity.js +46 -0
- package/serialization/types/DuplicateFileHandling.d.ts +10 -0
- package/serialization/types/DuplicateFileHandling.js +41 -0
- package/serialization/types/DynamicManager.d.ts +15 -0
- package/serialization/types/DynamicManager.js +46 -0
- package/serialization/types/DynamicManagerUpdate.d.ts +15 -0
- package/serialization/types/DynamicManagerUpdate.js +46 -0
- package/serialization/types/E2BSandboxConfig.d.ts +14 -0
- package/serialization/types/E2BSandboxConfig.js +45 -0
- package/serialization/types/EmbeddingConfig.d.ts +22 -0
- package/serialization/types/EmbeddingConfig.js +53 -0
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +10 -0
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +61 -0
- package/serialization/types/FeedbackType.d.ts +10 -0
- package/serialization/types/FeedbackType.js +41 -0
- package/serialization/types/FileAgentSchema.d.ts +21 -0
- package/serialization/types/FileAgentSchema.js +52 -0
- package/serialization/types/FileBlock.d.ts +32 -0
- package/serialization/types/FileBlock.js +63 -0
- package/serialization/types/FileFile.d.ts +14 -0
- package/serialization/types/FileFile.js +45 -0
- package/serialization/types/FileMetadata.d.ts +28 -0
- package/serialization/types/FileMetadata.js +59 -0
- package/serialization/types/FileProcessingStatus.d.ts +10 -0
- package/serialization/types/FileProcessingStatus.js +41 -0
- package/serialization/types/FileSchema.d.ts +26 -0
- package/serialization/types/FileSchema.js +57 -0
- package/serialization/types/FileStats.d.ts +14 -0
- package/serialization/types/FileStats.js +45 -0
- package/serialization/types/File_.d.ts +14 -0
- package/serialization/types/File_.js +45 -0
- package/serialization/types/Folder.d.ts +22 -0
- package/serialization/types/Folder.js +53 -0
- package/serialization/types/FunctionCall.d.ts +13 -0
- package/serialization/types/FunctionCall.js +44 -0
- package/serialization/types/FunctionDefinitionInput.d.ts +15 -0
- package/serialization/types/FunctionDefinitionInput.js +46 -0
- package/serialization/types/FunctionDefinitionOutput.d.ts +16 -0
- package/serialization/types/FunctionDefinitionOutput.js +48 -0
- package/serialization/types/FunctionOutput.d.ts +14 -0
- package/serialization/types/FunctionOutput.js +46 -0
- package/serialization/types/FunctionTool.d.ts +15 -0
- package/serialization/types/FunctionTool.js +47 -0
- package/serialization/types/GenerateToolInput.d.ts +16 -0
- package/serialization/types/GenerateToolInput.js +47 -0
- package/serialization/types/GenerateToolOutput.d.ts +15 -0
- package/serialization/types/GenerateToolOutput.js +46 -0
- package/serialization/types/Group.d.ts +30 -0
- package/serialization/types/Group.js +61 -0
- package/serialization/types/GroupSchema.d.ts +19 -0
- package/serialization/types/GroupSchema.js +50 -0
- package/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
- package/serialization/types/GroupSchemaManagerConfig.js +52 -0
- package/serialization/types/Health.d.ts +13 -0
- package/serialization/types/Health.js +44 -0
- package/serialization/types/HiddenReasoningMessage.d.ts +24 -0
- package/serialization/types/HiddenReasoningMessage.js +55 -0
- package/serialization/types/HiddenReasoningMessageState.d.ts +10 -0
- package/serialization/types/HiddenReasoningMessageState.js +41 -0
- package/serialization/types/HttpValidationError.d.ts +13 -0
- package/serialization/types/HttpValidationError.js +44 -0
- package/serialization/types/Identity.d.ts +21 -0
- package/serialization/types/Identity.js +52 -0
- package/serialization/types/IdentityProperty.d.ts +16 -0
- package/serialization/types/IdentityProperty.js +47 -0
- package/serialization/types/IdentityPropertyType.d.ts +10 -0
- package/serialization/types/IdentityPropertyType.js +41 -0
- package/serialization/types/IdentityPropertyValue.d.ts +10 -0
- package/serialization/types/IdentityPropertyValue.js +47 -0
- package/serialization/types/IdentityType.d.ts +10 -0
- package/serialization/types/IdentityType.js +41 -0
- package/serialization/types/ImageContent.d.ts +14 -0
- package/serialization/types/ImageContent.js +45 -0
- package/serialization/types/ImageContentSource.d.ts +13 -0
- package/serialization/types/ImageContentSource.js +44 -0
- package/serialization/types/ImageUrl.d.ts +14 -0
- package/serialization/types/ImageUrl.js +45 -0
- package/serialization/types/ImageUrlDetail.d.ts +10 -0
- package/serialization/types/ImageUrlDetail.js +41 -0
- package/serialization/types/ImportedAgentsResponse.d.ts +12 -0
- package/serialization/types/ImportedAgentsResponse.js +43 -0
- package/serialization/types/InitToolRule.d.ts +14 -0
- package/serialization/types/InitToolRule.js +45 -0
- package/serialization/types/InputAudio.d.ts +14 -0
- package/serialization/types/InputAudio.js +45 -0
- package/serialization/types/InputAudioFormat.d.ts +10 -0
- package/serialization/types/InputAudioFormat.js +41 -0
- package/serialization/types/InternalTemplateAgentCreate.d.ts +63 -0
- package/serialization/types/InternalTemplateAgentCreate.js +94 -0
- package/serialization/types/InternalTemplateAgentCreateResponseFormat.d.ts +13 -0
- package/serialization/types/InternalTemplateAgentCreateResponseFormat.js +44 -0
- package/serialization/types/InternalTemplateAgentCreateToolRulesItem.d.ts +19 -0
- package/serialization/types/InternalTemplateAgentCreateToolRulesItem.js +60 -0
- package/serialization/types/InternalTemplateBlockCreate.d.ts +26 -0
- package/serialization/types/InternalTemplateBlockCreate.js +57 -0
- package/serialization/types/InternalTemplateGroupCreate.d.ts +21 -0
- package/serialization/types/InternalTemplateGroupCreate.js +52 -0
- package/serialization/types/InternalTemplateGroupCreateManagerConfig.d.ts +15 -0
- package/serialization/types/InternalTemplateGroupCreateManagerConfig.js +52 -0
- package/serialization/types/Job.d.ts +28 -0
- package/serialization/types/Job.js +59 -0
- package/serialization/types/JobStatus.d.ts +10 -0
- package/serialization/types/JobStatus.js +41 -0
- package/serialization/types/JobType.d.ts +10 -0
- package/serialization/types/JobType.js +45 -0
- package/serialization/types/JsonObjectResponseFormat.d.ts +12 -0
- package/serialization/types/JsonObjectResponseFormat.js +43 -0
- package/serialization/types/JsonSchema.d.ts +15 -0
- package/serialization/types/JsonSchema.js +46 -0
- package/serialization/types/JsonSchemaResponseFormat.d.ts +13 -0
- package/serialization/types/JsonSchemaResponseFormat.js +44 -0
- package/serialization/types/LettaBatchMessages.d.ts +13 -0
- package/serialization/types/LettaBatchMessages.js +44 -0
- package/serialization/types/LettaBatchRequest.d.ts +21 -0
- package/serialization/types/LettaBatchRequest.js +52 -0
- package/serialization/types/LettaBatchRequestMessagesItem.d.ts +12 -0
- package/serialization/types/LettaBatchRequestMessagesItem.js +43 -0
- package/serialization/types/LettaImage.d.ts +16 -0
- package/serialization/types/LettaImage.js +47 -0
- package/serialization/types/LettaMessageContentUnion.d.ts +16 -0
- package/serialization/types/LettaMessageContentUnion.js +54 -0
- package/serialization/types/LettaMessageUnion.d.ts +19 -0
- package/serialization/types/LettaMessageUnion.js +60 -0
- package/serialization/types/LettaPing.d.ts +12 -0
- package/serialization/types/LettaPing.js +43 -0
- package/serialization/types/LettaRequest.d.ts +20 -0
- package/serialization/types/LettaRequest.js +51 -0
- package/serialization/types/LettaRequestConfig.d.ts +16 -0
- package/serialization/types/LettaRequestConfig.js +47 -0
- package/serialization/types/LettaRequestMessagesItem.d.ts +12 -0
- package/serialization/types/LettaRequestMessagesItem.js +43 -0
- package/serialization/types/LettaResponse.d.ts +17 -0
- package/serialization/types/LettaResponse.js +48 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +19 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +60 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +30 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.js +61 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
- package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +30 -0
- package/serialization/types/LettaSchemasAgentFileToolSchema.js +61 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts +38 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +69 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +14 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +50 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts +22 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +53 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts +24 -0
- package/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +55 -0
- package/serialization/types/LettaStopReason.d.ts +14 -0
- package/serialization/types/LettaStopReason.js +45 -0
- package/serialization/types/LettaStreamingRequest.d.ts +23 -0
- package/serialization/types/LettaStreamingRequest.js +54 -0
- package/serialization/types/LettaStreamingRequestMessagesItem.d.ts +12 -0
- package/serialization/types/LettaStreamingRequestMessagesItem.js +43 -0
- package/serialization/types/LettaUsageStatistics.d.ts +19 -0
- package/serialization/types/LettaUsageStatistics.js +50 -0
- package/serialization/types/LettaUserMessageContentUnion.d.ts +12 -0
- package/serialization/types/LettaUserMessageContentUnion.js +43 -0
- package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
- package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
- package/serialization/types/LlmConfig.d.ts +34 -0
- package/serialization/types/LlmConfig.js +65 -0
- package/serialization/types/LlmConfigCompatibilityType.d.ts +10 -0
- package/serialization/types/LlmConfigCompatibilityType.js +41 -0
- package/serialization/types/LlmConfigModelEndpointType.d.ts +10 -0
- package/serialization/types/LlmConfigModelEndpointType.js +63 -0
- package/serialization/types/LlmConfigReasoningEffort.d.ts +10 -0
- package/serialization/types/LlmConfigReasoningEffort.js +41 -0
- package/serialization/types/LlmConfigVerbosity.d.ts +10 -0
- package/serialization/types/LlmConfigVerbosity.js +41 -0
- package/serialization/types/LocalSandboxConfig.d.ts +16 -0
- package/serialization/types/LocalSandboxConfig.js +47 -0
- package/serialization/types/ManagerType.d.ts +10 -0
- package/serialization/types/ManagerType.js +41 -0
- package/serialization/types/MaxCountPerStepToolRule.d.ts +15 -0
- package/serialization/types/MaxCountPerStepToolRule.js +46 -0
- package/serialization/types/MaxCountPerStepToolRuleSchema.d.ts +14 -0
- package/serialization/types/MaxCountPerStepToolRuleSchema.js +45 -0
- package/serialization/types/McpServerSchema.d.ts +17 -0
- package/serialization/types/McpServerSchema.js +48 -0
- package/serialization/types/McpServerType.d.ts +10 -0
- package/serialization/types/McpServerType.js +41 -0
- package/serialization/types/McpTool.d.ts +22 -0
- package/serialization/types/McpTool.js +54 -0
- package/serialization/types/McpToolExecuteRequest.d.ts +12 -0
- package/serialization/types/McpToolExecuteRequest.js +43 -0
- package/serialization/types/McpToolHealth.d.ts +13 -0
- package/serialization/types/McpToolHealth.js +44 -0
- package/serialization/types/Memory.d.ts +16 -0
- package/serialization/types/Memory.js +47 -0
- package/serialization/types/Message.d.ts +37 -0
- package/serialization/types/Message.js +68 -0
- package/serialization/types/MessageContentItem.d.ts +17 -0
- package/serialization/types/MessageContentItem.js +56 -0
- package/serialization/types/MessageCreate.d.ts +21 -0
- package/serialization/types/MessageCreate.js +52 -0
- package/serialization/types/MessageCreateContent.d.ts +11 -0
- package/serialization/types/MessageCreateContent.js +45 -0
- package/serialization/types/MessageCreateRole.d.ts +10 -0
- package/serialization/types/MessageCreateRole.js +41 -0
- package/serialization/types/MessageRole.d.ts +10 -0
- package/serialization/types/MessageRole.js +41 -0
- package/serialization/types/MessageSearchResult.d.ts +17 -0
- package/serialization/types/MessageSearchResult.js +48 -0
- package/serialization/types/MessageType.d.ts +10 -0
- package/serialization/types/MessageType.js +51 -0
- package/serialization/types/ModalSandboxConfig.d.ts +16 -0
- package/serialization/types/ModalSandboxConfig.js +47 -0
- package/serialization/types/ModalSandboxConfigLanguage.d.ts +10 -0
- package/serialization/types/ModalSandboxConfigLanguage.js +41 -0
- package/serialization/types/NotFoundErrorBody.d.ts +12 -0
- package/serialization/types/NotFoundErrorBody.js +43 -0
- package/serialization/types/NpmRequirement.d.ts +13 -0
- package/serialization/types/NpmRequirement.js +44 -0
- package/serialization/types/OmittedReasoningContent.d.ts +12 -0
- package/serialization/types/OmittedReasoningContent.js +43 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +14 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +46 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +44 -0
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +43 -0
- package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +14 -0
- package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +45 -0
- package/serialization/types/Organization.d.ts +15 -0
- package/serialization/types/Organization.js +46 -0
- package/serialization/types/OrganizationCreate.d.ts +13 -0
- package/serialization/types/OrganizationCreate.js +44 -0
- package/serialization/types/OrganizationSourcesStats.d.ts +16 -0
- package/serialization/types/OrganizationSourcesStats.js +47 -0
- package/serialization/types/OrganizationUpdate.d.ts +13 -0
- package/serialization/types/OrganizationUpdate.js +44 -0
- package/serialization/types/PaginatedAgentFiles.d.ts +15 -0
- package/serialization/types/PaginatedAgentFiles.js +46 -0
- package/serialization/types/ParameterProperties.d.ts +13 -0
- package/serialization/types/ParameterProperties.js +44 -0
- package/serialization/types/ParametersSchema.d.ts +15 -0
- package/serialization/types/ParametersSchema.js +46 -0
- package/serialization/types/ParentToolRule.d.ts +15 -0
- package/serialization/types/ParentToolRule.js +46 -0
- package/serialization/types/Passage.d.ts +27 -0
- package/serialization/types/Passage.js +58 -0
- package/serialization/types/PaymentRequiredErrorBody.d.ts +13 -0
- package/serialization/types/PaymentRequiredErrorBody.js +44 -0
- package/serialization/types/PipRequirement.d.ts +13 -0
- package/serialization/types/PipRequirement.js +44 -0
- package/serialization/types/Provider.d.ts +23 -0
- package/serialization/types/Provider.js +54 -0
- package/serialization/types/ProviderCategory.d.ts +10 -0
- package/serialization/types/ProviderCategory.js +41 -0
- package/serialization/types/ProviderTrace.d.ts +19 -0
- package/serialization/types/ProviderTrace.js +50 -0
- package/serialization/types/ProviderType.d.ts +10 -0
- package/serialization/types/ProviderType.js +59 -0
- package/serialization/types/ReasoningContent.d.ts +15 -0
- package/serialization/types/ReasoningContent.js +46 -0
- package/serialization/types/ReasoningMessage.d.ts +25 -0
- package/serialization/types/ReasoningMessage.js +56 -0
- package/serialization/types/ReasoningMessageSource.d.ts +10 -0
- package/serialization/types/ReasoningMessageSource.js +41 -0
- package/serialization/types/RedactedReasoningContent.d.ts +13 -0
- package/serialization/types/RedactedReasoningContent.js +44 -0
- package/serialization/types/RequiredBeforeExitToolRule.d.ts +14 -0
- package/serialization/types/RequiredBeforeExitToolRule.js +45 -0
- package/serialization/types/RequiresApprovalToolRule.d.ts +14 -0
- package/serialization/types/RequiresApprovalToolRule.js +45 -0
- package/serialization/types/ResponseFormatJsonObject.d.ts +12 -0
- package/serialization/types/ResponseFormatJsonObject.js +43 -0
- package/serialization/types/ResponseFormatJsonSchema.d.ts +14 -0
- package/serialization/types/ResponseFormatJsonSchema.js +45 -0
- package/serialization/types/ResponseFormatText.d.ts +12 -0
- package/serialization/types/ResponseFormatText.js +43 -0
- package/serialization/types/RoundRobinManager.d.ts +13 -0
- package/serialization/types/RoundRobinManager.js +44 -0
- package/serialization/types/RoundRobinManagerUpdate.d.ts +13 -0
- package/serialization/types/RoundRobinManagerUpdate.js +44 -0
- package/serialization/types/Run.d.ts +30 -0
- package/serialization/types/Run.js +61 -0
- package/serialization/types/SandboxConfig.d.ts +19 -0
- package/serialization/types/SandboxConfig.js +50 -0
- package/serialization/types/SandboxConfigCreate.d.ts +13 -0
- package/serialization/types/SandboxConfigCreate.js +44 -0
- package/serialization/types/SandboxConfigCreateConfig.d.ts +13 -0
- package/serialization/types/SandboxConfigCreateConfig.js +44 -0
- package/serialization/types/SandboxConfigUpdate.d.ts +13 -0
- package/serialization/types/SandboxConfigUpdate.js +44 -0
- package/serialization/types/SandboxConfigUpdateConfig.d.ts +13 -0
- package/serialization/types/SandboxConfigUpdateConfig.js +44 -0
- package/serialization/types/SandboxEnvironmentVariable.d.ts +20 -0
- package/serialization/types/SandboxEnvironmentVariable.js +51 -0
- package/serialization/types/SandboxEnvironmentVariableCreate.d.ts +14 -0
- package/serialization/types/SandboxEnvironmentVariableCreate.js +45 -0
- package/serialization/types/SandboxEnvironmentVariableUpdate.d.ts +14 -0
- package/serialization/types/SandboxEnvironmentVariableUpdate.js +45 -0
- package/serialization/types/SandboxType.d.ts +10 -0
- package/serialization/types/SandboxType.js +41 -0
- package/serialization/types/SleeptimeManager.d.ts +14 -0
- package/serialization/types/SleeptimeManager.js +45 -0
- package/serialization/types/SleeptimeManagerUpdate.d.ts +14 -0
- package/serialization/types/SleeptimeManagerUpdate.js +45 -0
- package/serialization/types/Source.d.ts +24 -0
- package/serialization/types/Source.js +55 -0
- package/serialization/types/SourceCreate.d.ts +19 -0
- package/serialization/types/SourceCreate.js +50 -0
- package/serialization/types/SourceSchema.d.ts +20 -0
- package/serialization/types/SourceSchema.js +51 -0
- package/serialization/types/SourceStats.d.ts +17 -0
- package/serialization/types/SourceStats.js +48 -0
- package/serialization/types/SourceUpdate.d.ts +17 -0
- package/serialization/types/SourceUpdate.js +48 -0
- package/serialization/types/SseServerConfig.d.ts +18 -0
- package/serialization/types/SseServerConfig.js +49 -0
- package/serialization/types/StdioServerConfig.d.ts +17 -0
- package/serialization/types/StdioServerConfig.js +48 -0
- package/serialization/types/Step.d.ts +39 -0
- package/serialization/types/Step.js +70 -0
- package/serialization/types/StepFeedback.d.ts +10 -0
- package/serialization/types/StepFeedback.js +41 -0
- package/serialization/types/StepMetrics.d.ts +23 -0
- package/serialization/types/StepMetrics.js +54 -0
- package/serialization/types/StepStatus.d.ts +10 -0
- package/serialization/types/StepStatus.js +41 -0
- package/serialization/types/StopReasonType.d.ts +10 -0
- package/serialization/types/StopReasonType.js +51 -0
- package/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
- package/serialization/types/StreamableHttpServerConfig.js +49 -0
- package/serialization/types/SupervisorManager.d.ts +13 -0
- package/serialization/types/SupervisorManager.js +44 -0
- package/serialization/types/SupervisorManagerUpdate.d.ts +13 -0
- package/serialization/types/SupervisorManagerUpdate.js +44 -0
- package/serialization/types/SystemMessage.d.ts +22 -0
- package/serialization/types/SystemMessage.js +53 -0
- package/serialization/types/TagSchema.d.ts +12 -0
- package/serialization/types/TagSchema.js +43 -0
- package/serialization/types/TerminalToolRule.d.ts +14 -0
- package/serialization/types/TerminalToolRule.js +45 -0
- package/serialization/types/TextContent.d.ts +13 -0
- package/serialization/types/TextContent.js +44 -0
- package/serialization/types/TextResponseFormat.d.ts +12 -0
- package/serialization/types/TextResponseFormat.js +43 -0
- package/serialization/types/Tool.d.ts +30 -0
- package/serialization/types/Tool.js +61 -0
- package/serialization/types/ToolAnnotations.d.ts +17 -0
- package/serialization/types/ToolAnnotations.js +49 -0
- package/serialization/types/ToolCall.d.ts +14 -0
- package/serialization/types/ToolCall.js +45 -0
- package/serialization/types/ToolCallContent.d.ts +15 -0
- package/serialization/types/ToolCallContent.js +46 -0
- package/serialization/types/ToolCallDelta.d.ts +14 -0
- package/serialization/types/ToolCallDelta.js +45 -0
- package/serialization/types/ToolCallMessage.d.ts +23 -0
- package/serialization/types/ToolCallMessage.js +54 -0
- package/serialization/types/ToolCallMessageToolCall.d.ts +12 -0
- package/serialization/types/ToolCallMessageToolCall.js +43 -0
- package/serialization/types/ToolCreate.d.ts +23 -0
- package/serialization/types/ToolCreate.js +54 -0
- package/serialization/types/ToolEnvVarSchema.d.ts +16 -0
- package/serialization/types/ToolEnvVarSchema.js +47 -0
- package/serialization/types/ToolJsonSchema.d.ts +17 -0
- package/serialization/types/ToolJsonSchema.js +48 -0
- package/serialization/types/ToolReturn.d.ts +15 -0
- package/serialization/types/ToolReturn.js +46 -0
- package/serialization/types/ToolReturnContent.d.ts +15 -0
- package/serialization/types/ToolReturnContent.js +46 -0
- package/serialization/types/ToolReturnMessage.d.ts +27 -0
- package/serialization/types/ToolReturnMessage.js +58 -0
- package/serialization/types/ToolReturnMessageStatus.d.ts +10 -0
- package/serialization/types/ToolReturnMessageStatus.js +41 -0
- package/serialization/types/ToolReturnStatus.d.ts +10 -0
- package/serialization/types/ToolReturnStatus.js +41 -0
- package/serialization/types/ToolType.d.ts +10 -0
- package/serialization/types/ToolType.js +53 -0
- package/serialization/types/UpdateAssistantMessage.d.ts +14 -0
- package/serialization/types/UpdateAssistantMessage.js +45 -0
- package/serialization/types/UpdateAssistantMessageContent.d.ts +11 -0
- package/serialization/types/UpdateAssistantMessageContent.js +45 -0
- package/serialization/types/UpdateReasoningMessage.d.ts +13 -0
- package/serialization/types/UpdateReasoningMessage.js +44 -0
- package/serialization/types/UpdateSsemcpServer.d.ts +14 -0
- package/serialization/types/UpdateSsemcpServer.js +45 -0
- package/serialization/types/UpdateStdioMcpServer.d.ts +13 -0
- package/serialization/types/UpdateStdioMcpServer.js +44 -0
- package/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
- package/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
- package/serialization/types/UpdateSystemMessage.d.ts +13 -0
- package/serialization/types/UpdateSystemMessage.js +44 -0
- package/serialization/types/UpdateUserMessage.d.ts +14 -0
- package/serialization/types/UpdateUserMessage.js +45 -0
- package/serialization/types/UpdateUserMessageContent.d.ts +11 -0
- package/serialization/types/UpdateUserMessageContent.js +45 -0
- package/serialization/types/UrlImage.d.ts +13 -0
- package/serialization/types/UrlImage.js +44 -0
- package/serialization/types/UsageStatistics.d.ts +18 -0
- package/serialization/types/UsageStatistics.js +49 -0
- package/serialization/types/UsageStatisticsCompletionTokenDetails.d.ts +12 -0
- package/serialization/types/UsageStatisticsCompletionTokenDetails.js +43 -0
- package/serialization/types/UsageStatisticsPromptTokenDetails.d.ts +12 -0
- package/serialization/types/UsageStatisticsPromptTokenDetails.js +43 -0
- package/serialization/types/User.d.ts +16 -0
- package/serialization/types/User.js +47 -0
- package/serialization/types/UserCreate.d.ts +12 -0
- package/serialization/types/UserCreate.js +43 -0
- package/serialization/types/UserMessage.d.ts +23 -0
- package/serialization/types/UserMessage.js +54 -0
- package/serialization/types/UserMessageContent.d.ts +11 -0
- package/serialization/types/UserMessageContent.js +45 -0
- package/serialization/types/UserUpdate.d.ts +13 -0
- package/serialization/types/UserUpdate.js +44 -0
- package/serialization/types/ValidationError.d.ts +15 -0
- package/serialization/types/ValidationError.js +46 -0
- package/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/types/ValidationErrorLocItem.js +41 -0
- package/serialization/types/VectorDbProvider.d.ts +10 -0
- package/serialization/types/VectorDbProvider.js +41 -0
- package/serialization/types/VoiceSleeptimeManager.d.ts +15 -0
- package/serialization/types/VoiceSleeptimeManager.js +46 -0
- package/serialization/types/VoiceSleeptimeManagerUpdate.d.ts +15 -0
- package/serialization/types/VoiceSleeptimeManagerUpdate.js +46 -0
- package/serialization/types/WebSearchOptions.d.ts +15 -0
- package/serialization/types/WebSearchOptions.js +46 -0
- package/serialization/types/WebSearchOptionsSearchContextSize.d.ts +10 -0
- package/serialization/types/WebSearchOptionsSearchContextSize.js +41 -0
- package/serialization/types/WebSearchOptionsUserLocation.d.ts +14 -0
- package/serialization/types/WebSearchOptionsUserLocation.js +45 -0
- package/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +15 -0
- package/serialization/types/WebSearchOptionsUserLocationApproximate.js +46 -0
- package/serialization/types/index.d.ts +329 -0
- package/serialization/types/index.js +345 -0
- package/version.d.ts +1 -0
- package/version.js +4 -0
|
@@ -0,0 +1,1702 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.Tools = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../core"));
|
|
54
|
+
const Letta = __importStar(require("../../../index"));
|
|
55
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
56
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
57
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
58
|
+
class Tools {
|
|
59
|
+
constructor(_options = {}) {
|
|
60
|
+
this._options = _options;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get a tool by ID
|
|
64
|
+
*
|
|
65
|
+
* @param {string} toolId
|
|
66
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* await client.tools.retrieve("tool_id")
|
|
72
|
+
*/
|
|
73
|
+
retrieve(toolId, requestOptions) {
|
|
74
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieve(toolId, requestOptions));
|
|
75
|
+
}
|
|
76
|
+
__retrieve(toolId, requestOptions) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
var _a, _b, _c;
|
|
79
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
80
|
+
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/tools/${encodeURIComponent(toolId)}`),
|
|
81
|
+
method: "GET",
|
|
82
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
|
+
? yield core.Supplier.get(this._options.project)
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
|
+
contentType: "application/json",
|
|
86
|
+
requestType: "json",
|
|
87
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
88
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
89
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
90
|
+
});
|
|
91
|
+
if (_response.ok) {
|
|
92
|
+
return {
|
|
93
|
+
data: serializers.Tool.parseOrThrow(_response.body, {
|
|
94
|
+
unrecognizedObjectKeys: "passthrough",
|
|
95
|
+
allowUnrecognizedUnionMembers: true,
|
|
96
|
+
allowUnrecognizedEnumValues: true,
|
|
97
|
+
skipValidation: true,
|
|
98
|
+
breadcrumbsPrefix: ["response"],
|
|
99
|
+
}),
|
|
100
|
+
rawResponse: _response.rawResponse,
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
if (_response.error.reason === "status-code") {
|
|
104
|
+
switch (_response.error.statusCode) {
|
|
105
|
+
case 422:
|
|
106
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
107
|
+
unrecognizedObjectKeys: "passthrough",
|
|
108
|
+
allowUnrecognizedUnionMembers: true,
|
|
109
|
+
allowUnrecognizedEnumValues: true,
|
|
110
|
+
skipValidation: true,
|
|
111
|
+
breadcrumbsPrefix: ["response"],
|
|
112
|
+
}), _response.rawResponse);
|
|
113
|
+
default:
|
|
114
|
+
throw new errors.LettaError({
|
|
115
|
+
statusCode: _response.error.statusCode,
|
|
116
|
+
body: _response.error.body,
|
|
117
|
+
rawResponse: _response.rawResponse,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
switch (_response.error.reason) {
|
|
122
|
+
case "non-json":
|
|
123
|
+
throw new errors.LettaError({
|
|
124
|
+
statusCode: _response.error.statusCode,
|
|
125
|
+
body: _response.error.rawBody,
|
|
126
|
+
rawResponse: _response.rawResponse,
|
|
127
|
+
});
|
|
128
|
+
case "timeout":
|
|
129
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/{tool_id}.");
|
|
130
|
+
case "unknown":
|
|
131
|
+
throw new errors.LettaError({
|
|
132
|
+
message: _response.error.errorMessage,
|
|
133
|
+
rawResponse: _response.rawResponse,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Delete a tool by name
|
|
140
|
+
*
|
|
141
|
+
* @param {string} toolId
|
|
142
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* await client.tools.delete("tool_id")
|
|
148
|
+
*/
|
|
149
|
+
delete(toolId, requestOptions) {
|
|
150
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(toolId, requestOptions));
|
|
151
|
+
}
|
|
152
|
+
__delete(toolId, requestOptions) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
var _a, _b, _c;
|
|
155
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
156
|
+
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/tools/${encodeURIComponent(toolId)}`),
|
|
157
|
+
method: "DELETE",
|
|
158
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
159
|
+
? yield core.Supplier.get(this._options.project)
|
|
160
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
|
+
contentType: "application/json",
|
|
162
|
+
requestType: "json",
|
|
163
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
164
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
165
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
166
|
+
});
|
|
167
|
+
if (_response.ok) {
|
|
168
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
169
|
+
}
|
|
170
|
+
if (_response.error.reason === "status-code") {
|
|
171
|
+
switch (_response.error.statusCode) {
|
|
172
|
+
case 422:
|
|
173
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
174
|
+
unrecognizedObjectKeys: "passthrough",
|
|
175
|
+
allowUnrecognizedUnionMembers: true,
|
|
176
|
+
allowUnrecognizedEnumValues: true,
|
|
177
|
+
skipValidation: true,
|
|
178
|
+
breadcrumbsPrefix: ["response"],
|
|
179
|
+
}), _response.rawResponse);
|
|
180
|
+
default:
|
|
181
|
+
throw new errors.LettaError({
|
|
182
|
+
statusCode: _response.error.statusCode,
|
|
183
|
+
body: _response.error.body,
|
|
184
|
+
rawResponse: _response.rawResponse,
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
switch (_response.error.reason) {
|
|
189
|
+
case "non-json":
|
|
190
|
+
throw new errors.LettaError({
|
|
191
|
+
statusCode: _response.error.statusCode,
|
|
192
|
+
body: _response.error.rawBody,
|
|
193
|
+
rawResponse: _response.rawResponse,
|
|
194
|
+
});
|
|
195
|
+
case "timeout":
|
|
196
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling DELETE /v1/tools/{tool_id}.");
|
|
197
|
+
case "unknown":
|
|
198
|
+
throw new errors.LettaError({
|
|
199
|
+
message: _response.error.errorMessage,
|
|
200
|
+
rawResponse: _response.rawResponse,
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Update an existing tool
|
|
207
|
+
*
|
|
208
|
+
* @param {string} toolId
|
|
209
|
+
* @param {Letta.ToolUpdate} request
|
|
210
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
211
|
+
*
|
|
212
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* await client.tools.modify("tool_id")
|
|
216
|
+
*/
|
|
217
|
+
modify(toolId, request = {}, requestOptions) {
|
|
218
|
+
return core.HttpResponsePromise.fromPromise(this.__modify(toolId, request, requestOptions));
|
|
219
|
+
}
|
|
220
|
+
__modify(toolId_1) {
|
|
221
|
+
return __awaiter(this, arguments, void 0, function* (toolId, request = {}, requestOptions) {
|
|
222
|
+
var _a, _b, _c;
|
|
223
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
224
|
+
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/tools/${encodeURIComponent(toolId)}`),
|
|
225
|
+
method: "PATCH",
|
|
226
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
227
|
+
? yield core.Supplier.get(this._options.project)
|
|
228
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
229
|
+
contentType: "application/json",
|
|
230
|
+
requestType: "json",
|
|
231
|
+
body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
232
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
233
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
234
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
235
|
+
});
|
|
236
|
+
if (_response.ok) {
|
|
237
|
+
return {
|
|
238
|
+
data: serializers.Tool.parseOrThrow(_response.body, {
|
|
239
|
+
unrecognizedObjectKeys: "passthrough",
|
|
240
|
+
allowUnrecognizedUnionMembers: true,
|
|
241
|
+
allowUnrecognizedEnumValues: true,
|
|
242
|
+
skipValidation: true,
|
|
243
|
+
breadcrumbsPrefix: ["response"],
|
|
244
|
+
}),
|
|
245
|
+
rawResponse: _response.rawResponse,
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
if (_response.error.reason === "status-code") {
|
|
249
|
+
switch (_response.error.statusCode) {
|
|
250
|
+
case 422:
|
|
251
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
252
|
+
unrecognizedObjectKeys: "passthrough",
|
|
253
|
+
allowUnrecognizedUnionMembers: true,
|
|
254
|
+
allowUnrecognizedEnumValues: true,
|
|
255
|
+
skipValidation: true,
|
|
256
|
+
breadcrumbsPrefix: ["response"],
|
|
257
|
+
}), _response.rawResponse);
|
|
258
|
+
default:
|
|
259
|
+
throw new errors.LettaError({
|
|
260
|
+
statusCode: _response.error.statusCode,
|
|
261
|
+
body: _response.error.body,
|
|
262
|
+
rawResponse: _response.rawResponse,
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
switch (_response.error.reason) {
|
|
267
|
+
case "non-json":
|
|
268
|
+
throw new errors.LettaError({
|
|
269
|
+
statusCode: _response.error.statusCode,
|
|
270
|
+
body: _response.error.rawBody,
|
|
271
|
+
rawResponse: _response.rawResponse,
|
|
272
|
+
});
|
|
273
|
+
case "timeout":
|
|
274
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/tools/{tool_id}.");
|
|
275
|
+
case "unknown":
|
|
276
|
+
throw new errors.LettaError({
|
|
277
|
+
message: _response.error.errorMessage,
|
|
278
|
+
rawResponse: _response.rawResponse,
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Get a count of all tools available to agents belonging to the org of the user.
|
|
285
|
+
*
|
|
286
|
+
* @param {Letta.ToolsCountRequest} request
|
|
287
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
288
|
+
*
|
|
289
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* await client.tools.count()
|
|
293
|
+
*/
|
|
294
|
+
count(request = {}, requestOptions) {
|
|
295
|
+
return core.HttpResponsePromise.fromPromise(this.__count(request, requestOptions));
|
|
296
|
+
}
|
|
297
|
+
__count() {
|
|
298
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
299
|
+
var _a, _b, _c;
|
|
300
|
+
const { name, names, toolIds, search, toolTypes, excludeToolTypes, returnOnlyLettaTools, excludeLettaTools } = request;
|
|
301
|
+
const _queryParams = {};
|
|
302
|
+
if (name != null) {
|
|
303
|
+
_queryParams["name"] = name;
|
|
304
|
+
}
|
|
305
|
+
if (names != null) {
|
|
306
|
+
if (Array.isArray(names)) {
|
|
307
|
+
_queryParams["names"] = names.map((item) => item);
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
_queryParams["names"] = names;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
if (toolIds != null) {
|
|
314
|
+
if (Array.isArray(toolIds)) {
|
|
315
|
+
_queryParams["tool_ids"] = toolIds.map((item) => item);
|
|
316
|
+
}
|
|
317
|
+
else {
|
|
318
|
+
_queryParams["tool_ids"] = toolIds;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
if (search != null) {
|
|
322
|
+
_queryParams["search"] = search;
|
|
323
|
+
}
|
|
324
|
+
if (toolTypes != null) {
|
|
325
|
+
if (Array.isArray(toolTypes)) {
|
|
326
|
+
_queryParams["tool_types"] = toolTypes.map((item) => item);
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
_queryParams["tool_types"] = toolTypes;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
if (excludeToolTypes != null) {
|
|
333
|
+
if (Array.isArray(excludeToolTypes)) {
|
|
334
|
+
_queryParams["exclude_tool_types"] = excludeToolTypes.map((item) => item);
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
_queryParams["exclude_tool_types"] = excludeToolTypes;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
if (returnOnlyLettaTools != null) {
|
|
341
|
+
_queryParams["return_only_letta_tools"] = returnOnlyLettaTools.toString();
|
|
342
|
+
}
|
|
343
|
+
if (excludeLettaTools != null) {
|
|
344
|
+
_queryParams["exclude_letta_tools"] = excludeLettaTools.toString();
|
|
345
|
+
}
|
|
346
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
347
|
+
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/tools/count"),
|
|
348
|
+
method: "GET",
|
|
349
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
350
|
+
? yield core.Supplier.get(this._options.project)
|
|
351
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
352
|
+
contentType: "application/json",
|
|
353
|
+
queryParameters: _queryParams,
|
|
354
|
+
requestType: "json",
|
|
355
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
356
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
357
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
358
|
+
});
|
|
359
|
+
if (_response.ok) {
|
|
360
|
+
return {
|
|
361
|
+
data: serializers.tools.count.Response.parseOrThrow(_response.body, {
|
|
362
|
+
unrecognizedObjectKeys: "passthrough",
|
|
363
|
+
allowUnrecognizedUnionMembers: true,
|
|
364
|
+
allowUnrecognizedEnumValues: true,
|
|
365
|
+
skipValidation: true,
|
|
366
|
+
breadcrumbsPrefix: ["response"],
|
|
367
|
+
}),
|
|
368
|
+
rawResponse: _response.rawResponse,
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
if (_response.error.reason === "status-code") {
|
|
372
|
+
switch (_response.error.statusCode) {
|
|
373
|
+
case 422:
|
|
374
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
375
|
+
unrecognizedObjectKeys: "passthrough",
|
|
376
|
+
allowUnrecognizedUnionMembers: true,
|
|
377
|
+
allowUnrecognizedEnumValues: true,
|
|
378
|
+
skipValidation: true,
|
|
379
|
+
breadcrumbsPrefix: ["response"],
|
|
380
|
+
}), _response.rawResponse);
|
|
381
|
+
default:
|
|
382
|
+
throw new errors.LettaError({
|
|
383
|
+
statusCode: _response.error.statusCode,
|
|
384
|
+
body: _response.error.body,
|
|
385
|
+
rawResponse: _response.rawResponse,
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
switch (_response.error.reason) {
|
|
390
|
+
case "non-json":
|
|
391
|
+
throw new errors.LettaError({
|
|
392
|
+
statusCode: _response.error.statusCode,
|
|
393
|
+
body: _response.error.rawBody,
|
|
394
|
+
rawResponse: _response.rawResponse,
|
|
395
|
+
});
|
|
396
|
+
case "timeout":
|
|
397
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/count.");
|
|
398
|
+
case "unknown":
|
|
399
|
+
throw new errors.LettaError({
|
|
400
|
+
message: _response.error.errorMessage,
|
|
401
|
+
rawResponse: _response.rawResponse,
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Get a list of all tools available to agents belonging to the org of the user
|
|
408
|
+
*
|
|
409
|
+
* @param {Letta.ToolsListRequest} request
|
|
410
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
411
|
+
*
|
|
412
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
413
|
+
*
|
|
414
|
+
* @example
|
|
415
|
+
* await client.tools.list()
|
|
416
|
+
*/
|
|
417
|
+
list(request = {}, requestOptions) {
|
|
418
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
419
|
+
}
|
|
420
|
+
__list() {
|
|
421
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
422
|
+
var _a, _b, _c;
|
|
423
|
+
const { after, limit, name, names, toolIds, search, toolTypes, excludeToolTypes, returnOnlyLettaTools } = request;
|
|
424
|
+
const _queryParams = {};
|
|
425
|
+
if (after != null) {
|
|
426
|
+
_queryParams["after"] = after;
|
|
427
|
+
}
|
|
428
|
+
if (limit != null) {
|
|
429
|
+
_queryParams["limit"] = limit.toString();
|
|
430
|
+
}
|
|
431
|
+
if (name != null) {
|
|
432
|
+
_queryParams["name"] = name;
|
|
433
|
+
}
|
|
434
|
+
if (names != null) {
|
|
435
|
+
if (Array.isArray(names)) {
|
|
436
|
+
_queryParams["names"] = names.map((item) => item);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
_queryParams["names"] = names;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
if (toolIds != null) {
|
|
443
|
+
if (Array.isArray(toolIds)) {
|
|
444
|
+
_queryParams["tool_ids"] = toolIds.map((item) => item);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
_queryParams["tool_ids"] = toolIds;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
if (search != null) {
|
|
451
|
+
_queryParams["search"] = search;
|
|
452
|
+
}
|
|
453
|
+
if (toolTypes != null) {
|
|
454
|
+
if (Array.isArray(toolTypes)) {
|
|
455
|
+
_queryParams["tool_types"] = toolTypes.map((item) => item);
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
_queryParams["tool_types"] = toolTypes;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
if (excludeToolTypes != null) {
|
|
462
|
+
if (Array.isArray(excludeToolTypes)) {
|
|
463
|
+
_queryParams["exclude_tool_types"] = excludeToolTypes.map((item) => item);
|
|
464
|
+
}
|
|
465
|
+
else {
|
|
466
|
+
_queryParams["exclude_tool_types"] = excludeToolTypes;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
if (returnOnlyLettaTools != null) {
|
|
470
|
+
_queryParams["return_only_letta_tools"] = returnOnlyLettaTools.toString();
|
|
471
|
+
}
|
|
472
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
473
|
+
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/tools/"),
|
|
474
|
+
method: "GET",
|
|
475
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
476
|
+
? yield core.Supplier.get(this._options.project)
|
|
477
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
478
|
+
contentType: "application/json",
|
|
479
|
+
queryParameters: _queryParams,
|
|
480
|
+
requestType: "json",
|
|
481
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
482
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
483
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
484
|
+
});
|
|
485
|
+
if (_response.ok) {
|
|
486
|
+
return {
|
|
487
|
+
data: serializers.tools.list.Response.parseOrThrow(_response.body, {
|
|
488
|
+
unrecognizedObjectKeys: "passthrough",
|
|
489
|
+
allowUnrecognizedUnionMembers: true,
|
|
490
|
+
allowUnrecognizedEnumValues: true,
|
|
491
|
+
skipValidation: true,
|
|
492
|
+
breadcrumbsPrefix: ["response"],
|
|
493
|
+
}),
|
|
494
|
+
rawResponse: _response.rawResponse,
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
if (_response.error.reason === "status-code") {
|
|
498
|
+
switch (_response.error.statusCode) {
|
|
499
|
+
case 422:
|
|
500
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
501
|
+
unrecognizedObjectKeys: "passthrough",
|
|
502
|
+
allowUnrecognizedUnionMembers: true,
|
|
503
|
+
allowUnrecognizedEnumValues: true,
|
|
504
|
+
skipValidation: true,
|
|
505
|
+
breadcrumbsPrefix: ["response"],
|
|
506
|
+
}), _response.rawResponse);
|
|
507
|
+
default:
|
|
508
|
+
throw new errors.LettaError({
|
|
509
|
+
statusCode: _response.error.statusCode,
|
|
510
|
+
body: _response.error.body,
|
|
511
|
+
rawResponse: _response.rawResponse,
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
switch (_response.error.reason) {
|
|
516
|
+
case "non-json":
|
|
517
|
+
throw new errors.LettaError({
|
|
518
|
+
statusCode: _response.error.statusCode,
|
|
519
|
+
body: _response.error.rawBody,
|
|
520
|
+
rawResponse: _response.rawResponse,
|
|
521
|
+
});
|
|
522
|
+
case "timeout":
|
|
523
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/.");
|
|
524
|
+
case "unknown":
|
|
525
|
+
throw new errors.LettaError({
|
|
526
|
+
message: _response.error.errorMessage,
|
|
527
|
+
rawResponse: _response.rawResponse,
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* Create a new tool
|
|
534
|
+
*
|
|
535
|
+
* @param {Letta.ToolCreate} request
|
|
536
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
537
|
+
*
|
|
538
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
539
|
+
*
|
|
540
|
+
* @example
|
|
541
|
+
* await client.tools.create({
|
|
542
|
+
* sourceCode: "source_code"
|
|
543
|
+
* })
|
|
544
|
+
*/
|
|
545
|
+
create(request, requestOptions) {
|
|
546
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
547
|
+
}
|
|
548
|
+
__create(request, requestOptions) {
|
|
549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
550
|
+
var _a, _b, _c;
|
|
551
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
552
|
+
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/tools/"),
|
|
553
|
+
method: "POST",
|
|
554
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
555
|
+
? yield core.Supplier.get(this._options.project)
|
|
556
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
557
|
+
contentType: "application/json",
|
|
558
|
+
requestType: "json",
|
|
559
|
+
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
560
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
561
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
562
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
563
|
+
});
|
|
564
|
+
if (_response.ok) {
|
|
565
|
+
return {
|
|
566
|
+
data: serializers.Tool.parseOrThrow(_response.body, {
|
|
567
|
+
unrecognizedObjectKeys: "passthrough",
|
|
568
|
+
allowUnrecognizedUnionMembers: true,
|
|
569
|
+
allowUnrecognizedEnumValues: true,
|
|
570
|
+
skipValidation: true,
|
|
571
|
+
breadcrumbsPrefix: ["response"],
|
|
572
|
+
}),
|
|
573
|
+
rawResponse: _response.rawResponse,
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
if (_response.error.reason === "status-code") {
|
|
577
|
+
switch (_response.error.statusCode) {
|
|
578
|
+
case 422:
|
|
579
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
580
|
+
unrecognizedObjectKeys: "passthrough",
|
|
581
|
+
allowUnrecognizedUnionMembers: true,
|
|
582
|
+
allowUnrecognizedEnumValues: true,
|
|
583
|
+
skipValidation: true,
|
|
584
|
+
breadcrumbsPrefix: ["response"],
|
|
585
|
+
}), _response.rawResponse);
|
|
586
|
+
default:
|
|
587
|
+
throw new errors.LettaError({
|
|
588
|
+
statusCode: _response.error.statusCode,
|
|
589
|
+
body: _response.error.body,
|
|
590
|
+
rawResponse: _response.rawResponse,
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
switch (_response.error.reason) {
|
|
595
|
+
case "non-json":
|
|
596
|
+
throw new errors.LettaError({
|
|
597
|
+
statusCode: _response.error.statusCode,
|
|
598
|
+
body: _response.error.rawBody,
|
|
599
|
+
rawResponse: _response.rawResponse,
|
|
600
|
+
});
|
|
601
|
+
case "timeout":
|
|
602
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/.");
|
|
603
|
+
case "unknown":
|
|
604
|
+
throw new errors.LettaError({
|
|
605
|
+
message: _response.error.errorMessage,
|
|
606
|
+
rawResponse: _response.rawResponse,
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Create or update a tool
|
|
613
|
+
*
|
|
614
|
+
* @param {Letta.ToolCreate} request
|
|
615
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
616
|
+
*
|
|
617
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
618
|
+
*
|
|
619
|
+
* @example
|
|
620
|
+
* await client.tools.upsert({
|
|
621
|
+
* sourceCode: "source_code"
|
|
622
|
+
* })
|
|
623
|
+
*/
|
|
624
|
+
upsert(request, requestOptions) {
|
|
625
|
+
return core.HttpResponsePromise.fromPromise(this.__upsert(request, requestOptions));
|
|
626
|
+
}
|
|
627
|
+
__upsert(request, requestOptions) {
|
|
628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
629
|
+
var _a, _b, _c;
|
|
630
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
631
|
+
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/tools/"),
|
|
632
|
+
method: "PUT",
|
|
633
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
634
|
+
? yield core.Supplier.get(this._options.project)
|
|
635
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
636
|
+
contentType: "application/json",
|
|
637
|
+
requestType: "json",
|
|
638
|
+
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
639
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
640
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
641
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
642
|
+
});
|
|
643
|
+
if (_response.ok) {
|
|
644
|
+
return {
|
|
645
|
+
data: serializers.Tool.parseOrThrow(_response.body, {
|
|
646
|
+
unrecognizedObjectKeys: "passthrough",
|
|
647
|
+
allowUnrecognizedUnionMembers: true,
|
|
648
|
+
allowUnrecognizedEnumValues: true,
|
|
649
|
+
skipValidation: true,
|
|
650
|
+
breadcrumbsPrefix: ["response"],
|
|
651
|
+
}),
|
|
652
|
+
rawResponse: _response.rawResponse,
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
if (_response.error.reason === "status-code") {
|
|
656
|
+
switch (_response.error.statusCode) {
|
|
657
|
+
case 422:
|
|
658
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
659
|
+
unrecognizedObjectKeys: "passthrough",
|
|
660
|
+
allowUnrecognizedUnionMembers: true,
|
|
661
|
+
allowUnrecognizedEnumValues: true,
|
|
662
|
+
skipValidation: true,
|
|
663
|
+
breadcrumbsPrefix: ["response"],
|
|
664
|
+
}), _response.rawResponse);
|
|
665
|
+
default:
|
|
666
|
+
throw new errors.LettaError({
|
|
667
|
+
statusCode: _response.error.statusCode,
|
|
668
|
+
body: _response.error.body,
|
|
669
|
+
rawResponse: _response.rawResponse,
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
switch (_response.error.reason) {
|
|
674
|
+
case "non-json":
|
|
675
|
+
throw new errors.LettaError({
|
|
676
|
+
statusCode: _response.error.statusCode,
|
|
677
|
+
body: _response.error.rawBody,
|
|
678
|
+
rawResponse: _response.rawResponse,
|
|
679
|
+
});
|
|
680
|
+
case "timeout":
|
|
681
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling PUT /v1/tools/.");
|
|
682
|
+
case "unknown":
|
|
683
|
+
throw new errors.LettaError({
|
|
684
|
+
message: _response.error.errorMessage,
|
|
685
|
+
rawResponse: _response.rawResponse,
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* Upsert base tools
|
|
692
|
+
*
|
|
693
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
694
|
+
*
|
|
695
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
696
|
+
*
|
|
697
|
+
* @example
|
|
698
|
+
* await client.tools.upsertBaseTools()
|
|
699
|
+
*/
|
|
700
|
+
upsertBaseTools(requestOptions) {
|
|
701
|
+
return core.HttpResponsePromise.fromPromise(this.__upsertBaseTools(requestOptions));
|
|
702
|
+
}
|
|
703
|
+
__upsertBaseTools(requestOptions) {
|
|
704
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
705
|
+
var _a, _b, _c;
|
|
706
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
707
|
+
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/tools/add-base-tools"),
|
|
708
|
+
method: "POST",
|
|
709
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
710
|
+
? yield core.Supplier.get(this._options.project)
|
|
711
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
712
|
+
contentType: "application/json",
|
|
713
|
+
requestType: "json",
|
|
714
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
715
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
716
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
717
|
+
});
|
|
718
|
+
if (_response.ok) {
|
|
719
|
+
return {
|
|
720
|
+
data: serializers.tools.upsertBaseTools.Response.parseOrThrow(_response.body, {
|
|
721
|
+
unrecognizedObjectKeys: "passthrough",
|
|
722
|
+
allowUnrecognizedUnionMembers: true,
|
|
723
|
+
allowUnrecognizedEnumValues: true,
|
|
724
|
+
skipValidation: true,
|
|
725
|
+
breadcrumbsPrefix: ["response"],
|
|
726
|
+
}),
|
|
727
|
+
rawResponse: _response.rawResponse,
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
if (_response.error.reason === "status-code") {
|
|
731
|
+
switch (_response.error.statusCode) {
|
|
732
|
+
case 422:
|
|
733
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
734
|
+
unrecognizedObjectKeys: "passthrough",
|
|
735
|
+
allowUnrecognizedUnionMembers: true,
|
|
736
|
+
allowUnrecognizedEnumValues: true,
|
|
737
|
+
skipValidation: true,
|
|
738
|
+
breadcrumbsPrefix: ["response"],
|
|
739
|
+
}), _response.rawResponse);
|
|
740
|
+
default:
|
|
741
|
+
throw new errors.LettaError({
|
|
742
|
+
statusCode: _response.error.statusCode,
|
|
743
|
+
body: _response.error.body,
|
|
744
|
+
rawResponse: _response.rawResponse,
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
switch (_response.error.reason) {
|
|
749
|
+
case "non-json":
|
|
750
|
+
throw new errors.LettaError({
|
|
751
|
+
statusCode: _response.error.statusCode,
|
|
752
|
+
body: _response.error.rawBody,
|
|
753
|
+
rawResponse: _response.rawResponse,
|
|
754
|
+
});
|
|
755
|
+
case "timeout":
|
|
756
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/add-base-tools.");
|
|
757
|
+
case "unknown":
|
|
758
|
+
throw new errors.LettaError({
|
|
759
|
+
message: _response.error.errorMessage,
|
|
760
|
+
rawResponse: _response.rawResponse,
|
|
761
|
+
});
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Attempt to build a tool from source, then run it on the provided arguments
|
|
767
|
+
*
|
|
768
|
+
* @param {Letta.ToolRunFromSource} request
|
|
769
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
770
|
+
*
|
|
771
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
772
|
+
*
|
|
773
|
+
* @example
|
|
774
|
+
* await client.tools.runToolFromSource({
|
|
775
|
+
* sourceCode: "source_code",
|
|
776
|
+
* args: {
|
|
777
|
+
* "key": "value"
|
|
778
|
+
* }
|
|
779
|
+
* })
|
|
780
|
+
*/
|
|
781
|
+
runToolFromSource(request, requestOptions) {
|
|
782
|
+
return core.HttpResponsePromise.fromPromise(this.__runToolFromSource(request, requestOptions));
|
|
783
|
+
}
|
|
784
|
+
__runToolFromSource(request, requestOptions) {
|
|
785
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
786
|
+
var _a, _b, _c;
|
|
787
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
788
|
+
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/tools/run"),
|
|
789
|
+
method: "POST",
|
|
790
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
791
|
+
? yield core.Supplier.get(this._options.project)
|
|
792
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
793
|
+
contentType: "application/json",
|
|
794
|
+
requestType: "json",
|
|
795
|
+
body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
796
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
797
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
798
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
799
|
+
});
|
|
800
|
+
if (_response.ok) {
|
|
801
|
+
return {
|
|
802
|
+
data: serializers.ToolReturnMessage.parseOrThrow(_response.body, {
|
|
803
|
+
unrecognizedObjectKeys: "passthrough",
|
|
804
|
+
allowUnrecognizedUnionMembers: true,
|
|
805
|
+
allowUnrecognizedEnumValues: true,
|
|
806
|
+
skipValidation: true,
|
|
807
|
+
breadcrumbsPrefix: ["response"],
|
|
808
|
+
}),
|
|
809
|
+
rawResponse: _response.rawResponse,
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
if (_response.error.reason === "status-code") {
|
|
813
|
+
switch (_response.error.statusCode) {
|
|
814
|
+
case 422:
|
|
815
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
816
|
+
unrecognizedObjectKeys: "passthrough",
|
|
817
|
+
allowUnrecognizedUnionMembers: true,
|
|
818
|
+
allowUnrecognizedEnumValues: true,
|
|
819
|
+
skipValidation: true,
|
|
820
|
+
breadcrumbsPrefix: ["response"],
|
|
821
|
+
}), _response.rawResponse);
|
|
822
|
+
default:
|
|
823
|
+
throw new errors.LettaError({
|
|
824
|
+
statusCode: _response.error.statusCode,
|
|
825
|
+
body: _response.error.body,
|
|
826
|
+
rawResponse: _response.rawResponse,
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
switch (_response.error.reason) {
|
|
831
|
+
case "non-json":
|
|
832
|
+
throw new errors.LettaError({
|
|
833
|
+
statusCode: _response.error.statusCode,
|
|
834
|
+
body: _response.error.rawBody,
|
|
835
|
+
rawResponse: _response.rawResponse,
|
|
836
|
+
});
|
|
837
|
+
case "timeout":
|
|
838
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/run.");
|
|
839
|
+
case "unknown":
|
|
840
|
+
throw new errors.LettaError({
|
|
841
|
+
message: _response.error.errorMessage,
|
|
842
|
+
rawResponse: _response.rawResponse,
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Get a list of all Composio apps
|
|
849
|
+
*
|
|
850
|
+
* @param {Letta.ListComposioAppsRequest} request
|
|
851
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
852
|
+
*
|
|
853
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
854
|
+
*
|
|
855
|
+
* @example
|
|
856
|
+
* await client.tools.listComposioApps()
|
|
857
|
+
*/
|
|
858
|
+
listComposioApps(request = {}, requestOptions) {
|
|
859
|
+
return core.HttpResponsePromise.fromPromise(this.__listComposioApps(request, requestOptions));
|
|
860
|
+
}
|
|
861
|
+
__listComposioApps() {
|
|
862
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
863
|
+
var _a, _b, _c;
|
|
864
|
+
const { userId } = request;
|
|
865
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
866
|
+
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/tools/composio/apps"),
|
|
867
|
+
method: "GET",
|
|
868
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
869
|
+
? yield core.Supplier.get(this._options.project)
|
|
870
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
871
|
+
contentType: "application/json",
|
|
872
|
+
requestType: "json",
|
|
873
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
874
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
875
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
876
|
+
});
|
|
877
|
+
if (_response.ok) {
|
|
878
|
+
return {
|
|
879
|
+
data: serializers.tools.listComposioApps.Response.parseOrThrow(_response.body, {
|
|
880
|
+
unrecognizedObjectKeys: "passthrough",
|
|
881
|
+
allowUnrecognizedUnionMembers: true,
|
|
882
|
+
allowUnrecognizedEnumValues: true,
|
|
883
|
+
skipValidation: true,
|
|
884
|
+
breadcrumbsPrefix: ["response"],
|
|
885
|
+
}),
|
|
886
|
+
rawResponse: _response.rawResponse,
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
if (_response.error.reason === "status-code") {
|
|
890
|
+
switch (_response.error.statusCode) {
|
|
891
|
+
case 422:
|
|
892
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
893
|
+
unrecognizedObjectKeys: "passthrough",
|
|
894
|
+
allowUnrecognizedUnionMembers: true,
|
|
895
|
+
allowUnrecognizedEnumValues: true,
|
|
896
|
+
skipValidation: true,
|
|
897
|
+
breadcrumbsPrefix: ["response"],
|
|
898
|
+
}), _response.rawResponse);
|
|
899
|
+
default:
|
|
900
|
+
throw new errors.LettaError({
|
|
901
|
+
statusCode: _response.error.statusCode,
|
|
902
|
+
body: _response.error.body,
|
|
903
|
+
rawResponse: _response.rawResponse,
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
switch (_response.error.reason) {
|
|
908
|
+
case "non-json":
|
|
909
|
+
throw new errors.LettaError({
|
|
910
|
+
statusCode: _response.error.statusCode,
|
|
911
|
+
body: _response.error.rawBody,
|
|
912
|
+
rawResponse: _response.rawResponse,
|
|
913
|
+
});
|
|
914
|
+
case "timeout":
|
|
915
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/composio/apps.");
|
|
916
|
+
case "unknown":
|
|
917
|
+
throw new errors.LettaError({
|
|
918
|
+
message: _response.error.errorMessage,
|
|
919
|
+
rawResponse: _response.rawResponse,
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Get a list of all Composio actions for a specific app
|
|
926
|
+
*
|
|
927
|
+
* @param {string} composioAppName
|
|
928
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
929
|
+
*
|
|
930
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
931
|
+
*
|
|
932
|
+
* @example
|
|
933
|
+
* await client.tools.listComposioActionsByApp("composio_app_name")
|
|
934
|
+
*/
|
|
935
|
+
listComposioActionsByApp(composioAppName, requestOptions) {
|
|
936
|
+
return core.HttpResponsePromise.fromPromise(this.__listComposioActionsByApp(composioAppName, requestOptions));
|
|
937
|
+
}
|
|
938
|
+
__listComposioActionsByApp(composioAppName, requestOptions) {
|
|
939
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
940
|
+
var _a, _b, _c;
|
|
941
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
942
|
+
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/tools/composio/apps/${encodeURIComponent(composioAppName)}/actions`),
|
|
943
|
+
method: "GET",
|
|
944
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
945
|
+
? yield core.Supplier.get(this._options.project)
|
|
946
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
947
|
+
contentType: "application/json",
|
|
948
|
+
requestType: "json",
|
|
949
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
950
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
951
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
952
|
+
});
|
|
953
|
+
if (_response.ok) {
|
|
954
|
+
return {
|
|
955
|
+
data: serializers.tools.listComposioActionsByApp.Response.parseOrThrow(_response.body, {
|
|
956
|
+
unrecognizedObjectKeys: "passthrough",
|
|
957
|
+
allowUnrecognizedUnionMembers: true,
|
|
958
|
+
allowUnrecognizedEnumValues: true,
|
|
959
|
+
skipValidation: true,
|
|
960
|
+
breadcrumbsPrefix: ["response"],
|
|
961
|
+
}),
|
|
962
|
+
rawResponse: _response.rawResponse,
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
if (_response.error.reason === "status-code") {
|
|
966
|
+
switch (_response.error.statusCode) {
|
|
967
|
+
case 422:
|
|
968
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
969
|
+
unrecognizedObjectKeys: "passthrough",
|
|
970
|
+
allowUnrecognizedUnionMembers: true,
|
|
971
|
+
allowUnrecognizedEnumValues: true,
|
|
972
|
+
skipValidation: true,
|
|
973
|
+
breadcrumbsPrefix: ["response"],
|
|
974
|
+
}), _response.rawResponse);
|
|
975
|
+
default:
|
|
976
|
+
throw new errors.LettaError({
|
|
977
|
+
statusCode: _response.error.statusCode,
|
|
978
|
+
body: _response.error.body,
|
|
979
|
+
rawResponse: _response.rawResponse,
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
switch (_response.error.reason) {
|
|
984
|
+
case "non-json":
|
|
985
|
+
throw new errors.LettaError({
|
|
986
|
+
statusCode: _response.error.statusCode,
|
|
987
|
+
body: _response.error.rawBody,
|
|
988
|
+
rawResponse: _response.rawResponse,
|
|
989
|
+
});
|
|
990
|
+
case "timeout":
|
|
991
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/composio/apps/{composio_app_name}/actions.");
|
|
992
|
+
case "unknown":
|
|
993
|
+
throw new errors.LettaError({
|
|
994
|
+
message: _response.error.errorMessage,
|
|
995
|
+
rawResponse: _response.rawResponse,
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Add a new Composio tool by action name (Composio refers to each tool as an `Action`)
|
|
1002
|
+
*
|
|
1003
|
+
* @param {string} composioActionName
|
|
1004
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1005
|
+
*
|
|
1006
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1007
|
+
*
|
|
1008
|
+
* @example
|
|
1009
|
+
* await client.tools.addComposioTool("composio_action_name")
|
|
1010
|
+
*/
|
|
1011
|
+
addComposioTool(composioActionName, requestOptions) {
|
|
1012
|
+
return core.HttpResponsePromise.fromPromise(this.__addComposioTool(composioActionName, requestOptions));
|
|
1013
|
+
}
|
|
1014
|
+
__addComposioTool(composioActionName, requestOptions) {
|
|
1015
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1016
|
+
var _a, _b, _c;
|
|
1017
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1018
|
+
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/tools/composio/${encodeURIComponent(composioActionName)}`),
|
|
1019
|
+
method: "POST",
|
|
1020
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1021
|
+
? yield core.Supplier.get(this._options.project)
|
|
1022
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1023
|
+
contentType: "application/json",
|
|
1024
|
+
requestType: "json",
|
|
1025
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1026
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1027
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1028
|
+
});
|
|
1029
|
+
if (_response.ok) {
|
|
1030
|
+
return {
|
|
1031
|
+
data: serializers.Tool.parseOrThrow(_response.body, {
|
|
1032
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1033
|
+
allowUnrecognizedUnionMembers: true,
|
|
1034
|
+
allowUnrecognizedEnumValues: true,
|
|
1035
|
+
skipValidation: true,
|
|
1036
|
+
breadcrumbsPrefix: ["response"],
|
|
1037
|
+
}),
|
|
1038
|
+
rawResponse: _response.rawResponse,
|
|
1039
|
+
};
|
|
1040
|
+
}
|
|
1041
|
+
if (_response.error.reason === "status-code") {
|
|
1042
|
+
switch (_response.error.statusCode) {
|
|
1043
|
+
case 422:
|
|
1044
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1045
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1046
|
+
allowUnrecognizedUnionMembers: true,
|
|
1047
|
+
allowUnrecognizedEnumValues: true,
|
|
1048
|
+
skipValidation: true,
|
|
1049
|
+
breadcrumbsPrefix: ["response"],
|
|
1050
|
+
}), _response.rawResponse);
|
|
1051
|
+
default:
|
|
1052
|
+
throw new errors.LettaError({
|
|
1053
|
+
statusCode: _response.error.statusCode,
|
|
1054
|
+
body: _response.error.body,
|
|
1055
|
+
rawResponse: _response.rawResponse,
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
switch (_response.error.reason) {
|
|
1060
|
+
case "non-json":
|
|
1061
|
+
throw new errors.LettaError({
|
|
1062
|
+
statusCode: _response.error.statusCode,
|
|
1063
|
+
body: _response.error.rawBody,
|
|
1064
|
+
rawResponse: _response.rawResponse,
|
|
1065
|
+
});
|
|
1066
|
+
case "timeout":
|
|
1067
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/composio/{composio_action_name}.");
|
|
1068
|
+
case "unknown":
|
|
1069
|
+
throw new errors.LettaError({
|
|
1070
|
+
message: _response.error.errorMessage,
|
|
1071
|
+
rawResponse: _response.rawResponse,
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* Get a list of all configured MCP servers
|
|
1078
|
+
*
|
|
1079
|
+
* @param {Letta.ListMcpServersRequest} request
|
|
1080
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1081
|
+
*
|
|
1082
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1083
|
+
*
|
|
1084
|
+
* @example
|
|
1085
|
+
* await client.tools.listMcpServers()
|
|
1086
|
+
*/
|
|
1087
|
+
listMcpServers(request = {}, requestOptions) {
|
|
1088
|
+
return core.HttpResponsePromise.fromPromise(this.__listMcpServers(request, requestOptions));
|
|
1089
|
+
}
|
|
1090
|
+
__listMcpServers() {
|
|
1091
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
1092
|
+
var _a, _b, _c;
|
|
1093
|
+
const { userId } = request;
|
|
1094
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1095
|
+
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/tools/mcp/servers"),
|
|
1096
|
+
method: "GET",
|
|
1097
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1098
|
+
? yield core.Supplier.get(this._options.project)
|
|
1099
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1100
|
+
contentType: "application/json",
|
|
1101
|
+
requestType: "json",
|
|
1102
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1103
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1104
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1105
|
+
});
|
|
1106
|
+
if (_response.ok) {
|
|
1107
|
+
return {
|
|
1108
|
+
data: serializers.tools.listMcpServers.Response.parseOrThrow(_response.body, {
|
|
1109
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1110
|
+
allowUnrecognizedUnionMembers: true,
|
|
1111
|
+
allowUnrecognizedEnumValues: true,
|
|
1112
|
+
skipValidation: true,
|
|
1113
|
+
breadcrumbsPrefix: ["response"],
|
|
1114
|
+
}),
|
|
1115
|
+
rawResponse: _response.rawResponse,
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
if (_response.error.reason === "status-code") {
|
|
1119
|
+
switch (_response.error.statusCode) {
|
|
1120
|
+
case 422:
|
|
1121
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1122
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1123
|
+
allowUnrecognizedUnionMembers: true,
|
|
1124
|
+
allowUnrecognizedEnumValues: true,
|
|
1125
|
+
skipValidation: true,
|
|
1126
|
+
breadcrumbsPrefix: ["response"],
|
|
1127
|
+
}), _response.rawResponse);
|
|
1128
|
+
default:
|
|
1129
|
+
throw new errors.LettaError({
|
|
1130
|
+
statusCode: _response.error.statusCode,
|
|
1131
|
+
body: _response.error.body,
|
|
1132
|
+
rawResponse: _response.rawResponse,
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
switch (_response.error.reason) {
|
|
1137
|
+
case "non-json":
|
|
1138
|
+
throw new errors.LettaError({
|
|
1139
|
+
statusCode: _response.error.statusCode,
|
|
1140
|
+
body: _response.error.rawBody,
|
|
1141
|
+
rawResponse: _response.rawResponse,
|
|
1142
|
+
});
|
|
1143
|
+
case "timeout":
|
|
1144
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/mcp/servers.");
|
|
1145
|
+
case "unknown":
|
|
1146
|
+
throw new errors.LettaError({
|
|
1147
|
+
message: _response.error.errorMessage,
|
|
1148
|
+
rawResponse: _response.rawResponse,
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
/**
|
|
1154
|
+
* Add a new MCP server to the Letta MCP server config
|
|
1155
|
+
*
|
|
1156
|
+
* @param {Letta.AddMcpServerRequest} request
|
|
1157
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1158
|
+
*
|
|
1159
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1160
|
+
*
|
|
1161
|
+
* @example
|
|
1162
|
+
* await client.tools.addMcpServer({
|
|
1163
|
+
* serverName: "server_name",
|
|
1164
|
+
* command: "command",
|
|
1165
|
+
* args: ["args"]
|
|
1166
|
+
* })
|
|
1167
|
+
*/
|
|
1168
|
+
addMcpServer(request, requestOptions) {
|
|
1169
|
+
return core.HttpResponsePromise.fromPromise(this.__addMcpServer(request, requestOptions));
|
|
1170
|
+
}
|
|
1171
|
+
__addMcpServer(request, requestOptions) {
|
|
1172
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1173
|
+
var _a, _b, _c;
|
|
1174
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1175
|
+
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/tools/mcp/servers"),
|
|
1176
|
+
method: "PUT",
|
|
1177
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1178
|
+
? yield core.Supplier.get(this._options.project)
|
|
1179
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1180
|
+
contentType: "application/json",
|
|
1181
|
+
requestType: "json",
|
|
1182
|
+
body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
1183
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1184
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1185
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1186
|
+
});
|
|
1187
|
+
if (_response.ok) {
|
|
1188
|
+
return {
|
|
1189
|
+
data: serializers.tools.addMcpServer.Response.parseOrThrow(_response.body, {
|
|
1190
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1191
|
+
allowUnrecognizedUnionMembers: true,
|
|
1192
|
+
allowUnrecognizedEnumValues: true,
|
|
1193
|
+
skipValidation: true,
|
|
1194
|
+
breadcrumbsPrefix: ["response"],
|
|
1195
|
+
}),
|
|
1196
|
+
rawResponse: _response.rawResponse,
|
|
1197
|
+
};
|
|
1198
|
+
}
|
|
1199
|
+
if (_response.error.reason === "status-code") {
|
|
1200
|
+
switch (_response.error.statusCode) {
|
|
1201
|
+
case 422:
|
|
1202
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1203
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1204
|
+
allowUnrecognizedUnionMembers: true,
|
|
1205
|
+
allowUnrecognizedEnumValues: true,
|
|
1206
|
+
skipValidation: true,
|
|
1207
|
+
breadcrumbsPrefix: ["response"],
|
|
1208
|
+
}), _response.rawResponse);
|
|
1209
|
+
default:
|
|
1210
|
+
throw new errors.LettaError({
|
|
1211
|
+
statusCode: _response.error.statusCode,
|
|
1212
|
+
body: _response.error.body,
|
|
1213
|
+
rawResponse: _response.rawResponse,
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
switch (_response.error.reason) {
|
|
1218
|
+
case "non-json":
|
|
1219
|
+
throw new errors.LettaError({
|
|
1220
|
+
statusCode: _response.error.statusCode,
|
|
1221
|
+
body: _response.error.rawBody,
|
|
1222
|
+
rawResponse: _response.rawResponse,
|
|
1223
|
+
});
|
|
1224
|
+
case "timeout":
|
|
1225
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling PUT /v1/tools/mcp/servers.");
|
|
1226
|
+
case "unknown":
|
|
1227
|
+
throw new errors.LettaError({
|
|
1228
|
+
message: _response.error.errorMessage,
|
|
1229
|
+
rawResponse: _response.rawResponse,
|
|
1230
|
+
});
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* Get a list of all tools for a specific MCP server
|
|
1236
|
+
*
|
|
1237
|
+
* @param {string} mcpServerName
|
|
1238
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1239
|
+
*
|
|
1240
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1241
|
+
*
|
|
1242
|
+
* @example
|
|
1243
|
+
* await client.tools.listMcpToolsByServer("mcp_server_name")
|
|
1244
|
+
*/
|
|
1245
|
+
listMcpToolsByServer(mcpServerName, requestOptions) {
|
|
1246
|
+
return core.HttpResponsePromise.fromPromise(this.__listMcpToolsByServer(mcpServerName, requestOptions));
|
|
1247
|
+
}
|
|
1248
|
+
__listMcpToolsByServer(mcpServerName, requestOptions) {
|
|
1249
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1250
|
+
var _a, _b, _c;
|
|
1251
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1252
|
+
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/tools/mcp/servers/${encodeURIComponent(mcpServerName)}/tools`),
|
|
1253
|
+
method: "GET",
|
|
1254
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1255
|
+
? yield core.Supplier.get(this._options.project)
|
|
1256
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1257
|
+
contentType: "application/json",
|
|
1258
|
+
requestType: "json",
|
|
1259
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1260
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1261
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1262
|
+
});
|
|
1263
|
+
if (_response.ok) {
|
|
1264
|
+
return {
|
|
1265
|
+
data: serializers.tools.listMcpToolsByServer.Response.parseOrThrow(_response.body, {
|
|
1266
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1267
|
+
allowUnrecognizedUnionMembers: true,
|
|
1268
|
+
allowUnrecognizedEnumValues: true,
|
|
1269
|
+
skipValidation: true,
|
|
1270
|
+
breadcrumbsPrefix: ["response"],
|
|
1271
|
+
}),
|
|
1272
|
+
rawResponse: _response.rawResponse,
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
1275
|
+
if (_response.error.reason === "status-code") {
|
|
1276
|
+
switch (_response.error.statusCode) {
|
|
1277
|
+
case 422:
|
|
1278
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1279
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1280
|
+
allowUnrecognizedUnionMembers: true,
|
|
1281
|
+
allowUnrecognizedEnumValues: true,
|
|
1282
|
+
skipValidation: true,
|
|
1283
|
+
breadcrumbsPrefix: ["response"],
|
|
1284
|
+
}), _response.rawResponse);
|
|
1285
|
+
default:
|
|
1286
|
+
throw new errors.LettaError({
|
|
1287
|
+
statusCode: _response.error.statusCode,
|
|
1288
|
+
body: _response.error.body,
|
|
1289
|
+
rawResponse: _response.rawResponse,
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
switch (_response.error.reason) {
|
|
1294
|
+
case "non-json":
|
|
1295
|
+
throw new errors.LettaError({
|
|
1296
|
+
statusCode: _response.error.statusCode,
|
|
1297
|
+
body: _response.error.rawBody,
|
|
1298
|
+
rawResponse: _response.rawResponse,
|
|
1299
|
+
});
|
|
1300
|
+
case "timeout":
|
|
1301
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tools/mcp/servers/{mcp_server_name}/tools.");
|
|
1302
|
+
case "unknown":
|
|
1303
|
+
throw new errors.LettaError({
|
|
1304
|
+
message: _response.error.errorMessage,
|
|
1305
|
+
rawResponse: _response.rawResponse,
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
/**
|
|
1311
|
+
* Register a new MCP tool as a Letta server by MCP server + tool name
|
|
1312
|
+
*
|
|
1313
|
+
* @param {string} mcpServerName
|
|
1314
|
+
* @param {string} mcpToolName
|
|
1315
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1316
|
+
*
|
|
1317
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1318
|
+
*
|
|
1319
|
+
* @example
|
|
1320
|
+
* await client.tools.addMcpTool("mcp_server_name", "mcp_tool_name")
|
|
1321
|
+
*/
|
|
1322
|
+
addMcpTool(mcpServerName, mcpToolName, requestOptions) {
|
|
1323
|
+
return core.HttpResponsePromise.fromPromise(this.__addMcpTool(mcpServerName, mcpToolName, requestOptions));
|
|
1324
|
+
}
|
|
1325
|
+
__addMcpTool(mcpServerName, mcpToolName, requestOptions) {
|
|
1326
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1327
|
+
var _a, _b, _c;
|
|
1328
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1329
|
+
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/tools/mcp/servers/${encodeURIComponent(mcpServerName)}/${encodeURIComponent(mcpToolName)}`),
|
|
1330
|
+
method: "POST",
|
|
1331
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1332
|
+
? yield core.Supplier.get(this._options.project)
|
|
1333
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1334
|
+
contentType: "application/json",
|
|
1335
|
+
requestType: "json",
|
|
1336
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1337
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1338
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1339
|
+
});
|
|
1340
|
+
if (_response.ok) {
|
|
1341
|
+
return {
|
|
1342
|
+
data: serializers.Tool.parseOrThrow(_response.body, {
|
|
1343
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1344
|
+
allowUnrecognizedUnionMembers: true,
|
|
1345
|
+
allowUnrecognizedEnumValues: true,
|
|
1346
|
+
skipValidation: true,
|
|
1347
|
+
breadcrumbsPrefix: ["response"],
|
|
1348
|
+
}),
|
|
1349
|
+
rawResponse: _response.rawResponse,
|
|
1350
|
+
};
|
|
1351
|
+
}
|
|
1352
|
+
if (_response.error.reason === "status-code") {
|
|
1353
|
+
switch (_response.error.statusCode) {
|
|
1354
|
+
case 422:
|
|
1355
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1356
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1357
|
+
allowUnrecognizedUnionMembers: true,
|
|
1358
|
+
allowUnrecognizedEnumValues: true,
|
|
1359
|
+
skipValidation: true,
|
|
1360
|
+
breadcrumbsPrefix: ["response"],
|
|
1361
|
+
}), _response.rawResponse);
|
|
1362
|
+
default:
|
|
1363
|
+
throw new errors.LettaError({
|
|
1364
|
+
statusCode: _response.error.statusCode,
|
|
1365
|
+
body: _response.error.body,
|
|
1366
|
+
rawResponse: _response.rawResponse,
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
switch (_response.error.reason) {
|
|
1371
|
+
case "non-json":
|
|
1372
|
+
throw new errors.LettaError({
|
|
1373
|
+
statusCode: _response.error.statusCode,
|
|
1374
|
+
body: _response.error.rawBody,
|
|
1375
|
+
rawResponse: _response.rawResponse,
|
|
1376
|
+
});
|
|
1377
|
+
case "timeout":
|
|
1378
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/mcp/servers/{mcp_server_name}/{mcp_tool_name}.");
|
|
1379
|
+
case "unknown":
|
|
1380
|
+
throw new errors.LettaError({
|
|
1381
|
+
message: _response.error.errorMessage,
|
|
1382
|
+
rawResponse: _response.rawResponse,
|
|
1383
|
+
});
|
|
1384
|
+
}
|
|
1385
|
+
});
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* Delete a MCP server configuration
|
|
1389
|
+
*
|
|
1390
|
+
* @param {string} mcpServerName
|
|
1391
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1392
|
+
*
|
|
1393
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1394
|
+
*
|
|
1395
|
+
* @example
|
|
1396
|
+
* await client.tools.deleteMcpServer("mcp_server_name")
|
|
1397
|
+
*/
|
|
1398
|
+
deleteMcpServer(mcpServerName, requestOptions) {
|
|
1399
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteMcpServer(mcpServerName, requestOptions));
|
|
1400
|
+
}
|
|
1401
|
+
__deleteMcpServer(mcpServerName, requestOptions) {
|
|
1402
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1403
|
+
var _a, _b, _c;
|
|
1404
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1405
|
+
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/tools/mcp/servers/${encodeURIComponent(mcpServerName)}`),
|
|
1406
|
+
method: "DELETE",
|
|
1407
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1408
|
+
? yield core.Supplier.get(this._options.project)
|
|
1409
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1410
|
+
contentType: "application/json",
|
|
1411
|
+
requestType: "json",
|
|
1412
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1413
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1414
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1415
|
+
});
|
|
1416
|
+
if (_response.ok) {
|
|
1417
|
+
return {
|
|
1418
|
+
data: serializers.tools.deleteMcpServer.Response.parseOrThrow(_response.body, {
|
|
1419
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1420
|
+
allowUnrecognizedUnionMembers: true,
|
|
1421
|
+
allowUnrecognizedEnumValues: true,
|
|
1422
|
+
skipValidation: true,
|
|
1423
|
+
breadcrumbsPrefix: ["response"],
|
|
1424
|
+
}),
|
|
1425
|
+
rawResponse: _response.rawResponse,
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
if (_response.error.reason === "status-code") {
|
|
1429
|
+
switch (_response.error.statusCode) {
|
|
1430
|
+
case 422:
|
|
1431
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1432
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1433
|
+
allowUnrecognizedUnionMembers: true,
|
|
1434
|
+
allowUnrecognizedEnumValues: true,
|
|
1435
|
+
skipValidation: true,
|
|
1436
|
+
breadcrumbsPrefix: ["response"],
|
|
1437
|
+
}), _response.rawResponse);
|
|
1438
|
+
default:
|
|
1439
|
+
throw new errors.LettaError({
|
|
1440
|
+
statusCode: _response.error.statusCode,
|
|
1441
|
+
body: _response.error.body,
|
|
1442
|
+
rawResponse: _response.rawResponse,
|
|
1443
|
+
});
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
switch (_response.error.reason) {
|
|
1447
|
+
case "non-json":
|
|
1448
|
+
throw new errors.LettaError({
|
|
1449
|
+
statusCode: _response.error.statusCode,
|
|
1450
|
+
body: _response.error.rawBody,
|
|
1451
|
+
rawResponse: _response.rawResponse,
|
|
1452
|
+
});
|
|
1453
|
+
case "timeout":
|
|
1454
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling DELETE /v1/tools/mcp/servers/{mcp_server_name}.");
|
|
1455
|
+
case "unknown":
|
|
1456
|
+
throw new errors.LettaError({
|
|
1457
|
+
message: _response.error.errorMessage,
|
|
1458
|
+
rawResponse: _response.rawResponse,
|
|
1459
|
+
});
|
|
1460
|
+
}
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* Update an existing MCP server configuration
|
|
1465
|
+
*
|
|
1466
|
+
* @param {string} mcpServerName
|
|
1467
|
+
* @param {Letta.UpdateMcpServerRequest} request
|
|
1468
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1469
|
+
*
|
|
1470
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1471
|
+
*
|
|
1472
|
+
* @example
|
|
1473
|
+
* await client.tools.updateMcpServer("mcp_server_name", {})
|
|
1474
|
+
*/
|
|
1475
|
+
updateMcpServer(mcpServerName, request, requestOptions) {
|
|
1476
|
+
return core.HttpResponsePromise.fromPromise(this.__updateMcpServer(mcpServerName, request, requestOptions));
|
|
1477
|
+
}
|
|
1478
|
+
__updateMcpServer(mcpServerName, request, requestOptions) {
|
|
1479
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1480
|
+
var _a, _b, _c;
|
|
1481
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1482
|
+
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/tools/mcp/servers/${encodeURIComponent(mcpServerName)}`),
|
|
1483
|
+
method: "PATCH",
|
|
1484
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1485
|
+
? yield core.Supplier.get(this._options.project)
|
|
1486
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1487
|
+
contentType: "application/json",
|
|
1488
|
+
requestType: "json",
|
|
1489
|
+
body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
1490
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1491
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1492
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1493
|
+
});
|
|
1494
|
+
if (_response.ok) {
|
|
1495
|
+
return {
|
|
1496
|
+
data: serializers.UpdateMcpServerResponse.parseOrThrow(_response.body, {
|
|
1497
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1498
|
+
allowUnrecognizedUnionMembers: true,
|
|
1499
|
+
allowUnrecognizedEnumValues: true,
|
|
1500
|
+
skipValidation: true,
|
|
1501
|
+
breadcrumbsPrefix: ["response"],
|
|
1502
|
+
}),
|
|
1503
|
+
rawResponse: _response.rawResponse,
|
|
1504
|
+
};
|
|
1505
|
+
}
|
|
1506
|
+
if (_response.error.reason === "status-code") {
|
|
1507
|
+
switch (_response.error.statusCode) {
|
|
1508
|
+
case 422:
|
|
1509
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1510
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1511
|
+
allowUnrecognizedUnionMembers: true,
|
|
1512
|
+
allowUnrecognizedEnumValues: true,
|
|
1513
|
+
skipValidation: true,
|
|
1514
|
+
breadcrumbsPrefix: ["response"],
|
|
1515
|
+
}), _response.rawResponse);
|
|
1516
|
+
default:
|
|
1517
|
+
throw new errors.LettaError({
|
|
1518
|
+
statusCode: _response.error.statusCode,
|
|
1519
|
+
body: _response.error.body,
|
|
1520
|
+
rawResponse: _response.rawResponse,
|
|
1521
|
+
});
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
switch (_response.error.reason) {
|
|
1525
|
+
case "non-json":
|
|
1526
|
+
throw new errors.LettaError({
|
|
1527
|
+
statusCode: _response.error.statusCode,
|
|
1528
|
+
body: _response.error.rawBody,
|
|
1529
|
+
rawResponse: _response.rawResponse,
|
|
1530
|
+
});
|
|
1531
|
+
case "timeout":
|
|
1532
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/tools/mcp/servers/{mcp_server_name}.");
|
|
1533
|
+
case "unknown":
|
|
1534
|
+
throw new errors.LettaError({
|
|
1535
|
+
message: _response.error.errorMessage,
|
|
1536
|
+
rawResponse: _response.rawResponse,
|
|
1537
|
+
});
|
|
1538
|
+
}
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Test connection to an MCP server without adding it.
|
|
1543
|
+
* Returns the list of available tools if successful.
|
|
1544
|
+
*
|
|
1545
|
+
* @param {Letta.TestMcpServerRequest} request
|
|
1546
|
+
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
1547
|
+
*
|
|
1548
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
1549
|
+
*
|
|
1550
|
+
* @example
|
|
1551
|
+
* await client.tools.testMcpServer({
|
|
1552
|
+
* serverName: "server_name",
|
|
1553
|
+
* command: "command",
|
|
1554
|
+
* args: ["args"]
|
|
1555
|
+
* })
|
|
1556
|
+
*/
|
|
1557
|
+
testMcpServer(request, requestOptions) {
|
|
1558
|
+
return core.HttpResponsePromise.fromPromise(this.__testMcpServer(request, requestOptions));
|
|
1559
|
+
}
|
|
1560
|
+
__testMcpServer(request, requestOptions) {
|
|
1561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1562
|
+
var _a, _b, _c;
|
|
1563
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1564
|
+
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/tools/mcp/servers/test"),
|
|
1565
|
+
method: "POST",
|
|
1566
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1567
|
+
? yield core.Supplier.get(this._options.project)
|
|
1568
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1569
|
+
contentType: "application/json",
|
|
1570
|
+
requestType: "json",
|
|
1571
|
+
body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
1572
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1573
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1574
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1575
|
+
});
|
|
1576
|
+
if (_response.ok) {
|
|
1577
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1578
|
+
}
|
|
1579
|
+
if (_response.error.reason === "status-code") {
|
|
1580
|
+
switch (_response.error.statusCode) {
|
|
1581
|
+
case 422:
|
|
1582
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1583
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1584
|
+
allowUnrecognizedUnionMembers: true,
|
|
1585
|
+
allowUnrecognizedEnumValues: true,
|
|
1586
|
+
skipValidation: true,
|
|
1587
|
+
breadcrumbsPrefix: ["response"],
|
|
1588
|
+
}), _response.rawResponse);
|
|
1589
|
+
default:
|
|
1590
|
+
throw new errors.LettaError({
|
|
1591
|
+
statusCode: _response.error.statusCode,
|
|
1592
|
+
body: _response.error.body,
|
|
1593
|
+
rawResponse: _response.rawResponse,
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
switch (_response.error.reason) {
|
|
1598
|
+
case "non-json":
|
|
1599
|
+
throw new errors.LettaError({
|
|
1600
|
+
statusCode: _response.error.statusCode,
|
|
1601
|
+
body: _response.error.rawBody,
|
|
1602
|
+
rawResponse: _response.rawResponse,
|
|
1603
|
+
});
|
|
1604
|
+
case "timeout":
|
|
1605
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/mcp/servers/test.");
|
|
1606
|
+
case "unknown":
|
|
1607
|
+
throw new errors.LettaError({
|
|
1608
|
+
message: _response.error.errorMessage,
|
|
1609
|
+
rawResponse: _response.rawResponse,
|
|
1610
|
+
});
|
|
1611
|
+
}
|
|
1612
|
+
});
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Connect to an MCP server with support for OAuth via SSE.
|
|
1616
|
+
* Returns a stream of events handling authorization state and exchange if OAuth is required.
|
|
1617
|
+
*/
|
|
1618
|
+
connectMcpServer(request, requestOptions) {
|
|
1619
|
+
return core.HttpResponsePromise.fromPromise(this.__connectMcpServer(request, requestOptions));
|
|
1620
|
+
}
|
|
1621
|
+
__connectMcpServer(request, requestOptions) {
|
|
1622
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1623
|
+
var _a, _b, _c;
|
|
1624
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1625
|
+
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/tools/mcp/servers/connect"),
|
|
1626
|
+
method: "POST",
|
|
1627
|
+
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1628
|
+
? yield core.Supplier.get(this._options.project)
|
|
1629
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68636", "User-Agent": "@letta-ai/letta-client/0.1.212", "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),
|
|
1630
|
+
contentType: "application/json",
|
|
1631
|
+
requestType: "json",
|
|
1632
|
+
body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
1633
|
+
responseType: "sse",
|
|
1634
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1635
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1636
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1637
|
+
});
|
|
1638
|
+
if (_response.ok) {
|
|
1639
|
+
return {
|
|
1640
|
+
data: new core.Stream({
|
|
1641
|
+
stream: _response.body,
|
|
1642
|
+
parse: (data) => __awaiter(this, void 0, void 0, function* () {
|
|
1643
|
+
return serializers.StreamingResponse.parseOrThrow(data, {
|
|
1644
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1645
|
+
allowUnrecognizedUnionMembers: true,
|
|
1646
|
+
allowUnrecognizedEnumValues: true,
|
|
1647
|
+
skipValidation: true,
|
|
1648
|
+
breadcrumbsPrefix: ["response"],
|
|
1649
|
+
});
|
|
1650
|
+
}),
|
|
1651
|
+
signal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1652
|
+
eventShape: {
|
|
1653
|
+
type: "sse",
|
|
1654
|
+
streamTerminator: "[DONE]",
|
|
1655
|
+
},
|
|
1656
|
+
}),
|
|
1657
|
+
rawResponse: _response.rawResponse,
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
if (_response.error.reason === "status-code") {
|
|
1661
|
+
switch (_response.error.statusCode) {
|
|
1662
|
+
case 422:
|
|
1663
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
1664
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1665
|
+
allowUnrecognizedUnionMembers: true,
|
|
1666
|
+
allowUnrecognizedEnumValues: true,
|
|
1667
|
+
skipValidation: true,
|
|
1668
|
+
breadcrumbsPrefix: ["response"],
|
|
1669
|
+
}), _response.rawResponse);
|
|
1670
|
+
default:
|
|
1671
|
+
throw new errors.LettaError({
|
|
1672
|
+
statusCode: _response.error.statusCode,
|
|
1673
|
+
body: _response.error.body,
|
|
1674
|
+
rawResponse: _response.rawResponse,
|
|
1675
|
+
});
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
switch (_response.error.reason) {
|
|
1679
|
+
case "non-json":
|
|
1680
|
+
throw new errors.LettaError({
|
|
1681
|
+
statusCode: _response.error.statusCode,
|
|
1682
|
+
body: _response.error.rawBody,
|
|
1683
|
+
rawResponse: _response.rawResponse,
|
|
1684
|
+
});
|
|
1685
|
+
case "timeout":
|
|
1686
|
+
throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/tools/mcp/servers/connect.");
|
|
1687
|
+
case "unknown":
|
|
1688
|
+
throw new errors.LettaError({
|
|
1689
|
+
message: _response.error.errorMessage,
|
|
1690
|
+
rawResponse: _response.rawResponse,
|
|
1691
|
+
});
|
|
1692
|
+
}
|
|
1693
|
+
});
|
|
1694
|
+
}
|
|
1695
|
+
_getCustomAuthorizationHeaders() {
|
|
1696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1697
|
+
const tokenValue = yield core.Supplier.get(this._options.token);
|
|
1698
|
+
return { Authorization: `Bearer ${tokenValue}` };
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
exports.Tools = Tools;
|