@alicloud/das20200116 2.8.3 → 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/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/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,45 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class GetHDMLastAliyunResourceSyncResultRequest extends $dara.Model {
|
|
6
|
-
uid?: string;
|
|
7
|
-
userId?: string;
|
|
8
|
-
context?: string;
|
|
9
|
-
accessKey?: string;
|
|
10
|
-
signature?: string;
|
|
11
|
-
skipAuth?: string;
|
|
12
|
-
timestamp?: string;
|
|
13
|
-
static names(): { [key: string]: string } {
|
|
14
|
-
return {
|
|
15
|
-
uid: 'Uid',
|
|
16
|
-
userId: 'UserId',
|
|
17
|
-
context: '__context',
|
|
18
|
-
accessKey: 'accessKey',
|
|
19
|
-
signature: 'signature',
|
|
20
|
-
skipAuth: 'skipAuth',
|
|
21
|
-
timestamp: 'timestamp',
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
static types(): { [key: string]: any } {
|
|
26
|
-
return {
|
|
27
|
-
uid: 'string',
|
|
28
|
-
userId: 'string',
|
|
29
|
-
context: 'string',
|
|
30
|
-
accessKey: 'string',
|
|
31
|
-
signature: 'string',
|
|
32
|
-
skipAuth: 'string',
|
|
33
|
-
timestamp: 'string',
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
validate() {
|
|
38
|
-
super.validate();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
constructor(map?: { [key: string]: any }) {
|
|
42
|
-
super(map);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
import { GetHDMLastAliyunResourceSyncResultResponseBody } from "./GetHdmlastAliyunResourceSyncResultResponseBody";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export class GetHDMLastAliyunResourceSyncResultResponse extends $dara.Model {
|
|
7
|
-
headers?: { [key: string]: string };
|
|
8
|
-
statusCode?: number;
|
|
9
|
-
body?: GetHDMLastAliyunResourceSyncResultResponseBody;
|
|
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: GetHDMLastAliyunResourceSyncResultResponseBody,
|
|
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
|
-
|
|
@@ -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
|
-
|