@alicloud/websitebuild20250429 2.27.2 → 2.29.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 +101 -8
- package/dist/client.js +263 -8
- package/dist/client.js.map +1 -1
- package/dist/models/GetAppRecommendedCommoditiesRequest.d.ts +1 -1
- package/dist/models/GetAppRecommendedCommoditiesResponseBody.d.ts +4 -0
- package/dist/models/GetAppRecommendedCommoditiesResponseBody.js +8 -0
- package/dist/models/GetAppRecommendedCommoditiesResponseBody.js.map +1 -1
- package/dist/models/GetAppWorkspaceDirectoryResponseBody.d.ts +2 -2
- package/dist/models/GrantPromotionOfferForPartnerRequest.d.ts +53 -0
- package/dist/models/GrantPromotionOfferForPartnerRequest.js +66 -0
- package/dist/models/GrantPromotionOfferForPartnerRequest.js.map +1 -0
- package/dist/models/GrantPromotionOfferForPartnerResponse.d.ts +19 -0
- package/dist/models/GrantPromotionOfferForPartnerResponse.js +69 -0
- package/dist/models/GrantPromotionOfferForPartnerResponse.js.map +1 -0
- package/dist/models/GrantPromotionOfferForPartnerResponseBody.d.ts +139 -0
- package/dist/models/GrantPromotionOfferForPartnerResponseBody.js +109 -0
- package/dist/models/GrantPromotionOfferForPartnerResponseBody.js.map +1 -0
- package/dist/models/ListPromotionActivitiesForPartnerRequest.d.ts +47 -0
- package/dist/models/ListPromotionActivitiesForPartnerRequest.js +64 -0
- package/dist/models/ListPromotionActivitiesForPartnerRequest.js.map +1 -0
- package/dist/models/ListPromotionActivitiesForPartnerResponse.d.ts +19 -0
- package/dist/models/ListPromotionActivitiesForPartnerResponse.js +69 -0
- package/dist/models/ListPromotionActivitiesForPartnerResponse.js.map +1 -0
- package/dist/models/ListPromotionActivitiesForPartnerResponseBody.d.ts +294 -0
- package/dist/models/ListPromotionActivitiesForPartnerResponseBody.js +165 -0
- package/dist/models/ListPromotionActivitiesForPartnerResponseBody.js.map +1 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerRequest.d.ts +79 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerRequest.js +72 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerRequest.js.map +1 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerResponse.d.ts +19 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerResponse.js +69 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerResponse.js.map +1 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.d.ts +246 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.js +153 -0
- package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.js.map +1 -0
- package/dist/models/OfflineAppInstanceRequest.d.ts +21 -0
- package/dist/models/OfflineAppInstanceRequest.js +58 -0
- package/dist/models/OfflineAppInstanceRequest.js.map +1 -0
- package/dist/models/OfflineAppInstanceResponse.d.ts +19 -0
- package/dist/models/OfflineAppInstanceResponse.js +69 -0
- package/dist/models/OfflineAppInstanceResponse.js.map +1 -0
- package/dist/models/OfflineAppInstanceResponseBody.d.ts +100 -0
- package/dist/models/OfflineAppInstanceResponseBody.js +84 -0
- package/dist/models/OfflineAppInstanceResponseBody.js.map +1 -0
- package/dist/models/OnlineAppInstanceRequest.d.ts +21 -0
- package/dist/models/OnlineAppInstanceRequest.js +58 -0
- package/dist/models/OnlineAppInstanceRequest.js.map +1 -0
- package/dist/models/OnlineAppInstanceResponse.d.ts +19 -0
- package/dist/models/OnlineAppInstanceResponse.js +69 -0
- package/dist/models/OnlineAppInstanceResponse.js.map +1 -0
- package/dist/models/OnlineAppInstanceResponseBody.d.ts +100 -0
- package/dist/models/OnlineAppInstanceResponseBody.js +84 -0
- package/dist/models/OnlineAppInstanceResponseBody.js.map +1 -0
- package/dist/models/PromotionActivity.d.ts +31 -0
- package/dist/models/PromotionActivity.js +92 -0
- package/dist/models/PromotionActivity.js.map +1 -0
- package/dist/models/SaveAppRequirementRequest.d.ts +1 -1
- package/dist/models/SaveAppRequirementResponseBody.d.ts +6 -6
- package/dist/models/UpdateAppFileRequest.d.ts +3 -3
- package/dist/models/UpdateAppFileResponseBody.d.ts +11 -11
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +54 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +292 -8
- package/src/models/GetAppRecommendedCommoditiesRequest.ts +1 -1
- package/src/models/GetAppRecommendedCommoditiesResponseBody.ts +12 -0
- package/src/models/GetAppWorkspaceDirectoryResponseBody.ts +2 -2
- package/src/models/GrantPromotionOfferForPartnerRequest.ts +74 -0
- package/src/models/GrantPromotionOfferForPartnerResponse.ts +40 -0
- package/src/models/GrantPromotionOfferForPartnerResponseBody.ts +194 -0
- package/src/models/ListPromotionActivitiesForPartnerRequest.ts +66 -0
- package/src/models/ListPromotionActivitiesForPartnerResponse.ts +40 -0
- package/src/models/ListPromotionActivitiesForPartnerResponseBody.ts +396 -0
- package/src/models/ListPromotionOfferRecordsForPartnerRequest.ts +106 -0
- package/src/models/ListPromotionOfferRecordsForPartnerResponse.ts +40 -0
- package/src/models/ListPromotionOfferRecordsForPartnerResponseBody.ts +336 -0
- package/src/models/OfflineAppInstanceRequest.ts +34 -0
- package/src/models/OfflineAppInstanceResponse.ts +40 -0
- package/src/models/OfflineAppInstanceResponseBody.ts +137 -0
- package/src/models/OnlineAppInstanceRequest.ts +34 -0
- package/src/models/OnlineAppInstanceResponse.ts +40 -0
- package/src/models/OnlineAppInstanceResponseBody.ts +137 -0
- package/src/models/PromotionActivity.ts +78 -0
- package/src/models/SaveAppRequirementRequest.ts +1 -1
- package/src/models/SaveAppRequirementResponseBody.ts +6 -6
- package/src/models/UpdateAppFileRequest.ts +3 -3
- package/src/models/UpdateAppFileResponseBody.ts +11 -11
- package/src/models/model.ts +21 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListPromotionOfferRecordsForPartnerResponseBodyModuleRecords extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The activity code.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* acwfradoj5u
|
|
12
|
+
*/
|
|
13
|
+
activityCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The activity name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* IP网段过滤统计
|
|
20
|
+
*/
|
|
21
|
+
activityName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The employee code.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1234
|
|
28
|
+
*/
|
|
29
|
+
employeeCode?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The failure reason.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* SYSTEM_ERROR
|
|
36
|
+
*/
|
|
37
|
+
failReason?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The issuance time.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 2025-06-01
|
|
44
|
+
*/
|
|
45
|
+
issuanceTime?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The benefit snapshot in JSON format.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* {}
|
|
52
|
+
*/
|
|
53
|
+
offerSnapshot?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The record ID.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 5094
|
|
60
|
+
*/
|
|
61
|
+
recordId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The operation remark.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* test
|
|
68
|
+
*/
|
|
69
|
+
remark?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The issuance status.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* FE_RUNNING
|
|
76
|
+
*/
|
|
77
|
+
status?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The user ID.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* 123241414
|
|
84
|
+
*/
|
|
85
|
+
userId?: string;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
activityCode: 'ActivityCode',
|
|
89
|
+
activityName: 'ActivityName',
|
|
90
|
+
employeeCode: 'EmployeeCode',
|
|
91
|
+
failReason: 'FailReason',
|
|
92
|
+
issuanceTime: 'IssuanceTime',
|
|
93
|
+
offerSnapshot: 'OfferSnapshot',
|
|
94
|
+
recordId: 'RecordId',
|
|
95
|
+
remark: 'Remark',
|
|
96
|
+
status: 'Status',
|
|
97
|
+
userId: 'UserId',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static types(): { [key: string]: any } {
|
|
102
|
+
return {
|
|
103
|
+
activityCode: 'string',
|
|
104
|
+
activityName: 'string',
|
|
105
|
+
employeeCode: 'string',
|
|
106
|
+
failReason: 'string',
|
|
107
|
+
issuanceTime: 'string',
|
|
108
|
+
offerSnapshot: 'string',
|
|
109
|
+
recordId: 'string',
|
|
110
|
+
remark: 'string',
|
|
111
|
+
status: 'string',
|
|
112
|
+
userId: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class ListPromotionOfferRecordsForPartnerResponseBodyModule extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The page number.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* 1
|
|
132
|
+
*/
|
|
133
|
+
pageNum?: number;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The number of entries per page.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 10
|
|
140
|
+
*/
|
|
141
|
+
pageSize?: number;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The list of issuance records.
|
|
145
|
+
*/
|
|
146
|
+
records?: ListPromotionOfferRecordsForPartnerResponseBodyModuleRecords[];
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* The total number of records.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* 30
|
|
153
|
+
*/
|
|
154
|
+
totalCount?: number;
|
|
155
|
+
static names(): { [key: string]: string } {
|
|
156
|
+
return {
|
|
157
|
+
pageNum: 'PageNum',
|
|
158
|
+
pageSize: 'PageSize',
|
|
159
|
+
records: 'Records',
|
|
160
|
+
totalCount: 'TotalCount',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static types(): { [key: string]: any } {
|
|
165
|
+
return {
|
|
166
|
+
pageNum: 'number',
|
|
167
|
+
pageSize: 'number',
|
|
168
|
+
records: { 'type': 'array', 'itemType': ListPromotionOfferRecordsForPartnerResponseBodyModuleRecords },
|
|
169
|
+
totalCount: 'number',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
validate() {
|
|
174
|
+
if(Array.isArray(this.records)) {
|
|
175
|
+
$dara.Model.validateArray(this.records);
|
|
176
|
+
}
|
|
177
|
+
super.validate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
constructor(map?: { [key: string]: any }) {
|
|
181
|
+
super(map);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export class ListPromotionOfferRecordsForPartnerResponseBody extends $dara.Model {
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* The detailed reason why access was denied.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* {}
|
|
192
|
+
*/
|
|
193
|
+
accessDeniedDetail?: string;
|
|
194
|
+
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* Indicates whether retry is allowed.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* False
|
|
200
|
+
*/
|
|
201
|
+
allowRetry?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The application name. The application with this name is queried.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* watermark
|
|
208
|
+
*/
|
|
209
|
+
appName?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The dynamic error code.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* ERROR-oo1
|
|
216
|
+
*/
|
|
217
|
+
dynamicCode?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The dynamic error message, which is used to replace the %s variable in the ErrMessage response parameter.
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* SYSTEM_ERROR
|
|
224
|
+
*/
|
|
225
|
+
dynamicMessage?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The error parameters.
|
|
229
|
+
*/
|
|
230
|
+
errorArgs?: any[];
|
|
231
|
+
/**
|
|
232
|
+
* @remarks
|
|
233
|
+
* The number of entries per query.
|
|
234
|
+
*
|
|
235
|
+
* Valid values: 10 to 100. Default value: 20.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* 10
|
|
239
|
+
*/
|
|
240
|
+
maxResults?: number;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The response data.
|
|
244
|
+
*/
|
|
245
|
+
module?: ListPromotionOfferRecordsForPartnerResponseBodyModule;
|
|
246
|
+
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* The token for the next query. This parameter is empty if no more results exist.
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* test
|
|
252
|
+
*/
|
|
253
|
+
nextToken?: string;
|
|
254
|
+
/**
|
|
255
|
+
* @remarks
|
|
256
|
+
* Id of the request
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
260
|
+
*/
|
|
261
|
+
requestId?: string;
|
|
262
|
+
/**
|
|
263
|
+
* @remarks
|
|
264
|
+
* The error code.
|
|
265
|
+
*
|
|
266
|
+
* @example
|
|
267
|
+
* SYSTEM.ERROR
|
|
268
|
+
*/
|
|
269
|
+
rootErrorCode?: string;
|
|
270
|
+
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* The exception message.
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* 系统异常
|
|
276
|
+
*/
|
|
277
|
+
rootErrorMsg?: string;
|
|
278
|
+
/**
|
|
279
|
+
* @remarks
|
|
280
|
+
* The reserved parameter.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* True
|
|
284
|
+
*/
|
|
285
|
+
synchro?: boolean;
|
|
286
|
+
static names(): { [key: string]: string } {
|
|
287
|
+
return {
|
|
288
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
289
|
+
allowRetry: 'AllowRetry',
|
|
290
|
+
appName: 'AppName',
|
|
291
|
+
dynamicCode: 'DynamicCode',
|
|
292
|
+
dynamicMessage: 'DynamicMessage',
|
|
293
|
+
errorArgs: 'ErrorArgs',
|
|
294
|
+
maxResults: 'MaxResults',
|
|
295
|
+
module: 'Module',
|
|
296
|
+
nextToken: 'NextToken',
|
|
297
|
+
requestId: 'RequestId',
|
|
298
|
+
rootErrorCode: 'RootErrorCode',
|
|
299
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
300
|
+
synchro: 'Synchro',
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
static types(): { [key: string]: any } {
|
|
305
|
+
return {
|
|
306
|
+
accessDeniedDetail: 'string',
|
|
307
|
+
allowRetry: 'boolean',
|
|
308
|
+
appName: 'string',
|
|
309
|
+
dynamicCode: 'string',
|
|
310
|
+
dynamicMessage: 'string',
|
|
311
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
312
|
+
maxResults: 'number',
|
|
313
|
+
module: ListPromotionOfferRecordsForPartnerResponseBodyModule,
|
|
314
|
+
nextToken: 'string',
|
|
315
|
+
requestId: 'string',
|
|
316
|
+
rootErrorCode: 'string',
|
|
317
|
+
rootErrorMsg: 'string',
|
|
318
|
+
synchro: 'boolean',
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
validate() {
|
|
323
|
+
if(Array.isArray(this.errorArgs)) {
|
|
324
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
325
|
+
}
|
|
326
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
327
|
+
(this.module as any).validate();
|
|
328
|
+
}
|
|
329
|
+
super.validate();
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
constructor(map?: { [key: string]: any }) {
|
|
333
|
+
super(map);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OfflineAppInstanceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business ID of the application instance.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* WD20250814102215000001
|
|
12
|
+
*/
|
|
13
|
+
bizId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
bizId: 'BizId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
bizId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { OfflineAppInstanceResponseBody } from "./OfflineAppInstanceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class OfflineAppInstanceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: OfflineAppInstanceResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: OfflineAppInstanceResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OfflineAppInstanceResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The deprecated parameter. You can ignore this parameter.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* None
|
|
12
|
+
*/
|
|
13
|
+
accessDeniedDetail?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Indicates whether retry is allowed.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* False
|
|
20
|
+
*/
|
|
21
|
+
allowRetry?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The application name.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* DocdbSortingCode
|
|
28
|
+
*/
|
|
29
|
+
appName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The dynamic error code.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ERROR-oo1
|
|
36
|
+
*/
|
|
37
|
+
dynamicCode?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The dynamic message.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* abc
|
|
44
|
+
*/
|
|
45
|
+
dynamicMessage?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The error parameters.
|
|
49
|
+
*/
|
|
50
|
+
errorArgs?: any[];
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* Indicates whether the shift was successful.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* {\\"TotalPageNum\\": 1, \\"ResultLimit\\": False, \\"CurrentPageNum\\": 0, \\"PageSize\\": 0, \\"TotalItemNum\\": 0}
|
|
57
|
+
*/
|
|
58
|
+
module?: { [key: string]: any };
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* Id of the request
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
65
|
+
*/
|
|
66
|
+
requestId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The error code.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* SYSTEM.ERROR
|
|
73
|
+
*/
|
|
74
|
+
rootErrorCode?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* The error message.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* 系统异常
|
|
81
|
+
*/
|
|
82
|
+
rootErrorMsg?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The reserved parameter.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* True
|
|
89
|
+
*/
|
|
90
|
+
synchro?: boolean;
|
|
91
|
+
static names(): { [key: string]: string } {
|
|
92
|
+
return {
|
|
93
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
94
|
+
allowRetry: 'AllowRetry',
|
|
95
|
+
appName: 'AppName',
|
|
96
|
+
dynamicCode: 'DynamicCode',
|
|
97
|
+
dynamicMessage: 'DynamicMessage',
|
|
98
|
+
errorArgs: 'ErrorArgs',
|
|
99
|
+
module: 'Module',
|
|
100
|
+
requestId: 'RequestId',
|
|
101
|
+
rootErrorCode: 'RootErrorCode',
|
|
102
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
103
|
+
synchro: 'Synchro',
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
static types(): { [key: string]: any } {
|
|
108
|
+
return {
|
|
109
|
+
accessDeniedDetail: 'string',
|
|
110
|
+
allowRetry: 'boolean',
|
|
111
|
+
appName: 'string',
|
|
112
|
+
dynamicCode: 'string',
|
|
113
|
+
dynamicMessage: 'string',
|
|
114
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
115
|
+
module: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
116
|
+
requestId: 'string',
|
|
117
|
+
rootErrorCode: 'string',
|
|
118
|
+
rootErrorMsg: 'string',
|
|
119
|
+
synchro: 'boolean',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
validate() {
|
|
124
|
+
if(Array.isArray(this.errorArgs)) {
|
|
125
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
126
|
+
}
|
|
127
|
+
if(this.module) {
|
|
128
|
+
$dara.Model.validateMap(this.module);
|
|
129
|
+
}
|
|
130
|
+
super.validate();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
constructor(map?: { [key: string]: any }) {
|
|
134
|
+
super(map);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OnlineAppInstanceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business ID of the application instance.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* WS20250801154628000001
|
|
12
|
+
*/
|
|
13
|
+
bizId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
bizId: 'BizId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
bizId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { OnlineAppInstanceResponseBody } from "./OnlineAppInstanceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class OnlineAppInstanceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: OnlineAppInstanceResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: OnlineAppInstanceResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|