@alicloud/websitebuild20250429 2.34.0 → 2.35.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.
@@ -0,0 +1,294 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UploadMaterialFileForAdminResponseBodyModule extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The business instance ID.
9
+ *
10
+ * @example
11
+ * WD20250703155602000001
12
+ */
13
+ bizId?: string;
14
+ /**
15
+ * @remarks
16
+ * The file content type.
17
+ *
18
+ * @example
19
+ * image/png
20
+ */
21
+ contentType?: string;
22
+ /**
23
+ * @remarks
24
+ * The creation time.
25
+ *
26
+ * @example
27
+ * 2025-11-03 02:05:01
28
+ */
29
+ createTime?: string;
30
+ /**
31
+ * @remarks
32
+ * The time when the file was moved to the recycle bin or deleted.
33
+ *
34
+ * @example
35
+ * 2025-11-03 02:05:01
36
+ */
37
+ deletedTime?: string;
38
+ /**
39
+ * @remarks
40
+ * The directory ID.
41
+ *
42
+ * @example
43
+ * ddddwww
44
+ */
45
+ directoryId?: string;
46
+ /**
47
+ * @remarks
48
+ * The unique ID of the file.
49
+ *
50
+ * @example
51
+ * d75e1e9693cc460da218419d67735567
52
+ */
53
+ fileId?: string;
54
+ /**
55
+ * @remarks
56
+ * The file path.
57
+ *
58
+ * @example
59
+ * https://xxx.xxx.cn/original-data/pdf/mndj_report/cd649b2cc2102c0df57bfa1ae62931d6.zip
60
+ */
61
+ fileUrl?: string;
62
+ /**
63
+ * @remarks
64
+ * The height.
65
+ *
66
+ * @example
67
+ * 1280
68
+ */
69
+ height?: number;
70
+ /**
71
+ * @remarks
72
+ * The file name.
73
+ *
74
+ * @example
75
+ * FileName.
76
+ */
77
+ name?: string;
78
+ /**
79
+ * @remarks
80
+ * The file status.
81
+ *
82
+ * @example
83
+ * RUNNING
84
+ */
85
+ status?: string;
86
+ /**
87
+ * @remarks
88
+ * The file size.
89
+ *
90
+ * @example
91
+ * 23M
92
+ */
93
+ storageSize?: string;
94
+ /**
95
+ * @remarks
96
+ * The file suffix.
97
+ *
98
+ * @example
99
+ * png
100
+ */
101
+ suffix?: string;
102
+ /**
103
+ * @remarks
104
+ * The file type.
105
+ *
106
+ * @example
107
+ * IMAGE
108
+ */
109
+ type?: string;
110
+ /**
111
+ * @remarks
112
+ * The width.
113
+ *
114
+ * @example
115
+ * 1920
116
+ */
117
+ width?: number;
118
+ static names(): { [key: string]: string } {
119
+ return {
120
+ bizId: 'BizId',
121
+ contentType: 'ContentType',
122
+ createTime: 'CreateTime',
123
+ deletedTime: 'DeletedTime',
124
+ directoryId: 'DirectoryId',
125
+ fileId: 'FileId',
126
+ fileUrl: 'FileUrl',
127
+ height: 'Height',
128
+ name: 'Name',
129
+ status: 'Status',
130
+ storageSize: 'StorageSize',
131
+ suffix: 'Suffix',
132
+ type: 'Type',
133
+ width: 'Width',
134
+ };
135
+ }
136
+
137
+ static types(): { [key: string]: any } {
138
+ return {
139
+ bizId: 'string',
140
+ contentType: 'string',
141
+ createTime: 'string',
142
+ deletedTime: 'string',
143
+ directoryId: 'string',
144
+ fileId: 'string',
145
+ fileUrl: 'string',
146
+ height: 'number',
147
+ name: 'string',
148
+ status: 'string',
149
+ storageSize: 'string',
150
+ suffix: 'string',
151
+ type: 'string',
152
+ width: 'number',
153
+ };
154
+ }
155
+
156
+ validate() {
157
+ super.validate();
158
+ }
159
+
160
+ constructor(map?: { [key: string]: any }) {
161
+ super(map);
162
+ }
163
+ }
164
+
165
+ export class UploadMaterialFileForAdminResponseBody extends $dara.Model {
166
+ /**
167
+ * @remarks
168
+ * The detailed reason why access is denied.
169
+ *
170
+ * @example
171
+ * {}
172
+ */
173
+ accessDeniedDetail?: string;
174
+ /**
175
+ * @remarks
176
+ * Indicates whether a retry is allowed.
177
+ *
178
+ * @example
179
+ * False
180
+ */
181
+ allowRetry?: boolean;
182
+ /**
183
+ * @remarks
184
+ * The application name.
185
+ *
186
+ * @example
187
+ * or
188
+ */
189
+ appName?: string;
190
+ /**
191
+ * @remarks
192
+ * The dynamic error code.
193
+ *
194
+ * @example
195
+ * ERROR-oo1
196
+ */
197
+ dynamicCode?: string;
198
+ /**
199
+ * @remarks
200
+ * The dynamic message.
201
+ *
202
+ * @example
203
+ * SYSTEM_ERROR
204
+ */
205
+ dynamicMessage?: string;
206
+ /**
207
+ * @remarks
208
+ * The error parameters returned.
209
+ */
210
+ errorArgs?: any[];
211
+ /**
212
+ * @remarks
213
+ * The file object.
214
+ */
215
+ module?: UploadMaterialFileForAdminResponseBodyModule;
216
+ /**
217
+ * @remarks
218
+ * Id of the request
219
+ *
220
+ * @example
221
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
222
+ */
223
+ requestId?: string;
224
+ /**
225
+ * @remarks
226
+ * The error code.
227
+ *
228
+ * @example
229
+ * SYSTEM.ERROR
230
+ */
231
+ rootErrorCode?: string;
232
+ /**
233
+ * @remarks
234
+ * The error message.
235
+ *
236
+ * @example
237
+ * System exception.
238
+ */
239
+ rootErrorMsg?: string;
240
+ /**
241
+ * @remarks
242
+ * Indicates whether the request is processed synchronously.
243
+ *
244
+ * @example
245
+ * True
246
+ */
247
+ synchro?: boolean;
248
+ static names(): { [key: string]: string } {
249
+ return {
250
+ accessDeniedDetail: 'AccessDeniedDetail',
251
+ allowRetry: 'AllowRetry',
252
+ appName: 'AppName',
253
+ dynamicCode: 'DynamicCode',
254
+ dynamicMessage: 'DynamicMessage',
255
+ errorArgs: 'ErrorArgs',
256
+ module: 'Module',
257
+ requestId: 'RequestId',
258
+ rootErrorCode: 'RootErrorCode',
259
+ rootErrorMsg: 'RootErrorMsg',
260
+ synchro: 'Synchro',
261
+ };
262
+ }
263
+
264
+ static types(): { [key: string]: any } {
265
+ return {
266
+ accessDeniedDetail: 'string',
267
+ allowRetry: 'boolean',
268
+ appName: 'string',
269
+ dynamicCode: 'string',
270
+ dynamicMessage: 'string',
271
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
272
+ module: UploadMaterialFileForAdminResponseBodyModule,
273
+ requestId: 'string',
274
+ rootErrorCode: 'string',
275
+ rootErrorMsg: 'string',
276
+ synchro: 'boolean',
277
+ };
278
+ }
279
+
280
+ validate() {
281
+ if(Array.isArray(this.errorArgs)) {
282
+ $dara.Model.validateArray(this.errorArgs);
283
+ }
284
+ if(this.module && typeof (this.module as any).validate === 'function') {
285
+ (this.module as any).validate();
286
+ }
287
+ super.validate();
288
+ }
289
+
290
+ constructor(map?: { [key: string]: any }) {
291
+ super(map);
292
+ }
293
+ }
294
+
@@ -227,6 +227,7 @@ export { UpdateAppInstanceResponseBodyModule } from './UpdateAppInstanceResponse
227
227
  export { UpdateAppPluginResponseBodyModule } from './UpdateAppPluginResponseBody';
228
228
  export { UpdateMiniAppBindingResponseBodyData } from './UpdateMiniAppBindingResponseBody';
229
229
  export { UploadAppPluginVersionResponseBodyModule } from './UploadAppPluginVersionResponseBody';
230
+ export { UploadMaterialFileForAdminResponseBodyModule } from './UploadMaterialFileForAdminResponseBody';
230
231
  export { AppAiStaff } from './AppAiStaff';
231
232
  export { AppInstance } from './AppInstance';
232
233
  export { AppInstanceAggregate } from './AppInstanceAggregate';
@@ -792,3 +793,6 @@ export { UploadAppSiteValidationFileResponse } from './UploadAppSiteValidationFi
792
793
  export { UploadMaterialFileRequest } from './UploadMaterialFileRequest';
793
794
  export { UploadMaterialFileResponseBody } from './UploadMaterialFileResponseBody';
794
795
  export { UploadMaterialFileResponse } from './UploadMaterialFileResponse';
796
+ export { UploadMaterialFileForAdminRequest } from './UploadMaterialFileForAdminRequest';
797
+ export { UploadMaterialFileForAdminResponseBody } from './UploadMaterialFileForAdminResponseBody';
798
+ export { UploadMaterialFileForAdminResponse } from './UploadMaterialFileForAdminResponse';