@alicloud/eventbridge20200401 6.5.0 → 6.6.1
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/dist/client.d.ts +321 -6
- package/dist/client.js +1073 -206
- package/dist/client.js.map +1 -1
- package/dist/models/Agent.d.ts +10 -0
- package/dist/models/Agent.js +4 -0
- package/dist/models/Agent.js.map +1 -1
- package/dist/models/AgentBridgeRuntime.d.ts +77 -0
- package/dist/models/AgentBridgeRuntime.js +72 -0
- package/dist/models/AgentBridgeRuntime.js.map +1 -0
- package/dist/models/AiChunkTransformParameters.d.ts +59 -0
- package/dist/models/AiChunkTransformParameters.js +72 -0
- package/dist/models/AiChunkTransformParameters.js.map +1 -0
- package/dist/models/AiClassifyTransformParameters.d.ts +51 -0
- package/dist/models/AiClassifyTransformParameters.js +73 -0
- package/dist/models/AiClassifyTransformParameters.js.map +1 -0
- package/dist/models/AiEmbedTransformParameters.d.ts +43 -0
- package/dist/models/AiEmbedTransformParameters.js +68 -0
- package/dist/models/AiEmbedTransformParameters.js.map +1 -0
- package/dist/models/AiExtractTransformParameters.d.ts +35 -0
- package/dist/models/AiExtractTransformParameters.js +66 -0
- package/dist/models/AiExtractTransformParameters.js.map +1 -0
- package/dist/models/AiFilterTransformParameters.d.ts +43 -0
- package/dist/models/AiFilterTransformParameters.js +68 -0
- package/dist/models/AiFilterTransformParameters.js.map +1 -0
- package/dist/models/AiPrepSearchTransformParameters.d.ts +35 -0
- package/dist/models/AiPrepSearchTransformParameters.js +66 -0
- package/dist/models/AiPrepSearchTransformParameters.js.map +1 -0
- package/dist/models/AiRedactTransformParameters.d.ts +51 -0
- package/dist/models/AiRedactTransformParameters.js +73 -0
- package/dist/models/AiRedactTransformParameters.js.map +1 -0
- package/dist/models/AiSentimentAnalysisTransformParameters.d.ts +35 -0
- package/dist/models/AiSentimentAnalysisTransformParameters.js +69 -0
- package/dist/models/AiSentimentAnalysisTransformParameters.js.map +1 -0
- package/dist/models/AiSummarizeTransformParameters.d.ts +35 -0
- package/dist/models/AiSummarizeTransformParameters.js +66 -0
- package/dist/models/AiSummarizeTransformParameters.js.map +1 -0
- package/dist/models/AiTransformField.d.ts +29 -0
- package/dist/models/AiTransformField.js +60 -0
- package/dist/models/AiTransformField.js.map +1 -0
- package/dist/models/AiTranslateTransformParameters.d.ts +30 -0
- package/dist/models/AiTranslateTransformParameters.js +68 -0
- package/dist/models/AiTranslateTransformParameters.js.map +1 -0
- package/dist/models/CreateEventStreamingRequest.d.ts +304 -123
- package/dist/models/CreateEventStreamingRequest.js +71 -0
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +4 -2
- package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +5 -5
- package/dist/models/DeleteNamespaceRequest.d.ts +3 -3
- package/dist/models/DeleteNamespaceResponseBody.d.ts +4 -4
- package/dist/models/ExecutionResult.d.ts +9 -6
- package/dist/models/ExecutionResult.js.map +1 -1
- package/dist/models/GetEventStreamingRequest.d.ts +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +333 -148
- package/dist/models/GetEventStreamingResponseBody.js +66 -0
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/GetLumaCatalogRequest.d.ts +33 -0
- package/dist/models/GetLumaCatalogRequest.js +60 -0
- package/dist/models/GetLumaCatalogRequest.js.map +1 -0
- package/dist/models/GetLumaCatalogResponse.d.ts +19 -0
- package/dist/models/GetLumaCatalogResponse.js +69 -0
- package/dist/models/GetLumaCatalogResponse.js.map +1 -0
- package/dist/models/GetLumaCatalogResponseBody.d.ts +51 -0
- package/dist/models/GetLumaCatalogResponseBody.js +70 -0
- package/dist/models/GetLumaCatalogResponseBody.js.map +1 -0
- package/dist/models/GetLumaChunkRequest.d.ts +73 -0
- package/dist/models/GetLumaChunkRequest.js +68 -0
- package/dist/models/GetLumaChunkRequest.js.map +1 -0
- package/dist/models/GetLumaChunkResponse.d.ts +19 -0
- package/dist/models/GetLumaChunkResponse.js +69 -0
- package/dist/models/GetLumaChunkResponse.js.map +1 -0
- package/dist/models/GetLumaChunkResponseBody.d.ts +51 -0
- package/dist/models/GetLumaChunkResponseBody.js +70 -0
- package/dist/models/GetLumaChunkResponseBody.js.map +1 -0
- package/dist/models/GetLumaDocumentDownloadUrlRequest.d.ts +75 -0
- package/dist/models/GetLumaDocumentDownloadUrlRequest.js +68 -0
- package/dist/models/GetLumaDocumentDownloadUrlRequest.js.map +1 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponse.d.ts +19 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponse.js +69 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponse.js.map +1 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponseBody.d.ts +78 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js +90 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/GetLumaDocumentRequest.d.ts +63 -0
- package/dist/models/GetLumaDocumentRequest.js +66 -0
- package/dist/models/GetLumaDocumentRequest.js.map +1 -0
- package/dist/models/GetLumaDocumentResponse.d.ts +19 -0
- package/dist/models/GetLumaDocumentResponse.js +69 -0
- package/dist/models/GetLumaDocumentResponse.js.map +1 -0
- package/dist/models/GetLumaDocumentResponseBody.d.ts +51 -0
- package/dist/models/GetLumaDocumentResponseBody.js +70 -0
- package/dist/models/GetLumaDocumentResponseBody.js.map +1 -0
- package/dist/models/GetLumaKnowledgeBaseRequest.d.ts +53 -0
- package/dist/models/GetLumaKnowledgeBaseRequest.js +64 -0
- package/dist/models/GetLumaKnowledgeBaseRequest.js.map +1 -0
- package/dist/models/GetLumaKnowledgeBaseResponse.d.ts +19 -0
- package/dist/models/GetLumaKnowledgeBaseResponse.js +69 -0
- package/dist/models/GetLumaKnowledgeBaseResponse.js.map +1 -0
- package/dist/models/GetLumaKnowledgeBaseResponseBody.d.ts +51 -0
- package/dist/models/GetLumaKnowledgeBaseResponseBody.js +70 -0
- package/dist/models/GetLumaKnowledgeBaseResponseBody.js.map +1 -0
- package/dist/models/GetLumaNamespaceRequest.d.ts +43 -0
- package/dist/models/GetLumaNamespaceRequest.js +62 -0
- package/dist/models/GetLumaNamespaceRequest.js.map +1 -0
- package/dist/models/GetLumaNamespaceResponse.d.ts +19 -0
- package/dist/models/GetLumaNamespaceResponse.js +69 -0
- package/dist/models/GetLumaNamespaceResponse.js.map +1 -0
- package/dist/models/GetLumaNamespaceResponseBody.d.ts +51 -0
- package/dist/models/GetLumaNamespaceResponseBody.js +70 -0
- package/dist/models/GetLumaNamespaceResponseBody.js.map +1 -0
- package/dist/models/GetLumaTableRequest.d.ts +53 -0
- package/dist/models/GetLumaTableRequest.js +64 -0
- package/dist/models/GetLumaTableRequest.js.map +1 -0
- package/dist/models/GetLumaTableResponse.d.ts +19 -0
- package/dist/models/GetLumaTableResponse.js +69 -0
- package/dist/models/GetLumaTableResponse.js.map +1 -0
- package/dist/models/GetLumaTableResponseBody.d.ts +51 -0
- package/dist/models/GetLumaTableResponseBody.js +70 -0
- package/dist/models/GetLumaTableResponseBody.js.map +1 -0
- package/dist/models/KnowledgeBase.d.ts +281 -0
- package/dist/models/KnowledgeBase.js +176 -0
- package/dist/models/KnowledgeBase.js.map +1 -0
- package/dist/models/KnowledgeBaseChunk.d.ts +93 -0
- package/dist/models/KnowledgeBaseChunk.js +76 -0
- package/dist/models/KnowledgeBaseChunk.js.map +1 -0
- package/dist/models/KnowledgeBaseDocument.d.ts +249 -0
- package/dist/models/KnowledgeBaseDocument.js +164 -0
- package/dist/models/KnowledgeBaseDocument.js.map +1 -0
- package/dist/models/KnowledgeBaseSearchChunk.d.ts +118 -0
- package/dist/models/KnowledgeBaseSearchChunk.js +100 -0
- package/dist/models/KnowledgeBaseSearchChunk.js.map +1 -0
- package/dist/models/ListConnectionsRequest.d.ts +8 -0
- package/dist/models/ListConnectionsRequest.js +2 -0
- package/dist/models/ListConnectionsRequest.js.map +1 -1
- package/dist/models/ListEventStreamingsRequest.d.ts +4 -4
- package/dist/models/ListEventStreamingsResponseBody.d.ts +230 -165
- package/dist/models/ListEventStreamingsResponseBody.js +66 -0
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/ListLumaCatalogsRequest.d.ts +39 -0
- package/dist/models/ListLumaCatalogsRequest.js +62 -0
- package/dist/models/ListLumaCatalogsRequest.js.map +1 -0
- package/dist/models/ListLumaCatalogsResponse.d.ts +19 -0
- package/dist/models/ListLumaCatalogsResponse.js +69 -0
- package/dist/models/ListLumaCatalogsResponse.js.map +1 -0
- package/dist/models/ListLumaCatalogsResponseBody.d.ts +95 -0
- package/dist/models/ListLumaCatalogsResponseBody.js +98 -0
- package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -0
- package/dist/models/ListLumaChunksRequest.d.ts +93 -0
- package/dist/models/ListLumaChunksRequest.js +74 -0
- package/dist/models/ListLumaChunksRequest.js.map +1 -0
- package/dist/models/ListLumaChunksResponse.d.ts +19 -0
- package/dist/models/ListLumaChunksResponse.js +69 -0
- package/dist/models/ListLumaChunksResponse.js.map +1 -0
- package/dist/models/ListLumaChunksResponseBody.d.ts +87 -0
- package/dist/models/ListLumaChunksResponseBody.js +96 -0
- package/dist/models/ListLumaChunksResponseBody.js.map +1 -0
- package/dist/models/ListLumaDocumentsRequest.d.ts +85 -0
- package/dist/models/ListLumaDocumentsRequest.js +72 -0
- package/dist/models/ListLumaDocumentsRequest.js.map +1 -0
- package/dist/models/ListLumaDocumentsResponse.d.ts +19 -0
- package/dist/models/ListLumaDocumentsResponse.js +69 -0
- package/dist/models/ListLumaDocumentsResponse.js.map +1 -0
- package/dist/models/ListLumaDocumentsResponseBody.d.ts +87 -0
- package/dist/models/ListLumaDocumentsResponseBody.js +96 -0
- package/dist/models/ListLumaDocumentsResponseBody.js.map +1 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +59 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.js +66 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -0
- package/dist/models/ListLumaKnowledgeBasesResponse.d.ts +19 -0
- package/dist/models/ListLumaKnowledgeBasesResponse.js +69 -0
- package/dist/models/ListLumaKnowledgeBasesResponse.js.map +1 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +95 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.js +98 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -0
- package/dist/models/ListLumaNamespacesRequest.d.ts +49 -0
- package/dist/models/ListLumaNamespacesRequest.js +64 -0
- package/dist/models/ListLumaNamespacesRequest.js.map +1 -0
- package/dist/models/ListLumaNamespacesResponse.d.ts +19 -0
- package/dist/models/ListLumaNamespacesResponse.js +69 -0
- package/dist/models/ListLumaNamespacesResponse.js.map +1 -0
- package/dist/models/ListLumaNamespacesResponseBody.d.ts +95 -0
- package/dist/models/ListLumaNamespacesResponseBody.js +98 -0
- package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -0
- package/dist/models/ListLumaTablesRequest.d.ts +59 -0
- package/dist/models/ListLumaTablesRequest.js +66 -0
- package/dist/models/ListLumaTablesRequest.js.map +1 -0
- package/dist/models/ListLumaTablesResponse.d.ts +19 -0
- package/dist/models/ListLumaTablesResponse.js +69 -0
- package/dist/models/ListLumaTablesResponse.js.map +1 -0
- package/dist/models/ListLumaTablesResponseBody.d.ts +95 -0
- package/dist/models/ListLumaTablesResponseBody.js +98 -0
- package/dist/models/ListLumaTablesResponseBody.js.map +1 -0
- package/dist/models/LumaTable.d.ts +138 -0
- package/dist/models/LumaTable.js +122 -0
- package/dist/models/LumaTable.js.map +1 -0
- package/dist/models/MetadataSchemaField.d.ts +49 -0
- package/dist/models/MetadataSchemaField.js +64 -0
- package/dist/models/MetadataSchemaField.js.map +1 -0
- package/dist/models/PollAskResultResponseBody.d.ts +4 -4
- package/dist/models/QueryAskLumaLogRequest.d.ts +2 -2
- package/dist/models/QueryLumaWithSqlrequest.d.ts +41 -0
- package/dist/models/QueryLumaWithSqlrequest.js +62 -0
- package/dist/models/QueryLumaWithSqlrequest.js.map +1 -0
- package/dist/models/QueryLumaWithSqlresponse.d.ts +19 -0
- package/dist/models/QueryLumaWithSqlresponse.js +69 -0
- package/dist/models/QueryLumaWithSqlresponse.js.map +1 -0
- package/dist/models/QueryLumaWithSqlresponseBody.d.ts +51 -0
- package/dist/models/QueryLumaWithSqlresponseBody.js +70 -0
- package/dist/models/QueryLumaWithSqlresponseBody.js.map +1 -0
- package/dist/models/SchemaColumn.d.ts +2 -2
- package/dist/models/SearchLumaKnowledgeBaseRequest.d.ts +95 -0
- package/dist/models/SearchLumaKnowledgeBaseRequest.js +74 -0
- package/dist/models/SearchLumaKnowledgeBaseRequest.js.map +1 -0
- package/dist/models/SearchLumaKnowledgeBaseResponse.d.ts +19 -0
- package/dist/models/SearchLumaKnowledgeBaseResponse.js +69 -0
- package/dist/models/SearchLumaKnowledgeBaseResponse.js.map +1 -0
- package/dist/models/SearchLumaKnowledgeBaseResponseBody.d.ts +79 -0
- package/dist/models/SearchLumaKnowledgeBaseResponseBody.js +94 -0
- package/dist/models/SearchLumaKnowledgeBaseResponseBody.js.map +1 -0
- package/dist/models/SinkKnowledgeBaseParameters.d.ts +37 -0
- package/dist/models/SinkKnowledgeBaseParameters.js +62 -0
- package/dist/models/SinkKnowledgeBaseParameters.js.map +1 -0
- package/dist/models/SourceFeiShuDocsParameters.d.ts +28 -0
- package/dist/models/SourceFeiShuDocsParameters.js.map +1 -1
- package/dist/models/UpdateAgentRequest.d.ts +10 -0
- package/dist/models/UpdateAgentRequest.js +4 -0
- package/dist/models/UpdateAgentRequest.js.map +1 -1
- package/dist/models/UpdateAgentShrinkRequest.d.ts +10 -0
- package/dist/models/UpdateAgentShrinkRequest.js +4 -0
- package/dist/models/UpdateAgentShrinkRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingRequest.d.ts +363 -161
- package/dist/models/UpdateEventStreamingRequest.js +71 -0
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -4
- package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +6 -6
- package/dist/models/model.d.ts +81 -0
- package/dist/models/model.js +186 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1192 -216
- package/src/models/Agent.ts +14 -0
- package/src/models/AgentBridgeRuntime.ts +104 -0
- package/src/models/AiChunkTransformParameters.ts +85 -0
- package/src/models/AiClassifyTransformParameters.ts +78 -0
- package/src/models/AiEmbedTransformParameters.ts +65 -0
- package/src/models/AiExtractTransformParameters.ts +55 -0
- package/src/models/AiFilterTransformParameters.ts +65 -0
- package/src/models/AiPrepSearchTransformParameters.ts +55 -0
- package/src/models/AiRedactTransformParameters.ts +78 -0
- package/src/models/AiSentimentAnalysisTransformParameters.ts +58 -0
- package/src/models/AiSummarizeTransformParameters.ts +55 -0
- package/src/models/AiTransformField.ts +44 -0
- package/src/models/AiTranslateTransformParameters.ts +52 -0
- package/src/models/CreateEventStreamingRequest.ts +364 -123
- package/src/models/CreateEventStreamingResponseBody.ts +4 -2
- package/src/models/CreateEventStreamingShrinkRequest.ts +5 -5
- package/src/models/DeleteNamespaceRequest.ts +3 -3
- package/src/models/DeleteNamespaceResponseBody.ts +4 -4
- package/src/models/ExecutionResult.ts +9 -6
- package/src/models/GetEventStreamingRequest.ts +1 -1
- package/src/models/GetEventStreamingResponseBody.ts +388 -148
- package/src/models/GetLumaCatalogRequest.ts +48 -0
- package/src/models/GetLumaCatalogResponse.ts +40 -0
- package/src/models/GetLumaCatalogResponseBody.ts +75 -0
- package/src/models/GetLumaChunkRequest.ts +96 -0
- package/src/models/GetLumaChunkResponse.ts +40 -0
- package/src/models/GetLumaChunkResponseBody.ts +75 -0
- package/src/models/GetLumaDocumentDownloadUrlRequest.ts +98 -0
- package/src/models/GetLumaDocumentDownloadUrlResponse.ts +40 -0
- package/src/models/GetLumaDocumentDownloadUrlResponseBody.ts +114 -0
- package/src/models/GetLumaDocumentRequest.ts +84 -0
- package/src/models/GetLumaDocumentResponse.ts +40 -0
- package/src/models/GetLumaDocumentResponseBody.ts +75 -0
- package/src/models/GetLumaKnowledgeBaseRequest.ts +72 -0
- package/src/models/GetLumaKnowledgeBaseResponse.ts +40 -0
- package/src/models/GetLumaKnowledgeBaseResponseBody.ts +75 -0
- package/src/models/GetLumaNamespaceRequest.ts +60 -0
- package/src/models/GetLumaNamespaceResponse.ts +40 -0
- package/src/models/GetLumaNamespaceResponseBody.ts +75 -0
- package/src/models/GetLumaTableRequest.ts +72 -0
- package/src/models/GetLumaTableResponse.ts +40 -0
- package/src/models/GetLumaTableResponseBody.ts +75 -0
- package/src/models/KnowledgeBase.ts +384 -0
- package/src/models/KnowledgeBaseChunk.ts +124 -0
- package/src/models/KnowledgeBaseDocument.ts +341 -0
- package/src/models/KnowledgeBaseSearchChunk.ts +164 -0
- package/src/models/ListConnectionsRequest.ts +10 -0
- package/src/models/ListEventStreamingsRequest.ts +4 -4
- package/src/models/ListEventStreamingsResponseBody.ts +286 -166
- package/src/models/ListLumaCatalogsRequest.ts +56 -0
- package/src/models/ListLumaCatalogsResponse.ts +40 -0
- package/src/models/ListLumaCatalogsResponseBody.ts +138 -0
- package/src/models/ListLumaChunksRequest.ts +122 -0
- package/src/models/ListLumaChunksResponse.ts +40 -0
- package/src/models/ListLumaChunksResponseBody.ts +128 -0
- package/src/models/ListLumaDocumentsRequest.ts +112 -0
- package/src/models/ListLumaDocumentsResponse.ts +40 -0
- package/src/models/ListLumaDocumentsResponseBody.ts +128 -0
- package/src/models/ListLumaKnowledgeBasesRequest.ts +80 -0
- package/src/models/ListLumaKnowledgeBasesResponse.ts +40 -0
- package/src/models/ListLumaKnowledgeBasesResponseBody.ts +138 -0
- package/src/models/ListLumaNamespacesRequest.ts +68 -0
- package/src/models/ListLumaNamespacesResponse.ts +40 -0
- package/src/models/ListLumaNamespacesResponseBody.ts +138 -0
- package/src/models/ListLumaTablesRequest.ts +80 -0
- package/src/models/ListLumaTablesResponse.ts +40 -0
- package/src/models/ListLumaTablesResponseBody.ts +138 -0
- package/src/models/LumaTable.ts +197 -0
- package/src/models/MetadataSchemaField.ts +68 -0
- package/src/models/PollAskResultResponseBody.ts +4 -4
- package/src/models/QueryAskLumaLogRequest.ts +2 -2
- package/src/models/QueryLumaWithSqlrequest.ts +58 -0
- package/src/models/QueryLumaWithSqlresponse.ts +40 -0
- package/src/models/QueryLumaWithSqlresponseBody.ts +75 -0
- package/src/models/SchemaColumn.ts +2 -2
- package/src/models/SearchLumaKnowledgeBaseRequest.ts +124 -0
- package/src/models/SearchLumaKnowledgeBaseResponse.ts +40 -0
- package/src/models/SearchLumaKnowledgeBaseResponseBody.ts +118 -0
- package/src/models/SinkKnowledgeBaseParameters.ts +54 -0
- package/src/models/SourceFeiShuDocsParameters.ts +28 -0
- package/src/models/UpdateAgentRequest.ts +14 -0
- package/src/models/UpdateAgentShrinkRequest.ts +14 -0
- package/src/models/UpdateEventStreamingRequest.ts +423 -161
- package/src/models/UpdateEventStreamingResponseBody.ts +2 -4
- package/src/models/UpdateEventStreamingShrinkRequest.ts +6 -6
- package/src/models/model.ts +81 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLumaCatalogsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the Agent.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* my_agent
|
|
14
|
+
*/
|
|
15
|
+
agentName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* 每页返回的最大数据条数。取值范围 1~100,不传时默认 100。每条记录都需回源查询一次元数据,因此该值同时限制单次调用的回源次数
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 10
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* 分页查询的起始Token。首次查询不传或传 "0";后续翻页使用上一次响应中返回的 NextToken 值
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 0
|
|
30
|
+
*/
|
|
31
|
+
nextToken?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
agentName: 'AgentName',
|
|
35
|
+
limit: 'Limit',
|
|
36
|
+
nextToken: 'NextToken',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
agentName: 'string',
|
|
43
|
+
limit: 'number',
|
|
44
|
+
nextToken: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLumaCatalogsResponseBody } from "./ListLumaCatalogsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLumaCatalogsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLumaCatalogsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListLumaCatalogsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { Catalog } from "./Catalog";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLumaCatalogsResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The list of data catalogs bound to the Agent.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* [{"Name":"my_catalog"}]
|
|
13
|
+
*/
|
|
14
|
+
catalogs?: Catalog[];
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* 本次请求实际生效的每页数量。未传 Limit 时为服务端默认值,超出上限时为收敛后的值
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 10
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* 下一页起始Token,传入下次请求的 NextToken 可获取下一页;为空表示已无更多数据
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* 10
|
|
29
|
+
*/
|
|
30
|
+
nextToken?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* Agent 绑定的数据目录总数,与本页返回条数无关
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
38
|
+
totalCount?: number;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
catalogs: 'Catalogs',
|
|
42
|
+
limit: 'Limit',
|
|
43
|
+
nextToken: 'NextToken',
|
|
44
|
+
totalCount: 'TotalCount',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
catalogs: { 'type': 'array', 'itemType': Catalog },
|
|
51
|
+
limit: 'number',
|
|
52
|
+
nextToken: 'string',
|
|
53
|
+
totalCount: 'number',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
if(Array.isArray(this.catalogs)) {
|
|
59
|
+
$dara.Model.validateArray(this.catalogs);
|
|
60
|
+
}
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(map?: { [key: string]: any }) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export class ListLumaCatalogsResponseBody extends $dara.Model {
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The response code. A value of Success indicates a successful call. A specific error code is returned when the call fails.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* Success
|
|
76
|
+
*/
|
|
77
|
+
code?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The list of data catalogs bound to the Agent. All results are returned at once without pagination.
|
|
81
|
+
*/
|
|
82
|
+
data?: ListLumaCatalogsResponseBodyData;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The message returned by the operation. The value is Operation success when the call succeeds, or a specific error description when the call fails.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* Operation success
|
|
89
|
+
*/
|
|
90
|
+
message?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The unique identifier of the request, used for troubleshooting and ticket submission.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
97
|
+
*/
|
|
98
|
+
requestId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* Indicates whether the call was successful. A value of true indicates success.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* true
|
|
105
|
+
*/
|
|
106
|
+
success?: boolean;
|
|
107
|
+
static names(): { [key: string]: string } {
|
|
108
|
+
return {
|
|
109
|
+
code: 'Code',
|
|
110
|
+
data: 'Data',
|
|
111
|
+
message: 'Message',
|
|
112
|
+
requestId: 'RequestId',
|
|
113
|
+
success: 'Success',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
static types(): { [key: string]: any } {
|
|
118
|
+
return {
|
|
119
|
+
code: 'string',
|
|
120
|
+
data: ListLumaCatalogsResponseBodyData,
|
|
121
|
+
message: 'string',
|
|
122
|
+
requestId: 'string',
|
|
123
|
+
success: 'boolean',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
validate() {
|
|
128
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
129
|
+
(this.data as any).validate();
|
|
130
|
+
}
|
|
131
|
+
super.validate();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
constructor(map?: { [key: string]: any }) {
|
|
135
|
+
super(map);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLumaChunksRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the agent.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* my_agent
|
|
14
|
+
*/
|
|
15
|
+
agentName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The name of the data catalog bound to the agent. You can call ListLumaCatalogs to obtain this value.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* my_catalog
|
|
24
|
+
*/
|
|
25
|
+
catalog?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The ID of the document used to filter text chunks. If this parameter is not specified, text chunks of all documents in the knowledge base are returned.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* doc-a1b2c3d4
|
|
32
|
+
*/
|
|
33
|
+
documentId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* Specifies whether to return only enabled text chunks. If this parameter is not specified, text chunks are not filtered by enabled status.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* true
|
|
40
|
+
*/
|
|
41
|
+
enabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The keyword used to filter text chunks by content.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* Event rule
|
|
48
|
+
*/
|
|
49
|
+
keyword?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The name of the knowledge base bound to the agent. You can call ListLumaKnowledgeBases to obtain this value.
|
|
53
|
+
*
|
|
54
|
+
* This parameter is required.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* my-knowledge-base
|
|
58
|
+
*/
|
|
59
|
+
knowledgeBaseName?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The maximum number of records to return. Valid values: 1 to 100. If this parameter is not specified, the server uses a default value.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* 20
|
|
66
|
+
*/
|
|
67
|
+
maxResults?: number;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The name of the namespace bound to the agent. You can call ListLumaNamespaces to obtain this value.
|
|
71
|
+
*
|
|
72
|
+
* This parameter is required.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* my_namespace
|
|
76
|
+
*/
|
|
77
|
+
namespace?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The pagination token. Do not specify this parameter for the first request. For subsequent requests, use the NextToken value returned in the previous response. This value is an opaque string. Do not parse it.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ca1eb85f5d99c7d6a97e6****
|
|
84
|
+
*/
|
|
85
|
+
nextToken?: string;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
agentName: 'AgentName',
|
|
89
|
+
catalog: 'Catalog',
|
|
90
|
+
documentId: 'DocumentId',
|
|
91
|
+
enabled: 'Enabled',
|
|
92
|
+
keyword: 'Keyword',
|
|
93
|
+
knowledgeBaseName: 'KnowledgeBaseName',
|
|
94
|
+
maxResults: 'MaxResults',
|
|
95
|
+
namespace: 'Namespace',
|
|
96
|
+
nextToken: 'NextToken',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
agentName: 'string',
|
|
103
|
+
catalog: 'string',
|
|
104
|
+
documentId: 'string',
|
|
105
|
+
enabled: 'boolean',
|
|
106
|
+
keyword: 'string',
|
|
107
|
+
knowledgeBaseName: 'string',
|
|
108
|
+
maxResults: 'number',
|
|
109
|
+
namespace: 'string',
|
|
110
|
+
nextToken: 'string',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
validate() {
|
|
115
|
+
super.validate();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
constructor(map?: { [key: string]: any }) {
|
|
119
|
+
super(map);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLumaChunksResponseBody } from "./ListLumaChunksResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLumaChunksResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLumaChunksResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListLumaChunksResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { KnowledgeBaseChunk } from "./KnowledgeBaseChunk";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLumaChunksResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The list of chunk entries.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* [{"DocumentId":"doc-bp1xxxxxxxxxxxx","ChunkSeq":1}]
|
|
13
|
+
*/
|
|
14
|
+
chunks?: KnowledgeBaseChunk[];
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The pagination token for the next page (an opaque string). Pass this value as the NextToken parameter in the next request to retrieve the next page. An empty value indicates that no more data is available.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ca1eb85f5d99c7d6a97e6****
|
|
21
|
+
*/
|
|
22
|
+
nextToken?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The total number of chunks in the document.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* 120
|
|
29
|
+
*/
|
|
30
|
+
totalCount?: number;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
chunks: 'Chunks',
|
|
34
|
+
nextToken: 'NextToken',
|
|
35
|
+
totalCount: 'TotalCount',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
chunks: { 'type': 'array', 'itemType': KnowledgeBaseChunk },
|
|
42
|
+
nextToken: 'string',
|
|
43
|
+
totalCount: 'number',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
if(Array.isArray(this.chunks)) {
|
|
49
|
+
$dara.Model.validateArray(this.chunks);
|
|
50
|
+
}
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class ListLumaChunksResponseBody extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The response code. A value of Success indicates that the call succeeded. If the call fails, a specific error code is returned.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* Success
|
|
66
|
+
*/
|
|
67
|
+
code?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The chunk list result, which contains chunk entries and pagination information.
|
|
71
|
+
*/
|
|
72
|
+
data?: ListLumaChunksResponseBodyData;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The message returned by the operation. The value is Operation success if the call succeeds, or a specific error description if the call fails.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* Operation success
|
|
79
|
+
*/
|
|
80
|
+
message?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The unique ID of the request. Use this ID for troubleshooting and when submitting a ticket.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
87
|
+
*/
|
|
88
|
+
requestId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* Indicates whether the call is successful. A value of true indicates success.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* true
|
|
95
|
+
*/
|
|
96
|
+
success?: boolean;
|
|
97
|
+
static names(): { [key: string]: string } {
|
|
98
|
+
return {
|
|
99
|
+
code: 'Code',
|
|
100
|
+
data: 'Data',
|
|
101
|
+
message: 'Message',
|
|
102
|
+
requestId: 'RequestId',
|
|
103
|
+
success: 'Success',
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
static types(): { [key: string]: any } {
|
|
108
|
+
return {
|
|
109
|
+
code: 'string',
|
|
110
|
+
data: ListLumaChunksResponseBodyData,
|
|
111
|
+
message: 'string',
|
|
112
|
+
requestId: 'string',
|
|
113
|
+
success: 'boolean',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
validate() {
|
|
118
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
119
|
+
(this.data as any).validate();
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
constructor(map?: { [key: string]: any }) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLumaDocumentsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the agent.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* my_agent
|
|
14
|
+
*/
|
|
15
|
+
agentName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The name of the data catalog bound to the agent. You can call ListLumaCatalogs to obtain the catalog name.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* my_catalog
|
|
24
|
+
*/
|
|
25
|
+
catalog?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The file name prefix used to filter documents.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* manual-
|
|
32
|
+
*/
|
|
33
|
+
fileNamePrefix?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The name of the knowledge base bound to the agent. You can call ListLumaKnowledgeBases to obtain the knowledge base name.
|
|
37
|
+
*
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* my-knowledge-base
|
|
42
|
+
*/
|
|
43
|
+
knowledgeBaseName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The maximum number of records to return. Valid values: 1 to 100. If this parameter is not specified, the server uses a default value.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 20
|
|
50
|
+
*/
|
|
51
|
+
maxResults?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The name of the namespace bound to the agent. You can call ListLumaNamespaces to obtain the namespace name.
|
|
55
|
+
*
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* my_namespace
|
|
60
|
+
*/
|
|
61
|
+
namespace?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The pagination token. Do not specify this parameter for the first request. For subsequent requests, use the NextToken value returned in the previous response. This value is an opaque string. Do not parse it.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ca1eb85f5d99c7d6a97e6****
|
|
68
|
+
*/
|
|
69
|
+
nextToken?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The processing status used to filter documents. Valid values: Pending, Processing, Ready, and Failed.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* Ready
|
|
76
|
+
*/
|
|
77
|
+
status?: string;
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
agentName: 'AgentName',
|
|
81
|
+
catalog: 'Catalog',
|
|
82
|
+
fileNamePrefix: 'FileNamePrefix',
|
|
83
|
+
knowledgeBaseName: 'KnowledgeBaseName',
|
|
84
|
+
maxResults: 'MaxResults',
|
|
85
|
+
namespace: 'Namespace',
|
|
86
|
+
nextToken: 'NextToken',
|
|
87
|
+
status: 'Status',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
static types(): { [key: string]: any } {
|
|
92
|
+
return {
|
|
93
|
+
agentName: 'string',
|
|
94
|
+
catalog: 'string',
|
|
95
|
+
fileNamePrefix: 'string',
|
|
96
|
+
knowledgeBaseName: 'string',
|
|
97
|
+
maxResults: 'number',
|
|
98
|
+
namespace: 'string',
|
|
99
|
+
nextToken: 'string',
|
|
100
|
+
status: 'string',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
validate() {
|
|
105
|
+
super.validate();
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
constructor(map?: { [key: string]: any }) {
|
|
109
|
+
super(map);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLumaDocumentsResponseBody } from "./ListLumaDocumentsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLumaDocumentsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLumaDocumentsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListLumaDocumentsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|