@alicloud/websitebuild20250429 2.19.1 → 2.20.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 +60 -0
- package/dist/client.js +189 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CheckUserResourceMeasureRequest.d.ts +48 -0
- package/dist/models/CheckUserResourceMeasureRequest.js +70 -0
- package/dist/models/CheckUserResourceMeasureRequest.js.map +1 -0
- package/dist/models/CheckUserResourceMeasureResponse.d.ts +19 -0
- package/dist/models/CheckUserResourceMeasureResponse.js +69 -0
- package/dist/models/CheckUserResourceMeasureResponse.js.map +1 -0
- package/dist/models/CheckUserResourceMeasureResponseBody.d.ts +91 -0
- package/dist/models/CheckUserResourceMeasureResponseBody.js +109 -0
- package/dist/models/CheckUserResourceMeasureResponseBody.js.map +1 -0
- package/dist/models/CreateAppAssistantAgentRequest.d.ts +24 -0
- package/dist/models/CreateAppAssistantAgentRequest.js +62 -0
- package/dist/models/CreateAppAssistantAgentRequest.js.map +1 -0
- package/dist/models/CreateAppAssistantAgentResponse.d.ts +19 -0
- package/dist/models/CreateAppAssistantAgentResponse.js +69 -0
- package/dist/models/CreateAppAssistantAgentResponse.js.map +1 -0
- package/dist/models/CreateAppAssistantAgentResponseBody.d.ts +153 -0
- package/dist/models/CreateAppAssistantAgentResponseBody.js +182 -0
- package/dist/models/CreateAppAssistantAgentResponseBody.js.map +1 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginRequest.d.ts +28 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginRequest.js +62 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginRequest.js.map +1 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponse.d.ts +19 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponse.js +69 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponse.js.map +1 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.d.ts +89 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.js +112 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.js.map +1 -0
- package/dist/models/ListAppAssistantAgentsRequest.d.ts +23 -0
- package/dist/models/ListAppAssistantAgentsRequest.js +60 -0
- package/dist/models/ListAppAssistantAgentsRequest.js.map +1 -0
- package/dist/models/ListAppAssistantAgentsResponse.d.ts +19 -0
- package/dist/models/ListAppAssistantAgentsResponse.js +69 -0
- package/dist/models/ListAppAssistantAgentsResponse.js.map +1 -0
- package/dist/models/ListAppAssistantAgentsResponseBody.d.ts +174 -0
- package/dist/models/ListAppAssistantAgentsResponseBody.js +188 -0
- package/dist/models/ListAppAssistantAgentsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +48 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +212 -0
- package/src/models/CheckUserResourceMeasureRequest.ts +73 -0
- package/src/models/CheckUserResourceMeasureResponse.ts +40 -0
- package/src/models/CheckUserResourceMeasureResponseBody.ts +146 -0
- package/src/models/CreateAppAssistantAgentRequest.ts +41 -0
- package/src/models/CreateAppAssistantAgentResponse.ts +40 -0
- package/src/models/CreateAppAssistantAgentResponseBody.ts +257 -0
- package/src/models/CreateAppAssistantAgentSsoLoginRequest.ts +45 -0
- package/src/models/CreateAppAssistantAgentSsoLoginResponse.ts +40 -0
- package/src/models/CreateAppAssistantAgentSsoLoginResponseBody.ts +145 -0
- package/src/models/ListAppAssistantAgentsRequest.ts +38 -0
- package/src/models/ListAppAssistantAgentsResponse.ts +40 -0
- package/src/models/ListAppAssistantAgentsResponseBody.ts +284 -0
- package/src/models/model.ts +20 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CheckUserResourceMeasureResponseBodyModule extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Success
|
|
9
|
+
*/
|
|
10
|
+
errorCode?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* stream push failed
|
|
14
|
+
*/
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* False
|
|
19
|
+
*/
|
|
20
|
+
passed?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* TransitRouterVpcAttachment
|
|
24
|
+
*/
|
|
25
|
+
resourceCode?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
errorCode: 'ErrorCode',
|
|
29
|
+
errorMessage: 'ErrorMessage',
|
|
30
|
+
passed: 'Passed',
|
|
31
|
+
resourceCode: 'ResourceCode',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
errorCode: 'string',
|
|
38
|
+
errorMessage: 'string',
|
|
39
|
+
passed: 'boolean',
|
|
40
|
+
resourceCode: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class CheckUserResourceMeasureResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* {}
|
|
57
|
+
*/
|
|
58
|
+
accessDeniedDetail?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* False
|
|
62
|
+
*/
|
|
63
|
+
allowRetry?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* spring-cloud-b
|
|
67
|
+
*/
|
|
68
|
+
appName?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* ERROR-oo1
|
|
72
|
+
*/
|
|
73
|
+
dynamicCode?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* SYSTEM_ERROR
|
|
77
|
+
*/
|
|
78
|
+
dynamicMessage?: string;
|
|
79
|
+
errorArgs?: any[];
|
|
80
|
+
module?: CheckUserResourceMeasureResponseBodyModule;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Id of the request
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
87
|
+
*/
|
|
88
|
+
requestId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* SYSTEM.ERROR
|
|
92
|
+
*/
|
|
93
|
+
rootErrorCode?: string;
|
|
94
|
+
rootErrorMsg?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* True
|
|
98
|
+
*/
|
|
99
|
+
synchro?: boolean;
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
103
|
+
allowRetry: 'AllowRetry',
|
|
104
|
+
appName: 'AppName',
|
|
105
|
+
dynamicCode: 'DynamicCode',
|
|
106
|
+
dynamicMessage: 'DynamicMessage',
|
|
107
|
+
errorArgs: 'ErrorArgs',
|
|
108
|
+
module: 'Module',
|
|
109
|
+
requestId: 'RequestId',
|
|
110
|
+
rootErrorCode: 'RootErrorCode',
|
|
111
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
112
|
+
synchro: 'Synchro',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
static types(): { [key: string]: any } {
|
|
117
|
+
return {
|
|
118
|
+
accessDeniedDetail: 'string',
|
|
119
|
+
allowRetry: 'boolean',
|
|
120
|
+
appName: 'string',
|
|
121
|
+
dynamicCode: 'string',
|
|
122
|
+
dynamicMessage: 'string',
|
|
123
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
124
|
+
module: CheckUserResourceMeasureResponseBodyModule,
|
|
125
|
+
requestId: 'string',
|
|
126
|
+
rootErrorCode: 'string',
|
|
127
|
+
rootErrorMsg: 'string',
|
|
128
|
+
synchro: 'boolean',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
validate() {
|
|
133
|
+
if(Array.isArray(this.errorArgs)) {
|
|
134
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
135
|
+
}
|
|
136
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
137
|
+
(this.module as any).validate();
|
|
138
|
+
}
|
|
139
|
+
super.validate();
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
constructor(map?: { [key: string]: any }) {
|
|
143
|
+
super(map);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAppAssistantAgentRequest extends $dara.Model {
|
|
6
|
+
agentName?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* WS20250731233102000001
|
|
10
|
+
*/
|
|
11
|
+
bizId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* LINUX64
|
|
15
|
+
*/
|
|
16
|
+
platformType?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
agentName: 'AgentName',
|
|
20
|
+
bizId: 'BizId',
|
|
21
|
+
platformType: 'PlatformType',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
agentName: 'string',
|
|
28
|
+
bizId: 'string',
|
|
29
|
+
platformType: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateAppAssistantAgentResponseBody } from "./CreateAppAssistantAgentResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateAppAssistantAgentResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateAppAssistantAgentResponseBody;
|
|
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: CreateAppAssistantAgentResponseBody,
|
|
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,257 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAppAssistantAgentResponseBodyModuleCredential extends $dara.Model {
|
|
6
|
+
extra?: { [key: string]: string };
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* Test
|
|
10
|
+
*/
|
|
11
|
+
username?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
extra: 'Extra',
|
|
15
|
+
username: 'Username',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22
|
+
username: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.extra) {
|
|
28
|
+
$dara.Model.validateMap(this.extra);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class CreateAppAssistantAgentResponseBodyModuleEmbedConfig extends $dara.Model {
|
|
39
|
+
extra?: { [key: string]: string };
|
|
40
|
+
rawScript?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
extra: 'Extra',
|
|
44
|
+
rawScript: 'RawScript',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
rawScript: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
validate() {
|
|
56
|
+
if(this.extra) {
|
|
57
|
+
$dara.Model.validateMap(this.extra);
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class CreateAppAssistantAgentResponseBodyModule extends $dara.Model {
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* duanwei@qianrutest
|
|
71
|
+
*/
|
|
72
|
+
agentId?: string;
|
|
73
|
+
agentName?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* WD20250703155602000001
|
|
77
|
+
*/
|
|
78
|
+
bizId?: string;
|
|
79
|
+
credential?: CreateAppAssistantAgentResponseBodyModuleCredential;
|
|
80
|
+
embedConfig?: CreateAppAssistantAgentResponseBodyModuleEmbedConfig;
|
|
81
|
+
extraParams?: { [key: string]: string };
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* 1740479834
|
|
85
|
+
*/
|
|
86
|
+
gmtCreate?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* 2025-08-28T02:25:41Z
|
|
90
|
+
*/
|
|
91
|
+
gmtModified?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* WA12313131313
|
|
95
|
+
*/
|
|
96
|
+
platformAppId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* VMWARE
|
|
100
|
+
*/
|
|
101
|
+
platformType?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* NORMAL
|
|
105
|
+
*/
|
|
106
|
+
status?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @example
|
|
109
|
+
* 1231313131
|
|
110
|
+
*/
|
|
111
|
+
userId?: string;
|
|
112
|
+
static names(): { [key: string]: string } {
|
|
113
|
+
return {
|
|
114
|
+
agentId: 'AgentId',
|
|
115
|
+
agentName: 'AgentName',
|
|
116
|
+
bizId: 'BizId',
|
|
117
|
+
credential: 'Credential',
|
|
118
|
+
embedConfig: 'EmbedConfig',
|
|
119
|
+
extraParams: 'ExtraParams',
|
|
120
|
+
gmtCreate: 'GmtCreate',
|
|
121
|
+
gmtModified: 'GmtModified',
|
|
122
|
+
platformAppId: 'PlatformAppId',
|
|
123
|
+
platformType: 'PlatformType',
|
|
124
|
+
status: 'Status',
|
|
125
|
+
userId: 'UserId',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static types(): { [key: string]: any } {
|
|
130
|
+
return {
|
|
131
|
+
agentId: 'string',
|
|
132
|
+
agentName: 'string',
|
|
133
|
+
bizId: 'string',
|
|
134
|
+
credential: CreateAppAssistantAgentResponseBodyModuleCredential,
|
|
135
|
+
embedConfig: CreateAppAssistantAgentResponseBodyModuleEmbedConfig,
|
|
136
|
+
extraParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
137
|
+
gmtCreate: 'string',
|
|
138
|
+
gmtModified: 'string',
|
|
139
|
+
platformAppId: 'string',
|
|
140
|
+
platformType: 'string',
|
|
141
|
+
status: 'string',
|
|
142
|
+
userId: 'string',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
if(this.credential && typeof (this.credential as any).validate === 'function') {
|
|
148
|
+
(this.credential as any).validate();
|
|
149
|
+
}
|
|
150
|
+
if(this.embedConfig && typeof (this.embedConfig as any).validate === 'function') {
|
|
151
|
+
(this.embedConfig as any).validate();
|
|
152
|
+
}
|
|
153
|
+
if(this.extraParams) {
|
|
154
|
+
$dara.Model.validateMap(this.extraParams);
|
|
155
|
+
}
|
|
156
|
+
super.validate();
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
constructor(map?: { [key: string]: any }) {
|
|
160
|
+
super(map);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export class CreateAppAssistantAgentResponseBody extends $dara.Model {
|
|
165
|
+
/**
|
|
166
|
+
* @example
|
|
167
|
+
* {}
|
|
168
|
+
*/
|
|
169
|
+
accessDeniedDetail?: string;
|
|
170
|
+
/**
|
|
171
|
+
* @example
|
|
172
|
+
* False
|
|
173
|
+
*/
|
|
174
|
+
allowRetry?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* @example
|
|
177
|
+
* dewuApp
|
|
178
|
+
*/
|
|
179
|
+
appName?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @example
|
|
182
|
+
* ERROR-oo1
|
|
183
|
+
*/
|
|
184
|
+
dynamicCode?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @example
|
|
187
|
+
* SYSTEM_ERROR
|
|
188
|
+
*/
|
|
189
|
+
dynamicMessage?: string;
|
|
190
|
+
errorArgs?: any[];
|
|
191
|
+
module?: CreateAppAssistantAgentResponseBodyModule;
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* Id of the request
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
198
|
+
*/
|
|
199
|
+
requestId?: string;
|
|
200
|
+
/**
|
|
201
|
+
* @example
|
|
202
|
+
* SYSTEM.ERROR
|
|
203
|
+
*/
|
|
204
|
+
rootErrorCode?: string;
|
|
205
|
+
rootErrorMsg?: string;
|
|
206
|
+
/**
|
|
207
|
+
* @example
|
|
208
|
+
* True
|
|
209
|
+
*/
|
|
210
|
+
synchro?: boolean;
|
|
211
|
+
static names(): { [key: string]: string } {
|
|
212
|
+
return {
|
|
213
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
214
|
+
allowRetry: 'AllowRetry',
|
|
215
|
+
appName: 'AppName',
|
|
216
|
+
dynamicCode: 'DynamicCode',
|
|
217
|
+
dynamicMessage: 'DynamicMessage',
|
|
218
|
+
errorArgs: 'ErrorArgs',
|
|
219
|
+
module: 'Module',
|
|
220
|
+
requestId: 'RequestId',
|
|
221
|
+
rootErrorCode: 'RootErrorCode',
|
|
222
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
223
|
+
synchro: 'Synchro',
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
static types(): { [key: string]: any } {
|
|
228
|
+
return {
|
|
229
|
+
accessDeniedDetail: 'string',
|
|
230
|
+
allowRetry: 'boolean',
|
|
231
|
+
appName: 'string',
|
|
232
|
+
dynamicCode: 'string',
|
|
233
|
+
dynamicMessage: 'string',
|
|
234
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
235
|
+
module: CreateAppAssistantAgentResponseBodyModule,
|
|
236
|
+
requestId: 'string',
|
|
237
|
+
rootErrorCode: 'string',
|
|
238
|
+
rootErrorMsg: 'string',
|
|
239
|
+
synchro: 'boolean',
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
validate() {
|
|
244
|
+
if(Array.isArray(this.errorArgs)) {
|
|
245
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
246
|
+
}
|
|
247
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
248
|
+
(this.module as any).validate();
|
|
249
|
+
}
|
|
250
|
+
super.validate();
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
constructor(map?: { [key: string]: any }) {
|
|
254
|
+
super(map);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAppAssistantAgentSsoLoginRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* WD20250821161210000001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* all
|
|
14
|
+
*/
|
|
15
|
+
platformType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* http://172.16.70.16:9410/metrics
|
|
19
|
+
*/
|
|
20
|
+
targetUrl?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
bizId: 'BizId',
|
|
24
|
+
platformType: 'PlatformType',
|
|
25
|
+
targetUrl: 'TargetUrl',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
bizId: 'string',
|
|
32
|
+
platformType: 'string',
|
|
33
|
+
targetUrl: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateAppAssistantAgentSsoLoginResponseBody } from "./CreateAppAssistantAgentSsoLoginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateAppAssistantAgentSsoLoginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateAppAssistantAgentSsoLoginResponseBody;
|
|
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: CreateAppAssistantAgentSsoLoginResponseBody,
|
|
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,145 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAppAssistantAgentSsoLoginResponseBodyModule extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2025-07-30T16:00Z
|
|
9
|
+
*/
|
|
10
|
+
expireTime?: number;
|
|
11
|
+
extra?: { [key: string]: string };
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* VMWARE
|
|
15
|
+
*/
|
|
16
|
+
platformType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* https://sso.agent
|
|
20
|
+
*/
|
|
21
|
+
ssoUrl?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
expireTime: 'ExpireTime',
|
|
25
|
+
extra: 'Extra',
|
|
26
|
+
platformType: 'PlatformType',
|
|
27
|
+
ssoUrl: 'SsoUrl',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
expireTime: 'number',
|
|
34
|
+
extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
35
|
+
platformType: 'string',
|
|
36
|
+
ssoUrl: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
if(this.extra) {
|
|
42
|
+
$dara.Model.validateMap(this.extra);
|
|
43
|
+
}
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export class CreateAppAssistantAgentSsoLoginResponseBody extends $dara.Model {
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* {}
|
|
56
|
+
*/
|
|
57
|
+
accessDeniedDetail?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* False
|
|
61
|
+
*/
|
|
62
|
+
allowRetry?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* dewuApp
|
|
66
|
+
*/
|
|
67
|
+
appName?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* ERROR-oo1
|
|
71
|
+
*/
|
|
72
|
+
dynamicCode?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* SYSTEM_ERROR
|
|
76
|
+
*/
|
|
77
|
+
dynamicMessage?: string;
|
|
78
|
+
errorArgs?: any[];
|
|
79
|
+
module?: CreateAppAssistantAgentSsoLoginResponseBodyModule;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Id of the request
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
86
|
+
*/
|
|
87
|
+
requestId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* SYSTEM.ERROR
|
|
91
|
+
*/
|
|
92
|
+
rootErrorCode?: string;
|
|
93
|
+
rootErrorMsg?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* True
|
|
97
|
+
*/
|
|
98
|
+
synchro?: boolean;
|
|
99
|
+
static names(): { [key: string]: string } {
|
|
100
|
+
return {
|
|
101
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
102
|
+
allowRetry: 'AllowRetry',
|
|
103
|
+
appName: 'AppName',
|
|
104
|
+
dynamicCode: 'DynamicCode',
|
|
105
|
+
dynamicMessage: 'DynamicMessage',
|
|
106
|
+
errorArgs: 'ErrorArgs',
|
|
107
|
+
module: 'Module',
|
|
108
|
+
requestId: 'RequestId',
|
|
109
|
+
rootErrorCode: 'RootErrorCode',
|
|
110
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
111
|
+
synchro: 'Synchro',
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static types(): { [key: string]: any } {
|
|
116
|
+
return {
|
|
117
|
+
accessDeniedDetail: 'string',
|
|
118
|
+
allowRetry: 'boolean',
|
|
119
|
+
appName: 'string',
|
|
120
|
+
dynamicCode: 'string',
|
|
121
|
+
dynamicMessage: 'string',
|
|
122
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
123
|
+
module: CreateAppAssistantAgentSsoLoginResponseBodyModule,
|
|
124
|
+
requestId: 'string',
|
|
125
|
+
rootErrorCode: 'string',
|
|
126
|
+
rootErrorMsg: 'string',
|
|
127
|
+
synchro: 'boolean',
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
validate() {
|
|
132
|
+
if(Array.isArray(this.errorArgs)) {
|
|
133
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
134
|
+
}
|
|
135
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
136
|
+
(this.module as any).validate();
|
|
137
|
+
}
|
|
138
|
+
super.validate();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
constructor(map?: { [key: string]: any }) {
|
|
142
|
+
super(map);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|