@alicloud/websitebuild20250429 2.5.0 → 2.6.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 +30 -0
- package/dist/client.js +93 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DispatchConsoleApiforPartnerRequest.d.ts +40 -0
- package/dist/models/DispatchConsoleApiforPartnerRequest.js +66 -0
- package/dist/models/DispatchConsoleApiforPartnerRequest.js.map +1 -0
- package/dist/models/DispatchConsoleApiforPartnerResponse.d.ts +19 -0
- package/dist/models/DispatchConsoleApiforPartnerResponse.js +69 -0
- package/dist/models/DispatchConsoleApiforPartnerResponse.js.map +1 -0
- package/dist/models/DispatchConsoleApiforPartnerResponseBody.d.ts +49 -0
- package/dist/models/DispatchConsoleApiforPartnerResponseBody.js +86 -0
- package/dist/models/DispatchConsoleApiforPartnerResponseBody.js.map +1 -0
- package/dist/models/GetUserAccessTokenForPartnerRequest.d.ts +22 -0
- package/dist/models/GetUserAccessTokenForPartnerRequest.js +60 -0
- package/dist/models/GetUserAccessTokenForPartnerRequest.js.map +1 -0
- package/dist/models/GetUserAccessTokenForPartnerResponse.d.ts +19 -0
- package/dist/models/GetUserAccessTokenForPartnerResponse.js +69 -0
- package/dist/models/GetUserAccessTokenForPartnerResponse.js.map +1 -0
- package/dist/models/GetUserAccessTokenForPartnerResponseBody.d.ts +45 -0
- package/dist/models/GetUserAccessTokenForPartnerResponseBody.js +86 -0
- package/dist/models/GetUserAccessTokenForPartnerResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +18 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +104 -0
- package/src/models/DispatchConsoleApiforPartnerRequest.ts +61 -0
- package/src/models/DispatchConsoleApiforPartnerResponse.ts +40 -0
- package/src/models/DispatchConsoleApiforPartnerResponseBody.ts +81 -0
- package/src/models/GetUserAccessTokenForPartnerRequest.ts +37 -0
- package/src/models/GetUserAccessTokenForPartnerResponse.ts +40 -0
- package/src/models/GetUserAccessTokenForPartnerResponseBody.ts +77 -0
- package/src/models/model.ts +8 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DispatchConsoleAPIForPartnerResponseBodyModule extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {\\"HasCustomRoleAuth\\": False}
|
|
9
|
+
*/
|
|
10
|
+
data?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
data: 'Data',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
data: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class DispatchConsoleAPIForPartnerResponseBody extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* 0
|
|
36
|
+
*/
|
|
37
|
+
errorCode?: string;
|
|
38
|
+
module?: DispatchConsoleAPIForPartnerResponseBodyModule;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* Id of the request
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
45
|
+
*/
|
|
46
|
+
requestId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* true
|
|
50
|
+
*/
|
|
51
|
+
success?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
errorCode: 'ErrorCode',
|
|
55
|
+
module: 'Module',
|
|
56
|
+
requestId: 'RequestId',
|
|
57
|
+
success: 'Success',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
errorCode: 'string',
|
|
64
|
+
module: DispatchConsoleAPIForPartnerResponseBodyModule,
|
|
65
|
+
requestId: 'string',
|
|
66
|
+
success: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
72
|
+
(this.module as any).validate();
|
|
73
|
+
}
|
|
74
|
+
super.validate();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
constructor(map?: { [key: string]: any }) {
|
|
78
|
+
super(map);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetUserAccessTokenForPartnerRequest extends $dara.Model {
|
|
6
|
+
siteHost?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 2f68fe1e-d9d5-4803-94d0-2fc81032e91d
|
|
13
|
+
*/
|
|
14
|
+
ticket?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
siteHost: 'SiteHost',
|
|
18
|
+
ticket: 'Ticket',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
siteHost: 'string',
|
|
25
|
+
ticket: 'string',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetUserAccessTokenForPartnerResponseBody } from "./GetUserAccessTokenForPartnerResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetUserAccessTokenForPartnerResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetUserAccessTokenForPartnerResponseBody;
|
|
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: GetUserAccessTokenForPartnerResponseBody,
|
|
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,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetUserAccessTokenForPartnerResponseBodyModule extends $dara.Model {
|
|
6
|
+
tokenValue?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
tokenValue: 'TokenValue',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
tokenValue: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class GetUserAccessTokenForPartnerResponseBody extends $dara.Model {
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 0
|
|
32
|
+
*/
|
|
33
|
+
errorCode?: string;
|
|
34
|
+
module?: GetUserAccessTokenForPartnerResponseBodyModule;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* Id of the request
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
41
|
+
*/
|
|
42
|
+
requestId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* true
|
|
46
|
+
*/
|
|
47
|
+
success?: string;
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
errorCode: 'ErrorCode',
|
|
51
|
+
module: 'Module',
|
|
52
|
+
requestId: 'RequestId',
|
|
53
|
+
success: 'Success',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
errorCode: 'string',
|
|
60
|
+
module: GetUserAccessTokenForPartnerResponseBodyModule,
|
|
61
|
+
requestId: 'string',
|
|
62
|
+
success: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
68
|
+
(this.module as any).validate();
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -2,10 +2,12 @@ export { BindAppDomainResponseBodyModule } from './BindAppDomainResponseBody';
|
|
|
2
2
|
export { DeleteAppDomainCertificateResponseBodyModule } from './DeleteAppDomainCertificateResponseBody';
|
|
3
3
|
export { DeleteAppDomainRedirectResponseBodyModule } from './DeleteAppDomainRedirectResponseBody';
|
|
4
4
|
export { DescribeAppDomainDnsRecordResponseBodyModule } from './DescribeAppDomainDnsRecordResponseBody';
|
|
5
|
+
export { DispatchConsoleAPIForPartnerResponseBodyModule } from './DispatchConsoleApiforPartnerResponseBody';
|
|
5
6
|
export { GetCreateLogoTaskResponseBodyTask } from './GetCreateLogoTaskResponseBody';
|
|
6
7
|
export { GetDomainInfoForPartnerResponseBodyDataOwnership } from './GetDomainInfoForPartnerResponseBody';
|
|
7
8
|
export { GetDomainInfoForPartnerResponseBodyData } from './GetDomainInfoForPartnerResponseBody';
|
|
8
9
|
export { GetIcpFilingInfoForPartnerResponseBodyData } from './GetIcpFilingInfoForPartnerResponseBody';
|
|
10
|
+
export { GetUserAccessTokenForPartnerResponseBodyModule } from './GetUserAccessTokenForPartnerResponseBody';
|
|
9
11
|
export { GetUserTmpIdentityForPartnerResponseBodyDataCredentials } from './GetUserTmpIdentityForPartnerResponseBody';
|
|
10
12
|
export { GetUserTmpIdentityForPartnerResponseBodyData } from './GetUserTmpIdentityForPartnerResponseBody';
|
|
11
13
|
export { ListAppDomainRedirectRecordsResponseBodyModuleData } from './ListAppDomainRedirectRecordsResponseBody';
|
|
@@ -49,6 +51,9 @@ export { DeleteAppDomainRedirectResponse } from './DeleteAppDomainRedirectRespon
|
|
|
49
51
|
export { DescribeAppDomainDnsRecordRequest } from './DescribeAppDomainDnsRecordRequest';
|
|
50
52
|
export { DescribeAppDomainDnsRecordResponseBody } from './DescribeAppDomainDnsRecordResponseBody';
|
|
51
53
|
export { DescribeAppDomainDnsRecordResponse } from './DescribeAppDomainDnsRecordResponse';
|
|
54
|
+
export { DispatchConsoleAPIForPartnerRequest } from './DispatchConsoleApiforPartnerRequest';
|
|
55
|
+
export { DispatchConsoleAPIForPartnerResponseBody } from './DispatchConsoleApiforPartnerResponseBody';
|
|
56
|
+
export { DispatchConsoleAPIForPartnerResponse } from './DispatchConsoleApiforPartnerResponse';
|
|
52
57
|
export { GetCreateLogoTaskRequest } from './GetCreateLogoTaskRequest';
|
|
53
58
|
export { GetCreateLogoTaskResponseBody } from './GetCreateLogoTaskResponseBody';
|
|
54
59
|
export { GetCreateLogoTaskResponse } from './GetCreateLogoTaskResponse';
|
|
@@ -58,6 +63,9 @@ export { GetDomainInfoForPartnerResponse } from './GetDomainInfoForPartnerRespon
|
|
|
58
63
|
export { GetIcpFilingInfoForPartnerRequest } from './GetIcpFilingInfoForPartnerRequest';
|
|
59
64
|
export { GetIcpFilingInfoForPartnerResponseBody } from './GetIcpFilingInfoForPartnerResponseBody';
|
|
60
65
|
export { GetIcpFilingInfoForPartnerResponse } from './GetIcpFilingInfoForPartnerResponse';
|
|
66
|
+
export { GetUserAccessTokenForPartnerRequest } from './GetUserAccessTokenForPartnerRequest';
|
|
67
|
+
export { GetUserAccessTokenForPartnerResponseBody } from './GetUserAccessTokenForPartnerResponseBody';
|
|
68
|
+
export { GetUserAccessTokenForPartnerResponse } from './GetUserAccessTokenForPartnerResponse';
|
|
61
69
|
export { GetUserTmpIdentityForPartnerRequest } from './GetUserTmpIdentityForPartnerRequest';
|
|
62
70
|
export { GetUserTmpIdentityForPartnerResponseBody } from './GetUserTmpIdentityForPartnerResponseBody';
|
|
63
71
|
export { GetUserTmpIdentityForPartnerResponse } from './GetUserTmpIdentityForPartnerResponse';
|