@letta-ai/letta-client 1.0.0-alpha.1 → 1.0.0-alpha.3
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 +3 -0
- package/Client.js +37 -32
- package/README.md +320 -88
- package/api/errors/GoneError.d.ts +8 -0
- package/api/errors/GoneError.js +52 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/agents/client/Client.d.ts +23 -6
- package/api/resources/agents/client/Client.js +34 -19
- package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +4 -1
- package/api/resources/agents/client/requests/AgentsListRequest.d.ts +16 -1
- package/api/resources/agents/client/requests/BodyImportAgent.d.ts +3 -1
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -2
- package/api/resources/agents/resources/blocks/client/Client.d.ts +9 -2
- package/api/resources/agents/resources/blocks/client/Client.js +37 -10
- package/api/resources/agents/resources/blocks/client/index.d.ts +1 -1
- package/api/resources/agents/resources/blocks/client/index.js +15 -0
- package/api/resources/agents/resources/blocks/client/requests/BlocksListRequest.d.ts +36 -0
- package/api/resources/agents/resources/blocks/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/index.js +1 -0
- package/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +10 -0
- package/api/resources/agents/resources/blocks/types/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/types/index.js +17 -0
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.d.ts +9 -1
- package/api/resources/agents/resources/files/client/Client.js +30 -8
- package/api/resources/agents/resources/files/client/requests/FilesListRequest.d.ts +29 -4
- package/api/resources/agents/resources/files/index.d.ts +1 -0
- package/api/resources/agents/resources/files/index.js +1 -0
- package/api/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/files/types/FilesListRequestOrder.js +10 -0
- package/api/resources/agents/resources/files/types/index.d.ts +1 -0
- package/api/resources/agents/resources/files/types/index.js +17 -0
- package/api/resources/agents/resources/folders/client/Client.d.ts +9 -2
- package/api/resources/agents/resources/folders/client/Client.js +35 -8
- package/api/resources/agents/resources/folders/client/index.d.ts +1 -1
- package/api/resources/agents/resources/folders/client/index.js +15 -0
- package/api/resources/agents/resources/folders/client/requests/FoldersListRequest.d.ts +36 -0
- package/api/resources/agents/resources/folders/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/index.js +1 -0
- package/api/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/folders/types/FoldersListRequestOrder.js +10 -0
- package/api/resources/agents/resources/folders/types/index.d.ts +1 -0
- package/api/resources/agents/resources/folders/types/index.js +17 -0
- package/api/resources/agents/resources/groups/client/Client.d.ts +8 -1
- package/api/resources/agents/resources/groups/client/Client.js +28 -4
- package/api/resources/agents/resources/groups/client/requests/GroupsListRequest.d.ts +29 -1
- package/api/resources/agents/resources/groups/index.d.ts +1 -0
- package/api/resources/agents/resources/groups/index.js +1 -0
- package/api/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/groups/types/GroupsListRequestOrder.js +10 -0
- package/api/resources/agents/resources/groups/types/index.d.ts +1 -0
- package/api/resources/agents/resources/groups/types/index.js +17 -0
- package/api/resources/agents/resources/index.d.ts +15 -9
- package/api/resources/agents/resources/index.js +16 -10
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.d.ts +15 -2
- package/api/resources/agents/resources/messages/client/Client.js +38 -17
- package/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +26 -6
- package/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts +3 -1
- package/api/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/messages/types/MessagesListRequestOrder.js +10 -0
- package/api/resources/agents/resources/messages/types/index.d.ts +1 -0
- package/api/resources/agents/resources/messages/types/index.js +1 -0
- package/api/resources/agents/resources/passages/client/Client.d.ts +12 -2
- package/api/resources/agents/resources/passages/client/Client.js +17 -7
- package/api/resources/agents/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
- package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +5 -1
- package/api/resources/agents/resources/sources/client/Client.d.ts +9 -2
- package/api/resources/agents/resources/sources/client/Client.js +35 -8
- package/api/resources/agents/resources/sources/client/index.d.ts +1 -1
- package/api/resources/agents/resources/sources/client/index.js +15 -0
- package/api/resources/agents/resources/sources/client/requests/SourcesListRequest.d.ts +36 -0
- package/api/resources/agents/resources/sources/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/client/requests/index.js +2 -0
- package/api/resources/agents/resources/sources/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/index.js +1 -0
- package/api/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/sources/types/SourcesListRequestOrder.js +10 -0
- package/api/resources/agents/resources/sources/types/index.d.ts +1 -0
- package/api/resources/agents/resources/sources/types/index.js +17 -0
- package/api/resources/agents/resources/tools/client/Client.d.ts +9 -2
- package/api/resources/agents/resources/tools/client/Client.js +37 -10
- package/api/resources/agents/resources/tools/client/requests/ToolsListRequest.d.ts +36 -0
- package/api/resources/agents/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/tools/index.d.ts +1 -0
- package/api/resources/agents/resources/tools/index.js +1 -0
- package/api/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +11 -0
- package/api/resources/agents/resources/tools/types/ToolsListRequestOrder.js +10 -0
- package/api/resources/agents/resources/tools/types/index.d.ts +1 -0
- package/api/resources/agents/resources/tools/types/index.js +17 -0
- package/api/resources/archives/client/Client.d.ts +8 -1
- package/api/resources/archives/client/Client.js +11 -4
- package/api/resources/archives/client/requests/ListArchivesRequest.d.ts +8 -1
- package/api/resources/batches/client/Client.d.ts +7 -1
- package/api/resources/batches/client/Client.js +11 -5
- package/api/resources/batches/client/requests/BatchesListRequest.d.ts +7 -1
- package/api/resources/batches/resources/messages/client/Client.d.ts +8 -1
- package/api/resources/batches/resources/messages/client/Client.js +9 -2
- package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +8 -1
- package/api/resources/blocks/client/Client.d.ts +17 -1
- package/api/resources/blocks/client/Client.js +23 -7
- package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +17 -1
- package/api/resources/blocks/resources/agents/client/Client.d.ts +7 -1
- package/api/resources/blocks/resources/agents/client/Client.js +8 -2
- package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- package/api/resources/chat/client/Client.d.ts +61 -0
- package/api/resources/chat/client/Client.js +158 -0
- package/api/resources/chat/client/requests/ChatCompletionRequest.d.ts +38 -0
- package/api/resources/chat/client/requests/index.d.ts +1 -0
- package/api/resources/chat/client/requests/index.js +2 -0
- package/api/resources/chat/types/ChatCompletionRequestMessagesItem.d.ts +5 -0
- package/api/resources/chat/types/ChatCompletionRequestStop.d.ts +7 -0
- package/api/resources/chat/types/index.d.ts +2 -0
- package/api/resources/{agents/resources/templates → chat}/types/index.js +2 -1
- package/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +8 -4
- package/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.d.ts +5 -1
- package/api/resources/folders/client/Client.d.ts +11 -2
- package/api/resources/folders/client/Client.js +19 -10
- package/api/resources/folders/client/requests/FoldersListRequest.d.ts +8 -1
- package/api/resources/folders/client/requests/RetrieveMetadataRequest.d.ts +3 -1
- package/api/resources/folders/resources/agents/client/Client.d.ts +7 -1
- package/api/resources/folders/resources/agents/client/Client.js +8 -2
- package/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- package/api/resources/folders/resources/files/client/Client.d.ts +12 -2
- package/api/resources/folders/resources/files/client/Client.js +15 -5
- package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +4 -1
- package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +8 -1
- package/api/resources/folders/resources/passages/client/Client.d.ts +7 -1
- package/api/resources/folders/resources/passages/client/Client.js +8 -2
- package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
- package/api/resources/groups/client/Client.d.ts +9 -1
- package/api/resources/groups/client/Client.js +15 -7
- package/api/resources/groups/client/requests/GroupsListRequest.d.ts +9 -1
- package/api/resources/groups/resources/messages/client/Client.d.ts +10 -1
- package/api/resources/groups/resources/messages/client/Client.js +15 -6
- package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +10 -1
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.d.ts +11 -1
- package/api/resources/identities/client/Client.js +18 -8
- package/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +11 -1
- package/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
- package/api/resources/identities/resources/agents/client/Client.js +8 -2
- package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- package/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
- package/api/resources/identities/resources/blocks/client/Client.js +8 -2
- package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +7 -1
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +5 -1
- package/api/resources/index.js +6 -2
- package/api/resources/jobs/client/Client.d.ts +17 -2
- package/api/resources/jobs/client/Client.js +32 -9
- package/api/resources/jobs/client/requests/JobsListActiveRequest.d.ts +7 -1
- package/api/resources/jobs/client/requests/JobsListRequest.d.ts +23 -5
- package/api/resources/jobs/index.d.ts +1 -0
- package/api/resources/jobs/index.js +1 -0
- package/api/resources/jobs/types/JobsListRequestOrder.d.ts +11 -0
- package/api/resources/jobs/types/JobsListRequestOrder.js +10 -0
- package/api/resources/jobs/types/index.d.ts +1 -0
- package/api/resources/jobs/types/index.js +17 -0
- package/api/resources/models/client/Client.d.ts +4 -1
- package/api/resources/models/client/Client.js +6 -3
- package/api/resources/models/client/requests/ModelsListRequest.d.ts +4 -1
- package/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/api/resources/projects/client/Client.d.ts +5 -1
- package/api/resources/projects/client/Client.js +6 -2
- package/api/resources/projects/client/requests/ProjectsListRequest.d.ts +5 -1
- package/api/resources/providers/client/Client.d.ts +22 -1
- package/api/resources/providers/client/Client.js +82 -7
- package/api/resources/providers/client/requests/ProvidersListRequest.d.ts +9 -1
- package/api/resources/runs/client/Client.d.ts +29 -2
- package/api/resources/runs/client/Client.js +117 -11
- package/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +4 -1
- package/api/resources/runs/client/requests/RunsListRequest.d.ts +29 -6
- package/api/resources/runs/resources/index.d.ts +2 -1
- package/api/resources/runs/resources/index.js +3 -2
- package/api/resources/runs/resources/messages/client/Client.d.ts +7 -1
- package/api/resources/runs/resources/messages/client/Client.js +12 -3
- package/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts +11 -1
- package/api/resources/runs/resources/steps/client/Client.d.ts +8 -12
- package/api/resources/runs/resources/steps/client/Client.js +17 -16
- package/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts +14 -3
- package/api/resources/runs/resources/steps/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/index.js +1 -0
- package/api/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +11 -0
- package/api/resources/runs/resources/steps/types/StepsListRequestOrder.js +10 -0
- package/api/resources/runs/resources/steps/types/index.d.ts +1 -0
- package/api/resources/runs/resources/steps/types/index.js +17 -0
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/runs/types/RunsListRequestOrder.d.ts +11 -0
- package/api/resources/runs/types/RunsListRequestOrder.js +10 -0
- package/api/resources/runs/types/index.d.ts +1 -0
- package/api/resources/runs/types/index.js +1 -0
- package/api/resources/sources/client/Client.d.ts +6 -2
- package/api/resources/sources/client/Client.js +16 -12
- package/api/resources/sources/client/requests/GetFileMetadataRequest.d.ts +3 -1
- package/api/resources/sources/client/requests/GetSourcesMetadataRequest.d.ts +3 -1
- package/api/resources/sources/resources/files/client/Client.d.ts +10 -2
- package/api/resources/sources/resources/files/client/Client.js +13 -5
- package/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +4 -1
- package/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +6 -1
- package/api/resources/sources/resources/passages/client/Client.d.ts +5 -1
- package/api/resources/sources/resources/passages/client/Client.js +6 -2
- package/api/resources/sources/resources/passages/client/requests/PassagesListRequest.d.ts +5 -1
- package/api/resources/steps/client/Client.d.ts +14 -1
- package/api/resources/steps/client/Client.js +16 -3
- package/api/resources/steps/client/requests/StepsListRequest.d.ts +14 -1
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/messages/client/Client.d.ts +7 -1
- package/api/resources/steps/resources/messages/client/Client.js +8 -2
- package/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +7 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/api/resources/tags/client/Client.d.ts +9 -1
- package/api/resources/tags/client/Client.js +10 -2
- package/api/resources/tags/client/requests/TagsListRequest.d.ts +9 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.d.ts +17 -3
- package/api/resources/templates/client/Client.js +30 -16
- package/api/resources/templates/client/requests/TemplatesListRequest.d.ts +12 -1
- package/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +4 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.d.ts +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.d.ts +4 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +1 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +4 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +1 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +4 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +2 -2
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
- package/api/resources/templates/types/index.d.ts +6 -0
- package/api/resources/templates/types/index.js +6 -0
- package/api/resources/tools/client/Client.d.ts +16 -40
- package/api/resources/tools/client/Client.js +33 -246
- package/api/resources/tools/client/requests/ToolsCountRequest.d.ts +6 -1
- package/api/resources/tools/client/requests/ToolsListRequest.d.ts +10 -1
- package/api/resources/voice/client/Client.d.ts +8 -0
- package/api/resources/voice/client/Client.js +11 -1
- package/api/types/AgentEnvironmentVariable.d.ts +2 -0
- package/api/types/Annotation.d.ts +10 -0
- package/api/types/AnnotationUrlCitation.d.ts +11 -0
- package/api/types/ApprovalCreate.d.ts +5 -2
- package/api/types/ApprovalCreateApprovalsItem.d.ts +5 -0
- package/api/types/ApprovalResponseMessage.d.ts +5 -2
- package/api/types/ApprovalResponseMessageApprovalsItem.d.ts +5 -0
- package/api/types/ApprovalReturn.d.ts +12 -0
- package/{dist/api/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts → api/types/Audio.d.ts} +2 -2
- package/api/types/ChatCompletion.d.ts +16 -0
- package/api/types/ChatCompletionAssistantMessageParam.d.ts +13 -0
- package/api/types/ChatCompletionAssistantMessageParamContent.d.ts +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/ChatCompletionAudio.d.ts +11 -0
- package/api/types/ChatCompletionAudio.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/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/ChatCompletionFunctionMessageParam.d.ts +8 -0
- package/api/types/ChatCompletionFunctionMessageParam.js +5 -0
- package/api/types/ChatCompletionMessage.d.ts +15 -0
- package/api/types/ChatCompletionMessage.js +5 -0
- package/api/types/ChatCompletionMessageCustomToolCall.d.ts +11 -0
- package/api/types/ChatCompletionMessageCustomToolCall.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/{ChatCompletionMessageFunctionToolCall.d.ts → ChatCompletionMessageFunctionToolCallOutput.d.ts} +2 -2
- 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/ChatCompletionMessageToolCallsItem.d.ts +5 -0
- package/api/types/ChatCompletionMessageToolCallsItem.js +5 -0
- package/api/types/ChatCompletionServiceTier.d.ts +11 -0
- package/api/types/ChatCompletionServiceTier.js +13 -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/ChatCompletionTokenLogprob.d.ts +12 -0
- package/api/types/ChatCompletionTokenLogprob.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/Choice.d.ts +12 -0
- package/api/types/Choice.js +5 -0
- package/api/types/ChoiceFinishReason.d.ts +11 -0
- package/api/types/ChoiceFinishReason.js +13 -0
- package/api/types/ChoiceLogprobs.d.ts +10 -0
- package/api/types/ChoiceLogprobs.js +5 -0
- package/api/types/CompletionTokensDetails.d.ts +11 -0
- package/api/types/CompletionTokensDetails.js +5 -0
- package/api/types/CompletionUsage.d.ts +13 -0
- package/api/types/CompletionUsage.js +5 -0
- package/api/types/CustomInput.d.ts +7 -0
- package/api/types/CustomInput.js +5 -0
- package/api/types/CustomOutput.d.ts +9 -0
- package/api/types/CustomOutput.js +5 -0
- package/api/types/FileFile.d.ts +8 -0
- package/api/types/FileFile.js +5 -0
- package/api/types/File_.d.ts +8 -0
- package/api/types/File_.js +5 -0
- package/api/types/FunctionCallInput.d.ts +7 -0
- package/api/types/FunctionCallInput.js +5 -0
- package/api/types/FunctionCallOutput.d.ts +9 -0
- package/api/types/FunctionCallOutput.js +5 -0
- package/api/types/{Function.d.ts → FunctionOutput.d.ts} +1 -1
- package/api/types/FunctionOutput.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/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 +2 -2
- package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -2
- package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +10 -2
- package/api/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.js +5 -0
- package/api/types/LettaSchemasLettaMessageToolReturn.d.ts +12 -0
- package/api/types/LettaSchemasLettaMessageToolReturn.js +5 -0
- package/api/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +8 -0
- package/api/types/LettaSchemasLettaMessageToolReturnStatus.js +10 -0
- package/{dist/api/types/ToolReturn.d.ts → api/types/LettaSchemasMessageToolReturn.d.ts} +5 -2
- package/api/types/LettaSchemasMessageToolReturn.js +5 -0
- package/api/types/{ToolReturnStatus.d.ts → LettaSchemasMessageToolReturnStatus.d.ts} +2 -2
- package/api/types/{ToolReturnStatus.js → LettaSchemasMessageToolReturnStatus.js} +2 -2
- package/api/types/LlmConfig.d.ts +2 -0
- package/api/types/Message.d.ts +4 -2
- package/api/types/MessageApprovalsItem.d.ts +5 -0
- package/api/types/MessageApprovalsItem.js +5 -0
- package/api/types/OmittedReasoningContent.d.ts +2 -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/PromptTokensDetails.d.ts +9 -0
- package/api/types/PromptTokensDetails.js +5 -0
- package/api/types/Provider.d.ts +4 -0
- package/api/types/RunMetrics.d.ts +21 -0
- package/api/types/RunMetrics.js +5 -0
- package/api/types/SandboxEnvironmentVariable.d.ts +2 -0
- package/api/types/TextContent.d.ts +2 -0
- package/api/types/ToolCallContent.d.ts +2 -0
- package/api/types/ToolCallMessage.d.ts +1 -0
- package/api/types/ToolCallMessageToolCalls.d.ts +5 -0
- package/api/types/ToolCallMessageToolCalls.js +5 -0
- package/api/types/ToolReturnMessage.d.ts +7 -5
- package/api/types/ToolType.d.ts +2 -2
- package/api/types/ToolType.js +1 -1
- package/api/types/TopLogprob.d.ts +10 -0
- package/api/types/TopLogprob.js +5 -0
- package/api/types/index.d.ts +63 -11
- package/api/types/index.js +63 -11
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +37 -32
- package/dist/api/errors/GoneError.d.ts +8 -0
- package/dist/api/errors/GoneError.js +52 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/resources/agents/client/Client.d.ts +23 -6
- package/dist/api/resources/agents/client/Client.js +34 -19
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +4 -1
- package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +16 -1
- package/dist/api/resources/agents/client/requests/BodyImportAgent.d.ts +3 -1
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -2
- package/dist/api/resources/agents/resources/blocks/client/Client.d.ts +9 -2
- package/dist/api/resources/agents/resources/blocks/client/Client.js +37 -10
- package/dist/api/resources/agents/resources/blocks/client/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/blocks/client/index.js +15 -0
- package/dist/api/resources/agents/resources/blocks/client/requests/BlocksListRequest.d.ts +36 -0
- package/dist/api/resources/agents/resources/blocks/client/requests/BlocksListRequest.js +5 -0
- package/dist/api/resources/agents/resources/blocks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/blocks/client/requests/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 +1 -0
- package/dist/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/blocks/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/blocks/types/index.js +17 -0
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.d.ts +9 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +30 -8
- package/dist/api/resources/agents/resources/files/client/requests/FilesListRequest.d.ts +29 -4
- package/dist/api/resources/agents/resources/files/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/index.js +1 -0
- package/dist/api/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/files/types/FilesListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/files/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/types/index.js +17 -0
- package/dist/api/resources/agents/resources/folders/client/Client.d.ts +9 -2
- package/dist/api/resources/agents/resources/folders/client/Client.js +35 -8
- package/dist/api/resources/agents/resources/folders/client/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/folders/client/index.js +15 -0
- package/dist/api/resources/agents/resources/folders/client/requests/FoldersListRequest.d.ts +36 -0
- package/dist/api/resources/agents/resources/folders/client/requests/FoldersListRequest.js +5 -0
- package/dist/api/resources/agents/resources/folders/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/folders/client/requests/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 +1 -0
- package/dist/api/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/folders/types/FoldersListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/folders/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/folders/types/index.js +17 -0
- package/dist/api/resources/agents/resources/groups/client/Client.d.ts +8 -1
- package/dist/api/resources/agents/resources/groups/client/Client.js +28 -4
- package/dist/api/resources/agents/resources/groups/client/requests/GroupsListRequest.d.ts +29 -1
- package/dist/api/resources/agents/resources/groups/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/index.js +1 -0
- package/dist/api/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/groups/types/GroupsListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/groups/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/groups/types/index.js +17 -0
- package/dist/api/resources/agents/resources/index.d.ts +15 -9
- package/dist/api/resources/agents/resources/index.js +16 -10
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +15 -2
- package/dist/api/resources/agents/resources/messages/client/Client.js +38 -17
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +26 -6
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesResetRequest.d.ts +3 -1
- package/dist/api/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/messages/types/MessagesListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/messages/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/messages/types/index.js +1 -0
- package/dist/api/resources/agents/resources/passages/client/Client.d.ts +12 -2
- package/dist/api/resources/agents/resources/passages/client/Client.js +17 -7
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +5 -1
- package/dist/api/resources/agents/resources/sources/client/Client.d.ts +9 -2
- package/dist/api/resources/agents/resources/sources/client/Client.js +35 -8
- package/dist/api/resources/agents/resources/sources/client/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/sources/client/index.js +15 -0
- package/dist/api/resources/agents/resources/sources/client/requests/SourcesListRequest.d.ts +36 -0
- package/dist/api/resources/agents/resources/sources/client/requests/SourcesListRequest.js +5 -0
- package/dist/api/resources/agents/resources/sources/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/sources/client/requests/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 +1 -0
- package/dist/api/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/sources/types/SourcesListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/sources/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/sources/types/index.js +17 -0
- package/dist/api/resources/agents/resources/tools/client/Client.d.ts +9 -2
- package/dist/api/resources/agents/resources/tools/client/Client.js +37 -10
- package/dist/api/resources/agents/resources/tools/client/requests/ToolsListRequest.d.ts +36 -0
- package/dist/api/resources/agents/resources/tools/client/requests/ToolsListRequest.js +5 -0
- package/dist/api/resources/agents/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/tools/index.js +1 -0
- package/dist/api/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/agents/resources/tools/types/ToolsListRequestOrder.js +10 -0
- package/dist/api/resources/agents/resources/tools/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/tools/types/index.js +17 -0
- package/dist/api/resources/archives/client/Client.d.ts +8 -1
- package/dist/api/resources/archives/client/Client.js +11 -4
- package/dist/api/resources/archives/client/requests/ListArchivesRequest.d.ts +8 -1
- package/dist/api/resources/batches/client/Client.d.ts +7 -1
- package/dist/api/resources/batches/client/Client.js +11 -5
- package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +7 -1
- package/dist/api/resources/batches/resources/messages/client/Client.d.ts +8 -1
- package/dist/api/resources/batches/resources/messages/client/Client.js +9 -2
- package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +8 -1
- package/dist/api/resources/blocks/client/Client.d.ts +17 -1
- package/dist/api/resources/blocks/client/Client.js +23 -7
- package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +17 -1
- package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +7 -1
- package/dist/api/resources/blocks/resources/agents/client/Client.js +8 -2
- package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- package/dist/api/resources/chat/client/Client.d.ts +61 -0
- package/dist/api/resources/chat/client/Client.js +158 -0
- package/dist/api/resources/chat/client/requests/ChatCompletionRequest.d.ts +38 -0
- package/dist/api/resources/chat/client/requests/ChatCompletionRequest.js +5 -0
- package/dist/api/resources/chat/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chat/client/requests/index.js +2 -0
- package/dist/api/resources/chat/types/ChatCompletionRequestMessagesItem.d.ts +5 -0
- package/dist/api/resources/chat/types/ChatCompletionRequestMessagesItem.js +5 -0
- package/dist/api/resources/chat/types/ChatCompletionRequestStop.d.ts +7 -0
- package/dist/api/resources/chat/types/ChatCompletionRequestStop.js +5 -0
- package/dist/api/resources/chat/types/index.d.ts +2 -0
- package/dist/api/resources/chat/types/index.js +18 -0
- package/dist/api/resources/clientSideAccessTokens/client/Client.d.ts +5 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +8 -4
- package/dist/api/resources/clientSideAccessTokens/client/requests/ClientSideAccessTokensListClientSideAccessTokensRequest.d.ts +5 -1
- package/dist/api/resources/folders/client/Client.d.ts +11 -2
- package/dist/api/resources/folders/client/Client.js +19 -10
- package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +8 -1
- package/dist/api/resources/folders/client/requests/RetrieveMetadataRequest.d.ts +3 -1
- package/dist/api/resources/folders/resources/agents/client/Client.d.ts +7 -1
- package/dist/api/resources/folders/resources/agents/client/Client.js +8 -2
- package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- package/dist/api/resources/folders/resources/files/client/Client.d.ts +12 -2
- package/dist/api/resources/folders/resources/files/client/Client.js +15 -5
- package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +4 -1
- package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +8 -1
- package/dist/api/resources/folders/resources/passages/client/Client.d.ts +7 -1
- package/dist/api/resources/folders/resources/passages/client/Client.js +8 -2
- package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +7 -1
- package/dist/api/resources/groups/client/Client.d.ts +9 -1
- package/dist/api/resources/groups/client/Client.js +15 -7
- package/dist/api/resources/groups/client/requests/GroupsListRequest.d.ts +9 -1
- package/dist/api/resources/groups/resources/messages/client/Client.d.ts +10 -1
- package/dist/api/resources/groups/resources/messages/client/Client.js +15 -6
- package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +10 -1
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.d.ts +11 -1
- package/dist/api/resources/identities/client/Client.js +18 -8
- package/dist/api/resources/identities/client/requests/IdentitiesListRequest.d.ts +11 -1
- package/dist/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
- package/dist/api/resources/identities/resources/agents/client/Client.js +8 -2
- package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +8 -2
- package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +7 -1
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +5 -1
- package/dist/api/resources/index.js +6 -2
- package/dist/api/resources/jobs/client/Client.d.ts +17 -2
- package/dist/api/resources/jobs/client/Client.js +32 -9
- package/dist/api/resources/jobs/client/requests/JobsListActiveRequest.d.ts +7 -1
- package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +23 -5
- package/dist/api/resources/jobs/index.d.ts +1 -0
- package/dist/api/resources/jobs/index.js +1 -0
- package/dist/api/resources/jobs/types/JobsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/jobs/types/JobsListRequestOrder.js +10 -0
- package/dist/api/resources/jobs/types/index.d.ts +1 -0
- package/dist/api/resources/jobs/types/index.js +17 -0
- package/dist/api/resources/models/client/Client.d.ts +4 -1
- package/dist/api/resources/models/client/Client.js +6 -3
- package/dist/api/resources/models/client/requests/ModelsListRequest.d.ts +4 -1
- package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.d.ts +5 -1
- package/dist/api/resources/projects/client/Client.js +6 -2
- package/dist/api/resources/projects/client/requests/ProjectsListRequest.d.ts +5 -1
- package/dist/api/resources/providers/client/Client.d.ts +22 -1
- package/dist/api/resources/providers/client/Client.js +82 -7
- package/dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts +9 -1
- package/dist/api/resources/runs/client/Client.d.ts +29 -2
- package/dist/api/resources/runs/client/Client.js +117 -11
- package/dist/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +4 -1
- package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +29 -6
- package/dist/api/resources/runs/resources/index.d.ts +2 -1
- package/dist/api/resources/runs/resources/index.js +3 -2
- package/dist/api/resources/runs/resources/messages/client/Client.d.ts +7 -1
- package/dist/api/resources/runs/resources/messages/client/Client.js +12 -3
- package/dist/api/resources/runs/resources/messages/client/requests/MessagesListRequest.d.ts +11 -1
- package/dist/api/resources/runs/resources/steps/client/Client.d.ts +8 -12
- package/dist/api/resources/runs/resources/steps/client/Client.js +17 -16
- package/dist/api/resources/runs/resources/steps/client/requests/StepsListRequest.d.ts +14 -3
- package/dist/api/resources/runs/resources/steps/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/index.js +1 -0
- package/dist/api/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/runs/resources/steps/types/StepsListRequestOrder.js +10 -0
- package/dist/api/resources/runs/resources/steps/types/index.d.ts +1 -0
- package/dist/api/resources/runs/resources/steps/types/index.js +17 -0
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/runs/types/RunsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/runs/types/RunsListRequestOrder.js +10 -0
- package/dist/api/resources/runs/types/index.d.ts +1 -0
- package/dist/api/resources/runs/types/index.js +1 -0
- package/dist/api/resources/sources/client/Client.d.ts +6 -2
- package/dist/api/resources/sources/client/Client.js +16 -12
- package/dist/api/resources/sources/client/requests/GetFileMetadataRequest.d.ts +3 -1
- package/dist/api/resources/sources/client/requests/GetSourcesMetadataRequest.d.ts +3 -1
- package/dist/api/resources/sources/resources/files/client/Client.d.ts +10 -2
- package/dist/api/resources/sources/resources/files/client/Client.js +13 -5
- package/dist/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +4 -1
- package/dist/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +6 -1
- package/dist/api/resources/sources/resources/passages/client/Client.d.ts +5 -1
- package/dist/api/resources/sources/resources/passages/client/Client.js +6 -2
- package/dist/api/resources/sources/resources/passages/client/requests/PassagesListRequest.d.ts +5 -1
- package/dist/api/resources/steps/client/Client.d.ts +14 -1
- package/dist/api/resources/steps/client/Client.js +16 -3
- package/dist/api/resources/steps/client/requests/StepsListRequest.d.ts +14 -1
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/messages/client/Client.d.ts +7 -1
- package/dist/api/resources/steps/resources/messages/client/Client.js +8 -2
- package/dist/api/resources/steps/resources/messages/client/requests/MessagesListRequest.d.ts +7 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.d.ts +9 -1
- package/dist/api/resources/tags/client/Client.js +10 -2
- package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +9 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.d.ts +17 -3
- package/dist/api/resources/templates/client/Client.js +30 -16
- package/dist/api/resources/templates/client/requests/TemplatesListRequest.d.ts +12 -1
- package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +4 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +1 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +1 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +2 -2
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
- package/dist/api/resources/templates/types/index.d.ts +6 -0
- package/dist/api/resources/templates/types/index.js +6 -0
- package/dist/api/resources/tools/client/Client.d.ts +16 -40
- package/dist/api/resources/tools/client/Client.js +33 -246
- package/dist/api/resources/tools/client/requests/ToolsCountRequest.d.ts +6 -1
- package/dist/api/resources/tools/client/requests/ToolsListRequest.d.ts +10 -1
- package/dist/api/resources/voice/client/Client.d.ts +8 -0
- package/dist/api/resources/voice/client/Client.js +11 -1
- package/dist/api/types/AgentEnvironmentVariable.d.ts +2 -0
- package/dist/api/types/Annotation.d.ts +10 -0
- package/dist/api/types/Annotation.js +5 -0
- package/dist/api/types/AnnotationUrlCitation.d.ts +11 -0
- package/dist/api/types/AnnotationUrlCitation.js +5 -0
- package/dist/api/types/ApprovalCreate.d.ts +5 -2
- package/dist/api/types/ApprovalCreateApprovalsItem.d.ts +5 -0
- package/dist/api/types/ApprovalCreateApprovalsItem.js +5 -0
- package/dist/api/types/ApprovalResponseMessage.d.ts +5 -2
- package/dist/api/types/ApprovalResponseMessageApprovalsItem.d.ts +5 -0
- package/dist/api/types/ApprovalResponseMessageApprovalsItem.js +5 -0
- package/dist/api/types/ApprovalReturn.d.ts +12 -0
- package/dist/api/types/ApprovalReturn.js +5 -0
- package/{api/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts → dist/api/types/Audio.d.ts} +2 -2
- package/dist/api/types/Audio.js +5 -0
- package/dist/api/types/ChatCompletion.d.ts +16 -0
- package/dist/api/types/ChatCompletion.js +5 -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/ChatCompletionAudio.d.ts +11 -0
- package/dist/api/types/ChatCompletionAudio.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/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/ChatCompletionFunctionMessageParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionFunctionMessageParam.js +5 -0
- package/dist/api/types/ChatCompletionMessage.d.ts +15 -0
- package/dist/api/types/ChatCompletionMessage.js +5 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCall.d.ts +11 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCall.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/{ChatCompletionMessageFunctionToolCall.d.ts → ChatCompletionMessageFunctionToolCallOutput.d.ts} +2 -2
- 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/ChatCompletionMessageToolCallsItem.d.ts +5 -0
- package/dist/api/types/ChatCompletionMessageToolCallsItem.js +5 -0
- package/dist/api/types/ChatCompletionServiceTier.d.ts +11 -0
- package/dist/api/types/ChatCompletionServiceTier.js +13 -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/ChatCompletionTokenLogprob.d.ts +12 -0
- package/dist/api/types/ChatCompletionTokenLogprob.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/Choice.d.ts +12 -0
- package/dist/api/types/Choice.js +5 -0
- package/dist/api/types/ChoiceFinishReason.d.ts +11 -0
- package/dist/api/types/ChoiceFinishReason.js +13 -0
- package/dist/api/types/ChoiceLogprobs.d.ts +10 -0
- package/dist/api/types/ChoiceLogprobs.js +5 -0
- package/dist/api/types/CompletionTokensDetails.d.ts +11 -0
- package/dist/api/types/CompletionTokensDetails.js +5 -0
- package/dist/api/types/CompletionUsage.d.ts +13 -0
- package/dist/api/types/CompletionUsage.js +5 -0
- package/dist/api/types/CustomInput.d.ts +7 -0
- package/dist/api/types/CustomInput.js +5 -0
- package/dist/api/types/CustomOutput.d.ts +9 -0
- package/dist/api/types/CustomOutput.js +5 -0
- package/dist/api/types/FileFile.d.ts +8 -0
- package/dist/api/types/FileFile.js +5 -0
- package/dist/api/types/File_.d.ts +8 -0
- package/dist/api/types/File_.js +5 -0
- package/dist/api/types/FunctionCallInput.d.ts +7 -0
- package/dist/api/types/FunctionCallInput.js +5 -0
- package/dist/api/types/FunctionCallOutput.d.ts +9 -0
- package/dist/api/types/FunctionCallOutput.js +5 -0
- package/dist/api/types/{Function.d.ts → FunctionOutput.d.ts} +1 -1
- package/dist/api/types/FunctionOutput.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/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 +2 -2
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -2
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +10 -2
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.js +5 -0
- package/dist/api/types/LettaSchemasLettaMessageToolReturn.d.ts +12 -0
- package/dist/api/types/LettaSchemasLettaMessageToolReturn.js +5 -0
- package/dist/api/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +8 -0
- package/dist/api/types/LettaSchemasLettaMessageToolReturnStatus.js +10 -0
- package/{api/types/ToolReturn.d.ts → dist/api/types/LettaSchemasMessageToolReturn.d.ts} +5 -2
- package/dist/api/types/LettaSchemasMessageToolReturn.js +5 -0
- package/dist/api/types/{ToolReturnStatus.d.ts → LettaSchemasMessageToolReturnStatus.d.ts} +2 -2
- package/dist/api/types/{ToolReturnStatus.js → LettaSchemasMessageToolReturnStatus.js} +2 -2
- package/dist/api/types/LlmConfig.d.ts +2 -0
- package/dist/api/types/Message.d.ts +4 -2
- package/dist/api/types/MessageApprovalsItem.d.ts +5 -0
- package/dist/api/types/MessageApprovalsItem.js +5 -0
- package/dist/api/types/OmittedReasoningContent.d.ts +2 -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/PromptTokensDetails.d.ts +9 -0
- package/dist/api/types/PromptTokensDetails.js +5 -0
- package/dist/api/types/Provider.d.ts +4 -0
- package/dist/api/types/RunMetrics.d.ts +21 -0
- package/dist/api/types/RunMetrics.js +5 -0
- package/dist/api/types/SandboxEnvironmentVariable.d.ts +2 -0
- package/dist/api/types/TextContent.d.ts +2 -0
- package/dist/api/types/ToolCallContent.d.ts +2 -0
- package/dist/api/types/ToolCallMessage.d.ts +1 -0
- package/dist/api/types/ToolCallMessageToolCalls.d.ts +5 -0
- package/dist/api/types/ToolCallMessageToolCalls.js +5 -0
- package/dist/api/types/ToolReturnMessage.d.ts +7 -5
- package/dist/api/types/ToolType.d.ts +2 -2
- package/dist/api/types/ToolType.js +1 -1
- package/dist/api/types/TopLogprob.d.ts +10 -0
- package/dist/api/types/TopLogprob.js +5 -0
- package/dist/api/types/index.d.ts +63 -11
- package/dist/api/types/index.js +63 -11
- package/dist/serialization/resources/agents/resources/blocks/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/blocks/index.js +1 -0
- package/dist/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/{templates/types/TemplatesMigrateResponse.js → blocks/types/BlocksListRequestOrder.js} +2 -4
- package/dist/serialization/resources/agents/resources/blocks/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/blocks/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/files/index.js +1 -0
- package/dist/serialization/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +10 -0
- package/{serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.js → dist/serialization/resources/agents/resources/files/types/FilesListRequestOrder.js} +2 -4
- package/dist/serialization/resources/agents/resources/files/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/files/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/folders/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/folders/index.js +1 -0
- package/dist/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.js +41 -0
- package/dist/serialization/resources/agents/resources/folders/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/folders/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/groups/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/groups/index.js +1 -0
- package/dist/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.js +41 -0
- package/dist/serialization/resources/agents/resources/groups/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/groups/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +12 -9
- package/dist/serialization/resources/agents/resources/index.js +13 -10
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.js +41 -0
- package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/messages/types/index.js +1 -0
- package/dist/serialization/resources/agents/resources/sources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/sources/index.js +1 -0
- package/dist/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.js +41 -0
- package/dist/serialization/resources/agents/resources/sources/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/sources/types/index.js +17 -0
- package/dist/serialization/resources/agents/resources/tools/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/tools/index.js +1 -0
- package/dist/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.js +41 -0
- package/dist/serialization/resources/agents/resources/tools/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/tools/types/index.js +17 -0
- package/dist/serialization/resources/chat/client/requests/ChatCompletionRequest.d.ts +24 -0
- package/dist/serialization/resources/{agents/resources/templates/client/requests/TemplatesMigrateRequest.js → chat/client/requests/ChatCompletionRequest.js} +16 -6
- package/dist/serialization/resources/chat/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chat/client/requests/index.js +5 -0
- package/dist/serialization/resources/chat/types/ChatCompletionRequestMessagesItem.d.ts +16 -0
- package/dist/serialization/resources/chat/types/ChatCompletionRequestMessagesItem.js +54 -0
- package/dist/serialization/resources/chat/types/ChatCompletionRequestStop.d.ts +10 -0
- package/dist/serialization/resources/chat/types/ChatCompletionRequestStop.js +44 -0
- package/dist/serialization/resources/chat/types/index.d.ts +2 -0
- package/dist/serialization/resources/chat/types/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +5 -1
- package/dist/serialization/resources/index.js +6 -2
- package/dist/serialization/resources/jobs/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/index.js +1 -0
- package/dist/serialization/resources/jobs/types/JobsListRequestOrder.d.ts +10 -0
- package/{serialization/resources/tools/client/listComposioApps.js → dist/serialization/resources/jobs/types/JobsListRequestOrder.js} +2 -3
- package/dist/serialization/resources/jobs/types/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/types/index.js +17 -0
- package/dist/serialization/resources/runs/resources/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/index.js +1 -0
- package/dist/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/steps/index.js +1 -0
- package/dist/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.js +41 -0
- package/dist/serialization/resources/runs/resources/steps/types/index.d.ts +1 -0
- package/dist/serialization/resources/runs/resources/steps/types/index.js +17 -0
- package/dist/serialization/resources/runs/types/RunsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/{tools/client/listComposioApps.js → runs/types/RunsListRequestOrder.js} +2 -3
- package/dist/serialization/resources/runs/types/index.d.ts +1 -0
- package/dist/serialization/resources/runs/types/index.js +1 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.d.ts +11 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.js +47 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +11 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js +47 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +11 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js +47 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
- package/dist/serialization/resources/templates/types/index.d.ts +6 -0
- package/dist/serialization/resources/templates/types/index.js +6 -0
- package/dist/serialization/resources/tools/client/index.d.ts +0 -2
- package/dist/serialization/resources/tools/client/index.js +1 -3
- package/dist/serialization/types/AgentEnvironmentVariable.d.ts +1 -0
- package/dist/serialization/types/AgentEnvironmentVariable.js +1 -0
- package/dist/serialization/types/Annotation.d.ts +15 -0
- package/dist/serialization/types/Annotation.js +47 -0
- package/dist/serialization/types/AnnotationUrlCitation.d.ts +16 -0
- package/dist/serialization/types/AnnotationUrlCitation.js +48 -0
- package/dist/serialization/types/ApprovalCreate.d.ts +4 -2
- package/dist/serialization/types/ApprovalCreate.js +4 -2
- package/dist/serialization/types/ApprovalCreateApprovalsItem.d.ts +12 -0
- package/dist/serialization/types/ApprovalCreateApprovalsItem.js +43 -0
- package/dist/serialization/types/ApprovalResponseMessage.d.ts +4 -2
- package/dist/serialization/types/ApprovalResponseMessage.js +4 -2
- package/dist/serialization/types/ApprovalResponseMessageApprovalsItem.d.ts +12 -0
- package/dist/serialization/types/ApprovalResponseMessageApprovalsItem.js +43 -0
- package/dist/serialization/types/ApprovalReturn.d.ts +15 -0
- package/dist/serialization/types/ApprovalReturn.js +46 -0
- package/dist/serialization/types/Audio.d.ts +12 -0
- package/dist/serialization/types/{ToolReturnStatus.js → Audio.js} +4 -2
- package/dist/serialization/types/ChatCompletion.d.ts +23 -0
- package/dist/serialization/types/ChatCompletion.js +55 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +22 -0
- package/dist/serialization/types/{ActionModel.js → ChatCompletionAssistantMessageParam.js} +13 -16
- 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/ChatCompletionAudio.d.ts +16 -0
- package/dist/serialization/types/ChatCompletionAudio.js +48 -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/ChatCompletionDeveloperMessageParam.d.ts +15 -0
- package/dist/serialization/types/{ActionParametersModel.js → ChatCompletionDeveloperMessageParam.js} +6 -7
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.js +45 -0
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.js +45 -0
- package/dist/serialization/types/ChatCompletionMessage.d.ts +23 -0
- package/dist/serialization/types/ChatCompletionMessage.js +55 -0
- package/dist/serialization/types/ChatCompletionMessageCustomToolCall.d.ts +16 -0
- package/dist/serialization/types/ChatCompletionMessageCustomToolCall.js +48 -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/{ChatCompletionMessageFunctionToolCall.js → ChatCompletionMessageFunctionToolCallOutput.js} +4 -4
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +46 -0
- package/dist/serialization/types/ChatCompletionMessageToolCallsItem.d.ts +12 -0
- package/dist/serialization/types/ChatCompletionMessageToolCallsItem.js +46 -0
- package/dist/serialization/types/ChatCompletionServiceTier.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionServiceTier.js +41 -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/ChatCompletionTokenLogprob.d.ts +17 -0
- package/dist/serialization/types/ChatCompletionTokenLogprob.js +49 -0
- package/dist/serialization/types/ChatCompletionToolMessageParam.d.ts +15 -0
- package/{serialization/types/ActionParametersModel.js → dist/serialization/types/ChatCompletionToolMessageParam.js} +6 -7
- 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/{serialization/types/ToolReturn.js → dist/serialization/types/ChatCompletionUserMessageParam.js} +6 -6
- 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/Choice.d.ts +19 -0
- package/dist/serialization/types/Choice.js +51 -0
- package/dist/serialization/types/ChoiceFinishReason.d.ts +10 -0
- package/dist/serialization/types/ChoiceFinishReason.js +41 -0
- package/dist/serialization/types/ChoiceLogprobs.d.ts +15 -0
- package/dist/serialization/types/ChoiceLogprobs.js +47 -0
- package/dist/serialization/types/CompletionTokensDetails.d.ts +16 -0
- package/dist/serialization/types/CompletionTokensDetails.js +48 -0
- package/dist/serialization/types/CompletionUsage.d.ts +19 -0
- package/dist/serialization/types/CompletionUsage.js +51 -0
- package/dist/serialization/types/CustomInput.d.ts +13 -0
- package/dist/serialization/types/CustomInput.js +44 -0
- package/dist/serialization/types/CustomOutput.d.ts +14 -0
- package/dist/serialization/types/CustomOutput.js +46 -0
- package/dist/serialization/types/FileFile.d.ts +14 -0
- package/dist/serialization/types/FileFile.js +45 -0
- package/dist/serialization/types/File_.d.ts +14 -0
- package/dist/serialization/types/File_.js +45 -0
- package/dist/serialization/types/FunctionCallInput.d.ts +13 -0
- package/dist/serialization/types/FunctionCallInput.js +44 -0
- package/dist/serialization/types/FunctionCallOutput.d.ts +14 -0
- package/dist/serialization/types/FunctionCallOutput.js +46 -0
- package/{serialization/types/Function.d.ts → dist/serialization/types/FunctionOutput.d.ts} +2 -2
- package/{serialization/types/Function.js → dist/serialization/types/FunctionOutput.js} +2 -2
- 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/{serialization/types/ToolReturnStatus.js → dist/serialization/types/ImageUrlDetail.js} +2 -2
- 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/LettaSchemasAgentFileMessageSchema.d.ts +9 -4
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +9 -4
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.d.ts +12 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.js +43 -0
- package/dist/serialization/types/LettaSchemasLettaMessageToolReturn.d.ts +18 -0
- package/dist/serialization/types/{AuthSchemeField.js → LettaSchemasLettaMessageToolReturn.js} +9 -10
- package/dist/serialization/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +10 -0
- package/dist/serialization/types/LettaSchemasLettaMessageToolReturnStatus.js +41 -0
- package/dist/serialization/types/LettaSchemasMessageToolReturn.d.ts +17 -0
- package/dist/serialization/types/LettaSchemasMessageToolReturn.js +48 -0
- package/dist/serialization/types/LettaSchemasMessageToolReturnStatus.d.ts +10 -0
- package/dist/serialization/types/LettaSchemasMessageToolReturnStatus.js +41 -0
- package/dist/serialization/types/LlmConfig.d.ts +1 -0
- package/dist/serialization/types/LlmConfig.js +1 -0
- package/dist/serialization/types/Message.d.ts +6 -4
- package/dist/serialization/types/Message.js +6 -4
- package/dist/serialization/types/MessageApprovalsItem.d.ts +12 -0
- package/dist/serialization/types/{ToolReturn.js → MessageApprovalsItem.js} +4 -7
- package/dist/serialization/types/OmittedReasoningContent.d.ts +1 -0
- package/dist/serialization/types/OmittedReasoningContent.js +1 -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/PromptTokensDetails.d.ts +14 -0
- package/dist/serialization/types/PromptTokensDetails.js +46 -0
- package/dist/serialization/types/Provider.d.ts +2 -0
- package/dist/serialization/types/Provider.js +2 -0
- package/dist/serialization/types/RunMetrics.d.ts +19 -0
- package/dist/serialization/types/RunMetrics.js +50 -0
- package/dist/serialization/types/SandboxEnvironmentVariable.d.ts +1 -0
- package/dist/serialization/types/SandboxEnvironmentVariable.js +1 -0
- package/dist/serialization/types/TextContent.d.ts +1 -0
- package/dist/serialization/types/TextContent.js +1 -0
- package/dist/serialization/types/ToolCallContent.d.ts +1 -0
- package/dist/serialization/types/ToolCallContent.js +1 -0
- package/dist/serialization/types/ToolCallMessage.d.ts +2 -0
- package/dist/serialization/types/ToolCallMessage.js +2 -0
- package/dist/serialization/types/ToolCallMessageToolCalls.d.ts +12 -0
- package/{serialization/types/AppAuthSchemeAuthMode.js → dist/serialization/types/ToolCallMessageToolCalls.js} +4 -13
- package/dist/serialization/types/ToolReturnMessage.d.ts +2 -0
- package/dist/serialization/types/ToolReturnMessage.js +2 -0
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +1 -1
- package/dist/serialization/types/TopLogprob.d.ts +15 -0
- package/dist/serialization/types/TopLogprob.js +47 -0
- package/dist/serialization/types/index.d.ts +63 -11
- package/dist/serialization/types/index.js +63 -11
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +639 -455
- package/serialization/resources/agents/resources/blocks/index.d.ts +1 -0
- package/serialization/resources/agents/resources/blocks/index.js +1 -0
- package/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/blocks/types/BlocksListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/blocks/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/blocks/types/index.js +17 -0
- package/serialization/resources/agents/resources/files/index.d.ts +1 -0
- package/serialization/resources/agents/resources/files/index.js +1 -0
- package/serialization/resources/agents/resources/files/types/FilesListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/files/types/FilesListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/files/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/files/types/index.js +17 -0
- package/serialization/resources/agents/resources/folders/index.d.ts +1 -0
- package/serialization/resources/agents/resources/folders/index.js +1 -0
- package/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/folders/types/FoldersListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/folders/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/folders/types/index.js +17 -0
- package/serialization/resources/agents/resources/groups/index.d.ts +1 -0
- package/serialization/resources/agents/resources/groups/index.js +1 -0
- package/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/groups/types/GroupsListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/groups/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/groups/types/index.js +17 -0
- package/serialization/resources/agents/resources/index.d.ts +12 -9
- package/serialization/resources/agents/resources/index.js +13 -10
- package/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/messages/types/MessagesListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/messages/types/index.js +1 -0
- package/serialization/resources/agents/resources/sources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/sources/index.js +1 -0
- package/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/sources/types/SourcesListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/sources/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/sources/types/index.js +17 -0
- package/serialization/resources/agents/resources/tools/index.d.ts +1 -0
- package/serialization/resources/agents/resources/tools/index.js +1 -0
- package/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.d.ts +10 -0
- package/serialization/resources/agents/resources/tools/types/ToolsListRequestOrder.js +41 -0
- package/serialization/resources/agents/resources/tools/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/tools/types/index.js +17 -0
- package/serialization/resources/chat/client/requests/ChatCompletionRequest.d.ts +24 -0
- package/serialization/resources/chat/client/requests/ChatCompletionRequest.js +55 -0
- package/serialization/resources/chat/client/requests/index.d.ts +1 -0
- package/serialization/resources/chat/client/requests/index.js +5 -0
- package/serialization/resources/chat/types/ChatCompletionRequestMessagesItem.d.ts +16 -0
- package/serialization/resources/chat/types/ChatCompletionRequestMessagesItem.js +54 -0
- package/serialization/resources/chat/types/ChatCompletionRequestStop.d.ts +10 -0
- package/serialization/resources/chat/types/ChatCompletionRequestStop.js +44 -0
- package/serialization/resources/chat/types/index.d.ts +2 -0
- package/serialization/resources/chat/types/index.js +18 -0
- package/serialization/resources/index.d.ts +5 -1
- package/serialization/resources/index.js +6 -2
- package/serialization/resources/jobs/index.d.ts +1 -0
- package/serialization/resources/jobs/index.js +1 -0
- package/serialization/resources/jobs/types/JobsListRequestOrder.d.ts +10 -0
- package/serialization/resources/{tools/client/listComposioActionsByApp.js → jobs/types/JobsListRequestOrder.js} +2 -3
- package/serialization/resources/jobs/types/index.d.ts +1 -0
- package/serialization/resources/jobs/types/index.js +17 -0
- package/serialization/resources/runs/resources/index.d.ts +1 -0
- package/serialization/resources/runs/resources/index.js +1 -0
- package/serialization/resources/runs/resources/steps/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/index.js +1 -0
- package/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.d.ts +10 -0
- package/serialization/resources/runs/resources/steps/types/StepsListRequestOrder.js +41 -0
- package/serialization/resources/runs/resources/steps/types/index.d.ts +1 -0
- package/serialization/resources/runs/resources/steps/types/index.js +17 -0
- package/serialization/resources/runs/types/RunsListRequestOrder.d.ts +10 -0
- package/{dist/serialization/resources/tools/client/listComposioActionsByApp.js → serialization/resources/runs/types/RunsListRequestOrder.js} +2 -3
- package/serialization/resources/runs/types/index.d.ts +1 -0
- package/serialization/resources/runs/types/index.js +1 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.d.ts +11 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.js +47 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.js +41 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItem.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.d.ts +11 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js +47 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js +41 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItem.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.d.ts +11 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js +47 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js +41 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType.js +1 -1
- package/serialization/resources/templates/types/index.d.ts +6 -0
- package/serialization/resources/templates/types/index.js +6 -0
- package/serialization/resources/tools/client/index.d.ts +0 -2
- package/serialization/resources/tools/client/index.js +1 -3
- package/serialization/types/AgentEnvironmentVariable.d.ts +1 -0
- package/serialization/types/AgentEnvironmentVariable.js +1 -0
- package/serialization/types/Annotation.d.ts +15 -0
- package/serialization/types/Annotation.js +47 -0
- package/serialization/types/AnnotationUrlCitation.d.ts +16 -0
- package/serialization/types/AnnotationUrlCitation.js +48 -0
- package/serialization/types/ApprovalCreate.d.ts +4 -2
- package/serialization/types/ApprovalCreate.js +4 -2
- package/serialization/types/ApprovalCreateApprovalsItem.d.ts +12 -0
- package/serialization/types/ApprovalCreateApprovalsItem.js +43 -0
- package/serialization/types/ApprovalResponseMessage.d.ts +4 -2
- package/serialization/types/ApprovalResponseMessage.js +4 -2
- package/serialization/types/ApprovalResponseMessageApprovalsItem.d.ts +12 -0
- package/serialization/types/ApprovalResponseMessageApprovalsItem.js +43 -0
- package/serialization/types/ApprovalReturn.d.ts +15 -0
- package/serialization/types/ApprovalReturn.js +46 -0
- package/serialization/types/Audio.d.ts +12 -0
- package/serialization/types/Audio.js +43 -0
- package/serialization/types/ChatCompletion.d.ts +23 -0
- package/serialization/types/ChatCompletion.js +55 -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/ChatCompletionAudio.d.ts +16 -0
- package/serialization/types/ChatCompletionAudio.js +48 -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/ChatCompletionDeveloperMessageParam.d.ts +15 -0
- package/{dist/serialization/types/ActionResponseModel.js → serialization/types/ChatCompletionDeveloperMessageParam.js} +6 -7
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +11 -0
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.js +45 -0
- package/serialization/types/ChatCompletionFunctionMessageParam.d.ts +14 -0
- package/serialization/types/ChatCompletionFunctionMessageParam.js +45 -0
- package/serialization/types/ChatCompletionMessage.d.ts +23 -0
- package/serialization/types/ChatCompletionMessage.js +55 -0
- package/serialization/types/ChatCompletionMessageCustomToolCall.d.ts +16 -0
- package/serialization/types/ChatCompletionMessageCustomToolCall.js +48 -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/{ChatCompletionMessageFunctionToolCall.js → ChatCompletionMessageFunctionToolCallOutput.js} +4 -4
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +46 -0
- package/serialization/types/ChatCompletionMessageToolCallsItem.d.ts +12 -0
- package/serialization/types/ChatCompletionMessageToolCallsItem.js +46 -0
- package/serialization/types/ChatCompletionServiceTier.d.ts +10 -0
- package/serialization/types/ChatCompletionServiceTier.js +41 -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/ChatCompletionTokenLogprob.d.ts +17 -0
- package/serialization/types/ChatCompletionTokenLogprob.js +49 -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/Choice.d.ts +19 -0
- package/serialization/types/Choice.js +51 -0
- package/serialization/types/ChoiceFinishReason.d.ts +10 -0
- package/serialization/types/ChoiceFinishReason.js +41 -0
- package/serialization/types/ChoiceLogprobs.d.ts +15 -0
- package/serialization/types/ChoiceLogprobs.js +47 -0
- package/serialization/types/CompletionTokensDetails.d.ts +16 -0
- package/serialization/types/CompletionTokensDetails.js +48 -0
- package/serialization/types/CompletionUsage.d.ts +19 -0
- package/serialization/types/CompletionUsage.js +51 -0
- package/serialization/types/CustomInput.d.ts +13 -0
- package/serialization/types/CustomInput.js +44 -0
- package/serialization/types/CustomOutput.d.ts +14 -0
- package/serialization/types/CustomOutput.js +46 -0
- package/serialization/types/FileFile.d.ts +14 -0
- package/serialization/types/FileFile.js +45 -0
- package/serialization/types/File_.d.ts +14 -0
- package/serialization/types/File_.js +45 -0
- package/serialization/types/FunctionCallInput.d.ts +13 -0
- package/serialization/types/FunctionCallInput.js +44 -0
- package/serialization/types/FunctionCallOutput.d.ts +14 -0
- package/serialization/types/FunctionCallOutput.js +46 -0
- package/{dist/serialization/types/Function.d.ts → serialization/types/FunctionOutput.d.ts} +2 -2
- package/{dist/serialization/types/Function.js → serialization/types/FunctionOutput.js} +2 -2
- 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/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/LettaSchemasAgentFileMessageSchema.d.ts +9 -4
- package/serialization/types/LettaSchemasAgentFileMessageSchema.js +9 -4
- package/serialization/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.d.ts +12 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaApprovalsItem.js +43 -0
- package/serialization/types/LettaSchemasLettaMessageToolReturn.d.ts +18 -0
- package/serialization/types/LettaSchemasLettaMessageToolReturn.js +49 -0
- package/serialization/types/LettaSchemasLettaMessageToolReturnStatus.d.ts +10 -0
- package/serialization/types/LettaSchemasLettaMessageToolReturnStatus.js +41 -0
- package/serialization/types/LettaSchemasMessageToolReturn.d.ts +17 -0
- package/serialization/types/LettaSchemasMessageToolReturn.js +48 -0
- package/serialization/types/LettaSchemasMessageToolReturnStatus.d.ts +10 -0
- package/serialization/types/LettaSchemasMessageToolReturnStatus.js +41 -0
- package/serialization/types/LlmConfig.d.ts +1 -0
- package/serialization/types/LlmConfig.js +1 -0
- package/serialization/types/Message.d.ts +6 -4
- package/serialization/types/Message.js +6 -4
- package/serialization/types/MessageApprovalsItem.d.ts +12 -0
- package/serialization/types/MessageApprovalsItem.js +43 -0
- package/serialization/types/OmittedReasoningContent.d.ts +1 -0
- package/serialization/types/OmittedReasoningContent.js +1 -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/PromptTokensDetails.d.ts +14 -0
- package/serialization/types/PromptTokensDetails.js +46 -0
- package/serialization/types/Provider.d.ts +2 -0
- package/serialization/types/Provider.js +2 -0
- package/serialization/types/RunMetrics.d.ts +19 -0
- package/serialization/types/RunMetrics.js +50 -0
- package/serialization/types/SandboxEnvironmentVariable.d.ts +1 -0
- package/serialization/types/SandboxEnvironmentVariable.js +1 -0
- package/serialization/types/TextContent.d.ts +1 -0
- package/serialization/types/TextContent.js +1 -0
- package/serialization/types/ToolCallContent.d.ts +1 -0
- package/serialization/types/ToolCallContent.js +1 -0
- package/serialization/types/ToolCallMessage.d.ts +2 -0
- package/serialization/types/ToolCallMessage.js +2 -0
- package/serialization/types/ToolCallMessageToolCalls.d.ts +12 -0
- package/{dist/serialization/types/AppAuthSchemeAuthMode.js → serialization/types/ToolCallMessageToolCalls.js} +4 -13
- package/serialization/types/ToolReturnMessage.d.ts +2 -0
- package/serialization/types/ToolReturnMessage.js +2 -0
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +1 -1
- package/serialization/types/TopLogprob.d.ts +15 -0
- package/serialization/types/TopLogprob.js +47 -0
- package/serialization/types/index.d.ts +63 -11
- package/serialization/types/index.js +63 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agents/resources/templates/client/Client.d.ts +0 -79
- package/api/resources/agents/resources/templates/client/Client.js +0 -250
- package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -16
- package/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -1
- package/api/resources/agents/resources/templates/types/index.d.ts +0 -1
- package/api/types/ActionModel.d.ts +0 -21
- package/api/types/ActionParametersModel.d.ts +0 -13
- package/api/types/ActionResponseModel.d.ts +0 -13
- package/api/types/AppAuthScheme.d.ts +0 -19
- package/api/types/AppAuthSchemeAuthMode.d.ts +0 -16
- package/api/types/AppAuthSchemeAuthMode.js +0 -18
- package/api/types/AppModel.d.ts +0 -25
- package/api/types/AuthSchemeField.d.ts +0 -16
- package/dist/api/resources/agents/resources/templates/client/Client.d.ts +0 -79
- package/dist/api/resources/agents/resources/templates/client/Client.js +0 -250
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -16
- package/dist/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -1
- package/dist/api/resources/agents/resources/templates/types/index.d.ts +0 -1
- package/dist/api/resources/agents/resources/templates/types/index.js +0 -17
- package/dist/api/types/ActionModel.d.ts +0 -21
- package/dist/api/types/ActionParametersModel.d.ts +0 -13
- package/dist/api/types/ActionResponseModel.d.ts +0 -13
- package/dist/api/types/AppAuthScheme.d.ts +0 -19
- package/dist/api/types/AppAuthSchemeAuthMode.d.ts +0 -16
- package/dist/api/types/AppAuthSchemeAuthMode.js +0 -18
- package/dist/api/types/AppModel.d.ts +0 -25
- package/dist/api/types/AuthSchemeField.d.ts +0 -16
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -14
- package/dist/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/templates/client/requests/index.js +0 -5
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts +0 -12
- package/dist/serialization/resources/agents/resources/templates/types/index.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/templates/types/index.js +0 -17
- package/dist/serialization/resources/tools/client/listComposioActionsByApp.d.ts +0 -11
- package/dist/serialization/resources/tools/client/listComposioApps.d.ts +0 -11
- package/dist/serialization/types/ActionModel.d.ts +0 -25
- package/dist/serialization/types/ActionParametersModel.d.ts +0 -16
- package/dist/serialization/types/ActionResponseModel.d.ts +0 -16
- package/dist/serialization/types/AppAuthScheme.d.ts +0 -23
- package/dist/serialization/types/AppAuthScheme.js +0 -54
- package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +0 -10
- package/dist/serialization/types/AppModel.d.ts +0 -28
- package/dist/serialization/types/AppModel.js +0 -61
- package/dist/serialization/types/AuthSchemeField.d.ts +0 -19
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +0 -16
- package/dist/serialization/types/ToolReturn.d.ts +0 -15
- package/dist/serialization/types/ToolReturnStatus.d.ts +0 -10
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -14
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -45
- package/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -1
- package/serialization/resources/agents/resources/templates/client/requests/index.js +0 -5
- package/serialization/resources/agents/resources/templates/types/TemplatesMigrateResponse.d.ts +0 -12
- package/serialization/resources/agents/resources/templates/types/index.d.ts +0 -1
- package/serialization/resources/agents/resources/templates/types/index.js +0 -17
- package/serialization/resources/tools/client/listComposioActionsByApp.d.ts +0 -11
- package/serialization/resources/tools/client/listComposioApps.d.ts +0 -11
- package/serialization/types/ActionModel.d.ts +0 -25
- package/serialization/types/ActionModel.js +0 -56
- package/serialization/types/ActionParametersModel.d.ts +0 -16
- package/serialization/types/ActionResponseModel.d.ts +0 -16
- package/serialization/types/ActionResponseModel.js +0 -47
- package/serialization/types/AppAuthScheme.d.ts +0 -23
- package/serialization/types/AppAuthScheme.js +0 -54
- package/serialization/types/AppAuthSchemeAuthMode.d.ts +0 -10
- package/serialization/types/AppModel.d.ts +0 -28
- package/serialization/types/AppModel.js +0 -61
- package/serialization/types/AuthSchemeField.d.ts +0 -19
- package/serialization/types/AuthSchemeField.js +0 -50
- package/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +0 -16
- package/serialization/types/ToolReturn.d.ts +0 -15
- package/serialization/types/ToolReturnStatus.d.ts +0 -10
- /package/api/resources/agents/resources/{templates/client/requests/TemplatesMigrateRequest.js → blocks/client/requests/BlocksListRequest.js} +0 -0
- /package/api/resources/agents/resources/{templates → blocks}/client/requests/index.js +0 -0
- /package/api/resources/agents/resources/{templates/types/TemplatesMigrateResponse.js → folders/client/requests/FoldersListRequest.js} +0 -0
- /package/{dist/api/resources/agents/resources/templates → api/resources/agents/resources/folders}/client/requests/index.js +0 -0
- /package/api/{types/ActionModel.js → resources/agents/resources/sources/client/requests/SourcesListRequest.js} +0 -0
- /package/api/{types/ActionParametersModel.js → resources/agents/resources/tools/client/requests/ToolsListRequest.js} +0 -0
- /package/api/resources/{agents/resources/templates → chat}/client/index.d.ts +0 -0
- /package/api/resources/{agents/resources/templates → chat}/client/index.js +0 -0
- /package/api/{types/ActionResponseModel.js → resources/chat/client/requests/ChatCompletionRequest.js} +0 -0
- /package/api/resources/{agents/resources/templates → chat}/index.d.ts +0 -0
- /package/api/resources/{agents/resources/templates → chat}/index.js +0 -0
- /package/api/{types/AppAuthScheme.js → resources/chat/types/ChatCompletionRequestMessagesItem.js} +0 -0
- /package/api/{types/AppModel.js → resources/chat/types/ChatCompletionRequestStop.js} +0 -0
- /package/api/{types/AuthSchemeField.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayName.js} +0 -0
- /package/api/{types/ChatCompletionMessageFunctionToolCall.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigDisplayNameItem.js} +0 -0
- /package/api/{types/Function.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEnc.js} +0 -0
- /package/api/{types/ToolReturn.js → resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSecretsItemValueEncItem.js} +0 -0
- /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js → api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEnc.js} +0 -0
- /package/{dist/api/resources/agents/resources/templates/types/TemplatesMigrateResponse.js → api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVariablesItemValueEncItem.js} +0 -0
- /package/{dist/api/types/ActionModel.js → api/types/Annotation.js} +0 -0
- /package/{dist/api/types/ActionParametersModel.js → api/types/AnnotationUrlCitation.js} +0 -0
- /package/{dist/api/types/ActionResponseModel.js → api/types/ApprovalCreateApprovalsItem.js} +0 -0
- /package/{dist/api/types/AppAuthScheme.js → api/types/ApprovalResponseMessageApprovalsItem.js} +0 -0
- /package/{dist/api/types/AppModel.js → api/types/ApprovalReturn.js} +0 -0
- /package/{dist/api/types/AuthSchemeField.js → api/types/Audio.js} +0 -0
- /package/{dist/api/types/ChatCompletionMessageFunctionToolCall.js → api/types/ChatCompletion.js} +0 -0
- /package/{dist/api/types/Function.js → api/types/ChatCompletionAssistantMessageParam.js} +0 -0
- /package/{dist/api/types/ToolReturn.js → api/types/ChatCompletionAssistantMessageParamContent.js} +0 -0
- /package/dist/api/resources/{agents/resources/templates → chat}/client/index.d.ts +0 -0
- /package/dist/api/resources/{agents/resources/templates → chat}/client/index.js +0 -0
- /package/dist/api/resources/{agents/resources/templates → chat}/index.d.ts +0 -0
- /package/dist/api/resources/{agents/resources/templates → chat}/index.js +0 -0
- /package/dist/serialization/resources/{agents/resources/templates → chat}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/{agents/resources/templates → chat}/client/index.js +0 -0
- /package/dist/serialization/resources/{agents/resources/templates → chat}/index.d.ts +0 -0
- /package/dist/serialization/resources/{agents/resources/templates → chat}/index.js +0 -0
- /package/serialization/resources/{agents/resources/templates → chat}/client/index.d.ts +0 -0
- /package/serialization/resources/{agents/resources/templates → chat}/client/index.js +0 -0
- /package/serialization/resources/{agents/resources/templates → chat}/index.d.ts +0 -0
- /package/serialization/resources/{agents/resources/templates → chat}/index.js +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CompletionTokensDetails = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.CompletionTokensDetails = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
acceptedPredictionTokens: core.serialization.property("accepted_prediction_tokens", core.serialization.number().optional()),
|
|
44
|
+
audioTokens: core.serialization.property("audio_tokens", core.serialization.number().optional()),
|
|
45
|
+
reasoningTokens: core.serialization.property("reasoning_tokens", core.serialization.number().optional()),
|
|
46
|
+
rejectedPredictionTokens: core.serialization.property("rejected_prediction_tokens", core.serialization.number().optional()),
|
|
47
|
+
})
|
|
48
|
+
.passthrough();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { CompletionTokensDetails } from "./CompletionTokensDetails";
|
|
8
|
+
import { PromptTokensDetails } from "./PromptTokensDetails";
|
|
9
|
+
export declare const CompletionUsage: core.serialization.ObjectSchema<serializers.CompletionUsage.Raw, Letta.CompletionUsage>;
|
|
10
|
+
export declare namespace CompletionUsage {
|
|
11
|
+
interface Raw {
|
|
12
|
+
completion_tokens: number;
|
|
13
|
+
prompt_tokens: number;
|
|
14
|
+
total_tokens: number;
|
|
15
|
+
completion_tokens_details?: CompletionTokensDetails.Raw | null;
|
|
16
|
+
prompt_tokens_details?: PromptTokensDetails.Raw | null;
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CompletionUsage = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const CompletionTokensDetails_1 = require("./CompletionTokensDetails");
|
|
42
|
+
const PromptTokensDetails_1 = require("./PromptTokensDetails");
|
|
43
|
+
exports.CompletionUsage = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
completionTokens: core.serialization.property("completion_tokens", core.serialization.number()),
|
|
46
|
+
promptTokens: core.serialization.property("prompt_tokens", core.serialization.number()),
|
|
47
|
+
totalTokens: core.serialization.property("total_tokens", core.serialization.number()),
|
|
48
|
+
completionTokensDetails: core.serialization.property("completion_tokens_details", CompletionTokensDetails_1.CompletionTokensDetails.optional()),
|
|
49
|
+
promptTokensDetails: core.serialization.property("prompt_tokens_details", PromptTokensDetails_1.PromptTokensDetails.optional()),
|
|
50
|
+
})
|
|
51
|
+
.passthrough();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CustomInput: core.serialization.ObjectSchema<serializers.CustomInput.Raw, Letta.CustomInput>;
|
|
8
|
+
export declare namespace CustomInput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
input: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CustomInput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.CustomInput = core.serialization.object({
|
|
42
|
+
input: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CustomOutput: core.serialization.ObjectSchema<serializers.CustomOutput.Raw, Letta.CustomOutput>;
|
|
8
|
+
export declare namespace CustomOutput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
input: string;
|
|
11
|
+
name: string;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CustomOutput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.CustomOutput = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
input: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
})
|
|
46
|
+
.passthrough();
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const FileFile: core.serialization.ObjectSchema<serializers.FileFile.Raw, Letta.FileFile>;
|
|
8
|
+
export declare namespace FileFile {
|
|
9
|
+
interface Raw {
|
|
10
|
+
file_data?: string | null;
|
|
11
|
+
file_id?: string | null;
|
|
12
|
+
filename?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FileFile = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.FileFile = core.serialization.object({
|
|
42
|
+
fileData: core.serialization.property("file_data", core.serialization.string().optional()),
|
|
43
|
+
fileId: core.serialization.property("file_id", core.serialization.string().optional()),
|
|
44
|
+
filename: core.serialization.string().optional(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { FileFile } from "./FileFile";
|
|
8
|
+
export declare const File_: core.serialization.ObjectSchema<serializers.File_.Raw, Letta.File_>;
|
|
9
|
+
export declare namespace File_ {
|
|
10
|
+
interface Raw {
|
|
11
|
+
file: FileFile.Raw;
|
|
12
|
+
type: "file";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.File_ = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const FileFile_1 = require("./FileFile");
|
|
42
|
+
exports.File_ = core.serialization.object({
|
|
43
|
+
file: FileFile_1.FileFile,
|
|
44
|
+
type: core.serialization.stringLiteral("file"),
|
|
45
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const FunctionCallInput: core.serialization.ObjectSchema<serializers.FunctionCallInput.Raw, Letta.FunctionCallInput>;
|
|
8
|
+
export declare namespace FunctionCallInput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
arguments: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FunctionCallInput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.FunctionCallInput = core.serialization.object({
|
|
42
|
+
arguments: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const FunctionCallOutput: core.serialization.ObjectSchema<serializers.FunctionCallOutput.Raw, Letta.FunctionCallOutput>;
|
|
8
|
+
export declare namespace FunctionCallOutput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
arguments: string;
|
|
11
|
+
name: string;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FunctionCallOutput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.FunctionCallOutput = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
arguments: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
})
|
|
46
|
+
.passthrough();
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const FunctionOutput: core.serialization.ObjectSchema<serializers.FunctionOutput.Raw, Letta.FunctionOutput>;
|
|
8
|
+
export declare namespace FunctionOutput {
|
|
9
9
|
interface Raw {
|
|
10
10
|
arguments: string;
|
|
11
11
|
name: string;
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.FunctionOutput = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.FunctionOutput = core.serialization
|
|
42
42
|
.object({
|
|
43
43
|
arguments: core.serialization.string(),
|
|
44
44
|
name: core.serialization.string(),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ImageUrlDetail } from "./ImageUrlDetail";
|
|
8
|
+
export declare const ImageUrl: core.serialization.ObjectSchema<serializers.ImageUrl.Raw, Letta.ImageUrl>;
|
|
9
|
+
export declare namespace ImageUrl {
|
|
10
|
+
interface Raw {
|
|
11
|
+
url: string;
|
|
12
|
+
detail?: ImageUrlDetail.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ImageUrl = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ImageUrlDetail_1 = require("./ImageUrlDetail");
|
|
42
|
+
exports.ImageUrl = core.serialization.object({
|
|
43
|
+
url: core.serialization.string(),
|
|
44
|
+
detail: ImageUrlDetail_1.ImageUrlDetail.optional(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ImageUrlDetail: core.serialization.Schema<serializers.ImageUrlDetail.Raw, Letta.ImageUrlDetail>;
|
|
8
|
+
export declare namespace ImageUrlDetail {
|
|
9
|
+
type Raw = "auto" | "low" | "high";
|
|
10
|
+
}
|
package/{serialization/types/ToolReturnStatus.js → dist/serialization/types/ImageUrlDetail.js}
RENAMED
|
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ImageUrlDetail = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.ImageUrlDetail = core.serialization.enum_(["auto", "low", "high"]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { InputAudioFormat } from "./InputAudioFormat";
|
|
8
|
+
export declare const InputAudio: core.serialization.ObjectSchema<serializers.InputAudio.Raw, Letta.InputAudio>;
|
|
9
|
+
export declare namespace InputAudio {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: string;
|
|
12
|
+
format: InputAudioFormat.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.InputAudio = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const InputAudioFormat_1 = require("./InputAudioFormat");
|
|
42
|
+
exports.InputAudio = core.serialization.object({
|
|
43
|
+
data: core.serialization.string(),
|
|
44
|
+
format: InputAudioFormat_1.InputAudioFormat,
|
|
45
|
+
});
|