@alicloud/websitebuild20250429 2.37.0 → 2.38.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 +158 -2
- package/dist/client.js +351 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AppMaterialTask.d.ts +13 -5
- package/dist/models/AppMaterialTask.js +2 -0
- package/dist/models/AppMaterialTask.js.map +1 -1
- package/dist/models/CreateDistributionRequest.d.ts +30 -0
- package/dist/models/CreateDistributionRequest.js +63 -0
- package/dist/models/CreateDistributionRequest.js.map +1 -0
- package/dist/models/CreateDistributionResponse.d.ts +19 -0
- package/dist/models/CreateDistributionResponse.js +69 -0
- package/dist/models/CreateDistributionResponse.js.map +1 -0
- package/dist/models/CreateDistributionResponseBody.d.ts +303 -0
- package/dist/models/CreateDistributionResponseBody.js +185 -0
- package/dist/models/CreateDistributionResponseBody.js.map +1 -0
- package/dist/models/CreateDistributionShrinkRequest.d.ts +30 -0
- package/dist/models/CreateDistributionShrinkRequest.js +60 -0
- package/dist/models/CreateDistributionShrinkRequest.js.map +1 -0
- package/dist/models/GetAppInstanceResponseBody.d.ts +1 -1
- package/dist/models/ListAppInstancesRequest.d.ts +11 -3
- package/dist/models/ListAppInstancesRequest.js +2 -0
- package/dist/models/ListAppInstancesRequest.js.map +1 -1
- package/dist/models/ListAppInstancesResponseBody.d.ts +3 -3
- package/dist/models/ListAppInstancesShrinkRequest.d.ts +11 -3
- package/dist/models/ListAppInstancesShrinkRequest.js +2 -0
- package/dist/models/ListAppInstancesShrinkRequest.js.map +1 -1
- package/dist/models/ModifyAppInstanceSpecRequest.d.ts +1 -1
- package/dist/models/ModifyAppInstanceSpecResponseBody.d.ts +3 -3
- package/dist/models/QueryMaterialTaskDetailResponseBody.d.ts +2 -2
- package/dist/models/QueryMaterialTaskListRequest.d.ts +14 -6
- package/dist/models/QueryMaterialTaskListRequest.js +2 -0
- package/dist/models/QueryMaterialTaskListRequest.js.map +1 -1
- package/dist/models/QueryMaterialTaskListResponseBody.d.ts +13 -10
- package/dist/models/QueryMaterialTaskListResponseBody.js.map +1 -1
- package/dist/models/QueryMaterialTaskListShrinkRequest.d.ts +14 -6
- package/dist/models/QueryMaterialTaskListShrinkRequest.js +2 -0
- package/dist/models/QueryMaterialTaskListShrinkRequest.js.map +1 -1
- package/dist/models/ReportChannelPublishResultRequest.d.ts +57 -0
- package/dist/models/ReportChannelPublishResultRequest.js +66 -0
- package/dist/models/ReportChannelPublishResultRequest.js.map +1 -0
- package/dist/models/ReportChannelPublishResultResponse.d.ts +19 -0
- package/dist/models/ReportChannelPublishResultResponse.js +69 -0
- package/dist/models/ReportChannelPublishResultResponse.js.map +1 -0
- package/dist/models/ReportChannelPublishResultResponseBody.d.ts +131 -0
- package/dist/models/ReportChannelPublishResultResponseBody.js +107 -0
- package/dist/models/ReportChannelPublishResultResponseBody.js.map +1 -0
- package/dist/models/RetryChannelPublishRequest.d.ts +23 -0
- package/dist/models/RetryChannelPublishRequest.js +58 -0
- package/dist/models/RetryChannelPublishRequest.js.map +1 -0
- package/dist/models/RetryChannelPublishResponse.d.ts +19 -0
- package/dist/models/RetryChannelPublishResponse.js +69 -0
- package/dist/models/RetryChannelPublishResponse.js.map +1 -0
- package/dist/models/RetryChannelPublishResponseBody.d.ts +99 -0
- package/dist/models/RetryChannelPublishResponseBody.js +81 -0
- package/dist/models/RetryChannelPublishResponseBody.js.map +1 -0
- package/dist/models/RewriteChannelTitleRequest.d.ts +31 -0
- package/dist/models/RewriteChannelTitleRequest.js +60 -0
- package/dist/models/RewriteChannelTitleRequest.js.map +1 -0
- package/dist/models/RewriteChannelTitleResponse.d.ts +19 -0
- package/dist/models/RewriteChannelTitleResponse.js +69 -0
- package/dist/models/RewriteChannelTitleResponse.js.map +1 -0
- package/dist/models/RewriteChannelTitleResponseBody.d.ts +261 -0
- package/dist/models/RewriteChannelTitleResponseBody.js +157 -0
- package/dist/models/RewriteChannelTitleResponseBody.js.map +1 -0
- package/dist/models/SaveChannelDraftRequest.d.ts +84 -0
- package/dist/models/SaveChannelDraftRequest.js +90 -0
- package/dist/models/SaveChannelDraftRequest.js.map +1 -0
- package/dist/models/SaveChannelDraftResponse.d.ts +19 -0
- package/dist/models/SaveChannelDraftResponse.js +69 -0
- package/dist/models/SaveChannelDraftResponse.js.map +1 -0
- package/dist/models/SaveChannelDraftResponseBody.d.ts +99 -0
- package/dist/models/SaveChannelDraftResponseBody.js +81 -0
- package/dist/models/SaveChannelDraftResponseBody.js.map +1 -0
- package/dist/models/SaveChannelDraftShrinkRequest.d.ts +44 -0
- package/dist/models/SaveChannelDraftShrinkRequest.js +64 -0
- package/dist/models/SaveChannelDraftShrinkRequest.js.map +1 -0
- package/dist/models/SubmitMaterialTaskRequest.d.ts +12 -4
- package/dist/models/SubmitMaterialTaskRequest.js +2 -0
- package/dist/models/SubmitMaterialTaskRequest.js.map +1 -1
- package/dist/models/SubmitMaterialTaskResponseBody.d.ts +10 -2
- package/dist/models/SubmitMaterialTaskResponseBody.js +2 -0
- package/dist/models/SubmitMaterialTaskResponseBody.js.map +1 -1
- package/dist/models/TranslateChannelDraftRequest.d.ts +23 -0
- package/dist/models/TranslateChannelDraftRequest.js +58 -0
- package/dist/models/TranslateChannelDraftRequest.js.map +1 -0
- package/dist/models/TranslateChannelDraftResponse.d.ts +19 -0
- package/dist/models/TranslateChannelDraftResponse.js +69 -0
- package/dist/models/TranslateChannelDraftResponse.js.map +1 -0
- package/dist/models/TranslateChannelDraftResponseBody.d.ts +261 -0
- package/dist/models/TranslateChannelDraftResponseBody.js +157 -0
- package/dist/models/TranslateChannelDraftResponseBody.js.map +1 -0
- package/dist/models/UploadMaterialFileRequest.d.ts +11 -5
- package/dist/models/UploadMaterialFileRequest.js +2 -0
- package/dist/models/UploadMaterialFileRequest.js.map +1 -1
- package/dist/models/UploadMaterialFileResponseBody.d.ts +5 -5
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +75 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +384 -2
- package/src/models/AppMaterialTask.ts +15 -5
- package/src/models/CreateDistributionRequest.ts +48 -0
- package/src/models/CreateDistributionResponse.ts +40 -0
- package/src/models/CreateDistributionResponseBody.ts +416 -0
- package/src/models/CreateDistributionShrinkRequest.ts +45 -0
- package/src/models/GetAppInstanceResponseBody.ts +1 -1
- package/src/models/ListAppInstancesRequest.ts +13 -3
- package/src/models/ListAppInstancesResponseBody.ts +3 -3
- package/src/models/ListAppInstancesShrinkRequest.ts +13 -3
- package/src/models/ModifyAppInstanceSpecRequest.ts +1 -1
- package/src/models/ModifyAppInstanceSpecResponseBody.ts +3 -3
- package/src/models/QueryMaterialTaskDetailResponseBody.ts +2 -2
- package/src/models/QueryMaterialTaskListRequest.ts +16 -6
- package/src/models/QueryMaterialTaskListResponseBody.ts +13 -10
- package/src/models/QueryMaterialTaskListShrinkRequest.ts +16 -6
- package/src/models/ReportChannelPublishResultRequest.ts +78 -0
- package/src/models/ReportChannelPublishResultResponse.ts +40 -0
- package/src/models/ReportChannelPublishResultResponseBody.ts +184 -0
- package/src/models/RetryChannelPublishRequest.ts +36 -0
- package/src/models/RetryChannelPublishResponse.ts +40 -0
- package/src/models/RetryChannelPublishResponseBody.ts +135 -0
- package/src/models/RewriteChannelTitleRequest.ts +46 -0
- package/src/models/RewriteChannelTitleResponse.ts +40 -0
- package/src/models/RewriteChannelTitleResponseBody.ts +355 -0
- package/src/models/SaveChannelDraftRequest.ts +120 -0
- package/src/models/SaveChannelDraftResponse.ts +40 -0
- package/src/models/SaveChannelDraftResponseBody.ts +135 -0
- package/src/models/SaveChannelDraftShrinkRequest.ts +63 -0
- package/src/models/SubmitMaterialTaskRequest.ts +14 -4
- package/src/models/SubmitMaterialTaskResponseBody.ts +12 -2
- package/src/models/TranslateChannelDraftRequest.ts +36 -0
- package/src/models/TranslateChannelDraftResponse.ts +40 -0
- package/src/models/TranslateChannelDraftResponseBody.ts +355 -0
- package/src/models/UploadMaterialFileRequest.ts +13 -5
- package/src/models/UploadMaterialFileResponseBody.ts +5 -5
- package/src/models/model.ts +29 -0
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateDistributionResponseBodyModuleDraftsCoverImages extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The material center file ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* xx
|
|
12
|
+
*/
|
|
13
|
+
materialFileId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The image CDN URL.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* http://another-bucket.oss-cn-hangzhou.aliyuncs.com/path/to/file3\\"\\"`curl YFLd1vS4.popscan.xaliyun.com`\\"\\"
|
|
20
|
+
*/
|
|
21
|
+
ossUrl?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The sort order number.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Desc
|
|
28
|
+
*/
|
|
29
|
+
sortOrder?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
materialFileId: 'MaterialFileId',
|
|
33
|
+
ossUrl: 'OssUrl',
|
|
34
|
+
sortOrder: 'SortOrder',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
materialFileId: 'string',
|
|
41
|
+
ossUrl: 'string',
|
|
42
|
+
sortOrder: 'number',
|
|
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 CreateDistributionResponseBodyModuleDrafts extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The AI adaptation status. Valid values: NONE, ADAPTING, DONE, FAILED.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* xx
|
|
62
|
+
*/
|
|
63
|
+
adaptStatus?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The channel-adapted content body.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* xx
|
|
70
|
+
*/
|
|
71
|
+
adaptedContent?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The channel-adapted title.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* xx
|
|
78
|
+
*/
|
|
79
|
+
adaptedTitle?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The channel enumeration value.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* WECHAT
|
|
86
|
+
*/
|
|
87
|
+
channel?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The publishing account snapshot. For overseas channels, this is the OWLAIS socialAccountNo.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* xx
|
|
94
|
+
*/
|
|
95
|
+
channelAccount?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The channel display name.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ch3
|
|
102
|
+
*/
|
|
103
|
+
channelName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The channel type. Valid values: DOMESTIC, OVERSEA, INTERNAL.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 0
|
|
110
|
+
*/
|
|
111
|
+
channelType?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The list of channel cover images.
|
|
115
|
+
*/
|
|
116
|
+
coverImages?: CreateDistributionResponseBodyModuleDraftsCoverImages[];
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The channel draft ID.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* draft-789
|
|
123
|
+
*/
|
|
124
|
+
draftId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The ID returned by the platform.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* 1378080
|
|
131
|
+
*/
|
|
132
|
+
externalId?: string;
|
|
133
|
+
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* The platform redirect URL.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* https://net-video.mistong.com:10160/api/preview/video/2026/04/15/67603b7c84694e619435e4662e98cb23_20260415095633.mp4
|
|
139
|
+
*/
|
|
140
|
+
externalUrl?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The failure reason.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* xx
|
|
147
|
+
*/
|
|
148
|
+
failReason?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The channel-specific publish configuration in JSON format.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* xx
|
|
155
|
+
*/
|
|
156
|
+
publishConfig?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The publish time in millisecond timestamp.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* xx
|
|
163
|
+
*/
|
|
164
|
+
publishedAt?: number;
|
|
165
|
+
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* The status. Valid values: EDITING, PUBLISHING, SUCCESS, FAILED.
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* 200
|
|
171
|
+
*/
|
|
172
|
+
status?: string;
|
|
173
|
+
static names(): { [key: string]: string } {
|
|
174
|
+
return {
|
|
175
|
+
adaptStatus: 'AdaptStatus',
|
|
176
|
+
adaptedContent: 'AdaptedContent',
|
|
177
|
+
adaptedTitle: 'AdaptedTitle',
|
|
178
|
+
channel: 'Channel',
|
|
179
|
+
channelAccount: 'ChannelAccount',
|
|
180
|
+
channelName: 'ChannelName',
|
|
181
|
+
channelType: 'ChannelType',
|
|
182
|
+
coverImages: 'CoverImages',
|
|
183
|
+
draftId: 'DraftId',
|
|
184
|
+
externalId: 'ExternalId',
|
|
185
|
+
externalUrl: 'ExternalUrl',
|
|
186
|
+
failReason: 'FailReason',
|
|
187
|
+
publishConfig: 'PublishConfig',
|
|
188
|
+
publishedAt: 'PublishedAt',
|
|
189
|
+
status: 'Status',
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static types(): { [key: string]: any } {
|
|
194
|
+
return {
|
|
195
|
+
adaptStatus: 'string',
|
|
196
|
+
adaptedContent: 'string',
|
|
197
|
+
adaptedTitle: 'string',
|
|
198
|
+
channel: 'string',
|
|
199
|
+
channelAccount: 'string',
|
|
200
|
+
channelName: 'string',
|
|
201
|
+
channelType: 'string',
|
|
202
|
+
coverImages: { 'type': 'array', 'itemType': CreateDistributionResponseBodyModuleDraftsCoverImages },
|
|
203
|
+
draftId: 'string',
|
|
204
|
+
externalId: 'string',
|
|
205
|
+
externalUrl: 'string',
|
|
206
|
+
failReason: 'string',
|
|
207
|
+
publishConfig: 'string',
|
|
208
|
+
publishedAt: 'number',
|
|
209
|
+
status: 'string',
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
validate() {
|
|
214
|
+
if(Array.isArray(this.coverImages)) {
|
|
215
|
+
$dara.Model.validateArray(this.coverImages);
|
|
216
|
+
}
|
|
217
|
+
super.validate();
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
constructor(map?: { [key: string]: any }) {
|
|
221
|
+
super(map);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export class CreateDistributionResponseBodyModule extends $dara.Model {
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The article ID.
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* 28733
|
|
232
|
+
*/
|
|
233
|
+
articleId?: string;
|
|
234
|
+
/**
|
|
235
|
+
* @remarks
|
|
236
|
+
* The distribution batch ID.
|
|
237
|
+
*
|
|
238
|
+
* @example
|
|
239
|
+
* pcb-uf6dkhq311uxuwo2
|
|
240
|
+
*/
|
|
241
|
+
batchId?: string;
|
|
242
|
+
/**
|
|
243
|
+
* @remarks
|
|
244
|
+
* The creation time in millisecond timestamp.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* 2025-11-03 02:05:01
|
|
248
|
+
*/
|
|
249
|
+
createTime?: number;
|
|
250
|
+
/**
|
|
251
|
+
* @remarks
|
|
252
|
+
* The list of channel drafts within the batch.
|
|
253
|
+
*/
|
|
254
|
+
drafts?: CreateDistributionResponseBodyModuleDrafts[];
|
|
255
|
+
static names(): { [key: string]: string } {
|
|
256
|
+
return {
|
|
257
|
+
articleId: 'ArticleId',
|
|
258
|
+
batchId: 'BatchId',
|
|
259
|
+
createTime: 'CreateTime',
|
|
260
|
+
drafts: 'Drafts',
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
static types(): { [key: string]: any } {
|
|
265
|
+
return {
|
|
266
|
+
articleId: 'string',
|
|
267
|
+
batchId: 'string',
|
|
268
|
+
createTime: 'number',
|
|
269
|
+
drafts: { 'type': 'array', 'itemType': CreateDistributionResponseBodyModuleDrafts },
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
validate() {
|
|
274
|
+
if(Array.isArray(this.drafts)) {
|
|
275
|
+
$dara.Model.validateArray(this.drafts);
|
|
276
|
+
}
|
|
277
|
+
super.validate();
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
constructor(map?: { [key: string]: any }) {
|
|
281
|
+
super(map);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class CreateDistributionResponseBody extends $dara.Model {
|
|
286
|
+
/**
|
|
287
|
+
* @remarks
|
|
288
|
+
* The detailed reason why access is denied.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* {}
|
|
292
|
+
*/
|
|
293
|
+
accessDeniedDetail?: string;
|
|
294
|
+
/**
|
|
295
|
+
* @remarks
|
|
296
|
+
* Indicates whether retry is allowed. Valid values:
|
|
297
|
+
* - false: Retry is not allowed.
|
|
298
|
+
* - true: Retry is allowed.
|
|
299
|
+
*
|
|
300
|
+
* @example
|
|
301
|
+
* False
|
|
302
|
+
*/
|
|
303
|
+
allowRetry?: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* @remarks
|
|
306
|
+
* The application name.
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
* watermark
|
|
310
|
+
*/
|
|
311
|
+
appName?: string;
|
|
312
|
+
/**
|
|
313
|
+
* @remarks
|
|
314
|
+
* The dynamic error code.
|
|
315
|
+
*
|
|
316
|
+
* @example
|
|
317
|
+
* ERROR-oo1
|
|
318
|
+
*/
|
|
319
|
+
dynamicCode?: string;
|
|
320
|
+
/**
|
|
321
|
+
* @remarks
|
|
322
|
+
* The dynamic error message.
|
|
323
|
+
*
|
|
324
|
+
* @example
|
|
325
|
+
* SYSTEM_ERROR
|
|
326
|
+
*/
|
|
327
|
+
dynamicMessage?: string;
|
|
328
|
+
/**
|
|
329
|
+
* @remarks
|
|
330
|
+
* The returned error parameters.
|
|
331
|
+
*/
|
|
332
|
+
errorArgs?: any[];
|
|
333
|
+
/**
|
|
334
|
+
* @remarks
|
|
335
|
+
* The response data.
|
|
336
|
+
*/
|
|
337
|
+
module?: CreateDistributionResponseBodyModule;
|
|
338
|
+
/**
|
|
339
|
+
* @remarks
|
|
340
|
+
* Id of the request
|
|
341
|
+
*
|
|
342
|
+
* @example
|
|
343
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
344
|
+
*/
|
|
345
|
+
requestId?: string;
|
|
346
|
+
/**
|
|
347
|
+
* @remarks
|
|
348
|
+
* The error code.
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* SYSTEM.ERROR
|
|
352
|
+
*/
|
|
353
|
+
rootErrorCode?: string;
|
|
354
|
+
/**
|
|
355
|
+
* @remarks
|
|
356
|
+
* The exception message.
|
|
357
|
+
*
|
|
358
|
+
* @example
|
|
359
|
+
* System exception
|
|
360
|
+
*/
|
|
361
|
+
rootErrorMsg?: string;
|
|
362
|
+
/**
|
|
363
|
+
* @remarks
|
|
364
|
+
* Indicates whether the request is processed synchronously.
|
|
365
|
+
*
|
|
366
|
+
* @example
|
|
367
|
+
* True
|
|
368
|
+
*/
|
|
369
|
+
synchro?: boolean;
|
|
370
|
+
static names(): { [key: string]: string } {
|
|
371
|
+
return {
|
|
372
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
373
|
+
allowRetry: 'AllowRetry',
|
|
374
|
+
appName: 'AppName',
|
|
375
|
+
dynamicCode: 'DynamicCode',
|
|
376
|
+
dynamicMessage: 'DynamicMessage',
|
|
377
|
+
errorArgs: 'ErrorArgs',
|
|
378
|
+
module: 'Module',
|
|
379
|
+
requestId: 'RequestId',
|
|
380
|
+
rootErrorCode: 'RootErrorCode',
|
|
381
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
382
|
+
synchro: 'Synchro',
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
static types(): { [key: string]: any } {
|
|
387
|
+
return {
|
|
388
|
+
accessDeniedDetail: 'string',
|
|
389
|
+
allowRetry: 'boolean',
|
|
390
|
+
appName: 'string',
|
|
391
|
+
dynamicCode: 'string',
|
|
392
|
+
dynamicMessage: 'string',
|
|
393
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
394
|
+
module: CreateDistributionResponseBodyModule,
|
|
395
|
+
requestId: 'string',
|
|
396
|
+
rootErrorCode: 'string',
|
|
397
|
+
rootErrorMsg: 'string',
|
|
398
|
+
synchro: 'boolean',
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
validate() {
|
|
403
|
+
if(Array.isArray(this.errorArgs)) {
|
|
404
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
405
|
+
}
|
|
406
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
407
|
+
(this.module as any).validate();
|
|
408
|
+
}
|
|
409
|
+
super.validate();
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
constructor(map?: { [key: string]: any }) {
|
|
413
|
+
super(map);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateDistributionShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The article ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 28733
|
|
14
|
+
*/
|
|
15
|
+
articleId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The list of selected channels.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*/
|
|
22
|
+
channelsShrink?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
articleId: 'ArticleId',
|
|
26
|
+
channelsShrink: 'Channels',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
static types(): { [key: string]: any } {
|
|
31
|
+
return {
|
|
32
|
+
articleId: 'string',
|
|
33
|
+
channelsShrink: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -38,7 +38,7 @@ export class GetAppInstanceResponseBody extends $dara.Model {
|
|
|
38
38
|
dynamicCode?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The dynamic error message, which is used to replace the `%s`
|
|
41
|
+
* The dynamic error message, which is used to replace the `%s` in the **ErrMessage** return parameter.
|
|
42
42
|
* > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** is invalid.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
@@ -14,7 +14,7 @@ export class ListAppInstancesRequest extends $dara.Model {
|
|
|
14
14
|
bizIds?: string[];
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The start of the expiration
|
|
17
|
+
* The start time of the expiration range.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* 2025-12-18T14:30:00Z
|
|
@@ -22,7 +22,7 @@ export class ListAppInstancesRequest extends $dara.Model {
|
|
|
22
22
|
endTimeBegin?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The end of the expiration
|
|
25
|
+
* The end time of the expiration range.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 2025-12-31T14:30:00Z
|
|
@@ -48,7 +48,7 @@ export class ListAppInstancesRequest extends $dara.Model {
|
|
|
48
48
|
maxResults?: number;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The token for the next query. This parameter is empty if no
|
|
51
|
+
* The token for the next query. This parameter is empty if there is no next query.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* AAAAARbaCuN6hiD08qrLdwJ9Fh3BFw8paIJ7ylB6A7Qn9JjM
|
|
@@ -94,6 +94,14 @@ export class ListAppInstancesRequest extends $dara.Model {
|
|
|
94
94
|
* {\\"RequestId\\":\\"\\"}
|
|
95
95
|
*/
|
|
96
96
|
query?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* The query mode. CONTENT_CREATION indicates a lightweight query for the content creation site selector, which only queries published sites and does not load aggregated information such as Profile, services, or AI Staff.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* CONTENT_CREATION
|
|
103
|
+
*/
|
|
104
|
+
queryMode?: string;
|
|
97
105
|
/**
|
|
98
106
|
* @remarks
|
|
99
107
|
* The status range.
|
|
@@ -113,6 +121,7 @@ export class ListAppInstancesRequest extends $dara.Model {
|
|
|
113
121
|
pageNum: 'PageNum',
|
|
114
122
|
pageSize: 'PageSize',
|
|
115
123
|
query: 'Query',
|
|
124
|
+
queryMode: 'QueryMode',
|
|
116
125
|
statusList: 'StatusList',
|
|
117
126
|
};
|
|
118
127
|
}
|
|
@@ -131,6 +140,7 @@ export class ListAppInstancesRequest extends $dara.Model {
|
|
|
131
140
|
pageNum: 'number',
|
|
132
141
|
pageSize: 'number',
|
|
133
142
|
query: 'string',
|
|
143
|
+
queryMode: 'string',
|
|
134
144
|
statusList: { 'type': 'array', 'itemType': 'string' },
|
|
135
145
|
};
|
|
136
146
|
}
|
|
@@ -38,7 +38,7 @@ export class ListAppInstancesResponseBody extends $dara.Model {
|
|
|
38
38
|
currentPageNum?: number;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The request result.
|
|
41
|
+
* The request result. When QueryMode is set to CONTENT_CREATION, only BizId, Name, Domain, and Version are guaranteed to be valid. Version returns V2.0 only for 2.0 sites and is empty for 1.0 sites.
|
|
42
42
|
*/
|
|
43
43
|
data?: AppInstanceAggregate[];
|
|
44
44
|
/**
|
|
@@ -82,7 +82,7 @@ export class ListAppInstancesResponseBody extends $dara.Model {
|
|
|
82
82
|
nextPage?: boolean;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The token for the next query. This parameter is empty if no
|
|
85
|
+
* The token for the next query. This parameter is empty if there is no next query.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* dw+qdTi1EjVSWX/INJdYNw==
|
|
@@ -114,7 +114,7 @@ export class ListAppInstancesResponseBody extends $dara.Model {
|
|
|
114
114
|
requestId?: string;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* In addition to the pagination limit, the server processes a maximum of 1000 recent records
|
|
117
|
+
* In addition to the pagination limit, the server processes a maximum of 1000 recent records for the current query. If the results exceed 1000 records, **ResultLimit** is **true**, and you need to narrow the time range and search again. Otherwise, **ResultLimit** is **false**.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* False
|
|
@@ -14,7 +14,7 @@ export class ListAppInstancesShrinkRequest extends $dara.Model {
|
|
|
14
14
|
bizIdsShrink?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The start of the expiration
|
|
17
|
+
* The start time of the expiration range.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* 2025-12-18T14:30:00Z
|
|
@@ -22,7 +22,7 @@ export class ListAppInstancesShrinkRequest extends $dara.Model {
|
|
|
22
22
|
endTimeBegin?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The end of the expiration
|
|
25
|
+
* The end time of the expiration range.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 2025-12-31T14:30:00Z
|
|
@@ -48,7 +48,7 @@ export class ListAppInstancesShrinkRequest extends $dara.Model {
|
|
|
48
48
|
maxResults?: number;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The token for the next query. This parameter is empty if no
|
|
51
|
+
* The token for the next query. This parameter is empty if there is no next query.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* AAAAARbaCuN6hiD08qrLdwJ9Fh3BFw8paIJ7ylB6A7Qn9JjM
|
|
@@ -94,6 +94,14 @@ export class ListAppInstancesShrinkRequest extends $dara.Model {
|
|
|
94
94
|
* {\\"RequestId\\":\\"\\"}
|
|
95
95
|
*/
|
|
96
96
|
query?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* The query mode. CONTENT_CREATION indicates a lightweight query for the content creation site selector, which only queries published sites and does not load aggregated information such as Profile, services, or AI Staff.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* CONTENT_CREATION
|
|
103
|
+
*/
|
|
104
|
+
queryMode?: string;
|
|
97
105
|
/**
|
|
98
106
|
* @remarks
|
|
99
107
|
* The status range.
|
|
@@ -113,6 +121,7 @@ export class ListAppInstancesShrinkRequest extends $dara.Model {
|
|
|
113
121
|
pageNum: 'PageNum',
|
|
114
122
|
pageSize: 'PageSize',
|
|
115
123
|
query: 'Query',
|
|
124
|
+
queryMode: 'QueryMode',
|
|
116
125
|
statusListShrink: 'StatusList',
|
|
117
126
|
};
|
|
118
127
|
}
|
|
@@ -131,6 +140,7 @@ export class ListAppInstancesShrinkRequest extends $dara.Model {
|
|
|
131
140
|
pageNum: 'number',
|
|
132
141
|
pageSize: 'number',
|
|
133
142
|
query: 'string',
|
|
143
|
+
queryMode: 'string',
|
|
134
144
|
statusListShrink: 'string',
|
|
135
145
|
};
|
|
136
146
|
}
|
|
@@ -40,7 +40,7 @@ export class ModifyAppInstanceSpecRequest extends $dara.Model {
|
|
|
40
40
|
* The extended information.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
|
-
* {\\"deliveryNodeName\\":\\"
|
|
43
|
+
* {\\"deliveryNodeName\\":\\"Website acceptance\\",\\"deliveryNodeStatus\\":\\"Reject\\",\\"deliveryOperatorRole\\":\\"Customer\\"}
|
|
44
44
|
*/
|
|
45
45
|
extend?: string;
|
|
46
46
|
/**
|
|
@@ -43,7 +43,7 @@ export class ModifyAppInstanceSpecResponseBody extends $dara.Model {
|
|
|
43
43
|
accessDeniedDetail?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* Indicates whether
|
|
46
|
+
* Indicates whether retry is allowed.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* False
|
|
@@ -101,10 +101,10 @@ export class ModifyAppInstanceSpecResponseBody extends $dara.Model {
|
|
|
101
101
|
rootErrorCode?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The
|
|
104
|
+
* The exception message.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
|
-
*
|
|
107
|
+
* System exception
|
|
108
108
|
*/
|
|
109
109
|
rootErrorMsg?: string;
|
|
110
110
|
/**
|
|
@@ -53,7 +53,7 @@ export class QueryMaterialTaskDetailResponseBody extends $dara.Model {
|
|
|
53
53
|
errorArgs?: any[];
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* 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
|
|
56
|
+
* 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.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 0
|
|
@@ -96,7 +96,7 @@ export class QueryMaterialTaskDetailResponseBody extends $dara.Model {
|
|
|
96
96
|
* The exception message.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
|
-
*
|
|
99
|
+
* System exception
|
|
100
100
|
*/
|
|
101
101
|
rootErrorMsg?: string;
|
|
102
102
|
/**
|