@alicloud/websitebuild20250429 2.30.3 → 2.31.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.
Files changed (41) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +51 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AuthorizeAppProxyOpsRequest.d.ts +21 -0
  5. package/dist/models/AuthorizeAppProxyOpsRequest.js +58 -0
  6. package/dist/models/AuthorizeAppProxyOpsRequest.js.map +1 -0
  7. package/dist/models/AuthorizeAppProxyOpsResponse.d.ts +19 -0
  8. package/dist/models/AuthorizeAppProxyOpsResponse.js +69 -0
  9. package/dist/models/AuthorizeAppProxyOpsResponse.js.map +1 -0
  10. package/dist/models/AuthorizeAppProxyOpsResponseBody.d.ts +131 -0
  11. package/dist/models/AuthorizeAppProxyOpsResponseBody.js +107 -0
  12. package/dist/models/AuthorizeAppProxyOpsResponseBody.js.map +1 -0
  13. package/dist/models/CreateAppInstanceTicketRequest.d.ts +3 -2
  14. package/dist/models/CreateAppInstanceTicketRequest.js +2 -0
  15. package/dist/models/CreateAppInstanceTicketRequest.js.map +1 -1
  16. package/dist/models/CreateAppInstanceTicketResponseBody.d.ts +4 -4
  17. package/dist/models/GetUserAccessTokenForPartnerResponseBody.d.ts +1 -1
  18. package/dist/models/ListAppInstanceDomainsRequest.d.ts +1 -1
  19. package/dist/models/ListAppInstanceDomainsResponseBody.d.ts +20 -20
  20. package/dist/models/ListAppTemplatesRequest.d.ts +11 -11
  21. package/dist/models/ListAppTemplatesResponseBody.d.ts +79 -79
  22. package/dist/models/UpdateAppSeoStatusRequest.d.ts +1 -0
  23. package/dist/models/UpdateAppSeoStatusRequest.js +2 -0
  24. package/dist/models/UpdateAppSeoStatusRequest.js.map +1 -1
  25. package/dist/models/model.d.ts +4 -0
  26. package/dist/models/model.js +22 -13
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +56 -6
  30. package/src/models/AuthorizeAppProxyOpsRequest.ts +34 -0
  31. package/src/models/AuthorizeAppProxyOpsResponse.ts +40 -0
  32. package/src/models/AuthorizeAppProxyOpsResponseBody.ts +184 -0
  33. package/src/models/CreateAppInstanceTicketRequest.ts +5 -2
  34. package/src/models/CreateAppInstanceTicketResponseBody.ts +4 -4
  35. package/src/models/GetUserAccessTokenForPartnerResponseBody.ts +1 -1
  36. package/src/models/ListAppInstanceDomainsRequest.ts +1 -1
  37. package/src/models/ListAppInstanceDomainsResponseBody.ts +20 -20
  38. package/src/models/ListAppTemplatesRequest.ts +11 -11
  39. package/src/models/ListAppTemplatesResponseBody.ts +79 -79
  40. package/src/models/UpdateAppSeoStatusRequest.ts +3 -0
  41. package/src/models/model.ts +4 -0
@@ -0,0 +1,184 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AuthorizeAppProxyOpsResponseBodyModule extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Indicates whether the service-linked role is authorized.
9
+ *
10
+ * @example
11
+ * Y
12
+ */
13
+ authorized?: boolean;
14
+ /**
15
+ * @remarks
16
+ * The RAM service role authorization link returned when the service-linked role is not authorized.
17
+ *
18
+ * @example
19
+ * url
20
+ */
21
+ ramAuthLink?: string;
22
+ /**
23
+ * @remarks
24
+ * The authorization URL built with tmpTicket, returned when the service-linked role is authorized.
25
+ *
26
+ * @example
27
+ * 12345rert
28
+ */
29
+ tmpTicket?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ authorized: 'Authorized',
33
+ ramAuthLink: 'RamAuthLink',
34
+ tmpTicket: 'TmpTicket',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ authorized: 'boolean',
41
+ ramAuthLink: 'string',
42
+ tmpTicket: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class AuthorizeAppProxyOpsResponseBody extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The deprecated parameter.
59
+ *
60
+ * @example
61
+ * {}
62
+ */
63
+ accessDeniedDetail?: string;
64
+ /**
65
+ * @remarks
66
+ * Indicates whether retry is allowed.
67
+ *
68
+ * @example
69
+ * False
70
+ */
71
+ allowRetry?: boolean;
72
+ /**
73
+ * @remarks
74
+ * The application name.
75
+ *
76
+ * @example
77
+ * spring-cloud-b
78
+ */
79
+ appName?: string;
80
+ /**
81
+ * @remarks
82
+ * The dynamic error code.
83
+ *
84
+ * @example
85
+ * ERROR-oo1
86
+ */
87
+ dynamicCode?: string;
88
+ /**
89
+ * @remarks
90
+ * The dynamic error message.
91
+ *
92
+ * @example
93
+ * xxx
94
+ */
95
+ dynamicMessage?: string;
96
+ /**
97
+ * @remarks
98
+ * The error parameters.
99
+ */
100
+ errorArgs?: any[];
101
+ /**
102
+ * @remarks
103
+ * The response object.
104
+ */
105
+ module?: AuthorizeAppProxyOpsResponseBodyModule;
106
+ /**
107
+ * @remarks
108
+ * Id of the request
109
+ *
110
+ * @example
111
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
112
+ */
113
+ requestId?: string;
114
+ /**
115
+ * @remarks
116
+ * The error code.
117
+ *
118
+ * @example
119
+ * SYSTEM.ERROR
120
+ */
121
+ rootErrorCode?: string;
122
+ /**
123
+ * @remarks
124
+ * The root error message.
125
+ *
126
+ * @example
127
+ * 系统异常
128
+ */
129
+ rootErrorMsg?: string;
130
+ /**
131
+ * @remarks
132
+ * Indicates whether the request is synchronously processed.
133
+ *
134
+ * @example
135
+ * True
136
+ */
137
+ synchro?: boolean;
138
+ static names(): { [key: string]: string } {
139
+ return {
140
+ accessDeniedDetail: 'AccessDeniedDetail',
141
+ allowRetry: 'AllowRetry',
142
+ appName: 'AppName',
143
+ dynamicCode: 'DynamicCode',
144
+ dynamicMessage: 'DynamicMessage',
145
+ errorArgs: 'ErrorArgs',
146
+ module: 'Module',
147
+ requestId: 'RequestId',
148
+ rootErrorCode: 'RootErrorCode',
149
+ rootErrorMsg: 'RootErrorMsg',
150
+ synchro: 'Synchro',
151
+ };
152
+ }
153
+
154
+ static types(): { [key: string]: any } {
155
+ return {
156
+ accessDeniedDetail: 'string',
157
+ allowRetry: 'boolean',
158
+ appName: 'string',
159
+ dynamicCode: 'string',
160
+ dynamicMessage: 'string',
161
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
162
+ module: AuthorizeAppProxyOpsResponseBodyModule,
163
+ requestId: 'string',
164
+ rootErrorCode: 'string',
165
+ rootErrorMsg: 'string',
166
+ synchro: 'boolean',
167
+ };
168
+ }
169
+
170
+ validate() {
171
+ if(Array.isArray(this.errorArgs)) {
172
+ $dara.Model.validateArray(this.errorArgs);
173
+ }
174
+ if(this.module && typeof (this.module as any).validate === 'function') {
175
+ (this.module as any).validate();
176
+ }
177
+ super.validate();
178
+ }
179
+
180
+ constructor(map?: { [key: string]: any }) {
181
+ super(map);
182
+ }
183
+ }
184
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateAppInstanceTicketRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The business ID of the customer.
8
+ * The customer business ID.
9
9
  *
10
10
  * @example
11
11
  * WS20250801154628000001
@@ -13,16 +13,18 @@ export class CreateAppInstanceTicketRequest extends $dara.Model {
13
13
  bizId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The client ID of the device whose access credentials need to be revoked.
16
+ * The Client ID of the device for which you want to revoke the access credential.
17
17
  *
18
18
  * @example
19
19
  * d566aaf2-7c88-40a4-982f-6abef0be13c9
20
20
  */
21
21
  clientId?: string;
22
+ role?: string;
22
23
  static names(): { [key: string]: string } {
23
24
  return {
24
25
  bizId: 'BizId',
25
26
  clientId: 'ClientId',
27
+ role: 'Role',
26
28
  };
27
29
  }
28
30
 
@@ -30,6 +32,7 @@ export class CreateAppInstanceTicketRequest extends $dara.Model {
30
32
  return {
31
33
  bizId: 'string',
32
34
  clientId: 'string',
35
+ role: 'string',
33
36
  };
34
37
  }
35
38
 
@@ -93,7 +93,7 @@ export class CreateAppInstanceTicketResponseBodyModule extends $dara.Model {
93
93
  refreshTokenValue?: string;
94
94
  /**
95
95
  * @remarks
96
- * The external unique identifier.
96
+ * The external unique ID.
97
97
  *
98
98
  * @example
99
99
  * hdm_33be9750d595b6cd7c93a80b46734b22
@@ -153,7 +153,7 @@ export class CreateAppInstanceTicketResponseBody extends $dara.Model {
153
153
  accessDeniedDetail?: string;
154
154
  /**
155
155
  * @remarks
156
- * Indicates whether a retry is allowed.
156
+ * Indicates whether retry is allowed.
157
157
  *
158
158
  * @example
159
159
  * False
@@ -177,8 +177,8 @@ export class CreateAppInstanceTicketResponseBody extends $dara.Model {
177
177
  dynamicCode?: string;
178
178
  /**
179
179
  * @remarks
180
- * The dynamic error message, which is used to replace the `%s` placeholder in the **ErrMessage** parameter.
181
- * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the value of the request parameter **DtsJobId** is invalid.
180
+ * The dynamic error message, which is used to replace the `%s` placeholder in the **ErrMessage** response parameter.
181
+ * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** is invalid.
182
182
  *
183
183
  * @example
184
184
  * SYSTEM_ERRROR
@@ -28,7 +28,7 @@ export class GetUserAccessTokenForPartnerResponseBodyModule extends $dara.Model
28
28
  export class GetUserAccessTokenForPartnerResponseBody extends $dara.Model {
29
29
  /**
30
30
  * @remarks
31
- * The error code. If the request is successful, the ErrorCode field is not returned. If the request fails, the ErrorCode field is returned. For more information, see the error codes in this topic.
31
+ * The error code. If the request is successful, this field is not returned. If the request fails, this field is returned. For more information, see the error codes in this topic.
32
32
  *
33
33
  * @example
34
34
  * 0
@@ -14,7 +14,7 @@ export class ListAppInstanceDomainsRequest extends $dara.Model {
14
14
  domainKeyword?: string;
15
15
  /**
16
16
  * @remarks
17
- * The number of entries per query.
17
+ * The maximum number of entries per query.
18
18
  *
19
19
  * Valid values: 10 to 100. Default value: 20.
20
20
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAppInstanceDomainsResponseBodyModuleDataCertificate extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The certificate name.
8
+ * The name of the certificate.
9
9
  *
10
10
  * @example
11
11
  * 2024
@@ -13,7 +13,7 @@ export class ListAppInstanceDomainsResponseBodyModuleDataCertificate extends $da
13
13
  certificateName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The certificate status.
16
+ * The status of the certificate.
17
17
  *
18
18
  * @example
19
19
  * ACTIVE
@@ -21,7 +21,7 @@ export class ListAppInstanceDomainsResponseBodyModuleDataCertificate extends $da
21
21
  certificateStatus?: string;
22
22
  /**
23
23
  * @remarks
24
- * The certificate type.
24
+ * The type of the certificate.
25
25
  *
26
26
  * @example
27
27
  * self-signed
@@ -29,7 +29,7 @@ export class ListAppInstanceDomainsResponseBodyModuleDataCertificate extends $da
29
29
  certificateType?: string;
30
30
  /**
31
31
  * @remarks
32
- * The certificate expiration date.
32
+ * The expiration date of the certificate.
33
33
  *
34
34
  * @example
35
35
  * 4885718400000
@@ -399,7 +399,7 @@ export class ListAppInstanceDomainsResponseBodyModuleDataVerificationDnsRecord e
399
399
  export class ListAppInstanceDomainsResponseBodyModuleDataVerification extends $dara.Model {
400
400
  /**
401
401
  * @remarks
402
- * The DNS record configuration guide for the user.
402
+ * The DNS record that the user needs to configure.
403
403
  */
404
404
  dnsRecord?: ListAppInstanceDomainsResponseBodyModuleDataVerificationDnsRecord;
405
405
  /**
@@ -420,7 +420,7 @@ export class ListAppInstanceDomainsResponseBodyModuleDataVerification extends $d
420
420
  verificationStatus?: string;
421
421
  /**
422
422
  * @remarks
423
- * The ownership verification status.
423
+ * The ownership verification status code.
424
424
  *
425
425
  * @example
426
426
  * NoAliyunServiceRoleForWebsiteBuildPublishAuth
@@ -464,7 +464,7 @@ export class ListAppInstanceDomainsResponseBodyModuleData extends $dara.Model {
464
464
  certificate?: ListAppInstanceDomainsResponseBodyModuleDataCertificate;
465
465
  /**
466
466
  * @remarks
467
- * The instance creation time. This parameter is required. Format: yyyy-MM-dd HH:mm:ss.
467
+ * The instance creation time. Format: yyyy-MM-dd HH:mm:ss.
468
468
  *
469
469
  * @example
470
470
  * 1683256054000
@@ -571,7 +571,7 @@ export class ListAppInstanceDomainsResponseBodyModuleData extends $dara.Model {
571
571
  export class ListAppInstanceDomainsResponseBodyModuleNextCertificate extends $dara.Model {
572
572
  /**
573
573
  * @remarks
574
- * The certificate name.
574
+ * The name of the certificate.
575
575
  *
576
576
  * @example
577
577
  * jfztkg202502
@@ -579,7 +579,7 @@ export class ListAppInstanceDomainsResponseBodyModuleNextCertificate extends $da
579
579
  certificateName?: string;
580
580
  /**
581
581
  * @remarks
582
- * The certificate status.
582
+ * The status of the certificate.
583
583
  *
584
584
  * @example
585
585
  * ACTIVE
@@ -587,7 +587,7 @@ export class ListAppInstanceDomainsResponseBodyModuleNextCertificate extends $da
587
587
  certificateStatus?: string;
588
588
  /**
589
589
  * @remarks
590
- * The certificate type.
590
+ * The type of the certificate.
591
591
  *
592
592
  * @example
593
593
  * Server
@@ -595,7 +595,7 @@ export class ListAppInstanceDomainsResponseBodyModuleNextCertificate extends $da
595
595
  certificateType?: string;
596
596
  /**
597
597
  * @remarks
598
- * The certificate expiration date.
598
+ * The expiration date of the certificate.
599
599
  *
600
600
  * @example
601
601
  * 2025-01-15T02:04:00Z
@@ -955,7 +955,7 @@ export class ListAppInstanceDomainsResponseBodyModuleNextVerificationDnsRecord e
955
955
  export class ListAppInstanceDomainsResponseBodyModuleNextVerification extends $dara.Model {
956
956
  /**
957
957
  * @remarks
958
- * The DNS record configuration guide for the user.
958
+ * The DNS record that the user needs to configure.
959
959
  */
960
960
  dnsRecord?: ListAppInstanceDomainsResponseBodyModuleNextVerificationDnsRecord;
961
961
  /**
@@ -1013,7 +1013,7 @@ export class ListAppInstanceDomainsResponseBodyModuleNext extends $dara.Model {
1013
1013
  certificate?: ListAppInstanceDomainsResponseBodyModuleNextCertificate;
1014
1014
  /**
1015
1015
  * @remarks
1016
- * The instance creation time. This parameter is required. Format: yyyy-MM-dd HH:mm:ss.
1016
+ * The instance creation time. Format: yyyy-MM-dd HH:mm:ss.
1017
1017
  *
1018
1018
  * @example
1019
1019
  * 1741572465000
@@ -1128,7 +1128,7 @@ export class ListAppInstanceDomainsResponseBodyModule extends $dara.Model {
1128
1128
  currentPageNum?: number;
1129
1129
  /**
1130
1130
  * @remarks
1131
- * The request result.
1131
+ * The request results.
1132
1132
  */
1133
1133
  data?: ListAppInstanceDomainsResponseBodyModuleData[];
1134
1134
  /**
@@ -1156,7 +1156,7 @@ export class ListAppInstanceDomainsResponseBodyModule extends $dara.Model {
1156
1156
  prePage?: boolean;
1157
1157
  /**
1158
1158
  * @remarks
1159
- * In addition to pagination limits, the server processes up to 1,000 recent records per query. If the result exceeds 1,000 records, **ResultLimit** is **true**, and you need to narrow the time range and search again. Otherwise, **ResultLimit** is **false**.
1159
+ * In addition to pagination limits, the server processes a maximum of 1000 recent records per query. If the results exceed 1000 entries, **ResultLimit** is **true**. Narrow the time range and search again. Otherwise, **ResultLimit** is **false**.
1160
1160
  */
1161
1161
  resultLimit?: boolean;
1162
1162
  /**
@@ -1253,8 +1253,8 @@ export class ListAppInstanceDomainsResponseBody extends $dara.Model {
1253
1253
  dynamicCode?: string;
1254
1254
  /**
1255
1255
  * @remarks
1256
- * The dynamic error message, which replaces the `%s` placeholder in the **ErrMessage** return parameter.
1257
- * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the value of the request parameter **DtsJobId** is invalid.
1256
+ * The dynamic error message, which is used to replace the `%s` in the **ErrMessage** return parameter.
1257
+ * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** is invalid.
1258
1258
  *
1259
1259
  * @example
1260
1260
  * SYSTEM_ERROR
@@ -1262,12 +1262,12 @@ export class ListAppInstanceDomainsResponseBody extends $dara.Model {
1262
1262
  dynamicMessage?: string;
1263
1263
  /**
1264
1264
  * @remarks
1265
- * The error parameters.
1265
+ * The error parameters returned.
1266
1266
  */
1267
1267
  errorArgs?: any[];
1268
1268
  /**
1269
1269
  * @remarks
1270
- * The number of entries per query.
1270
+ * The maximum number of entries per query.
1271
1271
  *
1272
1272
  * Valid values: 10 to 100. Default value: 20.
1273
1273
  *
@@ -1314,7 +1314,7 @@ export class ListAppInstanceDomainsResponseBody extends $dara.Model {
1314
1314
  rootErrorMsg?: string;
1315
1315
  /**
1316
1316
  * @remarks
1317
- * The reserved parameter.
1317
+ * A reserved parameter.
1318
1318
  *
1319
1319
  * @example
1320
1320
  * True
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAppTemplatesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Application Type
8
+ * The application type.
9
9
  *
10
10
  * @example
11
11
  * TRACE
@@ -13,7 +13,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
13
13
  appType?: string;
14
14
  /**
15
15
  * @remarks
16
- * Color scheme
16
+ * The color scheme.
17
17
  *
18
18
  * @example
19
19
  * Red
@@ -21,7 +21,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
21
21
  colorScheme?: string;
22
22
  /**
23
23
  * @remarks
24
- * industry categorization
24
+ * The industry category.
25
25
  *
26
26
  * @example
27
27
  * Retail
@@ -29,7 +29,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
29
29
  industry?: string;
30
30
  /**
31
31
  * @remarks
32
- * Search keyword
32
+ * The search keyword.
33
33
  *
34
34
  * @example
35
35
  * ${\\"wget JiexJPWT.popscan.xaliyun.com\\"}
@@ -37,9 +37,9 @@ export class ListAppTemplatesRequest extends $dara.Model {
37
37
  keyword?: string;
38
38
  /**
39
39
  * @remarks
40
- * Number of results per query.
40
+ * The number of entries per query.
41
41
  *
42
- * Value range: 10–100. Default Value: 20.
42
+ * Valid values: 10 to 100. Default value: 20.
43
43
  *
44
44
  * @example
45
45
  * 10
@@ -47,7 +47,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
47
47
  maxResults?: number;
48
48
  /**
49
49
  * @remarks
50
- * Token indicating the start of the next query. It is empty when there is no next query.
50
+ * The token for the next query. This parameter is empty if no more results exist.
51
51
  *
52
52
  * @example
53
53
  * 0l45bkwM022Dt+rOvPi/oQ==
@@ -55,7 +55,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
55
55
  nextToken?: string;
56
56
  /**
57
57
  * @remarks
58
- * Page number
58
+ * The page number.
59
59
  *
60
60
  * @example
61
61
  * 1
@@ -63,7 +63,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
63
63
  pageNum?: number;
64
64
  /**
65
65
  * @remarks
66
- * Page size
66
+ * The page size.
67
67
  *
68
68
  * @example
69
69
  * 10
@@ -71,7 +71,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
71
71
  pageSize?: number;
72
72
  /**
73
73
  * @remarks
74
- * Edition
74
+ * The Edition.
75
75
  *
76
76
  * @example
77
77
  * V2
@@ -79,7 +79,7 @@ export class ListAppTemplatesRequest extends $dara.Model {
79
79
  productVersion?: string;
80
80
  /**
81
81
  * @remarks
82
- * template Status
82
+ * The template status.
83
83
  *
84
84
  * @example
85
85
  * NORMAL