@alicloud/eventbridge20200401 6.3.0 → 6.4.0
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 +99 -18
- package/dist/client.js +277 -38
- package/dist/client.js.map +1 -1
- package/dist/models/AgentDataSemanticsExample.d.ts +47 -0
- package/dist/models/AgentDataSemanticsExample.js +68 -0
- package/dist/models/AgentDataSemanticsExample.js.map +1 -0
- package/dist/models/AgentDataSemanticsExampleParameter.d.ts +51 -0
- package/dist/models/AgentDataSemanticsExampleParameter.js +64 -0
- package/dist/models/AgentDataSemanticsExampleParameter.js.map +1 -0
- package/dist/models/AgentDataSemanticsJoin.d.ts +57 -0
- package/dist/models/AgentDataSemanticsJoin.js +70 -0
- package/dist/models/AgentDataSemanticsJoin.js.map +1 -0
- package/dist/models/AgentDataSemanticsJoinCondition.d.ts +47 -0
- package/dist/models/AgentDataSemanticsJoinCondition.js +64 -0
- package/dist/models/AgentDataSemanticsJoinCondition.js.map +1 -0
- package/dist/models/AgentDataSemanticsMetric.d.ts +59 -0
- package/dist/models/AgentDataSemanticsMetric.js +69 -0
- package/dist/models/AgentDataSemanticsMetric.js.map +1 -0
- package/dist/models/AgentDataSemanticsStageProgress.d.ts +33 -0
- package/dist/models/AgentDataSemanticsStageProgress.js +60 -0
- package/dist/models/AgentDataSemanticsStageProgress.js.map +1 -0
- package/dist/models/AgentDataSemanticsText.d.ts +23 -0
- package/dist/models/AgentDataSemanticsText.js +58 -0
- package/dist/models/AgentDataSemanticsText.js.map +1 -0
- package/dist/models/AskLumaRequest.d.ts +1 -1
- package/dist/models/AskLumaResponseBody.d.ts +1 -1
- package/dist/models/AskLumaResult.d.ts +20 -12
- package/dist/models/AskLumaResult.js +2 -0
- package/dist/models/AskLumaResult.js.map +1 -1
- package/dist/models/Catalog.d.ts +7 -7
- package/dist/models/CreateConnectionRequest.d.ts +21 -21
- package/dist/models/CreateConnectionResponseBody.d.ts +1 -1
- package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateEventStreamingRequest.d.ts +121 -212
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -4
- package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +8 -4
- package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
- package/dist/models/DeleteEventStreamingRequest.d.ts +5 -0
- package/dist/models/DeleteEventStreamingRequest.js +2 -0
- package/dist/models/DeleteEventStreamingRequest.js.map +1 -1
- package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
- package/dist/models/GenerateAgentDataSemanticsRequest.d.ts +23 -0
- package/dist/models/GenerateAgentDataSemanticsRequest.js +58 -0
- package/dist/models/GenerateAgentDataSemanticsRequest.js.map +1 -0
- package/dist/models/GenerateAgentDataSemanticsResponse.d.ts +19 -0
- package/dist/models/GenerateAgentDataSemanticsResponse.js +69 -0
- package/dist/models/GenerateAgentDataSemanticsResponse.js.map +1 -0
- package/dist/models/GenerateAgentDataSemanticsResponseBody.d.ts +55 -0
- package/dist/models/GenerateAgentDataSemanticsResponseBody.js +69 -0
- package/dist/models/GenerateAgentDataSemanticsResponseBody.js.map +1 -0
- package/dist/models/GetAgentDataSemanticsRequest.d.ts +23 -0
- package/dist/models/GetAgentDataSemanticsRequest.js +58 -0
- package/dist/models/GetAgentDataSemanticsRequest.js.map +1 -0
- package/dist/models/GetAgentDataSemanticsResponse.d.ts +19 -0
- package/dist/models/GetAgentDataSemanticsResponse.js +69 -0
- package/dist/models/GetAgentDataSemanticsResponse.js.map +1 -0
- package/dist/models/GetAgentDataSemanticsResponseBody.d.ts +94 -0
- package/dist/models/GetAgentDataSemanticsResponseBody.js +112 -0
- package/dist/models/GetAgentDataSemanticsResponseBody.js.map +1 -0
- package/dist/models/GetCatalogRequest.d.ts +2 -2
- package/dist/models/GetCatalogResponseBody.d.ts +5 -5
- package/dist/models/GetConnectionRequest.d.ts +1 -1
- package/dist/models/GetConnectionResponseBody.d.ts +32 -30
- package/dist/models/GetConnectionResponseBody.js.map +1 -1
- package/dist/models/GetEventStreamingRequest.d.ts +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +212 -329
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.d.ts +23 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js +58 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js.map +1 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.d.ts +19 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js +69 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js.map +1 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.d.ts +116 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js +122 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js.map +1 -0
- package/dist/models/ListCatalogsRequest.d.ts +2 -2
- package/dist/models/ListCatalogsResponseBody.d.ts +8 -8
- package/dist/models/ListConnectionsRequest.d.ts +6 -6
- package/dist/models/ListConnectionsResponseBody.d.ts +24 -24
- package/dist/models/PollAskResultResponseBody.d.ts +1 -1
- package/dist/models/QueryAskLumaLogRequest.d.ts +1 -1
- package/dist/models/QueryAskLumaLogResponseBody.d.ts +3 -3
- package/dist/models/QueryAttachment.d.ts +10 -2
- package/dist/models/QueryAttachment.js +2 -0
- package/dist/models/QueryAttachment.js.map +1 -1
- package/dist/models/QueryEventHouseWithTimeRangeRequest.d.ts +51 -0
- package/dist/models/QueryEventHouseWithTimeRangeRequest.js +64 -0
- package/dist/models/QueryEventHouseWithTimeRangeRequest.js.map +1 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponse.d.ts +19 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponse.js +69 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponse.js.map +1 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponseBody.d.ts +76 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js +94 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsRequest.d.ts +47 -0
- package/dist/models/SaveAgentDataSemanticsRequest.js +82 -0
- package/dist/models/SaveAgentDataSemanticsRequest.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsResponse.d.ts +19 -0
- package/dist/models/SaveAgentDataSemanticsResponse.js +69 -0
- package/dist/models/SaveAgentDataSemanticsResponse.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsResponseBody.d.ts +55 -0
- package/dist/models/SaveAgentDataSemanticsResponseBody.js +69 -0
- package/dist/models/SaveAgentDataSemanticsResponseBody.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsShrinkRequest.d.ts +43 -0
- package/dist/models/SaveAgentDataSemanticsShrinkRequest.js +66 -0
- package/dist/models/SaveAgentDataSemanticsShrinkRequest.js.map +1 -0
- package/dist/models/SourceJdbcparameters.d.ts +60 -0
- package/dist/models/SourceJdbcparameters.js.map +1 -1
- package/dist/models/Table.d.ts +1 -1
- package/dist/models/UpdateConnectionRequest.d.ts +28 -28
- package/dist/models/UpdateConnectionResponseBody.d.ts +2 -2
- package/dist/models/UpdateConnectionShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateEventStreamingRequest.d.ts +156 -281
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +4 -2
- package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +8 -4
- package/dist/models/UpdateEventStreamingShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +26 -0
- package/dist/models/model.js +70 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +304 -38
- package/src/models/AgentDataSemanticsExample.ts +69 -0
- package/src/models/AgentDataSemanticsExampleParameter.ts +70 -0
- package/src/models/AgentDataSemanticsJoin.ts +81 -0
- package/src/models/AgentDataSemanticsJoinCondition.ts +66 -0
- package/src/models/AgentDataSemanticsMetric.ts +83 -0
- package/src/models/AgentDataSemanticsStageProgress.ts +48 -0
- package/src/models/AgentDataSemanticsText.ts +36 -0
- package/src/models/AskLumaRequest.ts +1 -1
- package/src/models/AskLumaResponseBody.ts +1 -1
- package/src/models/AskLumaResult.ts +22 -12
- package/src/models/Catalog.ts +7 -7
- package/src/models/CreateConnectionRequest.ts +21 -21
- package/src/models/CreateConnectionResponseBody.ts +1 -1
- package/src/models/CreateConnectionShrinkRequest.ts +4 -4
- package/src/models/CreateEventStreamingRequest.ts +121 -212
- package/src/models/CreateEventStreamingResponseBody.ts +2 -4
- package/src/models/CreateEventStreamingShrinkRequest.ts +8 -4
- package/src/models/DeleteEventStreamingRequest.ts +7 -0
- package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
- package/src/models/GenerateAgentDataSemanticsRequest.ts +36 -0
- package/src/models/GenerateAgentDataSemanticsResponse.ts +40 -0
- package/src/models/GenerateAgentDataSemanticsResponseBody.ts +77 -0
- package/src/models/GetAgentDataSemanticsRequest.ts +36 -0
- package/src/models/GetAgentDataSemanticsResponse.ts +40 -0
- package/src/models/GetAgentDataSemanticsResponseBody.ts +148 -0
- package/src/models/GetCatalogRequest.ts +2 -2
- package/src/models/GetCatalogResponseBody.ts +5 -5
- package/src/models/GetConnectionRequest.ts +1 -1
- package/src/models/GetConnectionResponseBody.ts +32 -30
- package/src/models/GetEventStreamingRequest.ts +1 -1
- package/src/models/GetEventStreamingResponseBody.ts +212 -329
- package/src/models/GetGenerateAgentDataSemanticsProgressRequest.ts +36 -0
- package/src/models/GetGenerateAgentDataSemanticsProgressResponse.ts +40 -0
- package/src/models/GetGenerateAgentDataSemanticsProgressResponseBody.ts +179 -0
- package/src/models/ListCatalogsRequest.ts +2 -2
- package/src/models/ListCatalogsResponseBody.ts +8 -8
- package/src/models/ListConnectionsRequest.ts +6 -6
- package/src/models/ListConnectionsResponseBody.ts +24 -24
- package/src/models/PollAskResultResponseBody.ts +1 -1
- package/src/models/QueryAskLumaLogRequest.ts +1 -1
- package/src/models/QueryAskLumaLogResponseBody.ts +3 -3
- package/src/models/QueryAttachment.ts +12 -2
- package/src/models/QueryEventHouseWithTimeRangeRequest.ts +70 -0
- package/src/models/QueryEventHouseWithTimeRangeResponse.ts +40 -0
- package/src/models/QueryEventHouseWithTimeRangeResponseBody.ts +115 -0
- package/src/models/SaveAgentDataSemanticsRequest.ts +80 -0
- package/src/models/SaveAgentDataSemanticsResponse.ts +40 -0
- package/src/models/SaveAgentDataSemanticsResponseBody.ts +77 -0
- package/src/models/SaveAgentDataSemanticsShrinkRequest.ts +64 -0
- package/src/models/SourceJdbcparameters.ts +60 -0
- package/src/models/Table.ts +1 -1
- package/src/models/UpdateConnectionRequest.ts +28 -28
- package/src/models/UpdateConnectionResponseBody.ts +2 -2
- package/src/models/UpdateConnectionShrinkRequest.ts +5 -5
- package/src/models/UpdateEventStreamingRequest.ts +156 -281
- package/src/models/UpdateEventStreamingResponseBody.ts +4 -2
- package/src/models/UpdateEventStreamingShrinkRequest.ts +8 -4
- package/src/models/model.ts +26 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AgentDataSemanticsJoinCondition } from "./AgentDataSemanticsJoinCondition";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AgentDataSemanticsJoin extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The join condition.
|
|
10
|
+
*
|
|
11
|
+
* This parameter is required.
|
|
12
|
+
*/
|
|
13
|
+
condition?: AgentDataSemanticsJoinCondition;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The join usage description.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* Use this join when analyzing customer attributes associated with sales transactions
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The full name of the left table.
|
|
25
|
+
*
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* samples.bakehouse.sales_transactions
|
|
30
|
+
*/
|
|
31
|
+
leftTable?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The table relationship type.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* many_to_one
|
|
38
|
+
*/
|
|
39
|
+
relationshipType?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The full name of the right table.
|
|
43
|
+
*
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* samples.bakehouse.customers
|
|
48
|
+
*/
|
|
49
|
+
rightTable?: string;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
condition: 'Condition',
|
|
53
|
+
description: 'Description',
|
|
54
|
+
leftTable: 'LeftTable',
|
|
55
|
+
relationshipType: 'RelationshipType',
|
|
56
|
+
rightTable: 'RightTable',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
condition: AgentDataSemanticsJoinCondition,
|
|
63
|
+
description: 'string',
|
|
64
|
+
leftTable: 'string',
|
|
65
|
+
relationshipType: 'string',
|
|
66
|
+
rightTable: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
if(this.condition && typeof (this.condition as any).validate === 'function') {
|
|
72
|
+
(this.condition as any).validate();
|
|
73
|
+
}
|
|
74
|
+
super.validate();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
constructor(map?: { [key: string]: any }) {
|
|
78
|
+
super(map);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AgentDataSemanticsJoinCondition extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The left table field name in form mode.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* customerID
|
|
12
|
+
*/
|
|
13
|
+
leftColumn?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The conditional expression method.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* form
|
|
22
|
+
*/
|
|
23
|
+
mode?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The right table field name in form mode.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* customerID
|
|
30
|
+
*/
|
|
31
|
+
rightColumn?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The join SQL expression in SQL mode.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* sales_transactions.customerID = customers.customerID
|
|
38
|
+
*/
|
|
39
|
+
SQLExpression?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
leftColumn: 'LeftColumn',
|
|
43
|
+
mode: 'Mode',
|
|
44
|
+
rightColumn: 'RightColumn',
|
|
45
|
+
SQLExpression: 'SQLExpression',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
leftColumn: 'string',
|
|
52
|
+
mode: 'string',
|
|
53
|
+
rightColumn: 'string',
|
|
54
|
+
SQLExpression: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AgentDataSemanticsMetric extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The usage description.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Use totalPrice to calculate total sales for sales performance comparison
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The name of the SQL expression.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* TotalSales
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The SQL expression.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* SUM(sales_transactions.totalPrice)
|
|
32
|
+
*/
|
|
33
|
+
SQLExpression?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The list of synonyms. A maximum of 10 items are supported. Each item can contain up to 64 characters.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ["Sales","Revenue","GMV"]
|
|
40
|
+
*/
|
|
41
|
+
synonyms?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The type of the SQL expression.
|
|
45
|
+
*
|
|
46
|
+
* This parameter is required.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* measure
|
|
50
|
+
*/
|
|
51
|
+
type?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
description: 'Description',
|
|
55
|
+
name: 'Name',
|
|
56
|
+
SQLExpression: 'SQLExpression',
|
|
57
|
+
synonyms: 'Synonyms',
|
|
58
|
+
type: 'Type',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
description: 'string',
|
|
65
|
+
name: 'string',
|
|
66
|
+
SQLExpression: 'string',
|
|
67
|
+
synonyms: { 'type': 'array', 'itemType': 'string' },
|
|
68
|
+
type: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
if(Array.isArray(this.synonyms)) {
|
|
74
|
+
$dara.Model.validateArray(this.synonyms);
|
|
75
|
+
}
|
|
76
|
+
super.validate();
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
constructor(map?: { [key: string]: any }) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AgentDataSemanticsStageProgress extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The stage name.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* PROFILE
|
|
14
|
+
*/
|
|
15
|
+
stage?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The stage status.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* SUCCEEDED
|
|
24
|
+
*/
|
|
25
|
+
status?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
stage: 'Stage',
|
|
29
|
+
status: 'Status',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
stage: 'string',
|
|
36
|
+
status: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AgentDataSemanticsText extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the Markdown-formatted text knowledge.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ## Data description
|
|
14
|
+
*/
|
|
15
|
+
content?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
content: 'Content',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
content: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -7,7 +7,7 @@ import { Content } from "./Content";
|
|
|
7
7
|
export class AskLumaResult extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
*
|
|
10
|
+
* Indicates whether clarification is needed.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* false
|
|
@@ -15,25 +15,25 @@ export class AskLumaResult extends $dara.Model {
|
|
|
15
15
|
clarificationNeeded?: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The clarification question text.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
|
-
*
|
|
21
|
+
* Which database does the employee table you are referring to belong to?
|
|
22
22
|
*/
|
|
23
23
|
clarificationQuestion?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* The query constraints.
|
|
27
27
|
*/
|
|
28
28
|
constraints?: Constraints;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
*
|
|
31
|
+
* The structured result body.
|
|
32
32
|
*/
|
|
33
33
|
content?: Content;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
*
|
|
36
|
+
* The conversation ID, used for multi-turn follow-up questions.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* conv_xxx
|
|
@@ -41,7 +41,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
41
41
|
conversationId?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
44
|
+
* The error code.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* ExecutionFailed, Timeout, RateLimited, InternalError, ConversationExpired
|
|
@@ -49,7 +49,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
49
49
|
errorCode?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* The error details.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* Agent with name \\"xxx\\" not found for account 1186xxx
|
|
@@ -57,7 +57,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
57
57
|
errorMessage?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
*
|
|
60
|
+
* Indicates whether an error occurred. A value of false indicates that the query succeeded or a clarification is needed (including empty result sets). A value of true indicates that the execution failed due to a timeout, throttling, or internal error.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* false
|
|
@@ -65,7 +65,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
65
65
|
isError?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
*
|
|
68
|
+
* The message ID, used for polling with PollAskResult.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* msg_xxx
|
|
@@ -73,7 +73,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
73
73
|
messageId?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
*
|
|
76
|
+
* The submit status.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* RUNNING, SUCCEEDED, FAILED, TIMEOUT
|
|
@@ -81,12 +81,20 @@ export class AskLumaResult extends $dara.Model {
|
|
|
81
81
|
status?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
*
|
|
84
|
+
* Indicates whether the result was truncated because it exceeded the storage limit. This field is returned only for large result sets.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* true
|
|
88
88
|
*/
|
|
89
89
|
storageTruncated?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The business Wiki version that was actually used for this response. This field is not returned if the agent does not have a Wiki configured.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* eventhouse-multisource-demo-v1
|
|
96
|
+
*/
|
|
97
|
+
wikiVersion?: string;
|
|
90
98
|
static names(): { [key: string]: string } {
|
|
91
99
|
return {
|
|
92
100
|
clarificationNeeded: 'ClarificationNeeded',
|
|
@@ -100,6 +108,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
100
108
|
messageId: 'MessageId',
|
|
101
109
|
status: 'Status',
|
|
102
110
|
storageTruncated: 'StorageTruncated',
|
|
111
|
+
wikiVersion: 'WikiVersion',
|
|
103
112
|
};
|
|
104
113
|
}
|
|
105
114
|
|
|
@@ -116,6 +125,7 @@ export class AskLumaResult extends $dara.Model {
|
|
|
116
125
|
messageId: 'string',
|
|
117
126
|
status: 'string',
|
|
118
127
|
storageTruncated: 'boolean',
|
|
128
|
+
wikiVersion: 'string',
|
|
119
129
|
};
|
|
120
130
|
}
|
|
121
131
|
|
package/src/models/Catalog.ts
CHANGED
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class Catalog extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The comment or description of the data catalog
|
|
8
|
+
* The comment or description of the data catalog.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Test data catalog
|
|
12
12
|
*/
|
|
13
13
|
comment?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The connection name associated with a mounted
|
|
16
|
+
* The connection name associated with a mounted catalog. This parameter has a value only when Provider is set to MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, or Iceberg.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* my_connection
|
|
@@ -21,7 +21,7 @@ export class Catalog extends $dara.Model {
|
|
|
21
21
|
connectionName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The unique identifier name of the data catalog
|
|
24
|
+
* The unique identifier name of the data catalog.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* my_catalog
|
|
@@ -29,7 +29,7 @@ export class Catalog extends $dara.Model {
|
|
|
29
29
|
name?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
32
|
+
* The extended properties (JSON object). For the Elasticsearch type, this includes information such as IndexPattern.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* {"IndexPattern":"my-index-*"}
|
|
@@ -37,7 +37,7 @@ export class Catalog extends $dara.Model {
|
|
|
37
37
|
properties?: { [key: string]: any };
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The data source provider. EventHouse
|
|
40
|
+
* The data source provider. EventHouse indicates built-in storage. MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, and Iceberg indicate externally mounted sources.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* EventHouse
|
|
@@ -45,7 +45,7 @@ export class Catalog extends $dara.Model {
|
|
|
45
45
|
provider?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The type of the data catalog, such as RELATIONAL
|
|
48
|
+
* The type of the data catalog, such as RELATIONAL.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* RELATIONAL
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateConnectionRequestAuthParametersApiKeyAuthParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key
|
|
8
|
+
* The key of the API key.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Token
|
|
@@ -125,7 +125,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersClientParameter
|
|
|
125
125
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersBodyParameters extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* Specifies whether the value is
|
|
128
|
+
* Specifies whether the value is used for authentication.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* false
|
|
@@ -175,7 +175,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
175
175
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters extends $dara.Model {
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
|
-
* Specifies whether the value is
|
|
178
|
+
* Specifies whether the value is used for authentication.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
181
|
* false
|
|
@@ -225,7 +225,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
225
225
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters extends $dara.Model {
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* Specifies whether the value is
|
|
228
|
+
* Specifies whether the value is used for authentication.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* false
|
|
@@ -275,17 +275,17 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
275
275
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParameters extends $dara.Model {
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
* The list of body request parameter
|
|
278
|
+
* The list of body request parameter data structures.
|
|
279
279
|
*/
|
|
280
280
|
bodyParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersBodyParameters[];
|
|
281
281
|
/**
|
|
282
282
|
* @remarks
|
|
283
|
-
* The list of header
|
|
283
|
+
* The list of header parameters.
|
|
284
284
|
*/
|
|
285
285
|
headerParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters[];
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The structure of the URI of the request path parameters.
|
|
288
|
+
* The data structure of the URI of the request path parameters.
|
|
289
289
|
*/
|
|
290
290
|
queryStringParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters[];
|
|
291
291
|
static names(): { [key: string]: string } {
|
|
@@ -325,7 +325,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
325
325
|
export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.Model {
|
|
326
326
|
/**
|
|
327
327
|
* @remarks
|
|
328
|
-
* The authorization endpoint
|
|
328
|
+
* The authorization endpoint address. Maximum length: 127 characters.
|
|
329
329
|
*
|
|
330
330
|
* @example
|
|
331
331
|
* http://localhost:8080/oauth/token
|
|
@@ -333,12 +333,12 @@ export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.
|
|
|
333
333
|
authorizationEndpoint?: string;
|
|
334
334
|
/**
|
|
335
335
|
* @remarks
|
|
336
|
-
* The client
|
|
336
|
+
* The client parameters data structure.
|
|
337
337
|
*/
|
|
338
338
|
clientParameters?: CreateConnectionRequestAuthParametersOAuthParametersClientParameters;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The HTTP method. Valid values:
|
|
341
|
+
* The HTTP method for the probe. Valid values:
|
|
342
342
|
*
|
|
343
343
|
* - GET
|
|
344
344
|
* - POST
|
|
@@ -353,7 +353,7 @@ export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.
|
|
|
353
353
|
httpMethod?: string;
|
|
354
354
|
/**
|
|
355
355
|
* @remarks
|
|
356
|
-
* The OAuth authentication
|
|
356
|
+
* The request parameters for OAuth authentication.
|
|
357
357
|
*/
|
|
358
358
|
OAuthHttpParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParameters;
|
|
359
359
|
static names(): { [key: string]: string } {
|
|
@@ -392,18 +392,18 @@ export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.
|
|
|
392
392
|
export class CreateConnectionRequestAuthParameters extends $dara.Model {
|
|
393
393
|
/**
|
|
394
394
|
* @remarks
|
|
395
|
-
* The API key
|
|
395
|
+
* The data structure of the API key.
|
|
396
396
|
*/
|
|
397
397
|
apiKeyAuthParameters?: CreateConnectionRequestAuthParametersApiKeyAuthParameters;
|
|
398
398
|
/**
|
|
399
399
|
* @remarks
|
|
400
400
|
* The authentication type:
|
|
401
401
|
*
|
|
402
|
-
* - BASIC: BASIC_AUTH. This authorization method is a basic authorization method implemented by browsers in compliance with the HTTP protocol. During HTTP communication, the HTTP protocol defines a basic authentication method that allows an HTTP server to authenticate clients. Add
|
|
402
|
+
* - BASIC: BASIC_AUTH. This authorization method is a basic authorization method implemented by browsers in compliance with the HTTP protocol. During HTTP communication, the HTTP protocol defines a basic authentication method that allows an HTTP server to authenticate clients. Add Authorization: Basic Base64-encoded(`username:password`) in the fixed format to the request header. Username and Password are required.
|
|
403
403
|
*
|
|
404
|
-
* - API KEY: API_KEY_AUTH. Add
|
|
404
|
+
* - API KEY: API_KEY_AUTH. Add Token: Token value in the fixed format to the request header. ApiKeyName and ApiKeyValue are required.
|
|
405
405
|
*
|
|
406
|
-
* - OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism.
|
|
406
|
+
* - OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism. Normally, without an authorization mechanism such as OAuth 2.0, clients can directly access resources on the resource server. To ensure secure data access, an Access Token mechanism is added. Clients must carry an Access Token to access protected resources. OAuth 2.0 ensures that resources are not accessed by malicious clients, which improves system security. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.
|
|
407
407
|
*
|
|
408
408
|
* @example
|
|
409
409
|
* BASIC_AUTH
|
|
@@ -411,12 +411,12 @@ export class CreateConnectionRequestAuthParameters extends $dara.Model {
|
|
|
411
411
|
authorizationType?: string;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
* The basic authentication
|
|
414
|
+
* The data structure of basic authentication.
|
|
415
415
|
*/
|
|
416
416
|
basicAuthParameters?: CreateConnectionRequestAuthParametersBasicAuthParameters;
|
|
417
417
|
/**
|
|
418
418
|
* @remarks
|
|
419
|
-
* The OAuth authentication
|
|
419
|
+
* The data structure of OAuth authentication parameters.
|
|
420
420
|
*/
|
|
421
421
|
OAuthParameters?: CreateConnectionRequestAuthParametersOAuthParameters;
|
|
422
422
|
static names(): { [key: string]: string } {
|
|
@@ -524,7 +524,7 @@ export class CreateConnectionRequestNetworkParameters extends $dara.Model {
|
|
|
524
524
|
export class CreateConnectionRequest extends $dara.Model {
|
|
525
525
|
/**
|
|
526
526
|
* @remarks
|
|
527
|
-
* The authentication
|
|
527
|
+
* The authentication data structure.
|
|
528
528
|
*/
|
|
529
529
|
authParameters?: CreateConnectionRequestAuthParameters;
|
|
530
530
|
/**
|
|
@@ -547,14 +547,14 @@ export class CreateConnectionRequest extends $dara.Model {
|
|
|
547
547
|
description?: string;
|
|
548
548
|
/**
|
|
549
549
|
* @remarks
|
|
550
|
-
* The network configuration.
|
|
550
|
+
* The network configuration data structure.
|
|
551
551
|
*
|
|
552
552
|
* This parameter is required.
|
|
553
553
|
*/
|
|
554
554
|
networkParameters?: CreateConnectionRequestNetworkParameters;
|
|
555
555
|
/**
|
|
556
556
|
* @remarks
|
|
557
|
-
* The data source connection parameters (JSON object). This parameter is required when Type is
|
|
557
|
+
* The data source connection parameters (JSON object). This parameter is required when Type is a data source type. It is not required for the Http type. For specific field definitions, call the GetConnectionType operation and refer to ParamsSchema in the response.
|
|
558
558
|
*
|
|
559
559
|
* @example
|
|
560
560
|
* {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
|
|
@@ -562,7 +562,7 @@ export class CreateConnectionRequest extends $dara.Model {
|
|
|
562
562
|
parameters?: any;
|
|
563
563
|
/**
|
|
564
564
|
* @remarks
|
|
565
|
-
* The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, and Http. This parameter is required for data source connections. If this parameter is not specified, the default value Http is used. The Http type is used for HTTP protocol targets
|
|
565
|
+
* The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, and Http. This parameter is required for data source type connections. If this parameter is not specified, the default value Http is used. The Http type is used for API Destination and other HTTP protocol targets. Hive and Iceberg are used for the corresponding data lakehouse sources. lakehouse is used only for compatibility with existing connections. Other data source types are used for data connections in the integration marketplace.
|
|
566
566
|
*
|
|
567
567
|
* @example
|
|
568
568
|
* Http
|
|
@@ -35,7 +35,7 @@ export class CreateConnectionResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class CreateConnectionResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The API status or POP error code.
|
|
38
|
+
* The API status or POP error code. A value of Success indicates that the request is successful.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* Success
|