@alicloud/das20200116 2.8.2 → 3.0.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 +23 -33
- package/dist/client.js +125 -177
- package/dist/client.js.map +1 -1
- package/dist/models/ChatRequest.d.ts +36 -0
- package/dist/models/{GetEndpointSwitchTaskRequest.js → ChatRequest.js} +12 -20
- package/dist/models/ChatRequest.js.map +1 -0
- package/dist/models/{GetEndpointSwitchTaskResponse.d.ts → ChatResponse.d.ts} +5 -3
- package/dist/models/{GetEndpointSwitchTaskResponse.js → ChatResponse.js} +10 -6
- package/dist/models/ChatResponse.js.map +1 -0
- package/dist/models/ChatResponseBody.d.ts +88 -0
- package/dist/models/{GetHdmaliyunResourceSyncResultResponse.js → ChatResponseBody.js} +34 -17
- package/dist/models/ChatResponseBody.js.map +1 -0
- package/dist/models/DescribeSlowLogRecordsResponseBody.d.ts +4 -0
- package/dist/models/DescribeSlowLogRecordsResponseBody.js +8 -0
- package/dist/models/DescribeSlowLogRecordsResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -16
- package/dist/models/model.js +16 -42
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +111 -194
- package/src/models/ChatRequest.ts +55 -0
- package/src/models/{GetEndpointSwitchTaskResponse.ts → ChatResponse.ts} +10 -4
- package/src/models/ChatResponseBody.ts +129 -0
- package/src/models/DescribeSlowLogRecordsResponseBody.ts +12 -0
- package/src/models/model.ts +3 -16
- package/dist/models/GetEndpointSwitchTaskRequest.d.ts +0 -21
- package/dist/models/GetEndpointSwitchTaskRequest.js.map +0 -1
- package/dist/models/GetEndpointSwitchTaskResponse.js.map +0 -1
- package/dist/models/GetEndpointSwitchTaskResponseBody.d.ts +0 -38
- package/dist/models/GetEndpointSwitchTaskResponseBody.js +0 -102
- package/dist/models/GetEndpointSwitchTaskResponseBody.js.map +0 -1
- package/dist/models/GetHdmaliyunResourceSyncResultRequest.d.ts +0 -21
- package/dist/models/GetHdmaliyunResourceSyncResultRequest.js +0 -72
- package/dist/models/GetHdmaliyunResourceSyncResultRequest.js.map +0 -1
- package/dist/models/GetHdmaliyunResourceSyncResultResponse.d.ts +0 -19
- package/dist/models/GetHdmaliyunResourceSyncResultResponse.js.map +0 -1
- package/dist/models/GetHdmaliyunResourceSyncResultResponseBody.d.ts +0 -64
- package/dist/models/GetHdmaliyunResourceSyncResultResponseBody.js +0 -146
- package/dist/models/GetHdmaliyunResourceSyncResultResponseBody.js.map +0 -1
- package/dist/models/GetHdmlastAliyunResourceSyncResultRequest.d.ts +0 -20
- package/dist/models/GetHdmlastAliyunResourceSyncResultRequest.js +0 -70
- package/dist/models/GetHdmlastAliyunResourceSyncResultRequest.js.map +0 -1
- package/dist/models/GetHdmlastAliyunResourceSyncResultResponse.d.ts +0 -19
- package/dist/models/GetHdmlastAliyunResourceSyncResultResponse.js +0 -69
- package/dist/models/GetHdmlastAliyunResourceSyncResultResponse.js.map +0 -1
- package/dist/models/GetHdmlastAliyunResourceSyncResultResponseBody.d.ts +0 -64
- package/dist/models/GetHdmlastAliyunResourceSyncResultResponseBody.js +0 -146
- package/dist/models/GetHdmlastAliyunResourceSyncResultResponseBody.js.map +0 -1
- package/src/models/GetEndpointSwitchTaskRequest.ts +0 -48
- package/src/models/GetEndpointSwitchTaskResponseBody.ts +0 -86
- package/src/models/GetHdmaliyunResourceSyncResultRequest.ts +0 -48
- package/src/models/GetHdmaliyunResourceSyncResultResponse.ts +0 -40
- package/src/models/GetHdmaliyunResourceSyncResultResponseBody.ts +0 -138
- package/src/models/GetHdmlastAliyunResourceSyncResultRequest.ts +0 -45
- package/src/models/GetHdmlastAliyunResourceSyncResultResponse.ts +0 -40
- package/src/models/GetHdmlastAliyunResourceSyncResultResponseBody.ts +0 -138
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResultsResourceSyncSubResult extends $dara.Model {
|
|
6
|
-
errMsg?: string;
|
|
7
|
-
resourceType?: string;
|
|
8
|
-
success?: boolean;
|
|
9
|
-
syncCount?: number;
|
|
10
|
-
static names(): { [key: string]: string } {
|
|
11
|
-
return {
|
|
12
|
-
errMsg: 'ErrMsg',
|
|
13
|
-
resourceType: 'ResourceType',
|
|
14
|
-
success: 'Success',
|
|
15
|
-
syncCount: 'SyncCount',
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static types(): { [key: string]: any } {
|
|
20
|
-
return {
|
|
21
|
-
errMsg: 'string',
|
|
22
|
-
resourceType: 'string',
|
|
23
|
-
success: 'boolean',
|
|
24
|
-
syncCount: 'number',
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
validate() {
|
|
29
|
-
super.validate();
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
constructor(map?: { [key: string]: any }) {
|
|
33
|
-
super(map);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export class GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResults extends $dara.Model {
|
|
38
|
-
resourceSyncSubResult?: GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResultsResourceSyncSubResult[];
|
|
39
|
-
static names(): { [key: string]: string } {
|
|
40
|
-
return {
|
|
41
|
-
resourceSyncSubResult: 'ResourceSyncSubResult',
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
static types(): { [key: string]: any } {
|
|
46
|
-
return {
|
|
47
|
-
resourceSyncSubResult: { 'type': 'array', 'itemType': GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResultsResourceSyncSubResult },
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
validate() {
|
|
52
|
-
if(Array.isArray(this.resourceSyncSubResult)) {
|
|
53
|
-
$dara.Model.validateArray(this.resourceSyncSubResult);
|
|
54
|
-
}
|
|
55
|
-
super.validate();
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
constructor(map?: { [key: string]: any }) {
|
|
59
|
-
super(map);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export class GetHDMLastAliyunResourceSyncResultResponseBodyData extends $dara.Model {
|
|
64
|
-
errorMsg?: string;
|
|
65
|
-
results?: string;
|
|
66
|
-
subResults?: GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResults;
|
|
67
|
-
syncStatus?: string;
|
|
68
|
-
static names(): { [key: string]: string } {
|
|
69
|
-
return {
|
|
70
|
-
errorMsg: 'ErrorMsg',
|
|
71
|
-
results: 'Results',
|
|
72
|
-
subResults: 'SubResults',
|
|
73
|
-
syncStatus: 'SyncStatus',
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
static types(): { [key: string]: any } {
|
|
78
|
-
return {
|
|
79
|
-
errorMsg: 'string',
|
|
80
|
-
results: 'string',
|
|
81
|
-
subResults: GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResults,
|
|
82
|
-
syncStatus: 'string',
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
validate() {
|
|
87
|
-
if(this.subResults && typeof (this.subResults as any).validate === 'function') {
|
|
88
|
-
(this.subResults as any).validate();
|
|
89
|
-
}
|
|
90
|
-
super.validate();
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
constructor(map?: { [key: string]: any }) {
|
|
94
|
-
super(map);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export class GetHDMLastAliyunResourceSyncResultResponseBody extends $dara.Model {
|
|
99
|
-
code?: string;
|
|
100
|
-
data?: GetHDMLastAliyunResourceSyncResultResponseBodyData;
|
|
101
|
-
message?: string;
|
|
102
|
-
requestId?: string;
|
|
103
|
-
success?: string;
|
|
104
|
-
synchro?: string;
|
|
105
|
-
static names(): { [key: string]: string } {
|
|
106
|
-
return {
|
|
107
|
-
code: 'Code',
|
|
108
|
-
data: 'Data',
|
|
109
|
-
message: 'Message',
|
|
110
|
-
requestId: 'RequestId',
|
|
111
|
-
success: 'Success',
|
|
112
|
-
synchro: 'Synchro',
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
static types(): { [key: string]: any } {
|
|
117
|
-
return {
|
|
118
|
-
code: 'string',
|
|
119
|
-
data: GetHDMLastAliyunResourceSyncResultResponseBodyData,
|
|
120
|
-
message: 'string',
|
|
121
|
-
requestId: 'string',
|
|
122
|
-
success: 'string',
|
|
123
|
-
synchro: 'string',
|
|
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
|
-
|