@alicloud/websitebuild20250429 2.27.0 → 2.27.1
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 +8 -8
- package/dist/client.js +16 -9
- package/dist/client.js.map +1 -1
- package/dist/models/AppInstanceProfile.d.ts +3 -2
- package/dist/models/AppInstanceProfile.js +6 -4
- package/dist/models/AppInstanceProfile.js.map +1 -1
- package/dist/models/ConfirmAppInstanceRequest.d.ts +37 -0
- package/dist/models/ConfirmAppInstanceRequest.js.map +1 -1
- package/dist/models/ConfirmAppInstanceResponseBody.d.ts +47 -0
- package/dist/models/ConfirmAppInstanceResponseBody.js.map +1 -1
- package/dist/models/NotifyAppNotificationForAdminRequest.d.ts +10 -0
- package/dist/models/NotifyAppNotificationForAdminRequest.js +2 -0
- package/dist/models/NotifyAppNotificationForAdminRequest.js.map +1 -1
- package/dist/models/NotifyAppNotificationForAdminResponseBody.d.ts +34 -0
- package/dist/models/NotifyAppNotificationForAdminResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +17 -9
- package/src/models/AppInstanceProfile.ts +9 -6
- package/src/models/ConfirmAppInstanceRequest.ts +37 -0
- package/src/models/ConfirmAppInstanceResponseBody.ts +47 -0
- package/src/models/NotifyAppNotificationForAdminRequest.ts +12 -0
- package/src/models/NotifyAppNotificationForAdminResponseBody.ts +34 -0
|
@@ -4,56 +4,93 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ConfirmAppInstanceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The application type.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* PC_WebSite
|
|
9
12
|
*/
|
|
10
13
|
applicationType?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Specifies whether to enable auto-renewal upon expiration.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* false
|
|
14
20
|
*/
|
|
15
21
|
autoRenew?: boolean;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The client token that is used to ensure the idempotence of the request. Generate a unique value from your client. The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 123456
|
|
19
28
|
*/
|
|
20
29
|
clientToken?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The deployment region.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* HongKong
|
|
24
36
|
*/
|
|
25
37
|
deployArea?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* Required. The number of subscription periods.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* 1
|
|
29
44
|
*/
|
|
30
45
|
duration?: number;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The extended information.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* {\\"deliveryNodeName\\":\\"视觉设计确认\\",\\"deliveryNodeStatus\\":\\"Reject\\",\\"deliveryOperatorRole\\":\\"Customer\\"}
|
|
34
52
|
*/
|
|
35
53
|
extend?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The payment type.
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* AUTO_PAY
|
|
39
60
|
*/
|
|
40
61
|
paymentType?: string;
|
|
41
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Required. The unit of the subscription period. Valid values:
|
|
65
|
+
* - Year: year
|
|
66
|
+
* - Month: month
|
|
67
|
+
* - Day: day
|
|
68
|
+
* - Hour: hour.
|
|
69
|
+
*
|
|
42
70
|
* @example
|
|
43
71
|
* Month
|
|
44
72
|
*/
|
|
45
73
|
pricingCycle?: string;
|
|
46
74
|
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* Required. The number of instances to purchase.
|
|
77
|
+
*
|
|
47
78
|
* @example
|
|
48
79
|
* 1
|
|
49
80
|
*/
|
|
50
81
|
quantity?: number;
|
|
51
82
|
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The website version.
|
|
85
|
+
*
|
|
52
86
|
* @example
|
|
53
87
|
* Basic_Edition
|
|
54
88
|
*/
|
|
55
89
|
siteVersion?: string;
|
|
56
90
|
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The business ID of the trial instance.
|
|
93
|
+
*
|
|
57
94
|
* @example
|
|
58
95
|
* WS123456
|
|
59
96
|
*/
|
|
@@ -4,21 +4,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ConfirmAppInstanceResponseBodyModule extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* WD20250703155602000001
|
|
9
12
|
*/
|
|
10
13
|
bizId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The instance ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* idaas-cn-7mz2uc8v902
|
|
14
20
|
*/
|
|
15
21
|
instanceId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The order ID.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 247748990880615
|
|
19
28
|
*/
|
|
20
29
|
orderId?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The second-level domain name of the website.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* abcd.scd.wanwang.xin
|
|
24
36
|
*/
|
|
@@ -52,48 +64,83 @@ export class ConfirmAppInstanceResponseBodyModule extends $dara.Model {
|
|
|
52
64
|
|
|
53
65
|
export class ConfirmAppInstanceResponseBody extends $dara.Model {
|
|
54
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The details about the access denial.
|
|
69
|
+
*
|
|
55
70
|
* @example
|
|
56
71
|
* {}
|
|
57
72
|
*/
|
|
58
73
|
accessDeniedDetail?: string;
|
|
59
74
|
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* Indicates whether retry is allowed.
|
|
77
|
+
*
|
|
60
78
|
* @example
|
|
61
79
|
* False
|
|
62
80
|
*/
|
|
63
81
|
allowRetry?: boolean;
|
|
64
82
|
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The application name. The application with this name is queried.
|
|
85
|
+
*
|
|
65
86
|
* @example
|
|
66
87
|
* spring-cloud-b
|
|
67
88
|
*/
|
|
68
89
|
appName?: string;
|
|
69
90
|
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The dynamic error code.
|
|
93
|
+
*
|
|
70
94
|
* @example
|
|
71
95
|
* ERROR-oo1
|
|
72
96
|
*/
|
|
73
97
|
dynamicCode?: string;
|
|
74
98
|
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The dynamic message.
|
|
101
|
+
*
|
|
75
102
|
* @example
|
|
76
103
|
* SYSTEM_ERROR
|
|
77
104
|
*/
|
|
78
105
|
dynamicMessage?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The error parameters.
|
|
109
|
+
*/
|
|
79
110
|
errorArgs?: any[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The response data.
|
|
114
|
+
*/
|
|
80
115
|
module?: ConfirmAppInstanceResponseBodyModule;
|
|
81
116
|
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* Id of the request
|
|
119
|
+
*
|
|
82
120
|
* @example
|
|
83
121
|
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
84
122
|
*/
|
|
85
123
|
requestId?: string;
|
|
86
124
|
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The error code.
|
|
127
|
+
*
|
|
87
128
|
* @example
|
|
88
129
|
* SYSTEM.ERROR
|
|
89
130
|
*/
|
|
90
131
|
rootErrorCode?: string;
|
|
91
132
|
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The error message.
|
|
135
|
+
*
|
|
92
136
|
* @example
|
|
93
137
|
* 系统异常
|
|
94
138
|
*/
|
|
95
139
|
rootErrorMsg?: string;
|
|
96
140
|
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* The reserved parameter.
|
|
143
|
+
*
|
|
97
144
|
* @example
|
|
98
145
|
* True
|
|
99
146
|
*/
|
|
@@ -4,16 +4,26 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class NotifyAppNotificationForAdminRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* WS20260206134746000001
|
|
9
12
|
*/
|
|
10
13
|
bizId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The environment identifier.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* staging
|
|
14
20
|
*/
|
|
15
21
|
env?: string;
|
|
22
|
+
payload?: string;
|
|
16
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The scene ID.
|
|
26
|
+
*
|
|
17
27
|
* @example
|
|
18
28
|
* 8c909373-6c33-41a7-aa38-3650e288a63e
|
|
19
29
|
*/
|
|
@@ -22,6 +32,7 @@ export class NotifyAppNotificationForAdminRequest extends $dara.Model {
|
|
|
22
32
|
return {
|
|
23
33
|
bizId: 'BizId',
|
|
24
34
|
env: 'Env',
|
|
35
|
+
payload: 'Payload',
|
|
25
36
|
sceneId: 'SceneId',
|
|
26
37
|
};
|
|
27
38
|
}
|
|
@@ -30,6 +41,7 @@ export class NotifyAppNotificationForAdminRequest extends $dara.Model {
|
|
|
30
41
|
return {
|
|
31
42
|
bizId: 'string',
|
|
32
43
|
env: 'string',
|
|
44
|
+
payload: 'string',
|
|
33
45
|
sceneId: 'string',
|
|
34
46
|
};
|
|
35
47
|
}
|
|
@@ -4,52 +4,86 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class NotifyAppNotificationForAdminResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The detailed reason why access was denied.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* {}
|
|
9
12
|
*/
|
|
10
13
|
accessDeniedDetail?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Indicates whether retry is allowed.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* False
|
|
14
20
|
*/
|
|
15
21
|
allowRetry?: boolean;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The application name. The name must start with a letter and can contain letters, digits, underscores (_), and hyphens (-). The name can be up to 36 characters in length.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* dewuApp
|
|
19
28
|
*/
|
|
20
29
|
appName?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The dynamic error code.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* ERROR-oo1
|
|
24
36
|
*/
|
|
25
37
|
dynamicCode?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The dynamic error message, which is used to replace the %s variable in the ErrMessage response parameter.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* SYSTEM_ERROR
|
|
29
44
|
*/
|
|
30
45
|
dynamicMessage?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The error parameters.
|
|
49
|
+
*/
|
|
31
50
|
errorArgs?: any[];
|
|
32
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The response data.
|
|
54
|
+
*
|
|
33
55
|
* @example
|
|
34
56
|
* true
|
|
35
57
|
*/
|
|
36
58
|
module?: boolean;
|
|
37
59
|
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* Id of the request
|
|
62
|
+
*
|
|
38
63
|
* @example
|
|
39
64
|
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
40
65
|
*/
|
|
41
66
|
requestId?: string;
|
|
42
67
|
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The error code.
|
|
70
|
+
*
|
|
43
71
|
* @example
|
|
44
72
|
* SYSTEM.ERROR
|
|
45
73
|
*/
|
|
46
74
|
rootErrorCode?: string;
|
|
47
75
|
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* The exception message.
|
|
78
|
+
*
|
|
48
79
|
* @example
|
|
49
80
|
* 系统异常
|
|
50
81
|
*/
|
|
51
82
|
rootErrorMsg?: string;
|
|
52
83
|
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* A reserved parameter.
|
|
86
|
+
*
|
|
53
87
|
* @example
|
|
54
88
|
* True
|
|
55
89
|
*/
|