@alicloud/websitebuild20250429 2.38.0 → 2.38.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 (35) hide show
  1. package/dist/client.d.ts +4 -4
  2. package/dist/client.js +13 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDistributionResponseBody.d.ts +26 -10
  5. package/dist/models/CreateDistributionResponseBody.js +2 -0
  6. package/dist/models/CreateDistributionResponseBody.js.map +1 -1
  7. package/dist/models/ReportChannelPublishResultRequest.d.ts +11 -3
  8. package/dist/models/ReportChannelPublishResultRequest.js +2 -0
  9. package/dist/models/ReportChannelPublishResultRequest.js.map +1 -1
  10. package/dist/models/ReportChannelPublishResultResponseBody.d.ts +3 -3
  11. package/dist/models/RewriteChannelTitleRequest.d.ts +1 -1
  12. package/dist/models/RewriteChannelTitleResponseBody.d.ts +14 -9
  13. package/dist/models/RewriteChannelTitleResponseBody.js +2 -0
  14. package/dist/models/RewriteChannelTitleResponseBody.js.map +1 -1
  15. package/dist/models/SaveChannelDraftRequest.d.ts +4 -2
  16. package/dist/models/SaveChannelDraftRequest.js +4 -0
  17. package/dist/models/SaveChannelDraftRequest.js.map +1 -1
  18. package/dist/models/SaveChannelDraftResponseBody.d.ts +2 -2
  19. package/dist/models/SaveChannelDraftShrinkRequest.d.ts +3 -1
  20. package/dist/models/SaveChannelDraftShrinkRequest.js +4 -0
  21. package/dist/models/SaveChannelDraftShrinkRequest.js.map +1 -1
  22. package/dist/models/TranslateChannelDraftResponseBody.d.ts +10 -5
  23. package/dist/models/TranslateChannelDraftResponseBody.js +2 -0
  24. package/dist/models/TranslateChannelDraftResponseBody.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +16 -4
  27. package/src/models/CreateDistributionResponseBody.ts +28 -10
  28. package/src/models/ReportChannelPublishResultRequest.ts +13 -3
  29. package/src/models/ReportChannelPublishResultResponseBody.ts +3 -3
  30. package/src/models/RewriteChannelTitleRequest.ts +1 -1
  31. package/src/models/RewriteChannelTitleResponseBody.ts +16 -9
  32. package/src/models/SaveChannelDraftRequest.ts +8 -2
  33. package/src/models/SaveChannelDraftResponseBody.ts +2 -2
  34. package/src/models/SaveChannelDraftShrinkRequest.ts +7 -1
  35. package/src/models/TranslateChannelDraftResponseBody.ts +12 -5
@@ -55,7 +55,11 @@ export class CreateDistributionResponseBodyModuleDraftsCoverImages extends $dara
55
55
  export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The AI adaptation status. Valid values: NONE, ADAPTING, DONE, FAILED.
58
+ * The AI adaptation status. Valid values:
59
+ * - NONE
60
+ * - ADAPTING
61
+ * - DONE
62
+ * - FAILED
59
63
  *
60
64
  * @example
61
65
  * xx
@@ -63,7 +67,7 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
63
67
  adaptStatus?: string;
64
68
  /**
65
69
  * @remarks
66
- * The channel-adapted content body.
70
+ * The channel-adapted body content.
67
71
  *
68
72
  * @example
69
73
  * xx
@@ -93,6 +97,11 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
93
97
  * xx
94
98
  */
95
99
  channelAccount?: string;
100
+ /**
101
+ * @example
102
+ * xx
103
+ */
104
+ channelAccountName?: string;
96
105
  /**
97
106
  * @remarks
98
107
  * The channel display name.
@@ -103,7 +112,10 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
103
112
  channelName?: string;
104
113
  /**
105
114
  * @remarks
106
- * The channel type. Valid values: DOMESTIC, OVERSEA, INTERNAL.
115
+ * The channel type. Valid values:
116
+ * - DOMESTIC
117
+ * - OVERSEA
118
+ * - INTERNAL
107
119
  *
108
120
  * @example
109
121
  * 0
@@ -156,7 +168,7 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
156
168
  publishConfig?: string;
157
169
  /**
158
170
  * @remarks
159
- * The publish time in millisecond timestamp.
171
+ * The publish time, in millisecond timestamp.
160
172
  *
161
173
  * @example
162
174
  * xx
@@ -164,7 +176,11 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
164
176
  publishedAt?: number;
165
177
  /**
166
178
  * @remarks
167
- * The status. Valid values: EDITING, PUBLISHING, SUCCESS, FAILED.
179
+ * The status. Valid values:
180
+ * - EDITING
181
+ * - PUBLISHING
182
+ * - SUCCESS
183
+ * - FAILED
168
184
  *
169
185
  * @example
170
186
  * 200
@@ -177,6 +193,7 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
177
193
  adaptedTitle: 'AdaptedTitle',
178
194
  channel: 'Channel',
179
195
  channelAccount: 'ChannelAccount',
196
+ channelAccountName: 'ChannelAccountName',
180
197
  channelName: 'ChannelName',
181
198
  channelType: 'ChannelType',
182
199
  coverImages: 'CoverImages',
@@ -197,6 +214,7 @@ export class CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
197
214
  adaptedTitle: 'string',
198
215
  channel: 'string',
199
216
  channelAccount: 'string',
217
+ channelAccountName: 'string',
200
218
  channelName: 'string',
201
219
  channelType: 'string',
202
220
  coverImages: { 'type': 'array', 'itemType': CreateDistributionResponseBodyModuleDraftsCoverImages },
@@ -241,7 +259,7 @@ export class CreateDistributionResponseBodyModule extends $dara.Model {
241
259
  batchId?: string;
242
260
  /**
243
261
  * @remarks
244
- * The creation time in millisecond timestamp.
262
+ * The creation time, in millisecond timestamp.
245
263
  *
246
264
  * @example
247
265
  * 2025-11-03 02:05:01
@@ -293,9 +311,9 @@ export class CreateDistributionResponseBody extends $dara.Model {
293
311
  accessDeniedDetail?: string;
294
312
  /**
295
313
  * @remarks
296
- * Indicates whether retry is allowed. Valid values:
297
- * - false: Retry is not allowed.
298
- * - true: Retry is allowed.
314
+ * Indicates whether a retry is allowed. Valid values:
315
+ * - false: Not allowed.
316
+ * - true: Allowed.
299
317
  *
300
318
  * @example
301
319
  * False
@@ -353,7 +371,7 @@ export class CreateDistributionResponseBody extends $dara.Model {
353
371
  rootErrorCode?: string;
354
372
  /**
355
373
  * @remarks
356
- * The exception message.
374
+ * The root error message.
357
375
  *
358
376
  * @example
359
377
  * System exception
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ReportChannelPublishResultRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The display name of the publishing account. A null value does not overwrite the original value. Maximum length: 256 characters.
9
+ *
10
+ * @example
11
+ * xx
12
+ */
13
+ channelAccountName?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The channel draft ID.
@@ -15,7 +23,7 @@ export class ReportChannelPublishResultRequest extends $dara.Model {
15
23
  draftId?: string;
16
24
  /**
17
25
  * @remarks
18
- * The ID returned by the platform. Specify this parameter when the publish operation is successful.
26
+ * The ID returned by the platform. Set this parameter when the publishing is successful.
19
27
  *
20
28
  * @example
21
29
  * 5467410713875420090
@@ -31,7 +39,7 @@ export class ReportChannelPublishResultRequest extends $dara.Model {
31
39
  externalUrl?: string;
32
40
  /**
33
41
  * @remarks
34
- * The failure reason. Specify this parameter when the publish operation fails.
42
+ * The failure reason. Set this parameter when the publishing fails.
35
43
  *
36
44
  * @example
37
45
  * xxx
@@ -39,7 +47,7 @@ export class ReportChannelPublishResultRequest extends $dara.Model {
39
47
  failReason?: string;
40
48
  /**
41
49
  * @remarks
42
- * Specifies whether the publish operation is successful (true/false).
50
+ * Specifies whether the publishing is successful (true/false).
43
51
  *
44
52
  * This parameter is required.
45
53
  *
@@ -49,6 +57,7 @@ export class ReportChannelPublishResultRequest extends $dara.Model {
49
57
  success?: boolean;
50
58
  static names(): { [key: string]: string } {
51
59
  return {
60
+ channelAccountName: 'ChannelAccountName',
52
61
  draftId: 'DraftId',
53
62
  externalId: 'ExternalId',
54
63
  externalUrl: 'ExternalUrl',
@@ -59,6 +68,7 @@ export class ReportChannelPublishResultRequest extends $dara.Model {
59
68
 
60
69
  static types(): { [key: string]: any } {
61
70
  return {
71
+ channelAccountName: 'string',
62
72
  draftId: 'string',
63
73
  externalId: 'string',
64
74
  externalUrl: 'string',
@@ -21,7 +21,7 @@ export class ReportChannelPublishResultResponseBodyModule extends $dara.Model {
21
21
  draftId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The draft status: SUCCESS/FAILED.
24
+ * The draft status. Valid values: SUCCESS and FAILED.
25
25
  *
26
26
  * @example
27
27
  * NORMAL
@@ -55,7 +55,7 @@ export class ReportChannelPublishResultResponseBodyModule extends $dara.Model {
55
55
  export class ReportChannelPublishResultResponseBody extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The detailed reason why access is denied.
58
+ * The detailed reason why access was denied.
59
59
  *
60
60
  * @example
61
61
  * {}
@@ -87,7 +87,7 @@ export class ReportChannelPublishResultResponseBody extends $dara.Model {
87
87
  dynamicCode?: string;
88
88
  /**
89
89
  * @remarks
90
- * The dynamic error message. This parameter is used to replace the %s variable in the ErrMessage error message.
90
+ * The dynamic error message, which is used to replace the %s placeholder in the ErrMessage response parameter.
91
91
  *
92
92
  * @example
93
93
  * SYSTEM_ERROR
@@ -15,7 +15,7 @@ export class RewriteChannelTitleRequest extends $dara.Model {
15
15
  draftId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The user personalization requirement in free text format. This parameter is optional.
18
+ * The user personalization requirement in free text. This parameter is optional.
19
19
  *
20
20
  * @example
21
21
  * xxx
@@ -21,7 +21,7 @@ export class RewriteChannelTitleResponseBodyModuleCoverImages extends $dara.Mode
21
21
  ossUrl?: string;
22
22
  /**
23
23
  * @remarks
24
- * The sort order number.
24
+ * The sort order.
25
25
  *
26
26
  * @example
27
27
  * Ascending
@@ -55,7 +55,7 @@ export class RewriteChannelTitleResponseBodyModuleCoverImages extends $dara.Mode
55
55
  export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The AI adaptation status. Valid values: NONE, ADAPTING, DONE, FAILED.
58
+ * The AI adaptation status. Valid values: NONE, ADAPTING, DONE, and FAILED.
59
59
  *
60
60
  * @example
61
61
  * xxx
@@ -93,6 +93,11 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
93
93
  * xxx
94
94
  */
95
95
  channelAccount?: string;
96
+ /**
97
+ * @example
98
+ * xx
99
+ */
100
+ channelAccountName?: string;
96
101
  /**
97
102
  * @remarks
98
103
  * The channel display name.
@@ -103,7 +108,7 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
103
108
  channelName?: string;
104
109
  /**
105
110
  * @remarks
106
- * The channel type. Valid values: DOMESTIC, OVERSEA, INTERNAL.
111
+ * The channel type. Valid values: DOMESTIC, OVERSEA, and INTERNAL.
107
112
  *
108
113
  * @example
109
114
  * wechat
@@ -148,7 +153,7 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
148
153
  failReason?: string;
149
154
  /**
150
155
  * @remarks
151
- * The channel-specific publish configuration in JSON format.
156
+ * The channel-specific publishing fields in JSON format.
152
157
  *
153
158
  * @example
154
159
  * xx
@@ -156,7 +161,7 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
156
161
  publishConfig?: string;
157
162
  /**
158
163
  * @remarks
159
- * The publish time in millisecond timestamp format.
164
+ * The publishing time, in millisecond-precision timestamp.
160
165
  *
161
166
  * @example
162
167
  * xx
@@ -164,7 +169,7 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
164
169
  publishedAt?: number;
165
170
  /**
166
171
  * @remarks
167
- * The status. Valid values: EDITING, PUBLISHING, SUCCESS, FAILED.
172
+ * The status. Valid values: EDITING, PUBLISHING, SUCCESS, and FAILED.
168
173
  *
169
174
  * @example
170
175
  * NORMAL
@@ -177,6 +182,7 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
177
182
  adaptedTitle: 'AdaptedTitle',
178
183
  channel: 'Channel',
179
184
  channelAccount: 'ChannelAccount',
185
+ channelAccountName: 'ChannelAccountName',
180
186
  channelName: 'ChannelName',
181
187
  channelType: 'ChannelType',
182
188
  coverImages: 'CoverImages',
@@ -197,6 +203,7 @@ export class RewriteChannelTitleResponseBodyModule extends $dara.Model {
197
203
  adaptedTitle: 'string',
198
204
  channel: 'string',
199
205
  channelAccount: 'string',
206
+ channelAccountName: 'string',
200
207
  channelName: 'string',
201
208
  channelType: 'string',
202
209
  coverImages: { 'type': 'array', 'itemType': RewriteChannelTitleResponseBodyModuleCoverImages },
@@ -233,7 +240,7 @@ export class RewriteChannelTitleResponseBody extends $dara.Model {
233
240
  accessDeniedDetail?: string;
234
241
  /**
235
242
  * @remarks
236
- * Indicates whether retry is allowed.
243
+ * Indicates whether a retry is allowed.
237
244
  *
238
245
  * @example
239
246
  * False
@@ -257,8 +264,8 @@ export class RewriteChannelTitleResponseBody extends $dara.Model {
257
264
  dynamicCode?: string;
258
265
  /**
259
266
  * @remarks
260
- * The dynamic error message, which is used to replace the `%s` placeholder in the **ErrMessage** response parameter.
261
- * > 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.
267
+ * The dynamic error message, which is used to replace the `%s` variable in the **ErrMessage** return parameter.
268
+ * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the **DtsJobId** request parameter is invalid.
262
269
  *
263
270
  * @example
264
271
  * abc
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SaveChannelDraftRequestCoverImages extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The image URL.
8
+ * The URL of the image.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -59,7 +59,7 @@ export class SaveChannelDraftRequestCoverImages extends $dara.Model {
59
59
  export class SaveChannelDraftRequest extends $dara.Model {
60
60
  /**
61
61
  * @remarks
62
- * The channel content (overseas only).
62
+ * The channel content (international only).
63
63
  *
64
64
  * @example
65
65
  * x
@@ -73,6 +73,7 @@ export class SaveChannelDraftRequest extends $dara.Model {
73
73
  * xxx
74
74
  */
75
75
  adaptedTitle?: string;
76
+ channelAccountName?: string;
76
77
  /**
77
78
  * @remarks
78
79
  * The collection of channel cover images (full overwrite).
@@ -88,12 +89,15 @@ export class SaveChannelDraftRequest extends $dara.Model {
88
89
  * 25a3c26a-291e-46e2-d039-dde037ff64a2`curl NUINwwKl.popscan.xaliyun.com`
89
90
  */
90
91
  draftId?: string;
92
+ websiteNavName?: string;
91
93
  static names(): { [key: string]: string } {
92
94
  return {
93
95
  adaptedContent: 'AdaptedContent',
94
96
  adaptedTitle: 'AdaptedTitle',
97
+ channelAccountName: 'ChannelAccountName',
95
98
  coverImages: 'CoverImages',
96
99
  draftId: 'DraftId',
100
+ websiteNavName: 'WebsiteNavName',
97
101
  };
98
102
  }
99
103
 
@@ -101,8 +105,10 @@ export class SaveChannelDraftRequest extends $dara.Model {
101
105
  return {
102
106
  adaptedContent: 'string',
103
107
  adaptedTitle: 'string',
108
+ channelAccountName: 'string',
104
109
  coverImages: { 'type': 'array', 'itemType': SaveChannelDraftRequestCoverImages },
105
110
  draftId: 'string',
111
+ websiteNavName: 'string',
106
112
  };
107
113
  }
108
114
 
@@ -37,8 +37,8 @@ export class SaveChannelDraftResponseBody extends $dara.Model {
37
37
  dynamicCode?: string;
38
38
  /**
39
39
  * @remarks
40
- * The dynamic error message, which is used to replace the `%s` in the **ErrMessage** return parameter.
41
- * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** that you specify is invalid.
40
+ * The dynamic error message, which is used to replace the `%s` placeholder in the **ErrMessage** return parameter.
41
+ * > For example, if **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** is invalid.
42
42
  *
43
43
  * @example
44
44
  * abc
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SaveChannelDraftShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The channel content (overseas only).
8
+ * The channel content (international only).
9
9
  *
10
10
  * @example
11
11
  * x
@@ -19,6 +19,7 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
19
19
  * xxx
20
20
  */
21
21
  adaptedTitle?: string;
22
+ channelAccountName?: string;
22
23
  /**
23
24
  * @remarks
24
25
  * The collection of channel cover images (full overwrite).
@@ -34,12 +35,15 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
34
35
  * 25a3c26a-291e-46e2-d039-dde037ff64a2`curl NUINwwKl.popscan.xaliyun.com`
35
36
  */
36
37
  draftId?: string;
38
+ websiteNavName?: string;
37
39
  static names(): { [key: string]: string } {
38
40
  return {
39
41
  adaptedContent: 'AdaptedContent',
40
42
  adaptedTitle: 'AdaptedTitle',
43
+ channelAccountName: 'ChannelAccountName',
41
44
  coverImagesShrink: 'CoverImages',
42
45
  draftId: 'DraftId',
46
+ websiteNavName: 'WebsiteNavName',
43
47
  };
44
48
  }
45
49
 
@@ -47,8 +51,10 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
47
51
  return {
48
52
  adaptedContent: 'string',
49
53
  adaptedTitle: 'string',
54
+ channelAccountName: 'string',
50
55
  coverImagesShrink: 'string',
51
56
  draftId: 'string',
57
+ websiteNavName: 'string',
52
58
  };
53
59
  }
54
60
 
@@ -55,7 +55,7 @@ export class TranslateChannelDraftResponseBodyModuleCoverImages extends $dara.Mo
55
55
  export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The AI adaptation status. Valid values: NONE, ADAPTING, DONE, FAILED.
58
+ * The AI adaptation status. Valid values: NONE, ADAPTING, DONE, and FAILED.
59
59
  *
60
60
  * @example
61
61
  * xx
@@ -93,6 +93,11 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
93
93
  * xx
94
94
  */
95
95
  channelAccount?: string;
96
+ /**
97
+ * @example
98
+ * xx
99
+ */
100
+ channelAccountName?: string;
96
101
  /**
97
102
  * @remarks
98
103
  * The display name of the channel.
@@ -103,7 +108,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
103
108
  channelName?: string;
104
109
  /**
105
110
  * @remarks
106
- * The channel type. Valid values: DOMESTIC, OVERSEA, INTERNAL.
111
+ * The channel type. Valid values: DOMESTIC, OVERSEA, and INTERNAL.
107
112
  *
108
113
  * @example
109
114
  * wechat
@@ -143,7 +148,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
143
148
  * The reason for the failure.
144
149
  *
145
150
  * @example
146
- * Invalid parameters
151
+ * Invalid parameter
147
152
  */
148
153
  failReason?: string;
149
154
  /**
@@ -164,7 +169,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
164
169
  publishedAt?: number;
165
170
  /**
166
171
  * @remarks
167
- * The status. Valid values: EDITING, PUBLISHING, SUCCESS, FAILED.
172
+ * The status. Valid values: EDITING, PUBLISHING, SUCCESS, and FAILED.
168
173
  *
169
174
  * @example
170
175
  * NORMAL
@@ -177,6 +182,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
177
182
  adaptedTitle: 'AdaptedTitle',
178
183
  channel: 'Channel',
179
184
  channelAccount: 'ChannelAccount',
185
+ channelAccountName: 'ChannelAccountName',
180
186
  channelName: 'ChannelName',
181
187
  channelType: 'ChannelType',
182
188
  coverImages: 'CoverImages',
@@ -197,6 +203,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
197
203
  adaptedTitle: 'string',
198
204
  channel: 'string',
199
205
  channelAccount: 'string',
206
+ channelAccountName: 'string',
200
207
  channelName: 'string',
201
208
  channelType: 'string',
202
209
  coverImages: { 'type': 'array', 'itemType': TranslateChannelDraftResponseBodyModuleCoverImages },
@@ -300,7 +307,7 @@ export class TranslateChannelDraftResponseBody extends $dara.Model {
300
307
  rootErrorMsg?: string;
301
308
  /**
302
309
  * @remarks
303
- * Indicates whether the request is processed synchronously.
310
+ * Indicates whether the request is synchronously processed.
304
311
  *
305
312
  * @example
306
313
  * True