@alicloud/websitebuild20250429 2.38.0 → 2.38.2
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 +4 -4
- package/dist/client.js +13 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDistributionResponseBody.d.ts +19 -11
- package/dist/models/CreateDistributionResponseBody.js +2 -0
- package/dist/models/CreateDistributionResponseBody.js.map +1 -1
- package/dist/models/ReportChannelPublishResultRequest.d.ts +11 -3
- package/dist/models/ReportChannelPublishResultRequest.js +2 -0
- package/dist/models/ReportChannelPublishResultRequest.js.map +1 -1
- package/dist/models/ReportChannelPublishResultResponseBody.d.ts +3 -3
- package/dist/models/RewriteChannelTitleRequest.d.ts +1 -1
- package/dist/models/RewriteChannelTitleResponseBody.d.ts +20 -12
- package/dist/models/RewriteChannelTitleResponseBody.js +2 -0
- package/dist/models/RewriteChannelTitleResponseBody.js.map +1 -1
- package/dist/models/SaveChannelDraftRequest.d.ts +19 -3
- package/dist/models/SaveChannelDraftRequest.js +4 -0
- package/dist/models/SaveChannelDraftRequest.js.map +1 -1
- package/dist/models/SaveChannelDraftResponseBody.d.ts +6 -6
- package/dist/models/SaveChannelDraftShrinkRequest.d.ts +18 -2
- package/dist/models/SaveChannelDraftShrinkRequest.js +4 -0
- package/dist/models/SaveChannelDraftShrinkRequest.js.map +1 -1
- package/dist/models/TranslateChannelDraftResponseBody.d.ts +22 -14
- package/dist/models/TranslateChannelDraftResponseBody.js +2 -0
- package/dist/models/TranslateChannelDraftResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -4
- package/src/models/CreateDistributionResponseBody.ts +21 -11
- package/src/models/ReportChannelPublishResultRequest.ts +13 -3
- package/src/models/ReportChannelPublishResultResponseBody.ts +3 -3
- package/src/models/RewriteChannelTitleRequest.ts +1 -1
- package/src/models/RewriteChannelTitleResponseBody.ts +22 -12
- package/src/models/SaveChannelDraftRequest.ts +23 -3
- package/src/models/SaveChannelDraftResponseBody.ts +6 -6
- package/src/models/SaveChannelDraftShrinkRequest.ts +22 -2
- package/src/models/TranslateChannelDraftResponseBody.ts +24 -14
|
@@ -13,7 +13,7 @@ export class SaveChannelDraftResponseBody extends $dara.Model {
|
|
|
13
13
|
accessDeniedDetail?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Indicates whether retry is allowed.
|
|
16
|
+
* Indicates whether a retry is allowed.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* False
|
|
@@ -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
|
-
* >
|
|
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** that you specified is invalid.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* abc
|
|
@@ -46,7 +46,7 @@ export class SaveChannelDraftResponseBody extends $dara.Model {
|
|
|
46
46
|
dynamicMessage?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The error parameters
|
|
49
|
+
* The error parameters.
|
|
50
50
|
*/
|
|
51
51
|
errorArgs?: any[];
|
|
52
52
|
/**
|
|
@@ -75,7 +75,7 @@ export class SaveChannelDraftResponseBody extends $dara.Model {
|
|
|
75
75
|
rootErrorCode?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The
|
|
78
|
+
* The error message.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* System exception
|
|
@@ -83,7 +83,7 @@ export class SaveChannelDraftResponseBody extends $dara.Model {
|
|
|
83
83
|
rootErrorMsg?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
*
|
|
86
|
+
* The reserved parameter.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* True
|
|
@@ -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 (
|
|
8
|
+
* The channel content (outside China only).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* x
|
|
@@ -19,6 +19,14 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
|
|
|
19
19
|
* xxx
|
|
20
20
|
*/
|
|
21
21
|
adaptedTitle?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The display name of the publishing account. A null value does not overwrite the original value. Maximum length: 256 characters.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* xx
|
|
28
|
+
*/
|
|
29
|
+
channelAccountName?: string;
|
|
22
30
|
/**
|
|
23
31
|
* @remarks
|
|
24
32
|
* The collection of channel cover images (full overwrite).
|
|
@@ -26,7 +34,7 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
|
|
|
26
34
|
coverImagesShrink?: string;
|
|
27
35
|
/**
|
|
28
36
|
* @remarks
|
|
29
|
-
* The
|
|
37
|
+
* The channel draft ID.
|
|
30
38
|
*
|
|
31
39
|
* This parameter is required.
|
|
32
40
|
*
|
|
@@ -34,12 +42,22 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
|
|
|
34
42
|
* 25a3c26a-291e-46e2-d039-dde037ff64a2`curl NUINwwKl.popscan.xaliyun.com`
|
|
35
43
|
*/
|
|
36
44
|
draftId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The article column name for Wanxiaozhi 1.0. This parameter is required only when the website has not enabled an article column.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* Article
|
|
51
|
+
*/
|
|
52
|
+
websiteNavName?: string;
|
|
37
53
|
static names(): { [key: string]: string } {
|
|
38
54
|
return {
|
|
39
55
|
adaptedContent: 'AdaptedContent',
|
|
40
56
|
adaptedTitle: 'AdaptedTitle',
|
|
57
|
+
channelAccountName: 'ChannelAccountName',
|
|
41
58
|
coverImagesShrink: 'CoverImages',
|
|
42
59
|
draftId: 'DraftId',
|
|
60
|
+
websiteNavName: 'WebsiteNavName',
|
|
43
61
|
};
|
|
44
62
|
}
|
|
45
63
|
|
|
@@ -47,8 +65,10 @@ export class SaveChannelDraftShrinkRequest extends $dara.Model {
|
|
|
47
65
|
return {
|
|
48
66
|
adaptedContent: 'string',
|
|
49
67
|
adaptedTitle: 'string',
|
|
68
|
+
channelAccountName: 'string',
|
|
50
69
|
coverImagesShrink: 'string',
|
|
51
70
|
draftId: 'string',
|
|
71
|
+
websiteNavName: 'string',
|
|
52
72
|
};
|
|
53
73
|
}
|
|
54
74
|
|
|
@@ -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
|
|
@@ -87,12 +87,20 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
87
87
|
channel?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The
|
|
90
|
+
* The publishing account snapshot.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* xx
|
|
94
94
|
*/
|
|
95
95
|
channelAccount?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The display name of the publishing account.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* xx
|
|
102
|
+
*/
|
|
103
|
+
channelAccountName?: string;
|
|
96
104
|
/**
|
|
97
105
|
* @remarks
|
|
98
106
|
* The display name of the channel.
|
|
@@ -103,7 +111,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
103
111
|
channelName?: string;
|
|
104
112
|
/**
|
|
105
113
|
* @remarks
|
|
106
|
-
* The channel type. Valid values: DOMESTIC, OVERSEA, INTERNAL.
|
|
114
|
+
* The channel type. Valid values: DOMESTIC, OVERSEA, and INTERNAL.
|
|
107
115
|
*
|
|
108
116
|
* @example
|
|
109
117
|
* wechat
|
|
@@ -132,7 +140,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
132
140
|
externalId?: string;
|
|
133
141
|
/**
|
|
134
142
|
* @remarks
|
|
135
|
-
* The redirect URL
|
|
143
|
+
* The redirect URL of the platform.
|
|
136
144
|
*
|
|
137
145
|
* @example
|
|
138
146
|
* https://net-video.mistong.com:10160/api/preview/video/2026/02/02/7181627703f6437480a7bffe8ed1e7b0_20260202100338.mp4
|
|
@@ -143,7 +151,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
143
151
|
* The reason for the failure.
|
|
144
152
|
*
|
|
145
153
|
* @example
|
|
146
|
-
* Invalid
|
|
154
|
+
* Invalid parameter
|
|
147
155
|
*/
|
|
148
156
|
failReason?: string;
|
|
149
157
|
/**
|
|
@@ -164,7 +172,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
164
172
|
publishedAt?: number;
|
|
165
173
|
/**
|
|
166
174
|
* @remarks
|
|
167
|
-
* The status. Valid values: EDITING, PUBLISHING, SUCCESS, FAILED.
|
|
175
|
+
* The status. Valid values: EDITING, PUBLISHING, SUCCESS, and FAILED.
|
|
168
176
|
*
|
|
169
177
|
* @example
|
|
170
178
|
* NORMAL
|
|
@@ -177,6 +185,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
177
185
|
adaptedTitle: 'AdaptedTitle',
|
|
178
186
|
channel: 'Channel',
|
|
179
187
|
channelAccount: 'ChannelAccount',
|
|
188
|
+
channelAccountName: 'ChannelAccountName',
|
|
180
189
|
channelName: 'ChannelName',
|
|
181
190
|
channelType: 'ChannelType',
|
|
182
191
|
coverImages: 'CoverImages',
|
|
@@ -197,6 +206,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
197
206
|
adaptedTitle: 'string',
|
|
198
207
|
channel: 'string',
|
|
199
208
|
channelAccount: 'string',
|
|
209
|
+
channelAccountName: 'string',
|
|
200
210
|
channelName: 'string',
|
|
201
211
|
channelType: 'string',
|
|
202
212
|
coverImages: { 'type': 'array', 'itemType': TranslateChannelDraftResponseBodyModuleCoverImages },
|
|
@@ -225,7 +235,7 @@ export class TranslateChannelDraftResponseBodyModule extends $dara.Model {
|
|
|
225
235
|
export class TranslateChannelDraftResponseBody extends $dara.Model {
|
|
226
236
|
/**
|
|
227
237
|
* @remarks
|
|
228
|
-
* The detailed reason why access
|
|
238
|
+
* The detailed reason why access was denied.
|
|
229
239
|
*
|
|
230
240
|
* @example
|
|
231
241
|
* {}
|
|
@@ -233,7 +243,7 @@ export class TranslateChannelDraftResponseBody extends $dara.Model {
|
|
|
233
243
|
accessDeniedDetail?: string;
|
|
234
244
|
/**
|
|
235
245
|
* @remarks
|
|
236
|
-
* Indicates whether
|
|
246
|
+
* Indicates whether retry is allowed.
|
|
237
247
|
*
|
|
238
248
|
* @example
|
|
239
249
|
* False
|
|
@@ -241,7 +251,7 @@ export class TranslateChannelDraftResponseBody extends $dara.Model {
|
|
|
241
251
|
allowRetry?: boolean;
|
|
242
252
|
/**
|
|
243
253
|
* @remarks
|
|
244
|
-
* The application name
|
|
254
|
+
* The application name used to query the application.
|
|
245
255
|
*
|
|
246
256
|
* @example
|
|
247
257
|
* ish-intelligence-store-platform-admin-web
|
|
@@ -257,8 +267,8 @@ export class TranslateChannelDraftResponseBody extends $dara.Model {
|
|
|
257
267
|
dynamicCode?: string;
|
|
258
268
|
/**
|
|
259
269
|
* @remarks
|
|
260
|
-
* The dynamic error message
|
|
261
|
-
* >
|
|
270
|
+
* The dynamic error message that is used to replace the `%s` variable in the **ErrMessage** return parameter.
|
|
271
|
+
* > 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.
|
|
262
272
|
*
|
|
263
273
|
* @example
|
|
264
274
|
* abc
|
|
@@ -266,12 +276,12 @@ export class TranslateChannelDraftResponseBody extends $dara.Model {
|
|
|
266
276
|
dynamicMessage?: string;
|
|
267
277
|
/**
|
|
268
278
|
* @remarks
|
|
269
|
-
* The error
|
|
279
|
+
* The error parameters.
|
|
270
280
|
*/
|
|
271
281
|
errorArgs?: any[];
|
|
272
282
|
/**
|
|
273
283
|
* @remarks
|
|
274
|
-
* Indicates whether the deletion
|
|
284
|
+
* Indicates whether the deletion was successful.
|
|
275
285
|
*/
|
|
276
286
|
module?: TranslateChannelDraftResponseBodyModule;
|
|
277
287
|
/**
|
|
@@ -292,7 +302,7 @@ export class TranslateChannelDraftResponseBody extends $dara.Model {
|
|
|
292
302
|
rootErrorCode?: string;
|
|
293
303
|
/**
|
|
294
304
|
* @remarks
|
|
295
|
-
* The
|
|
305
|
+
* The exception message.
|
|
296
306
|
*
|
|
297
307
|
* @example
|
|
298
308
|
* System exception
|