@letta-ai/letta-client 0.0.68659 → 0.0.68661
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.js +9 -9
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +10 -10
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +4 -4
- package/api/resources/archives/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/folders/client/Client.js +8 -8
- package/api/resources/folders/resources/agents/client/Client.js +1 -1
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/agents/client/Client.js +1 -1
- package/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +12 -14
- package/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +1 -1
- package/api/resources/runs/client/requests/RunsListRequest.d.ts +4 -0
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/messages/client/Client.js +1 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +11 -11
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/BatchJob.d.ts +4 -0
- package/{dist/api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts → api/types/ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/{dist/api/types/FunctionOutput.d.ts → api/types/Function.d.ts} +1 -1
- package/api/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +1 -1
- package/api/types/FunctionTool.d.ts +1 -1
- package/api/types/Job.d.ts +4 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +1 -1
- package/api/types/Message.d.ts +1 -1
- package/api/types/Run.d.ts +4 -0
- package/api/types/index.d.ts +3 -91
- package/api/types/index.js +3 -91
- package/dist/api/resources/agents/client/Client.js +9 -9
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
- package/dist/api/resources/archives/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/folders/client/Client.js +8 -8
- package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +12 -14
- package/dist/api/resources/runs/client/requests/RunsListActiveRequest.d.ts +1 -1
- package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +4 -0
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +11 -11
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/BatchJob.d.ts +4 -0
- package/{api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts → dist/api/types/ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/{api/types/FunctionOutput.d.ts → dist/api/types/Function.d.ts} +1 -1
- package/dist/api/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +1 -1
- package/dist/api/types/FunctionTool.d.ts +1 -1
- package/dist/api/types/Job.d.ts +4 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +1 -1
- package/dist/api/types/Message.d.ts +1 -1
- package/dist/api/types/Run.d.ts +4 -0
- package/dist/api/types/index.d.ts +3 -91
- package/dist/api/types/index.js +3 -91
- package/dist/serialization/types/BatchJob.d.ts +2 -0
- package/dist/serialization/types/BatchJob.js +2 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +16 -0
- package/dist/serialization/types/{ChatCompletionMessageFunctionToolCallOutput.js → ChatCompletionMessageFunctionToolCall.js} +4 -4
- package/dist/serialization/types/{FunctionOutput.d.ts → Function.d.ts} +2 -2
- package/dist/serialization/types/{FunctionOutput.js → Function.js} +2 -2
- package/dist/serialization/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +2 -2
- package/dist/serialization/types/{FunctionDefinitionOutput.js → FunctionDefinition.js} +2 -2
- package/dist/serialization/types/FunctionTool.d.ts +2 -2
- package/dist/serialization/types/FunctionTool.js +2 -2
- package/dist/serialization/types/Job.d.ts +2 -0
- package/dist/serialization/types/Job.js +2 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +2 -2
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +2 -2
- package/dist/serialization/types/Message.d.ts +2 -2
- package/dist/serialization/types/Message.js +2 -2
- package/dist/serialization/types/Run.d.ts +2 -0
- package/dist/serialization/types/Run.js +2 -0
- package/dist/serialization/types/index.d.ts +3 -91
- package/dist/serialization/types/index.js +3 -91
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/BatchJob.d.ts +2 -0
- package/serialization/types/BatchJob.js +2 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +16 -0
- package/serialization/types/{ChatCompletionMessageFunctionToolCallOutput.js → ChatCompletionMessageFunctionToolCall.js} +4 -4
- package/serialization/types/{FunctionOutput.d.ts → Function.d.ts} +2 -2
- package/serialization/types/{FunctionOutput.js → Function.js} +2 -2
- package/serialization/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +2 -2
- package/serialization/types/{FunctionDefinitionOutput.js → FunctionDefinition.js} +2 -2
- package/serialization/types/FunctionTool.d.ts +2 -2
- package/serialization/types/FunctionTool.js +2 -2
- package/serialization/types/Job.d.ts +2 -0
- package/serialization/types/Job.js +2 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +2 -2
- package/serialization/types/LettaSchemasAgentFileMessageSchema.js +2 -2
- package/serialization/types/Message.d.ts +2 -2
- package/serialization/types/Message.js +2 -2
- package/serialization/types/Run.d.ts +2 -0
- package/serialization/types/Run.js +2 -0
- package/serialization/types/index.d.ts +3 -91
- package/serialization/types/index.js +3 -91
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/Audio.d.ts +0 -6
- package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -8
- package/api/types/ChatCompletionAllowedToolsParam.d.ts +0 -8
- package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -8
- package/api/types/ChatCompletionAllowedToolsParamMode.js +0 -10
- package/api/types/ChatCompletionAssistantMessageParam.d.ts +0 -13
- package/api/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -5
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -5
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -5
- package/api/types/ChatCompletionAudioParam.d.ts +0 -8
- package/api/types/ChatCompletionAudioParam.js +0 -5
- package/api/types/ChatCompletionAudioParamFormat.d.ts +0 -12
- package/api/types/ChatCompletionAudioParamFormat.js +0 -14
- package/api/types/ChatCompletionAudioParamVoice.d.ts +0 -4
- package/api/types/ChatCompletionAudioParamVoice.js +0 -5
- package/api/types/ChatCompletionContentPartImageParam.d.ts +0 -8
- package/api/types/ChatCompletionContentPartImageParam.js +0 -5
- package/api/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -8
- package/api/types/ChatCompletionContentPartInputAudioParam.js +0 -5
- package/api/types/ChatCompletionContentPartRefusalParam.d.ts +0 -7
- package/api/types/ChatCompletionContentPartRefusalParam.js +0 -5
- package/api/types/ChatCompletionContentPartTextParam.d.ts +0 -7
- package/api/types/ChatCompletionContentPartTextParam.js +0 -5
- package/api/types/ChatCompletionCustomToolParam.d.ts +0 -8
- package/api/types/ChatCompletionCustomToolParam.js +0 -5
- package/api/types/ChatCompletionDeveloperMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionDeveloperMessageParam.js +0 -5
- package/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionDeveloperMessageParamContent.js +0 -5
- package/api/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -6
- package/api/types/ChatCompletionFunctionCallOptionParam.js +0 -5
- package/api/types/ChatCompletionFunctionMessageParam.d.ts +0 -8
- package/api/types/ChatCompletionFunctionMessageParam.js +0 -5
- package/api/types/ChatCompletionFunctionToolParam.d.ts +0 -8
- package/api/types/ChatCompletionFunctionToolParam.js +0 -5
- package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -9
- package/api/types/ChatCompletionMessageCustomToolCallParam.js +0 -5
- package/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -11
- package/api/types/ChatCompletionMessageFunctionToolCallInput.js +0 -5
- package/api/types/ChatCompletionMessageFunctionToolCallOutput.js +0 -5
- package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -9
- package/api/types/ChatCompletionMessageFunctionToolCallParam.js +0 -5
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -8
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -5
- package/api/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -8
- package/api/types/ChatCompletionNamedToolChoiceParam.js +0 -5
- package/api/types/ChatCompletionPredictionContentParam.d.ts +0 -8
- package/api/types/ChatCompletionPredictionContentParam.js +0 -5
- package/api/types/ChatCompletionPredictionContentParamContent.d.ts +0 -5
- package/api/types/ChatCompletionPredictionContentParamContent.js +0 -5
- package/api/types/ChatCompletionStreamOptionsParam.d.ts +0 -7
- package/api/types/ChatCompletionStreamOptionsParam.js +0 -5
- package/api/types/ChatCompletionSystemMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionSystemMessageParam.js +0 -5
- package/api/types/ChatCompletionSystemMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionSystemMessageParamContent.js +0 -5
- package/api/types/ChatCompletionToolMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionToolMessageParam.js +0 -5
- package/api/types/ChatCompletionToolMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionToolMessageParamContent.js +0 -5
- package/api/types/ChatCompletionUserMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionUserMessageParam.js +0 -5
- package/api/types/ChatCompletionUserMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionUserMessageParamContent.js +0 -5
- package/api/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -5
- package/api/types/ChatCompletionUserMessageParamContentItem.js +0 -5
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +0 -40
- package/api/types/CompletionCreateParamsNonStreaming.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -8
- package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -10
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -4
- package/api/types/CompletionCreateParamsNonStreamingModel.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -12
- package/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -11
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -13
- package/api/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -4
- package/api/types/CompletionCreateParamsNonStreamingStop.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -9
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -11
- package/api/types/CompletionCreateParamsStreaming.d.ts +0 -40
- package/api/types/CompletionCreateParamsStreaming.js +0 -5
- package/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingFunctionCall.js +0 -5
- package/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingMessagesItem.js +0 -5
- package/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -8
- package/api/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -10
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +0 -4
- package/api/types/CompletionCreateParamsStreamingModel.js +0 -5
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -12
- package/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingResponseFormat.js +0 -5
- package/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -11
- package/api/types/CompletionCreateParamsStreamingServiceTier.js +0 -13
- package/api/types/CompletionCreateParamsStreamingStop.d.ts +0 -4
- package/api/types/CompletionCreateParamsStreamingStop.js +0 -5
- package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingToolChoice.js +0 -5
- package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingToolsItem.js +0 -5
- package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -9
- package/api/types/CompletionCreateParamsStreamingVerbosity.js +0 -11
- package/api/types/CustomFormatGrammar.d.ts +0 -8
- package/api/types/CustomFormatGrammar.js +0 -5
- package/api/types/CustomFormatGrammarGrammar.d.ts +0 -8
- package/api/types/CustomFormatGrammarGrammar.js +0 -5
- package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -8
- package/api/types/CustomFormatGrammarGrammarSyntax.js +0 -10
- package/api/types/CustomFormatText.d.ts +0 -6
- package/api/types/CustomFormatText.js +0 -5
- package/api/types/FileFile.d.ts +0 -8
- package/api/types/FileFile.js +0 -5
- package/api/types/File_.d.ts +0 -8
- package/api/types/File_.js +0 -5
- package/api/types/FunctionCall.d.ts +0 -7
- package/api/types/FunctionCall.js +0 -5
- package/api/types/FunctionDefinitionInput.d.ts +0 -9
- package/api/types/FunctionDefinitionInput.js +0 -5
- package/api/types/FunctionDefinitionOutput.js +0 -5
- package/api/types/FunctionOutput.js +0 -5
- package/api/types/ImageUrl.d.ts +0 -8
- package/api/types/ImageUrl.js +0 -5
- package/api/types/ImageUrlDetail.d.ts +0 -9
- package/api/types/ImageUrlDetail.js +0 -11
- package/api/types/InputAudio.d.ts +0 -8
- package/api/types/InputAudio.js +0 -5
- package/api/types/InputAudioFormat.d.ts +0 -8
- package/api/types/InputAudioFormat.js +0 -10
- package/api/types/JsonSchema.d.ts +0 -9
- package/api/types/JsonSchema.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -9
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -5
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -7
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -9
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -7
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -6
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -6
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -5
- package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -8
- package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -5
- package/api/types/ResponseFormatJsonObject.d.ts +0 -6
- package/api/types/ResponseFormatJsonObject.js +0 -5
- package/api/types/ResponseFormatJsonSchema.d.ts +0 -8
- package/api/types/ResponseFormatJsonSchema.js +0 -5
- package/api/types/ResponseFormatText.d.ts +0 -6
- package/api/types/ResponseFormatText.js +0 -5
- package/api/types/WebSearchOptions.d.ts +0 -8
- package/api/types/WebSearchOptions.js +0 -5
- package/api/types/WebSearchOptionsSearchContextSize.d.ts +0 -9
- package/api/types/WebSearchOptionsSearchContextSize.js +0 -11
- package/api/types/WebSearchOptionsUserLocation.d.ts +0 -8
- package/api/types/WebSearchOptionsUserLocation.js +0 -5
- package/api/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -9
- package/api/types/WebSearchOptionsUserLocationApproximate.js +0 -5
- package/dist/api/types/Audio.d.ts +0 -6
- package/dist/api/types/Audio.js +0 -5
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +0 -5
- package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionAllowedToolsParam.js +0 -5
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -8
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +0 -10
- package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +0 -13
- package/dist/api/types/ChatCompletionAssistantMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.js +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -5
- package/dist/api/types/ChatCompletionAudioParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionAudioParam.js +0 -5
- package/dist/api/types/ChatCompletionAudioParamFormat.d.ts +0 -12
- package/dist/api/types/ChatCompletionAudioParamFormat.js +0 -14
- package/dist/api/types/ChatCompletionAudioParamVoice.d.ts +0 -4
- package/dist/api/types/ChatCompletionAudioParamVoice.js +0 -5
- package/dist/api/types/ChatCompletionContentPartImageParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionContentPartImageParam.js +0 -5
- package/dist/api/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionContentPartInputAudioParam.js +0 -5
- package/dist/api/types/ChatCompletionContentPartRefusalParam.d.ts +0 -7
- package/dist/api/types/ChatCompletionContentPartRefusalParam.js +0 -5
- package/dist/api/types/ChatCompletionContentPartTextParam.d.ts +0 -7
- package/dist/api/types/ChatCompletionContentPartTextParam.js +0 -5
- package/dist/api/types/ChatCompletionCustomToolParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionCustomToolParam.js +0 -5
- package/dist/api/types/ChatCompletionDeveloperMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionDeveloperMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionDeveloperMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -6
- package/dist/api/types/ChatCompletionFunctionCallOptionParam.js +0 -5
- package/dist/api/types/ChatCompletionFunctionMessageParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionFunctionMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionFunctionToolParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionFunctionToolParam.js +0 -5
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +0 -5
- package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -11
- package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.js +0 -5
- package/dist/api/types/ChatCompletionMessageFunctionToolCallOutput.js +0 -5
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +0 -5
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -5
- package/dist/api/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionNamedToolChoiceParam.js +0 -5
- package/dist/api/types/ChatCompletionPredictionContentParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionPredictionContentParam.js +0 -5
- package/dist/api/types/ChatCompletionPredictionContentParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionPredictionContentParamContent.js +0 -5
- package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +0 -7
- package/dist/api/types/ChatCompletionStreamOptionsParam.js +0 -5
- package/dist/api/types/ChatCompletionSystemMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionSystemMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionSystemMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionSystemMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionToolMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionToolMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionToolMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionToolMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionUserMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionUserMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContentItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +0 -40
- package/dist/api/types/CompletionCreateParamsNonStreaming.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -8
- package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -10
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -12
- package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -11
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -13
- package/dist/api/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsNonStreamingStop.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -9
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -11
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +0 -40
- package/dist/api/types/CompletionCreateParamsStreaming.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -8
- package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -10
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsStreamingModel.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -12
- package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -11
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.js +0 -13
- package/dist/api/types/CompletionCreateParamsStreamingStop.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsStreamingStop.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -9
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +0 -11
- package/dist/api/types/CustomFormatGrammar.d.ts +0 -8
- package/dist/api/types/CustomFormatGrammar.js +0 -5
- package/dist/api/types/CustomFormatGrammarGrammar.d.ts +0 -8
- package/dist/api/types/CustomFormatGrammarGrammar.js +0 -5
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -8
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +0 -10
- package/dist/api/types/CustomFormatText.d.ts +0 -6
- package/dist/api/types/CustomFormatText.js +0 -5
- package/dist/api/types/FileFile.d.ts +0 -8
- package/dist/api/types/FileFile.js +0 -5
- package/dist/api/types/File_.d.ts +0 -8
- package/dist/api/types/File_.js +0 -5
- package/dist/api/types/FunctionCall.d.ts +0 -7
- package/dist/api/types/FunctionCall.js +0 -5
- package/dist/api/types/FunctionDefinitionInput.d.ts +0 -9
- package/dist/api/types/FunctionDefinitionInput.js +0 -5
- package/dist/api/types/FunctionDefinitionOutput.js +0 -5
- package/dist/api/types/FunctionOutput.js +0 -5
- package/dist/api/types/ImageUrl.d.ts +0 -8
- package/dist/api/types/ImageUrl.js +0 -5
- package/dist/api/types/ImageUrlDetail.d.ts +0 -9
- package/dist/api/types/ImageUrlDetail.js +0 -11
- package/dist/api/types/InputAudio.d.ts +0 -8
- package/dist/api/types/InputAudio.js +0 -5
- package/dist/api/types/InputAudioFormat.d.ts +0 -8
- package/dist/api/types/InputAudioFormat.js +0 -10
- package/dist/api/types/JsonSchema.d.ts +0 -9
- package/dist/api/types/JsonSchema.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -9
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -7
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -9
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -7
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -6
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -6
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -5
- package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -8
- package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -5
- package/dist/api/types/ResponseFormatJsonObject.d.ts +0 -6
- package/dist/api/types/ResponseFormatJsonObject.js +0 -5
- package/dist/api/types/ResponseFormatJsonSchema.d.ts +0 -8
- package/dist/api/types/ResponseFormatJsonSchema.js +0 -5
- package/dist/api/types/ResponseFormatText.d.ts +0 -6
- package/dist/api/types/ResponseFormatText.js +0 -5
- package/dist/api/types/WebSearchOptions.d.ts +0 -8
- package/dist/api/types/WebSearchOptions.js +0 -5
- package/dist/api/types/WebSearchOptionsSearchContextSize.d.ts +0 -9
- package/dist/api/types/WebSearchOptionsSearchContextSize.js +0 -11
- package/dist/api/types/WebSearchOptionsUserLocation.d.ts +0 -8
- package/dist/api/types/WebSearchOptionsUserLocation.js +0 -5
- package/dist/api/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -9
- package/dist/api/types/WebSearchOptionsUserLocationApproximate.js +0 -5
- package/dist/serialization/types/Audio.d.ts +0 -12
- package/dist/serialization/types/Audio.js +0 -43
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +0 -45
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +0 -45
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +0 -41
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +0 -22
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +0 -53
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -12
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +0 -46
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -12
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -46
- package/dist/serialization/types/ChatCompletionAudioParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionAudioParam.js +0 -46
- package/dist/serialization/types/ChatCompletionAudioParamFormat.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionAudioParamFormat.js +0 -41
- package/dist/serialization/types/ChatCompletionAudioParamVoice.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionAudioParamVoice.js +0 -51
- package/dist/serialization/types/ChatCompletionContentPartImageParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionContentPartImageParam.js +0 -45
- package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.js +0 -45
- package/dist/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +0 -13
- package/dist/serialization/types/ChatCompletionContentPartRefusalParam.js +0 -44
- package/dist/serialization/types/ChatCompletionContentPartTextParam.d.ts +0 -13
- package/dist/serialization/types/ChatCompletionContentPartTextParam.js +0 -44
- package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionCustomToolParam.js +0 -45
- package/dist/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionDeveloperMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -12
- package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.js +0 -43
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.js +0 -45
- package/dist/serialization/types/ChatCompletionFunctionToolParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionFunctionToolParam.js +0 -45
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +0 -46
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -16
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +0 -48
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +0 -16
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +0 -46
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -45
- package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.js +0 -45
- package/dist/serialization/types/ChatCompletionPredictionContentParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionPredictionContentParam.js +0 -45
- package/dist/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionPredictionContentParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +0 -13
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +0 -44
- package/dist/serialization/types/ChatCompletionSystemMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionSystemMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionSystemMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionToolMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionToolMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionToolMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionToolMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionUserMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionUserMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionUserMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionUserMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.js +0 -50
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +0 -61
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +0 -92
- package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -11
- package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -46
- package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -16
- package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -54
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +0 -105
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -51
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -12
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -43
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +0 -61
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +0 -92
- package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -11
- package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +0 -46
- package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -16
- package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +0 -54
- package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +0 -105
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreamingStop.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingStop.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +0 -51
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -12
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +0 -43
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +0 -41
- package/dist/serialization/types/CustomFormatGrammar.d.ts +0 -14
- package/dist/serialization/types/CustomFormatGrammar.js +0 -45
- package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +0 -14
- package/dist/serialization/types/CustomFormatGrammarGrammar.js +0 -45
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -10
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +0 -41
- package/dist/serialization/types/CustomFormatText.d.ts +0 -12
- package/dist/serialization/types/CustomFormatText.js +0 -43
- package/dist/serialization/types/FileFile.d.ts +0 -14
- package/dist/serialization/types/FileFile.js +0 -45
- package/dist/serialization/types/File_.d.ts +0 -14
- package/dist/serialization/types/File_.js +0 -45
- package/dist/serialization/types/FunctionCall.d.ts +0 -13
- package/dist/serialization/types/FunctionCall.js +0 -44
- package/dist/serialization/types/FunctionDefinitionInput.d.ts +0 -15
- package/dist/serialization/types/FunctionDefinitionInput.js +0 -46
- package/dist/serialization/types/ImageUrl.d.ts +0 -14
- package/dist/serialization/types/ImageUrl.js +0 -45
- package/dist/serialization/types/ImageUrlDetail.d.ts +0 -10
- package/dist/serialization/types/ImageUrlDetail.js +0 -41
- package/dist/serialization/types/InputAudio.d.ts +0 -14
- package/dist/serialization/types/InputAudio.js +0 -45
- package/dist/serialization/types/InputAudioFormat.d.ts +0 -10
- package/dist/serialization/types/InputAudioFormat.js +0 -41
- package/dist/serialization/types/JsonSchema.d.ts +0 -15
- package/dist/serialization/types/JsonSchema.js +0 -46
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -15
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -46
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -12
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -43
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -13
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -44
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -14
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -46
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -13
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -44
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -12
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -43
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -12
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -43
- package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -14
- package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -45
- package/dist/serialization/types/ResponseFormatJsonObject.d.ts +0 -12
- package/dist/serialization/types/ResponseFormatJsonObject.js +0 -43
- package/dist/serialization/types/ResponseFormatJsonSchema.d.ts +0 -14
- package/dist/serialization/types/ResponseFormatJsonSchema.js +0 -45
- package/dist/serialization/types/ResponseFormatText.d.ts +0 -12
- package/dist/serialization/types/ResponseFormatText.js +0 -43
- package/dist/serialization/types/WebSearchOptions.d.ts +0 -15
- package/dist/serialization/types/WebSearchOptions.js +0 -46
- package/dist/serialization/types/WebSearchOptionsSearchContextSize.d.ts +0 -10
- package/dist/serialization/types/WebSearchOptionsSearchContextSize.js +0 -41
- package/dist/serialization/types/WebSearchOptionsUserLocation.d.ts +0 -14
- package/dist/serialization/types/WebSearchOptionsUserLocation.js +0 -45
- package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -15
- package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.js +0 -46
- package/serialization/types/Audio.d.ts +0 -12
- package/serialization/types/Audio.js +0 -43
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -14
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +0 -45
- package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +0 -14
- package/serialization/types/ChatCompletionAllowedToolsParam.js +0 -45
- package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -10
- package/serialization/types/ChatCompletionAllowedToolsParamMode.js +0 -41
- package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +0 -22
- package/serialization/types/ChatCompletionAssistantMessageParam.js +0 -53
- package/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionAssistantMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -12
- package/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +0 -46
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -12
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -46
- package/serialization/types/ChatCompletionAudioParam.d.ts +0 -15
- package/serialization/types/ChatCompletionAudioParam.js +0 -46
- package/serialization/types/ChatCompletionAudioParamFormat.d.ts +0 -10
- package/serialization/types/ChatCompletionAudioParamFormat.js +0 -41
- package/serialization/types/ChatCompletionAudioParamVoice.d.ts +0 -10
- package/serialization/types/ChatCompletionAudioParamVoice.js +0 -51
- package/serialization/types/ChatCompletionContentPartImageParam.d.ts +0 -14
- package/serialization/types/ChatCompletionContentPartImageParam.js +0 -45
- package/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -14
- package/serialization/types/ChatCompletionContentPartInputAudioParam.js +0 -45
- package/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +0 -13
- package/serialization/types/ChatCompletionContentPartRefusalParam.js +0 -44
- package/serialization/types/ChatCompletionContentPartTextParam.d.ts +0 -13
- package/serialization/types/ChatCompletionContentPartTextParam.js +0 -44
- package/serialization/types/ChatCompletionCustomToolParam.d.ts +0 -14
- package/serialization/types/ChatCompletionCustomToolParam.js +0 -45
- package/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionDeveloperMessageParam.js +0 -46
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -12
- package/serialization/types/ChatCompletionFunctionCallOptionParam.js +0 -43
- package/serialization/types/ChatCompletionFunctionMessageParam.d.ts +0 -14
- package/serialization/types/ChatCompletionFunctionMessageParam.js +0 -45
- package/serialization/types/ChatCompletionFunctionToolParam.d.ts +0 -14
- package/serialization/types/ChatCompletionFunctionToolParam.js +0 -45
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -15
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +0 -46
- package/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -16
- package/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +0 -48
- package/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +0 -16
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -15
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +0 -46
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -14
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -45
- package/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -14
- package/serialization/types/ChatCompletionNamedToolChoiceParam.js +0 -45
- package/serialization/types/ChatCompletionPredictionContentParam.d.ts +0 -14
- package/serialization/types/ChatCompletionPredictionContentParam.js +0 -45
- package/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionPredictionContentParamContent.js +0 -45
- package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +0 -13
- package/serialization/types/ChatCompletionStreamOptionsParam.js +0 -44
- package/serialization/types/ChatCompletionSystemMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionSystemMessageParam.js +0 -46
- package/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionSystemMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionToolMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionToolMessageParam.js +0 -46
- package/serialization/types/ChatCompletionToolMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionToolMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionUserMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionUserMessageParam.js +0 -46
- package/serialization/types/ChatCompletionUserMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionUserMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -14
- package/serialization/types/ChatCompletionUserMessageParamContentItem.js +0 -50
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +0 -61
- package/serialization/types/CompletionCreateParamsNonStreaming.js +0 -92
- package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -11
- package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -46
- package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -16
- package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -54
- package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -41
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +0 -105
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -41
- package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -44
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -41
- package/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingStop.js +0 -44
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -51
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -12
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -43
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -41
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +0 -61
- package/serialization/types/CompletionCreateParamsStreaming.js +0 -92
- package/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -11
- package/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +0 -46
- package/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -16
- package/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +0 -54
- package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -41
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingModel.js +0 -105
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -41
- package/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +0 -44
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.js +0 -41
- package/serialization/types/CompletionCreateParamsStreamingStop.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingStop.js +0 -44
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +0 -51
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -12
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +0 -43
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +0 -41
- package/serialization/types/CustomFormatGrammar.d.ts +0 -14
- package/serialization/types/CustomFormatGrammar.js +0 -45
- package/serialization/types/CustomFormatGrammarGrammar.d.ts +0 -14
- package/serialization/types/CustomFormatGrammarGrammar.js +0 -45
- package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -10
- package/serialization/types/CustomFormatGrammarGrammarSyntax.js +0 -41
- package/serialization/types/CustomFormatText.d.ts +0 -12
- package/serialization/types/CustomFormatText.js +0 -43
- package/serialization/types/FileFile.d.ts +0 -14
- package/serialization/types/FileFile.js +0 -45
- package/serialization/types/File_.d.ts +0 -14
- package/serialization/types/File_.js +0 -45
- package/serialization/types/FunctionCall.d.ts +0 -13
- package/serialization/types/FunctionCall.js +0 -44
- package/serialization/types/FunctionDefinitionInput.d.ts +0 -15
- package/serialization/types/FunctionDefinitionInput.js +0 -46
- package/serialization/types/ImageUrl.d.ts +0 -14
- package/serialization/types/ImageUrl.js +0 -45
- package/serialization/types/ImageUrlDetail.d.ts +0 -10
- package/serialization/types/ImageUrlDetail.js +0 -41
- package/serialization/types/InputAudio.d.ts +0 -14
- package/serialization/types/InputAudio.js +0 -45
- package/serialization/types/InputAudioFormat.d.ts +0 -10
- package/serialization/types/InputAudioFormat.js +0 -41
- package/serialization/types/JsonSchema.d.ts +0 -15
- package/serialization/types/JsonSchema.js +0 -46
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -15
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -46
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -12
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -43
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -13
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -44
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -14
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -46
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -13
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -44
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -12
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -43
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -12
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -43
- package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -14
- package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -45
- package/serialization/types/ResponseFormatJsonObject.d.ts +0 -12
- package/serialization/types/ResponseFormatJsonObject.js +0 -43
- package/serialization/types/ResponseFormatJsonSchema.d.ts +0 -14
- package/serialization/types/ResponseFormatJsonSchema.js +0 -45
- package/serialization/types/ResponseFormatText.d.ts +0 -12
- package/serialization/types/ResponseFormatText.js +0 -43
- package/serialization/types/WebSearchOptions.d.ts +0 -15
- package/serialization/types/WebSearchOptions.js +0 -46
- package/serialization/types/WebSearchOptionsSearchContextSize.d.ts +0 -10
- package/serialization/types/WebSearchOptionsSearchContextSize.js +0 -41
- package/serialization/types/WebSearchOptionsUserLocation.d.ts +0 -14
- package/serialization/types/WebSearchOptionsUserLocation.js +0 -45
- package/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -15
- package/serialization/types/WebSearchOptionsUserLocationApproximate.js +0 -46
- /package/api/types/{Audio.js → ChatCompletionMessageFunctionToolCall.js} +0 -0
- /package/api/types/{ChatCompletionAllowedToolChoiceParam.js → Function.js} +0 -0
- /package/api/types/{ChatCompletionAllowedToolsParam.js → FunctionDefinition.js} +0 -0
- /package/{api/types/ChatCompletionAssistantMessageParam.js → dist/api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
- /package/{api/types/ChatCompletionAssistantMessageParamContent.js → dist/api/types/Function.js} +0 -0
- /package/{api/types/ChatCompletionAssistantMessageParamContentItem.js → dist/api/types/FunctionDefinition.js} +0 -0
|
@@ -129,7 +129,7 @@ class Identities {
|
|
|
129
129
|
method: "GET",
|
|
130
130
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
131
131
|
? yield core.Supplier.get(this._options.project)
|
|
132
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
132
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
queryParameters: _queryParams,
|
|
135
135
|
requestType: "json",
|
|
@@ -208,7 +208,7 @@ class Identities {
|
|
|
208
208
|
method: "POST",
|
|
209
209
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
210
210
|
? yield core.Supplier.get(this._options.project)
|
|
211
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
211
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
requestType: "json",
|
|
214
214
|
body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -287,7 +287,7 @@ class Identities {
|
|
|
287
287
|
method: "PUT",
|
|
288
288
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
289
289
|
? yield core.Supplier.get(this._options.project)
|
|
290
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
290
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -363,7 +363,7 @@ class Identities {
|
|
|
363
363
|
method: "GET",
|
|
364
364
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
365
365
|
? yield core.Supplier.get(this._options.project)
|
|
366
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
366
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
367
367
|
contentType: "application/json",
|
|
368
368
|
requestType: "json",
|
|
369
369
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -437,7 +437,7 @@ class Identities {
|
|
|
437
437
|
method: "GET",
|
|
438
438
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
439
439
|
? yield core.Supplier.get(this._options.project)
|
|
440
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
440
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
441
441
|
contentType: "application/json",
|
|
442
442
|
requestType: "json",
|
|
443
443
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -513,7 +513,7 @@ class Identities {
|
|
|
513
513
|
method: "DELETE",
|
|
514
514
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
515
515
|
? yield core.Supplier.get(this._options.project)
|
|
516
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
516
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
517
517
|
contentType: "application/json",
|
|
518
518
|
requestType: "json",
|
|
519
519
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -579,7 +579,7 @@ class Identities {
|
|
|
579
579
|
method: "PATCH",
|
|
580
580
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
581
581
|
? yield core.Supplier.get(this._options.project)
|
|
582
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
582
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
583
583
|
contentType: "application/json",
|
|
584
584
|
requestType: "json",
|
|
585
585
|
body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -101,7 +101,7 @@ class Agents {
|
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
103
103
|
? yield core.Supplier.get(this._options.project)
|
|
104
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -101,7 +101,7 @@ class Blocks {
|
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
103
103
|
? yield core.Supplier.get(this._options.project)
|
|
104
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -84,7 +84,7 @@ class Properties {
|
|
|
84
84
|
method: "PUT",
|
|
85
85
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
86
86
|
? yield core.Supplier.get(this._options.project)
|
|
87
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
87
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
|
|
@@ -101,7 +101,7 @@ class Jobs {
|
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
103
103
|
? yield core.Supplier.get(this._options.project)
|
|
104
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -195,7 +195,7 @@ class Jobs {
|
|
|
195
195
|
method: "GET",
|
|
196
196
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
197
197
|
? yield core.Supplier.get(this._options.project)
|
|
198
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
198
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
199
199
|
contentType: "application/json",
|
|
200
200
|
queryParameters: _queryParams,
|
|
201
201
|
requestType: "json",
|
|
@@ -272,7 +272,7 @@ class Jobs {
|
|
|
272
272
|
method: "GET",
|
|
273
273
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
274
274
|
? yield core.Supplier.get(this._options.project)
|
|
275
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
275
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
276
276
|
contentType: "application/json",
|
|
277
277
|
requestType: "json",
|
|
278
278
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -348,7 +348,7 @@ class Jobs {
|
|
|
348
348
|
method: "DELETE",
|
|
349
349
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
350
350
|
? yield core.Supplier.get(this._options.project)
|
|
351
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
351
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
352
352
|
contentType: "application/json",
|
|
353
353
|
requestType: "json",
|
|
354
354
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -427,7 +427,7 @@ class Jobs {
|
|
|
427
427
|
method: "PATCH",
|
|
428
428
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
429
429
|
? yield core.Supplier.get(this._options.project)
|
|
430
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
430
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
431
431
|
contentType: "application/json",
|
|
432
432
|
requestType: "json",
|
|
433
433
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -106,7 +106,7 @@ class Models {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.project)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -178,7 +178,7 @@ class Models {
|
|
|
178
178
|
method: "GET",
|
|
179
179
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
180
180
|
? yield core.Supplier.get(this._options.project)
|
|
181
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
181
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -80,7 +80,7 @@ class Embeddings {
|
|
|
80
80
|
method: "GET",
|
|
81
81
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
82
82
|
? yield core.Supplier.get(this._options.project)
|
|
83
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
83
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -89,7 +89,7 @@ class Projects {
|
|
|
89
89
|
method: "GET",
|
|
90
90
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
91
91
|
? yield core.Supplier.get(this._options.project)
|
|
92
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
92
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "json",
|
|
@@ -108,7 +108,7 @@ class Providers {
|
|
|
108
108
|
method: "GET",
|
|
109
109
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
110
110
|
? yield core.Supplier.get(this._options.project)
|
|
111
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
111
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
112
112
|
contentType: "application/json",
|
|
113
113
|
queryParameters: _queryParams,
|
|
114
114
|
requestType: "json",
|
|
@@ -189,7 +189,7 @@ class Providers {
|
|
|
189
189
|
method: "POST",
|
|
190
190
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
191
191
|
? yield core.Supplier.get(this._options.project)
|
|
192
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
192
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -266,7 +266,7 @@ class Providers {
|
|
|
266
266
|
method: "GET",
|
|
267
267
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
268
268
|
? yield core.Supplier.get(this._options.project)
|
|
269
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
269
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
requestType: "json",
|
|
272
272
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -342,7 +342,7 @@ class Providers {
|
|
|
342
342
|
method: "DELETE",
|
|
343
343
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
344
344
|
? yield core.Supplier.get(this._options.project)
|
|
345
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
345
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
346
346
|
contentType: "application/json",
|
|
347
347
|
requestType: "json",
|
|
348
348
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -412,7 +412,7 @@ class Providers {
|
|
|
412
412
|
method: "PATCH",
|
|
413
413
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
414
414
|
? yield core.Supplier.get(this._options.project)
|
|
415
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
415
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
416
416
|
contentType: "application/json",
|
|
417
417
|
requestType: "json",
|
|
418
418
|
body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -492,7 +492,7 @@ class Providers {
|
|
|
492
492
|
method: "POST",
|
|
493
493
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
494
494
|
? yield core.Supplier.get(this._options.project)
|
|
495
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
495
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
496
496
|
contentType: "application/json",
|
|
497
497
|
requestType: "json",
|
|
498
498
|
body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -91,8 +91,11 @@ class Runs {
|
|
|
91
91
|
__list() {
|
|
92
92
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
93
93
|
var _a, _b, _c;
|
|
94
|
-
const { agentIds, background, stopReason, after, before, limit, active, ascending } = request;
|
|
94
|
+
const { agentId, agentIds, background, stopReason, after, before, limit, active, ascending } = request;
|
|
95
95
|
const _queryParams = {};
|
|
96
|
+
if (agentId != null) {
|
|
97
|
+
_queryParams["agent_id"] = agentId;
|
|
98
|
+
}
|
|
96
99
|
if (agentIds != null) {
|
|
97
100
|
if (Array.isArray(agentIds)) {
|
|
98
101
|
_queryParams["agent_ids"] = agentIds.map((item) => item);
|
|
@@ -129,7 +132,7 @@ class Runs {
|
|
|
129
132
|
method: "GET",
|
|
130
133
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
131
134
|
? yield core.Supplier.get(this._options.project)
|
|
132
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
135
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
133
136
|
contentType: "application/json",
|
|
134
137
|
queryParameters: _queryParams,
|
|
135
138
|
requestType: "json",
|
|
@@ -201,15 +204,10 @@ class Runs {
|
|
|
201
204
|
__listActive() {
|
|
202
205
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
203
206
|
var _a, _b, _c;
|
|
204
|
-
const {
|
|
207
|
+
const { agentId, background } = request;
|
|
205
208
|
const _queryParams = {};
|
|
206
|
-
if (
|
|
207
|
-
|
|
208
|
-
_queryParams["agent_ids"] = agentIds.map((item) => item);
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
_queryParams["agent_ids"] = agentIds;
|
|
212
|
-
}
|
|
209
|
+
if (agentId != null) {
|
|
210
|
+
_queryParams["agent_id"] = agentId;
|
|
213
211
|
}
|
|
214
212
|
if (background != null) {
|
|
215
213
|
_queryParams["background"] = background.toString();
|
|
@@ -219,7 +217,7 @@ class Runs {
|
|
|
219
217
|
method: "GET",
|
|
220
218
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
221
219
|
? yield core.Supplier.get(this._options.project)
|
|
222
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
220
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
223
221
|
contentType: "application/json",
|
|
224
222
|
queryParameters: _queryParams,
|
|
225
223
|
requestType: "json",
|
|
@@ -296,7 +294,7 @@ class Runs {
|
|
|
296
294
|
method: "GET",
|
|
297
295
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
298
296
|
? yield core.Supplier.get(this._options.project)
|
|
299
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
297
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
300
298
|
contentType: "application/json",
|
|
301
299
|
requestType: "json",
|
|
302
300
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -372,7 +370,7 @@ class Runs {
|
|
|
372
370
|
method: "DELETE",
|
|
373
371
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
374
372
|
? yield core.Supplier.get(this._options.project)
|
|
375
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
373
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
376
374
|
contentType: "application/json",
|
|
377
375
|
requestType: "json",
|
|
378
376
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -437,7 +435,7 @@ class Runs {
|
|
|
437
435
|
method: "POST",
|
|
438
436
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
439
437
|
? yield core.Supplier.get(this._options.project)
|
|
440
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
438
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
441
439
|
contentType: "application/json",
|
|
442
440
|
requestType: "json",
|
|
443
441
|
body: serializers.RetrieveStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -10,6 +10,10 @@ export interface RunsListRequest {
|
|
|
10
10
|
/**
|
|
11
11
|
* The unique identifier of the agent associated with the run.
|
|
12
12
|
*/
|
|
13
|
+
agentId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* (DEPRECATED) The unique identifiers of the agents associated with the run.
|
|
16
|
+
*/
|
|
13
17
|
agentIds?: string | string[];
|
|
14
18
|
/**
|
|
15
19
|
* If True, filters for runs that were created in background mode.
|
|
@@ -98,7 +98,7 @@ class Messages {
|
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
100
100
|
? yield core.Supplier.get(this._options.project)
|
|
101
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
101
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -106,7 +106,7 @@ class Steps {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.project)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class Usage {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -90,7 +90,7 @@ class Sources {
|
|
|
90
90
|
method: "GET",
|
|
91
91
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
92
92
|
? yield core.Supplier.get(this._options.project)
|
|
93
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
93
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
requestType: "json",
|
|
96
96
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -166,7 +166,7 @@ class Sources {
|
|
|
166
166
|
method: "GET",
|
|
167
167
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
168
168
|
? yield core.Supplier.get(this._options.project)
|
|
169
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
169
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
requestType: "json",
|
|
172
172
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -242,7 +242,7 @@ class Sources {
|
|
|
242
242
|
method: "DELETE",
|
|
243
243
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
244
244
|
? yield core.Supplier.get(this._options.project)
|
|
245
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
245
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
requestType: "json",
|
|
248
248
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -310,7 +310,7 @@ class Sources {
|
|
|
310
310
|
method: "PATCH",
|
|
311
311
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
312
312
|
? yield core.Supplier.get(this._options.project)
|
|
313
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
313
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
314
314
|
contentType: "application/json",
|
|
315
315
|
requestType: "json",
|
|
316
316
|
body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -387,7 +387,7 @@ class Sources {
|
|
|
387
387
|
method: "GET",
|
|
388
388
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
389
389
|
? yield core.Supplier.get(this._options.project)
|
|
390
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
390
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
391
391
|
contentType: "application/json",
|
|
392
392
|
requestType: "json",
|
|
393
393
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -474,7 +474,7 @@ class Sources {
|
|
|
474
474
|
method: "GET",
|
|
475
475
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
476
476
|
? yield core.Supplier.get(this._options.project)
|
|
477
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
477
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
478
478
|
contentType: "application/json",
|
|
479
479
|
queryParameters: _queryParams,
|
|
480
480
|
requestType: "json",
|
|
@@ -550,7 +550,7 @@ class Sources {
|
|
|
550
550
|
method: "GET",
|
|
551
551
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
552
552
|
? yield core.Supplier.get(this._options.project)
|
|
553
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
553
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
554
554
|
contentType: "application/json",
|
|
555
555
|
requestType: "json",
|
|
556
556
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -628,7 +628,7 @@ class Sources {
|
|
|
628
628
|
method: "POST",
|
|
629
629
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
630
630
|
? yield core.Supplier.get(this._options.project)
|
|
631
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
631
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
632
632
|
contentType: "application/json",
|
|
633
633
|
requestType: "json",
|
|
634
634
|
body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -705,7 +705,7 @@ class Sources {
|
|
|
705
705
|
method: "GET",
|
|
706
706
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
707
707
|
? yield core.Supplier.get(this._options.project)
|
|
708
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
708
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
709
709
|
contentType: "application/json",
|
|
710
710
|
requestType: "json",
|
|
711
711
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -788,7 +788,7 @@ class Sources {
|
|
|
788
788
|
method: "GET",
|
|
789
789
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
790
790
|
? yield core.Supplier.get(this._options.project)
|
|
791
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
791
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
792
792
|
contentType: "application/json",
|
|
793
793
|
queryParameters: _queryParams,
|
|
794
794
|
requestType: "json",
|
|
@@ -93,7 +93,7 @@ class Files {
|
|
|
93
93
|
method: "POST",
|
|
94
94
|
headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
95
95
|
? yield core.Supplier.get(this._options.project)
|
|
96
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
96
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "file",
|
|
99
99
|
duplex: _maybeEncodedRequest.duplex,
|
|
@@ -186,7 +186,7 @@ class Files {
|
|
|
186
186
|
method: "GET",
|
|
187
187
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
188
188
|
? yield core.Supplier.get(this._options.project)
|
|
189
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
189
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
queryParameters: _queryParams,
|
|
192
192
|
requestType: "json",
|
|
@@ -264,7 +264,7 @@ class Files {
|
|
|
264
264
|
method: "DELETE",
|
|
265
265
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
266
266
|
? yield core.Supplier.get(this._options.project)
|
|
267
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
267
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
requestType: "json",
|
|
270
270
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -93,7 +93,7 @@ class Passages {
|
|
|
93
93
|
method: "GET",
|
|
94
94
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
95
95
|
? yield core.Supplier.get(this._options.project)
|
|
96
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
96
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -159,7 +159,7 @@ class Steps {
|
|
|
159
159
|
method: "GET",
|
|
160
160
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
161
161
|
? yield core.Supplier.get(this._options.project)
|
|
162
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
162
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
163
163
|
contentType: "application/json",
|
|
164
164
|
queryParameters: _queryParams,
|
|
165
165
|
requestType: "json",
|
|
@@ -236,7 +236,7 @@ class Steps {
|
|
|
236
236
|
method: "GET",
|
|
237
237
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
238
238
|
? yield core.Supplier.get(this._options.project)
|
|
239
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
239
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68661", "User-Agent": "@letta-ai/letta-client/0.0.68661", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
240
240
|
contentType: "application/json",
|
|
241
241
|
requestType: "json",
|
|
242
242
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|