@lingya-ai/agents-sdk 0.1.2
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/LICENSE +21 -0
- package/README.md +45 -0
- package/dist/apis/ChatApi.d.ts +182 -0
- package/dist/apis/ChatApi.js +411 -0
- package/dist/apis/ConfigurationApi.d.ts +62 -0
- package/dist/apis/ConfigurationApi.js +148 -0
- package/dist/apis/ConversationsApi.d.ts +403 -0
- package/dist/apis/ConversationsApi.js +914 -0
- package/dist/apis/EventsApi.d.ts +70 -0
- package/dist/apis/EventsApi.js +161 -0
- package/dist/apis/FilesApi.d.ts +174 -0
- package/dist/apis/FilesApi.js +409 -0
- package/dist/apis/InteractionsApi.d.ts +122 -0
- package/dist/apis/InteractionsApi.js +286 -0
- package/dist/apis/KnowledgeApi.d.ts +70 -0
- package/dist/apis/KnowledgeApi.js +157 -0
- package/dist/apis/MessagesApi.d.ts +236 -0
- package/dist/apis/MessagesApi.js +413 -0
- package/dist/apis/SQLApi.d.ts +126 -0
- package/dist/apis/SQLApi.js +246 -0
- package/dist/apis/WorkspaceApi.d.ts +115 -0
- package/dist/apis/WorkspaceApi.js +194 -0
- package/dist/apis/index.d.ts +10 -0
- package/dist/apis/index.js +28 -0
- package/dist/client.d.ts +116 -0
- package/dist/client.js +201 -0
- package/dist/esm/apis/ChatApi.d.ts +182 -0
- package/dist/esm/apis/ChatApi.js +407 -0
- package/dist/esm/apis/ConfigurationApi.d.ts +62 -0
- package/dist/esm/apis/ConfigurationApi.js +144 -0
- package/dist/esm/apis/ConversationsApi.d.ts +403 -0
- package/dist/esm/apis/ConversationsApi.js +910 -0
- package/dist/esm/apis/EventsApi.d.ts +70 -0
- package/dist/esm/apis/EventsApi.js +157 -0
- package/dist/esm/apis/FilesApi.d.ts +174 -0
- package/dist/esm/apis/FilesApi.js +405 -0
- package/dist/esm/apis/InteractionsApi.d.ts +122 -0
- package/dist/esm/apis/InteractionsApi.js +282 -0
- package/dist/esm/apis/KnowledgeApi.d.ts +70 -0
- package/dist/esm/apis/KnowledgeApi.js +153 -0
- package/dist/esm/apis/MessagesApi.d.ts +236 -0
- package/dist/esm/apis/MessagesApi.js +409 -0
- package/dist/esm/apis/SQLApi.d.ts +126 -0
- package/dist/esm/apis/SQLApi.js +242 -0
- package/dist/esm/apis/WorkspaceApi.d.ts +115 -0
- package/dist/esm/apis/WorkspaceApi.js +190 -0
- package/dist/esm/apis/index.d.ts +10 -0
- package/dist/esm/apis/index.js +12 -0
- package/dist/esm/client.d.ts +116 -0
- package/dist/esm/client.js +195 -0
- package/dist/esm/events.d.ts +21 -0
- package/dist/esm/events.js +33 -0
- package/dist/esm/hmac.d.ts +25 -0
- package/dist/esm/hmac.js +63 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/models/AgentFile.d.ts +50 -0
- package/dist/esm/models/AgentFile.js +64 -0
- package/dist/esm/models/AgentsConfig.d.ts +40 -0
- package/dist/esm/models/AgentsConfig.js +53 -0
- package/dist/esm/models/AiChatAwaitingInputBriefEvent.d.ts +74 -0
- package/dist/esm/models/AiChatAwaitingInputBriefEvent.js +87 -0
- package/dist/esm/models/AiChatBriefEvent.d.ts +66 -0
- package/dist/esm/models/AiChatBriefEvent.js +112 -0
- package/dist/esm/models/AiChatBriefEventList.d.ts +31 -0
- package/dist/esm/models/AiChatBriefEventList.js +44 -0
- package/dist/esm/models/AiChatCompactorWarningBriefEvent.d.ts +45 -0
- package/dist/esm/models/AiChatCompactorWarningBriefEvent.js +59 -0
- package/dist/esm/models/AiChatCompressorContextEndBriefEvent.d.ts +37 -0
- package/dist/esm/models/AiChatCompressorContextEndBriefEvent.js +51 -0
- package/dist/esm/models/AiChatCompressorContextStartBriefEvent.d.ts +37 -0
- package/dist/esm/models/AiChatCompressorContextStartBriefEvent.js +51 -0
- package/dist/esm/models/AiChatEndBriefEvent.d.ts +65 -0
- package/dist/esm/models/AiChatEndBriefEvent.js +75 -0
- package/dist/esm/models/AiChatErrorBriefEvent.d.ts +41 -0
- package/dist/esm/models/AiChatErrorBriefEvent.js +55 -0
- package/dist/esm/models/AiChatEventsBatch.d.ts +36 -0
- package/dist/esm/models/AiChatEventsBatch.js +49 -0
- package/dist/esm/models/AiChatEventsBatchInput.d.ts +34 -0
- package/dist/esm/models/AiChatEventsBatchInput.js +47 -0
- package/dist/esm/models/AiChatEventsBatchSkipped.d.ts +34 -0
- package/dist/esm/models/AiChatEventsBatchSkipped.js +47 -0
- package/dist/esm/models/AiChatFileRef.d.ts +34 -0
- package/dist/esm/models/AiChatFileRef.js +45 -0
- package/dist/esm/models/AiChatInput.d.ts +44 -0
- package/dist/esm/models/AiChatInput.js +51 -0
- package/dist/esm/models/AiChatManualInterruptBriefEvent.d.ts +37 -0
- package/dist/esm/models/AiChatManualInterruptBriefEvent.js +51 -0
- package/dist/esm/models/AiChatMessageBriefEvent.d.ts +41 -0
- package/dist/esm/models/AiChatMessageBriefEvent.js +55 -0
- package/dist/esm/models/AiChatMessageEvent.d.ts +35 -0
- package/dist/esm/models/AiChatMessageEvent.js +48 -0
- package/dist/esm/models/AiChatRequestBriefEvent.d.ts +47 -0
- package/dist/esm/models/AiChatRequestBriefEvent.js +59 -0
- package/dist/esm/models/AiChatResponseBriefEvent.d.ts +47 -0
- package/dist/esm/models/AiChatResponseBriefEvent.js +61 -0
- package/dist/esm/models/AiChatStartBriefEvent.d.ts +37 -0
- package/dist/esm/models/AiChatStartBriefEvent.js +51 -0
- package/dist/esm/models/AiChatStreamInput.d.ts +30 -0
- package/dist/esm/models/AiChatStreamInput.js +43 -0
- package/dist/esm/models/AiChatSubAgentCallBriefEvent.d.ts +53 -0
- package/dist/esm/models/AiChatSubAgentCallBriefEvent.js +67 -0
- package/dist/esm/models/AiChatSubmission.d.ts +42 -0
- package/dist/esm/models/AiChatSubmission.js +55 -0
- package/dist/esm/models/AiChatThinkBriefEvent.d.ts +41 -0
- package/dist/esm/models/AiChatThinkBriefEvent.js +55 -0
- package/dist/esm/models/AiChatToolExecutionBriefEvent.d.ts +62 -0
- package/dist/esm/models/AiChatToolExecutionBriefEvent.js +72 -0
- package/dist/esm/models/AiChatUserQueryBriefEvent.d.ts +46 -0
- package/dist/esm/models/AiChatUserQueryBriefEvent.js +58 -0
- package/dist/esm/models/ArtifactInfo.d.ts +58 -0
- package/dist/esm/models/ArtifactInfo.js +69 -0
- package/dist/esm/models/AskUserQuestionExtensionContent.d.ts +34 -0
- package/dist/esm/models/AskUserQuestionExtensionContent.js +45 -0
- package/dist/esm/models/AskUserQuestionExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/AskUserQuestionExtensionToolExtension.js +60 -0
- package/dist/esm/models/AskUserQuestionOption.d.ts +34 -0
- package/dist/esm/models/AskUserQuestionOption.js +47 -0
- package/dist/esm/models/AssistantChatMessage.d.ts +54 -0
- package/dist/esm/models/AssistantChatMessage.js +62 -0
- package/dist/esm/models/AsyncTask.d.ts +126 -0
- package/dist/esm/models/AsyncTask.js +120 -0
- package/dist/esm/models/AsyncTaskPage.d.ts +36 -0
- package/dist/esm/models/AsyncTaskPage.js +49 -0
- package/dist/esm/models/AttachmentExtension.d.ts +34 -0
- package/dist/esm/models/AttachmentExtension.js +47 -0
- package/dist/esm/models/BooleanChartColumn.d.ts +45 -0
- package/dist/esm/models/BooleanChartColumn.js +59 -0
- package/dist/esm/models/ChartColumnData.d.ts +50 -0
- package/dist/esm/models/ChartColumnData.js +86 -0
- package/dist/esm/models/ChartNumberFormat.d.ts +42 -0
- package/dist/esm/models/ChartNumberFormat.js +51 -0
- package/dist/esm/models/ChartQualitySummary.d.ts +38 -0
- package/dist/esm/models/ChartQualitySummary.js +51 -0
- package/dist/esm/models/ChartSeries.d.ts +68 -0
- package/dist/esm/models/ChartSeries.js +77 -0
- package/dist/esm/models/ChartSpec.d.ts +115 -0
- package/dist/esm/models/ChartSpec.js +121 -0
- package/dist/esm/models/ChartTimeContext.d.ts +34 -0
- package/dist/esm/models/ChartTimeContext.js +48 -0
- package/dist/esm/models/ChatMessage.d.ts +33 -0
- package/dist/esm/models/ChatMessage.js +57 -0
- package/dist/esm/models/ChatModelConfig.d.ts +62 -0
- package/dist/esm/models/ChatModelConfig.js +75 -0
- package/dist/esm/models/ChatModelSpec.d.ts +66 -0
- package/dist/esm/models/ChatModelSpec.js +63 -0
- package/dist/esm/models/ChatOptions.d.ts +54 -0
- package/dist/esm/models/ChatOptions.js +53 -0
- package/dist/esm/models/ChatStreamProbeEvent.d.ts +38 -0
- package/dist/esm/models/ChatStreamProbeEvent.js +51 -0
- package/dist/esm/models/ChatStreamProbeInput.d.ts +30 -0
- package/dist/esm/models/ChatStreamProbeInput.js +43 -0
- package/dist/esm/models/CitationMetadata.d.ts +42 -0
- package/dist/esm/models/CitationMetadata.js +51 -0
- package/dist/esm/models/CitationMetadataList.d.ts +31 -0
- package/dist/esm/models/CitationMetadataList.js +44 -0
- package/dist/esm/models/CodeMessage.d.ts +34 -0
- package/dist/esm/models/CodeMessage.js +47 -0
- package/dist/esm/models/ConfirmUploadInput.d.ts +34 -0
- package/dist/esm/models/ConfirmUploadInput.js +47 -0
- package/dist/esm/models/ConversationActivity.d.ts +62 -0
- package/dist/esm/models/ConversationActivity.js +66 -0
- package/dist/esm/models/ConversationActivityBatchInput.d.ts +30 -0
- package/dist/esm/models/ConversationActivityBatchInput.js +43 -0
- package/dist/esm/models/ConversationActivityList.d.ts +31 -0
- package/dist/esm/models/ConversationActivityList.js +44 -0
- package/dist/esm/models/ConversationConfig.d.ts +31 -0
- package/dist/esm/models/ConversationConfig.js +42 -0
- package/dist/esm/models/ConversationContextUsage.d.ts +74 -0
- package/dist/esm/models/ConversationContextUsage.js +83 -0
- package/dist/esm/models/ConversationIds.d.ts +30 -0
- package/dist/esm/models/ConversationIds.js +43 -0
- package/dist/esm/models/ConversationMessage.d.ts +84 -0
- package/dist/esm/models/ConversationMessage.js +96 -0
- package/dist/esm/models/ConversationMessagePage.d.ts +36 -0
- package/dist/esm/models/ConversationMessagePage.js +49 -0
- package/dist/esm/models/ConversationReadReceipt.d.ts +58 -0
- package/dist/esm/models/ConversationReadReceipt.js +62 -0
- package/dist/esm/models/ConversationReadReceiptInput.d.ts +30 -0
- package/dist/esm/models/ConversationReadReceiptInput.js +43 -0
- package/dist/esm/models/ConversationShareCreated.d.ts +46 -0
- package/dist/esm/models/ConversationShareCreated.js +58 -0
- package/dist/esm/models/ConversationShareInput.d.ts +34 -0
- package/dist/esm/models/ConversationShareInput.js +44 -0
- package/dist/esm/models/ConversationShareList.d.ts +31 -0
- package/dist/esm/models/ConversationShareList.js +44 -0
- package/dist/esm/models/ConversationShareRecord.d.ts +58 -0
- package/dist/esm/models/ConversationShareRecord.js +70 -0
- package/dist/esm/models/ConversationShareRevoked.d.ts +30 -0
- package/dist/esm/models/ConversationShareRevoked.js +43 -0
- package/dist/esm/models/ConversationStats.d.ts +50 -0
- package/dist/esm/models/ConversationStats.js +63 -0
- package/dist/esm/models/ConversationStatusInput.d.ts +30 -0
- package/dist/esm/models/ConversationStatusInput.js +43 -0
- package/dist/esm/models/ConversationSummary.d.ts +75 -0
- package/dist/esm/models/ConversationSummary.js +87 -0
- package/dist/esm/models/ConversationSummaryList.d.ts +31 -0
- package/dist/esm/models/ConversationSummaryList.js +44 -0
- package/dist/esm/models/ConversationTitle.d.ts +38 -0
- package/dist/esm/models/ConversationTitle.js +49 -0
- package/dist/esm/models/ConversationTitleInput.d.ts +30 -0
- package/dist/esm/models/ConversationTitleInput.js +43 -0
- package/dist/esm/models/ConversationUserMessage.d.ts +59 -0
- package/dist/esm/models/ConversationUserMessage.js +67 -0
- package/dist/esm/models/CreateFileInput.d.ts +34 -0
- package/dist/esm/models/CreateFileInput.js +47 -0
- package/dist/esm/models/DecimalChartColumn.d.ts +45 -0
- package/dist/esm/models/DecimalChartColumn.js +59 -0
- package/dist/esm/models/DefaultModel.d.ts +34 -0
- package/dist/esm/models/DefaultModel.js +47 -0
- package/dist/esm/models/DoubleChartColumn.d.ts +45 -0
- package/dist/esm/models/DoubleChartColumn.js +59 -0
- package/dist/esm/models/FieldError.d.ts +34 -0
- package/dist/esm/models/FieldError.js +47 -0
- package/dist/esm/models/FileExists.d.ts +30 -0
- package/dist/esm/models/FileExists.js +43 -0
- package/dist/esm/models/GeneratePreSignedUrlInput.d.ts +49 -0
- package/dist/esm/models/GeneratePreSignedUrlInput.js +61 -0
- package/dist/esm/models/GeneratePreSignedUrlOutput.d.ts +38 -0
- package/dist/esm/models/GeneratePreSignedUrlOutput.js +47 -0
- package/dist/esm/models/ImageGenerationExtensionContent.d.ts +30 -0
- package/dist/esm/models/ImageGenerationExtensionContent.js +43 -0
- package/dist/esm/models/ImageGenerationExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/ImageGenerationExtensionToolExtension.js +60 -0
- package/dist/esm/models/InputTokenBreakdown.d.ts +42 -0
- package/dist/esm/models/InputTokenBreakdown.js +53 -0
- package/dist/esm/models/InstantChartColumn.d.ts +45 -0
- package/dist/esm/models/InstantChartColumn.js +59 -0
- package/dist/esm/models/IntegerChartColumn.d.ts +46 -0
- package/dist/esm/models/IntegerChartColumn.js +58 -0
- package/dist/esm/models/JsRunScriptExtensionContent.d.ts +30 -0
- package/dist/esm/models/JsRunScriptExtensionContent.js +43 -0
- package/dist/esm/models/JsRunScriptExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/JsRunScriptExtensionToolExtension.js +60 -0
- package/dist/esm/models/JsRunScriptResultExtensionContent.d.ts +34 -0
- package/dist/esm/models/JsRunScriptResultExtensionContent.js +45 -0
- package/dist/esm/models/JsRunScriptResultExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/JsRunScriptResultExtensionToolExtension.js +60 -0
- package/dist/esm/models/LocalDateChartColumn.d.ts +45 -0
- package/dist/esm/models/LocalDateChartColumn.js +59 -0
- package/dist/esm/models/LocalDateTimeChartColumn.d.ts +45 -0
- package/dist/esm/models/LocalDateTimeChartColumn.js +59 -0
- package/dist/esm/models/LocalTimeChartColumn.d.ts +45 -0
- package/dist/esm/models/LocalTimeChartColumn.js +59 -0
- package/dist/esm/models/MathFormulaExtensionContent.d.ts +35 -0
- package/dist/esm/models/MathFormulaExtensionContent.js +46 -0
- package/dist/esm/models/MathFormulaExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/MathFormulaExtensionToolExtension.js +60 -0
- package/dist/esm/models/MathResultExtensionContent.d.ts +30 -0
- package/dist/esm/models/MathResultExtensionContent.js +43 -0
- package/dist/esm/models/MathResultExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/MathResultExtensionToolExtension.js +60 -0
- package/dist/esm/models/MediaAttachment.d.ts +46 -0
- package/dist/esm/models/MediaAttachment.js +59 -0
- package/dist/esm/models/ModelConfig.d.ts +36 -0
- package/dist/esm/models/ModelConfig.js +49 -0
- package/dist/esm/models/ModelKeyGroup.d.ts +39 -0
- package/dist/esm/models/ModelKeyGroup.js +52 -0
- package/dist/esm/models/MultimodalMediaAttachment.d.ts +38 -0
- package/dist/esm/models/MultimodalMediaAttachment.js +51 -0
- package/dist/esm/models/OperationResult.d.ts +34 -0
- package/dist/esm/models/OperationResult.js +45 -0
- package/dist/esm/models/PageInfo.d.ts +38 -0
- package/dist/esm/models/PageInfo.js +51 -0
- package/dist/esm/models/PlanApprovalExtensionContent.d.ts +38 -0
- package/dist/esm/models/PlanApprovalExtensionContent.js +52 -0
- package/dist/esm/models/PlanApprovalExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/PlanApprovalExtensionToolExtension.js +60 -0
- package/dist/esm/models/PlanApprovalInput.d.ts +42 -0
- package/dist/esm/models/PlanApprovalInput.js +53 -0
- package/dist/esm/models/PlanStatus.d.ts +34 -0
- package/dist/esm/models/PlanStatus.js +47 -0
- package/dist/esm/models/PreSignedReadUrl.d.ts +30 -0
- package/dist/esm/models/PreSignedReadUrl.js +43 -0
- package/dist/esm/models/ReturnedReference.d.ts +34 -0
- package/dist/esm/models/ReturnedReference.js +47 -0
- package/dist/esm/models/SkillResourceExtensionContent.d.ts +34 -0
- package/dist/esm/models/SkillResourceExtensionContent.js +47 -0
- package/dist/esm/models/SkillResourceExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/SkillResourceExtensionToolExtension.js +60 -0
- package/dist/esm/models/SqlChartDataset.d.ts +44 -0
- package/dist/esm/models/SqlChartDataset.js +57 -0
- package/dist/esm/models/SqlChartResultExtensionContent.d.ts +62 -0
- package/dist/esm/models/SqlChartResultExtensionContent.js +75 -0
- package/dist/esm/models/SqlChartResultExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/SqlChartResultExtensionToolExtension.js +60 -0
- package/dist/esm/models/SqlQueryExtensionContent.d.ts +30 -0
- package/dist/esm/models/SqlQueryExtensionContent.js +43 -0
- package/dist/esm/models/SqlQueryExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/SqlQueryExtensionToolExtension.js +60 -0
- package/dist/esm/models/SqlQueryResultExtensionContent.d.ts +59 -0
- package/dist/esm/models/SqlQueryResultExtensionContent.js +72 -0
- package/dist/esm/models/SqlQueryResultExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/SqlQueryResultExtensionToolExtension.js +60 -0
- package/dist/esm/models/SqlQueryResultPage.d.ts +63 -0
- package/dist/esm/models/SqlQueryResultPage.js +76 -0
- package/dist/esm/models/SqlQueryResultRow.d.ts +30 -0
- package/dist/esm/models/SqlQueryResultRow.js +43 -0
- package/dist/esm/models/SqlResultColumnSchema.d.ts +46 -0
- package/dist/esm/models/SqlResultColumnSchema.js +55 -0
- package/dist/esm/models/StringChartColumn.d.ts +45 -0
- package/dist/esm/models/StringChartColumn.js +59 -0
- package/dist/esm/models/SystemChatMessage.d.ts +45 -0
- package/dist/esm/models/SystemChatMessage.js +57 -0
- package/dist/esm/models/TaskProgressExtensionContent.d.ts +67 -0
- package/dist/esm/models/TaskProgressExtensionContent.js +76 -0
- package/dist/esm/models/TaskProgressExtensionToolExtension.d.ts +46 -0
- package/dist/esm/models/TaskProgressExtensionToolExtension.js +60 -0
- package/dist/esm/models/TaskSummary.d.ts +50 -0
- package/dist/esm/models/TaskSummary.js +61 -0
- package/dist/esm/models/ToolCall.d.ts +42 -0
- package/dist/esm/models/ToolCall.js +55 -0
- package/dist/esm/models/ToolExtension.d.ts +57 -0
- package/dist/esm/models/ToolExtension.js +97 -0
- package/dist/esm/models/ToolResponse.d.ts +46 -0
- package/dist/esm/models/ToolResponse.js +59 -0
- package/dist/esm/models/ToolResponseChatMessage.d.ts +46 -0
- package/dist/esm/models/ToolResponseChatMessage.js +58 -0
- package/dist/esm/models/UnknownAiChatBriefEvent.d.ts +34 -0
- package/dist/esm/models/UnknownAiChatBriefEvent.js +47 -0
- package/dist/esm/models/UnknownToolExtension.d.ts +34 -0
- package/dist/esm/models/UnknownToolExtension.js +47 -0
- package/dist/esm/models/Usage.d.ts +55 -0
- package/dist/esm/models/Usage.js +57 -0
- package/dist/esm/models/UserChatMessage.d.ts +55 -0
- package/dist/esm/models/UserChatMessage.js +63 -0
- package/dist/esm/models/UserInputAnswerInput.d.ts +46 -0
- package/dist/esm/models/UserInputAnswerInput.js +57 -0
- package/dist/esm/models/UserInputStatus.d.ts +46 -0
- package/dist/esm/models/UserInputStatus.js +51 -0
- package/dist/esm/models/ValidationError.d.ts +39 -0
- package/dist/esm/models/ValidationError.js +52 -0
- package/dist/esm/models/VariableBinding.d.ts +34 -0
- package/dist/esm/models/VariableBinding.js +47 -0
- package/dist/esm/models/WorkspaceArtifactList.d.ts +36 -0
- package/dist/esm/models/WorkspaceArtifactList.js +49 -0
- package/dist/esm/models/WorkspaceFile.d.ts +46 -0
- package/dist/esm/models/WorkspaceFile.js +60 -0
- package/dist/esm/models/WorkspaceFilePage.d.ts +36 -0
- package/dist/esm/models/WorkspaceFilePage.js +49 -0
- package/dist/esm/models/WorkspaceNonFileArtifact.d.ts +50 -0
- package/dist/esm/models/WorkspaceNonFileArtifact.js +60 -0
- package/dist/esm/models/index.d.ts +3519 -0
- package/dist/esm/models/index.js +307 -0
- package/dist/esm/runtime.d.ts +197 -0
- package/dist/esm/runtime.js +365 -0
- package/dist/esm/sse.d.ts +8 -0
- package/dist/esm/sse.js +57 -0
- package/dist/events.d.ts +21 -0
- package/dist/events.js +37 -0
- package/dist/hmac.d.ts +25 -0
- package/dist/hmac.js +67 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +25 -0
- package/dist/models/AgentFile.d.ts +50 -0
- package/dist/models/AgentFile.js +71 -0
- package/dist/models/AgentsConfig.d.ts +40 -0
- package/dist/models/AgentsConfig.js +60 -0
- package/dist/models/AiChatAwaitingInputBriefEvent.d.ts +74 -0
- package/dist/models/AiChatAwaitingInputBriefEvent.js +95 -0
- package/dist/models/AiChatBriefEvent.d.ts +66 -0
- package/dist/models/AiChatBriefEvent.js +118 -0
- package/dist/models/AiChatBriefEventList.d.ts +31 -0
- package/dist/models/AiChatBriefEventList.js +51 -0
- package/dist/models/AiChatCompactorWarningBriefEvent.d.ts +45 -0
- package/dist/models/AiChatCompactorWarningBriefEvent.js +67 -0
- package/dist/models/AiChatCompressorContextEndBriefEvent.d.ts +37 -0
- package/dist/models/AiChatCompressorContextEndBriefEvent.js +59 -0
- package/dist/models/AiChatCompressorContextStartBriefEvent.d.ts +37 -0
- package/dist/models/AiChatCompressorContextStartBriefEvent.js +59 -0
- package/dist/models/AiChatEndBriefEvent.d.ts +65 -0
- package/dist/models/AiChatEndBriefEvent.js +83 -0
- package/dist/models/AiChatErrorBriefEvent.d.ts +41 -0
- package/dist/models/AiChatErrorBriefEvent.js +63 -0
- package/dist/models/AiChatEventsBatch.d.ts +36 -0
- package/dist/models/AiChatEventsBatch.js +56 -0
- package/dist/models/AiChatEventsBatchInput.d.ts +34 -0
- package/dist/models/AiChatEventsBatchInput.js +54 -0
- package/dist/models/AiChatEventsBatchSkipped.d.ts +34 -0
- package/dist/models/AiChatEventsBatchSkipped.js +54 -0
- package/dist/models/AiChatFileRef.d.ts +34 -0
- package/dist/models/AiChatFileRef.js +52 -0
- package/dist/models/AiChatInput.d.ts +44 -0
- package/dist/models/AiChatInput.js +58 -0
- package/dist/models/AiChatManualInterruptBriefEvent.d.ts +37 -0
- package/dist/models/AiChatManualInterruptBriefEvent.js +59 -0
- package/dist/models/AiChatMessageBriefEvent.d.ts +41 -0
- package/dist/models/AiChatMessageBriefEvent.js +63 -0
- package/dist/models/AiChatMessageEvent.d.ts +35 -0
- package/dist/models/AiChatMessageEvent.js +55 -0
- package/dist/models/AiChatRequestBriefEvent.d.ts +47 -0
- package/dist/models/AiChatRequestBriefEvent.js +67 -0
- package/dist/models/AiChatResponseBriefEvent.d.ts +47 -0
- package/dist/models/AiChatResponseBriefEvent.js +69 -0
- package/dist/models/AiChatStartBriefEvent.d.ts +37 -0
- package/dist/models/AiChatStartBriefEvent.js +59 -0
- package/dist/models/AiChatStreamInput.d.ts +30 -0
- package/dist/models/AiChatStreamInput.js +50 -0
- package/dist/models/AiChatSubAgentCallBriefEvent.d.ts +53 -0
- package/dist/models/AiChatSubAgentCallBriefEvent.js +75 -0
- package/dist/models/AiChatSubmission.d.ts +42 -0
- package/dist/models/AiChatSubmission.js +62 -0
- package/dist/models/AiChatThinkBriefEvent.d.ts +41 -0
- package/dist/models/AiChatThinkBriefEvent.js +63 -0
- package/dist/models/AiChatToolExecutionBriefEvent.d.ts +62 -0
- package/dist/models/AiChatToolExecutionBriefEvent.js +80 -0
- package/dist/models/AiChatUserQueryBriefEvent.d.ts +46 -0
- package/dist/models/AiChatUserQueryBriefEvent.js +66 -0
- package/dist/models/ArtifactInfo.d.ts +58 -0
- package/dist/models/ArtifactInfo.js +76 -0
- package/dist/models/AskUserQuestionExtensionContent.d.ts +34 -0
- package/dist/models/AskUserQuestionExtensionContent.js +52 -0
- package/dist/models/AskUserQuestionExtensionToolExtension.d.ts +46 -0
- package/dist/models/AskUserQuestionExtensionToolExtension.js +68 -0
- package/dist/models/AskUserQuestionOption.d.ts +34 -0
- package/dist/models/AskUserQuestionOption.js +54 -0
- package/dist/models/AssistantChatMessage.d.ts +54 -0
- package/dist/models/AssistantChatMessage.js +70 -0
- package/dist/models/AsyncTask.d.ts +126 -0
- package/dist/models/AsyncTask.js +127 -0
- package/dist/models/AsyncTaskPage.d.ts +36 -0
- package/dist/models/AsyncTaskPage.js +56 -0
- package/dist/models/AttachmentExtension.d.ts +34 -0
- package/dist/models/AttachmentExtension.js +54 -0
- package/dist/models/BooleanChartColumn.d.ts +45 -0
- package/dist/models/BooleanChartColumn.js +67 -0
- package/dist/models/ChartColumnData.d.ts +50 -0
- package/dist/models/ChartColumnData.js +92 -0
- package/dist/models/ChartNumberFormat.d.ts +42 -0
- package/dist/models/ChartNumberFormat.js +58 -0
- package/dist/models/ChartQualitySummary.d.ts +38 -0
- package/dist/models/ChartQualitySummary.js +58 -0
- package/dist/models/ChartSeries.d.ts +68 -0
- package/dist/models/ChartSeries.js +85 -0
- package/dist/models/ChartSpec.d.ts +115 -0
- package/dist/models/ChartSpec.js +129 -0
- package/dist/models/ChartTimeContext.d.ts +34 -0
- package/dist/models/ChartTimeContext.js +55 -0
- package/dist/models/ChatMessage.d.ts +33 -0
- package/dist/models/ChatMessage.js +63 -0
- package/dist/models/ChatModelConfig.d.ts +62 -0
- package/dist/models/ChatModelConfig.js +82 -0
- package/dist/models/ChatModelSpec.d.ts +66 -0
- package/dist/models/ChatModelSpec.js +70 -0
- package/dist/models/ChatOptions.d.ts +54 -0
- package/dist/models/ChatOptions.js +60 -0
- package/dist/models/ChatStreamProbeEvent.d.ts +38 -0
- package/dist/models/ChatStreamProbeEvent.js +58 -0
- package/dist/models/ChatStreamProbeInput.d.ts +30 -0
- package/dist/models/ChatStreamProbeInput.js +50 -0
- package/dist/models/CitationMetadata.d.ts +42 -0
- package/dist/models/CitationMetadata.js +58 -0
- package/dist/models/CitationMetadataList.d.ts +31 -0
- package/dist/models/CitationMetadataList.js +51 -0
- package/dist/models/CodeMessage.d.ts +34 -0
- package/dist/models/CodeMessage.js +54 -0
- package/dist/models/ConfirmUploadInput.d.ts +34 -0
- package/dist/models/ConfirmUploadInput.js +54 -0
- package/dist/models/ConversationActivity.d.ts +62 -0
- package/dist/models/ConversationActivity.js +73 -0
- package/dist/models/ConversationActivityBatchInput.d.ts +30 -0
- package/dist/models/ConversationActivityBatchInput.js +50 -0
- package/dist/models/ConversationActivityList.d.ts +31 -0
- package/dist/models/ConversationActivityList.js +51 -0
- package/dist/models/ConversationConfig.d.ts +31 -0
- package/dist/models/ConversationConfig.js +49 -0
- package/dist/models/ConversationContextUsage.d.ts +74 -0
- package/dist/models/ConversationContextUsage.js +90 -0
- package/dist/models/ConversationIds.d.ts +30 -0
- package/dist/models/ConversationIds.js +50 -0
- package/dist/models/ConversationMessage.d.ts +84 -0
- package/dist/models/ConversationMessage.js +103 -0
- package/dist/models/ConversationMessagePage.d.ts +36 -0
- package/dist/models/ConversationMessagePage.js +56 -0
- package/dist/models/ConversationReadReceipt.d.ts +58 -0
- package/dist/models/ConversationReadReceipt.js +69 -0
- package/dist/models/ConversationReadReceiptInput.d.ts +30 -0
- package/dist/models/ConversationReadReceiptInput.js +50 -0
- package/dist/models/ConversationShareCreated.d.ts +46 -0
- package/dist/models/ConversationShareCreated.js +65 -0
- package/dist/models/ConversationShareInput.d.ts +34 -0
- package/dist/models/ConversationShareInput.js +51 -0
- package/dist/models/ConversationShareList.d.ts +31 -0
- package/dist/models/ConversationShareList.js +51 -0
- package/dist/models/ConversationShareRecord.d.ts +58 -0
- package/dist/models/ConversationShareRecord.js +77 -0
- package/dist/models/ConversationShareRevoked.d.ts +30 -0
- package/dist/models/ConversationShareRevoked.js +50 -0
- package/dist/models/ConversationStats.d.ts +50 -0
- package/dist/models/ConversationStats.js +70 -0
- package/dist/models/ConversationStatusInput.d.ts +30 -0
- package/dist/models/ConversationStatusInput.js +50 -0
- package/dist/models/ConversationSummary.d.ts +75 -0
- package/dist/models/ConversationSummary.js +94 -0
- package/dist/models/ConversationSummaryList.d.ts +31 -0
- package/dist/models/ConversationSummaryList.js +51 -0
- package/dist/models/ConversationTitle.d.ts +38 -0
- package/dist/models/ConversationTitle.js +56 -0
- package/dist/models/ConversationTitleInput.d.ts +30 -0
- package/dist/models/ConversationTitleInput.js +50 -0
- package/dist/models/ConversationUserMessage.d.ts +59 -0
- package/dist/models/ConversationUserMessage.js +75 -0
- package/dist/models/CreateFileInput.d.ts +34 -0
- package/dist/models/CreateFileInput.js +54 -0
- package/dist/models/DecimalChartColumn.d.ts +45 -0
- package/dist/models/DecimalChartColumn.js +67 -0
- package/dist/models/DefaultModel.d.ts +34 -0
- package/dist/models/DefaultModel.js +54 -0
- package/dist/models/DoubleChartColumn.d.ts +45 -0
- package/dist/models/DoubleChartColumn.js +67 -0
- package/dist/models/FieldError.d.ts +34 -0
- package/dist/models/FieldError.js +54 -0
- package/dist/models/FileExists.d.ts +30 -0
- package/dist/models/FileExists.js +50 -0
- package/dist/models/GeneratePreSignedUrlInput.d.ts +49 -0
- package/dist/models/GeneratePreSignedUrlInput.js +69 -0
- package/dist/models/GeneratePreSignedUrlOutput.d.ts +38 -0
- package/dist/models/GeneratePreSignedUrlOutput.js +54 -0
- package/dist/models/ImageGenerationExtensionContent.d.ts +30 -0
- package/dist/models/ImageGenerationExtensionContent.js +50 -0
- package/dist/models/ImageGenerationExtensionToolExtension.d.ts +46 -0
- package/dist/models/ImageGenerationExtensionToolExtension.js +68 -0
- package/dist/models/InputTokenBreakdown.d.ts +42 -0
- package/dist/models/InputTokenBreakdown.js +60 -0
- package/dist/models/InstantChartColumn.d.ts +45 -0
- package/dist/models/InstantChartColumn.js +67 -0
- package/dist/models/IntegerChartColumn.d.ts +46 -0
- package/dist/models/IntegerChartColumn.js +66 -0
- package/dist/models/JsRunScriptExtensionContent.d.ts +30 -0
- package/dist/models/JsRunScriptExtensionContent.js +50 -0
- package/dist/models/JsRunScriptExtensionToolExtension.d.ts +46 -0
- package/dist/models/JsRunScriptExtensionToolExtension.js +68 -0
- package/dist/models/JsRunScriptResultExtensionContent.d.ts +34 -0
- package/dist/models/JsRunScriptResultExtensionContent.js +52 -0
- package/dist/models/JsRunScriptResultExtensionToolExtension.d.ts +46 -0
- package/dist/models/JsRunScriptResultExtensionToolExtension.js +68 -0
- package/dist/models/LocalDateChartColumn.d.ts +45 -0
- package/dist/models/LocalDateChartColumn.js +67 -0
- package/dist/models/LocalDateTimeChartColumn.d.ts +45 -0
- package/dist/models/LocalDateTimeChartColumn.js +67 -0
- package/dist/models/LocalTimeChartColumn.d.ts +45 -0
- package/dist/models/LocalTimeChartColumn.js +67 -0
- package/dist/models/MathFormulaExtensionContent.d.ts +35 -0
- package/dist/models/MathFormulaExtensionContent.js +53 -0
- package/dist/models/MathFormulaExtensionToolExtension.d.ts +46 -0
- package/dist/models/MathFormulaExtensionToolExtension.js +68 -0
- package/dist/models/MathResultExtensionContent.d.ts +30 -0
- package/dist/models/MathResultExtensionContent.js +50 -0
- package/dist/models/MathResultExtensionToolExtension.d.ts +46 -0
- package/dist/models/MathResultExtensionToolExtension.js +68 -0
- package/dist/models/MediaAttachment.d.ts +46 -0
- package/dist/models/MediaAttachment.js +66 -0
- package/dist/models/ModelConfig.d.ts +36 -0
- package/dist/models/ModelConfig.js +56 -0
- package/dist/models/ModelKeyGroup.d.ts +39 -0
- package/dist/models/ModelKeyGroup.js +59 -0
- package/dist/models/MultimodalMediaAttachment.d.ts +38 -0
- package/dist/models/MultimodalMediaAttachment.js +58 -0
- package/dist/models/OperationResult.d.ts +34 -0
- package/dist/models/OperationResult.js +52 -0
- package/dist/models/PageInfo.d.ts +38 -0
- package/dist/models/PageInfo.js +58 -0
- package/dist/models/PlanApprovalExtensionContent.d.ts +38 -0
- package/dist/models/PlanApprovalExtensionContent.js +59 -0
- package/dist/models/PlanApprovalExtensionToolExtension.d.ts +46 -0
- package/dist/models/PlanApprovalExtensionToolExtension.js +68 -0
- package/dist/models/PlanApprovalInput.d.ts +42 -0
- package/dist/models/PlanApprovalInput.js +60 -0
- package/dist/models/PlanStatus.d.ts +34 -0
- package/dist/models/PlanStatus.js +54 -0
- package/dist/models/PreSignedReadUrl.d.ts +30 -0
- package/dist/models/PreSignedReadUrl.js +50 -0
- package/dist/models/ReturnedReference.d.ts +34 -0
- package/dist/models/ReturnedReference.js +54 -0
- package/dist/models/SkillResourceExtensionContent.d.ts +34 -0
- package/dist/models/SkillResourceExtensionContent.js +54 -0
- package/dist/models/SkillResourceExtensionToolExtension.d.ts +46 -0
- package/dist/models/SkillResourceExtensionToolExtension.js +68 -0
- package/dist/models/SqlChartDataset.d.ts +44 -0
- package/dist/models/SqlChartDataset.js +64 -0
- package/dist/models/SqlChartResultExtensionContent.d.ts +62 -0
- package/dist/models/SqlChartResultExtensionContent.js +82 -0
- package/dist/models/SqlChartResultExtensionToolExtension.d.ts +46 -0
- package/dist/models/SqlChartResultExtensionToolExtension.js +68 -0
- package/dist/models/SqlQueryExtensionContent.d.ts +30 -0
- package/dist/models/SqlQueryExtensionContent.js +50 -0
- package/dist/models/SqlQueryExtensionToolExtension.d.ts +46 -0
- package/dist/models/SqlQueryExtensionToolExtension.js +68 -0
- package/dist/models/SqlQueryResultExtensionContent.d.ts +59 -0
- package/dist/models/SqlQueryResultExtensionContent.js +79 -0
- package/dist/models/SqlQueryResultExtensionToolExtension.d.ts +46 -0
- package/dist/models/SqlQueryResultExtensionToolExtension.js +68 -0
- package/dist/models/SqlQueryResultPage.d.ts +63 -0
- package/dist/models/SqlQueryResultPage.js +83 -0
- package/dist/models/SqlQueryResultRow.d.ts +30 -0
- package/dist/models/SqlQueryResultRow.js +50 -0
- package/dist/models/SqlResultColumnSchema.d.ts +46 -0
- package/dist/models/SqlResultColumnSchema.js +62 -0
- package/dist/models/StringChartColumn.d.ts +45 -0
- package/dist/models/StringChartColumn.js +67 -0
- package/dist/models/SystemChatMessage.d.ts +45 -0
- package/dist/models/SystemChatMessage.js +65 -0
- package/dist/models/TaskProgressExtensionContent.d.ts +67 -0
- package/dist/models/TaskProgressExtensionContent.js +83 -0
- package/dist/models/TaskProgressExtensionToolExtension.d.ts +46 -0
- package/dist/models/TaskProgressExtensionToolExtension.js +68 -0
- package/dist/models/TaskSummary.d.ts +50 -0
- package/dist/models/TaskSummary.js +68 -0
- package/dist/models/ToolCall.d.ts +42 -0
- package/dist/models/ToolCall.js +62 -0
- package/dist/models/ToolExtension.d.ts +57 -0
- package/dist/models/ToolExtension.js +103 -0
- package/dist/models/ToolResponse.d.ts +46 -0
- package/dist/models/ToolResponse.js +66 -0
- package/dist/models/ToolResponseChatMessage.d.ts +46 -0
- package/dist/models/ToolResponseChatMessage.js +66 -0
- package/dist/models/UnknownAiChatBriefEvent.d.ts +34 -0
- package/dist/models/UnknownAiChatBriefEvent.js +54 -0
- package/dist/models/UnknownToolExtension.d.ts +34 -0
- package/dist/models/UnknownToolExtension.js +54 -0
- package/dist/models/Usage.d.ts +55 -0
- package/dist/models/Usage.js +64 -0
- package/dist/models/UserChatMessage.d.ts +55 -0
- package/dist/models/UserChatMessage.js +71 -0
- package/dist/models/UserInputAnswerInput.d.ts +46 -0
- package/dist/models/UserInputAnswerInput.js +64 -0
- package/dist/models/UserInputStatus.d.ts +46 -0
- package/dist/models/UserInputStatus.js +58 -0
- package/dist/models/ValidationError.d.ts +39 -0
- package/dist/models/ValidationError.js +59 -0
- package/dist/models/VariableBinding.d.ts +34 -0
- package/dist/models/VariableBinding.js +54 -0
- package/dist/models/WorkspaceArtifactList.d.ts +36 -0
- package/dist/models/WorkspaceArtifactList.js +56 -0
- package/dist/models/WorkspaceFile.d.ts +46 -0
- package/dist/models/WorkspaceFile.js +67 -0
- package/dist/models/WorkspaceFilePage.d.ts +36 -0
- package/dist/models/WorkspaceFilePage.js +56 -0
- package/dist/models/WorkspaceNonFileArtifact.d.ts +50 -0
- package/dist/models/WorkspaceNonFileArtifact.js +67 -0
- package/dist/models/index.d.ts +3519 -0
- package/dist/models/index.js +310 -0
- package/dist/runtime.d.ts +197 -0
- package/dist/runtime.js +385 -0
- package/dist/sse.d.ts +8 -0
- package/dist/sse.js +60 -0
- package/package.json +60 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* GeneratePreSignedUrlInput 的公开协议结构。 / Public contract for generate pre signed url input.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GeneratePreSignedUrlInput
|
|
16
|
+
*/
|
|
17
|
+
export interface GeneratePreSignedUrlInput {
|
|
18
|
+
/**
|
|
19
|
+
* 文件名 / file name。
|
|
20
|
+
*/
|
|
21
|
+
fileName: string;
|
|
22
|
+
/**
|
|
23
|
+
* 字段 module / module field。
|
|
24
|
+
*/
|
|
25
|
+
module: GeneratePreSignedUrlInputModuleEnum;
|
|
26
|
+
/**
|
|
27
|
+
* 字段 contentMd5 / content md5 field。
|
|
28
|
+
*/
|
|
29
|
+
contentMd5: string;
|
|
30
|
+
/**
|
|
31
|
+
* 文件 ID / file ID。
|
|
32
|
+
*/
|
|
33
|
+
fileId?: number | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
export declare const GeneratePreSignedUrlInputModuleEnum: {
|
|
39
|
+
readonly AiChatAttachments: "ai-chat-attachments";
|
|
40
|
+
};
|
|
41
|
+
export type GeneratePreSignedUrlInputModuleEnum = typeof GeneratePreSignedUrlInputModuleEnum[keyof typeof GeneratePreSignedUrlInputModuleEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GeneratePreSignedUrlInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfGeneratePreSignedUrlInput(value: object): value is GeneratePreSignedUrlInput;
|
|
46
|
+
export declare function GeneratePreSignedUrlInputFromJSON(json: any): GeneratePreSignedUrlInput;
|
|
47
|
+
export declare function GeneratePreSignedUrlInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeneratePreSignedUrlInput;
|
|
48
|
+
export declare function GeneratePreSignedUrlInputToJSON(json: any): GeneratePreSignedUrlInput;
|
|
49
|
+
export declare function GeneratePreSignedUrlInputToJSONTyped(value?: GeneratePreSignedUrlInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Lingya Agents OpenAPI
|
|
5
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const GeneratePreSignedUrlInputModuleEnum = {
|
|
18
|
+
AiChatAttachments: 'ai-chat-attachments',
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the GeneratePreSignedUrlInput interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfGeneratePreSignedUrlInput(value) {
|
|
24
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('module' in value) || value['module'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (value['module'] !== 'ai-chat-attachments')
|
|
29
|
+
return false;
|
|
30
|
+
if (!('contentMd5' in value) || value['contentMd5'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function GeneratePreSignedUrlInputFromJSON(json) {
|
|
35
|
+
return GeneratePreSignedUrlInputFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GeneratePreSignedUrlInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'fileName': json['fileName'],
|
|
43
|
+
'module': json['module'],
|
|
44
|
+
'contentMd5': json['contentMd5'],
|
|
45
|
+
'fileId': json['fileId'] === undefined ? undefined : json['fileId'] === null ? null : json['fileId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function GeneratePreSignedUrlInputToJSON(json) {
|
|
49
|
+
return GeneratePreSignedUrlInputToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function GeneratePreSignedUrlInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'fileName': value['fileName'],
|
|
57
|
+
'module': value['module'],
|
|
58
|
+
'contentMd5': value['contentMd5'],
|
|
59
|
+
'fileId': value['fileId'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* GeneratePreSignedUrlOutput 的公开协议结构。 / Public contract for generate pre signed url output.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GeneratePreSignedUrlOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface GeneratePreSignedUrlOutput {
|
|
18
|
+
/**
|
|
19
|
+
* 当前存储是否支持该操作 / whether the storage supports this operation。
|
|
20
|
+
*/
|
|
21
|
+
support: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 字段 fileUk / file uk field。
|
|
24
|
+
*/
|
|
25
|
+
fileUk?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* 预签名 URL / presigned URL。
|
|
28
|
+
*/
|
|
29
|
+
url?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GeneratePreSignedUrlOutput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGeneratePreSignedUrlOutput(value: object): value is GeneratePreSignedUrlOutput;
|
|
35
|
+
export declare function GeneratePreSignedUrlOutputFromJSON(json: any): GeneratePreSignedUrlOutput;
|
|
36
|
+
export declare function GeneratePreSignedUrlOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeneratePreSignedUrlOutput;
|
|
37
|
+
export declare function GeneratePreSignedUrlOutputToJSON(json: any): GeneratePreSignedUrlOutput;
|
|
38
|
+
export declare function GeneratePreSignedUrlOutputToJSONTyped(value?: GeneratePreSignedUrlOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Lingya Agents OpenAPI
|
|
5
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GeneratePreSignedUrlOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGeneratePreSignedUrlOutput(value) {
|
|
18
|
+
if (!('support' in value) || value['support'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function GeneratePreSignedUrlOutputFromJSON(json) {
|
|
23
|
+
return GeneratePreSignedUrlOutputFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function GeneratePreSignedUrlOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'support': json['support'],
|
|
31
|
+
'fileUk': json['fileUk'] === undefined ? undefined : json['fileUk'] === null ? null : json['fileUk'],
|
|
32
|
+
'url': json['url'] === undefined ? undefined : json['url'] === null ? null : json['url'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function GeneratePreSignedUrlOutputToJSON(json) {
|
|
36
|
+
return GeneratePreSignedUrlOutputToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function GeneratePreSignedUrlOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'support': value['support'],
|
|
44
|
+
'fileUk': value['fileUk'],
|
|
45
|
+
'url': value['url'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* ImageGenerationExtensionContent 的公开协议结构。 / Public contract for image generation extension content.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ImageGenerationExtensionContent
|
|
16
|
+
*/
|
|
17
|
+
export interface ImageGenerationExtensionContent {
|
|
18
|
+
/**
|
|
19
|
+
* 文件 ID / file ID。
|
|
20
|
+
*/
|
|
21
|
+
fileId: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ImageGenerationExtensionContent interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfImageGenerationExtensionContent(value: object): value is ImageGenerationExtensionContent;
|
|
27
|
+
export declare function ImageGenerationExtensionContentFromJSON(json: any): ImageGenerationExtensionContent;
|
|
28
|
+
export declare function ImageGenerationExtensionContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageGenerationExtensionContent;
|
|
29
|
+
export declare function ImageGenerationExtensionContentToJSON(json: any): ImageGenerationExtensionContent;
|
|
30
|
+
export declare function ImageGenerationExtensionContentToJSONTyped(value?: ImageGenerationExtensionContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Lingya Agents OpenAPI
|
|
5
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ImageGenerationExtensionContent interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfImageGenerationExtensionContent(value) {
|
|
18
|
+
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ImageGenerationExtensionContentFromJSON(json) {
|
|
23
|
+
return ImageGenerationExtensionContentFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ImageGenerationExtensionContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'fileId': json['fileId'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ImageGenerationExtensionContentToJSON(json) {
|
|
34
|
+
return ImageGenerationExtensionContentToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ImageGenerationExtensionContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'fileId': value['fileId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ImageGenerationExtensionContent } from './ImageGenerationExtensionContent';
|
|
13
|
+
/**
|
|
14
|
+
* ImageGenerationExtensionToolExtension 的公开协议结构。 / Public contract for image generation extension tool extension.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ImageGenerationExtensionToolExtension
|
|
17
|
+
*/
|
|
18
|
+
export interface ImageGenerationExtensionToolExtension {
|
|
19
|
+
/**
|
|
20
|
+
* 扩展类别判别值 / extension category discriminator。
|
|
21
|
+
*/
|
|
22
|
+
category: ImageGenerationExtensionToolExtensionCategoryEnum;
|
|
23
|
+
/**
|
|
24
|
+
* 与类别对应的强类型内容 / strongly typed content for the category。
|
|
25
|
+
*/
|
|
26
|
+
content: ImageGenerationExtensionContent;
|
|
27
|
+
/**
|
|
28
|
+
* 是否使用独立视图渲染 / whether to use a dedicated view。
|
|
29
|
+
*/
|
|
30
|
+
specialRender: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const ImageGenerationExtensionToolExtensionCategoryEnum: {
|
|
36
|
+
readonly ImageGeneration: "imageGeneration";
|
|
37
|
+
};
|
|
38
|
+
export type ImageGenerationExtensionToolExtensionCategoryEnum = typeof ImageGenerationExtensionToolExtensionCategoryEnum[keyof typeof ImageGenerationExtensionToolExtensionCategoryEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ImageGenerationExtensionToolExtension interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfImageGenerationExtensionToolExtension(value: object): value is ImageGenerationExtensionToolExtension;
|
|
43
|
+
export declare function ImageGenerationExtensionToolExtensionFromJSON(json: any): ImageGenerationExtensionToolExtension;
|
|
44
|
+
export declare function ImageGenerationExtensionToolExtensionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageGenerationExtensionToolExtension;
|
|
45
|
+
export declare function ImageGenerationExtensionToolExtensionToJSON(json: any): ImageGenerationExtensionToolExtension;
|
|
46
|
+
export declare function ImageGenerationExtensionToolExtensionToJSONTyped(value?: ImageGenerationExtensionToolExtension | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Lingya Agents OpenAPI
|
|
5
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ImageGenerationExtensionContentFromJSON, ImageGenerationExtensionContentToJSON, } from './ImageGenerationExtensionContent';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ImageGenerationExtensionToolExtensionCategoryEnum = {
|
|
19
|
+
ImageGeneration: 'imageGeneration',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ImageGenerationExtensionToolExtension interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfImageGenerationExtensionToolExtension(value) {
|
|
25
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['category'] !== 'imageGeneration')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('specialRender' in value) || value['specialRender'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function ImageGenerationExtensionToolExtensionFromJSON(json) {
|
|
36
|
+
return ImageGenerationExtensionToolExtensionFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ImageGenerationExtensionToolExtensionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'category': json['category'],
|
|
44
|
+
'content': ImageGenerationExtensionContentFromJSON(json['content']),
|
|
45
|
+
'specialRender': json['specialRender'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function ImageGenerationExtensionToolExtensionToJSON(json) {
|
|
49
|
+
return ImageGenerationExtensionToolExtensionToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function ImageGenerationExtensionToolExtensionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'category': value['category'],
|
|
57
|
+
'content': ImageGenerationExtensionContentToJSON(value['content']),
|
|
58
|
+
'specialRender': value['specialRender'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* InputTokenBreakdown 的公开协议结构。 / Public contract for input token breakdown.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InputTokenBreakdown
|
|
16
|
+
*/
|
|
17
|
+
export interface InputTokenBreakdown {
|
|
18
|
+
/**
|
|
19
|
+
* 字段 observedInputTokens / observed input tokens field。
|
|
20
|
+
*/
|
|
21
|
+
observedInputTokens: number;
|
|
22
|
+
/**
|
|
23
|
+
* 字段 uncachedInputTokens / uncached input tokens field。
|
|
24
|
+
*/
|
|
25
|
+
uncachedInputTokens: number;
|
|
26
|
+
/**
|
|
27
|
+
* 字段 cachedInputTokens / cached input tokens field。
|
|
28
|
+
*/
|
|
29
|
+
cachedInputTokens: number;
|
|
30
|
+
/**
|
|
31
|
+
* 字段 cacheCreationInputTokens / cache creation input tokens field。
|
|
32
|
+
*/
|
|
33
|
+
cacheCreationInputTokens?: number | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the InputTokenBreakdown interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfInputTokenBreakdown(value: object): value is InputTokenBreakdown;
|
|
39
|
+
export declare function InputTokenBreakdownFromJSON(json: any): InputTokenBreakdown;
|
|
40
|
+
export declare function InputTokenBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): InputTokenBreakdown;
|
|
41
|
+
export declare function InputTokenBreakdownToJSON(json: any): InputTokenBreakdown;
|
|
42
|
+
export declare function InputTokenBreakdownToJSONTyped(value?: InputTokenBreakdown | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Lingya Agents OpenAPI
|
|
5
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the InputTokenBreakdown interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfInputTokenBreakdown(value) {
|
|
18
|
+
if (!('observedInputTokens' in value) || value['observedInputTokens'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('uncachedInputTokens' in value) || value['uncachedInputTokens'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('cachedInputTokens' in value) || value['cachedInputTokens'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function InputTokenBreakdownFromJSON(json) {
|
|
27
|
+
return InputTokenBreakdownFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function InputTokenBreakdownFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'observedInputTokens': json['observedInputTokens'],
|
|
35
|
+
'uncachedInputTokens': json['uncachedInputTokens'],
|
|
36
|
+
'cachedInputTokens': json['cachedInputTokens'],
|
|
37
|
+
'cacheCreationInputTokens': json['cacheCreationInputTokens'] === undefined ? undefined : json['cacheCreationInputTokens'] === null ? null : json['cacheCreationInputTokens'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function InputTokenBreakdownToJSON(json) {
|
|
41
|
+
return InputTokenBreakdownToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function InputTokenBreakdownToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'observedInputTokens': value['observedInputTokens'],
|
|
49
|
+
'uncachedInputTokens': value['uncachedInputTokens'],
|
|
50
|
+
'cachedInputTokens': value['cachedInputTokens'],
|
|
51
|
+
'cacheCreationInputTokens': value['cacheCreationInputTokens'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* InstantChartColumn 的公开协议结构。 / Public contract for instant chart column.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InstantChartColumn
|
|
16
|
+
*/
|
|
17
|
+
export interface InstantChartColumn {
|
|
18
|
+
/**
|
|
19
|
+
* 字段 name / name field。
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* 类型判别值 / type discriminator。
|
|
24
|
+
*/
|
|
25
|
+
type: InstantChartColumnTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* 字段 values / values field。
|
|
28
|
+
*/
|
|
29
|
+
values: Array<Date | null>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InstantChartColumnTypeEnum: {
|
|
35
|
+
readonly Instant: "INSTANT";
|
|
36
|
+
};
|
|
37
|
+
export type InstantChartColumnTypeEnum = typeof InstantChartColumnTypeEnum[keyof typeof InstantChartColumnTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the InstantChartColumn interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfInstantChartColumn(value: object): value is InstantChartColumn;
|
|
42
|
+
export declare function InstantChartColumnFromJSON(json: any): InstantChartColumn;
|
|
43
|
+
export declare function InstantChartColumnFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstantChartColumn;
|
|
44
|
+
export declare function InstantChartColumnToJSON(json: any): InstantChartColumn;
|
|
45
|
+
export declare function InstantChartColumnToJSONTyped(value?: InstantChartColumn | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Lingya Agents OpenAPI
|
|
5
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const InstantChartColumnTypeEnum = {
|
|
18
|
+
Instant: 'INSTANT',
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the InstantChartColumn interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfInstantChartColumn(value) {
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (value['type'] !== 'INSTANT')
|
|
29
|
+
return false;
|
|
30
|
+
if (!('values' in value) || value['values'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function InstantChartColumnFromJSON(json) {
|
|
35
|
+
return InstantChartColumnFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function InstantChartColumnFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'type': json['type'],
|
|
44
|
+
'values': json['values'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function InstantChartColumnToJSON(json) {
|
|
48
|
+
return InstantChartColumnToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function InstantChartColumnToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'type': value['type'],
|
|
57
|
+
'values': value['values'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lingya Agents OpenAPI
|
|
3
|
+
* Public, tenant-scoped Agent channel API authenticated with OPENAPI-HMAC-SHA256-V1. Studio administration endpoints are not part of this contract.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* IntegerChartColumn 的公开协议结构。 / Public contract for integer chart column.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IntegerChartColumn
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegerChartColumn {
|
|
18
|
+
/**
|
|
19
|
+
* 字段 name / name field。
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* 类型判别值 / type discriminator。
|
|
24
|
+
*/
|
|
25
|
+
type: IntegerChartColumnTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* 字段 values / values field。
|
|
28
|
+
*/
|
|
29
|
+
values: Array<number | null>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const IntegerChartColumnTypeEnum: {
|
|
35
|
+
readonly Integer: "INTEGER";
|
|
36
|
+
readonly Long: "LONG";
|
|
37
|
+
};
|
|
38
|
+
export type IntegerChartColumnTypeEnum = typeof IntegerChartColumnTypeEnum[keyof typeof IntegerChartColumnTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the IntegerChartColumn interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfIntegerChartColumn(value: object): value is IntegerChartColumn;
|
|
43
|
+
export declare function IntegerChartColumnFromJSON(json: any): IntegerChartColumn;
|
|
44
|
+
export declare function IntegerChartColumnFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegerChartColumn;
|
|
45
|
+
export declare function IntegerChartColumnToJSON(json: any): IntegerChartColumn;
|
|
46
|
+
export declare function IntegerChartColumnToJSONTyped(value?: IntegerChartColumn | null, ignoreDiscriminator?: boolean): any;
|